From vbacreations at gmail.com Wed May 1 11:53:28 2013 From: vbacreations at gmail.com (William Benson) Date: Wed, 1 May 2013 12:53:28 -0400 Subject: [AccessD] Export Access Data to Custom Outlook Fields/Columns In-Reply-To: <3C72BCA829BD4AB8BBAC22C48A390818@7even> References: <00d101ce0633$358a06e0$a09e14a0$@sbor.com> <51156221.15810.4371D17@stuart.lexacorp.com.pg> <000001ce0642$9e0096d0$da01c470$@sbor.com> <000001ce06df$265a0330$730e0990$@net> <004501ce070f$d727d9a0$85778ce0$@net> <6C8C7046921F47B5BE5D8854CDE7046E@XPS> <3C72BCA829BD4AB8BBAC22C48A390818@7even> Message-ID: Try the other direction as id you were importing from the table in outlook and see what outlook offers as field names when you link to it and import from it. Maybe the names will appear different or are aliased. On Apr 28, 2013 3:16 PM, "Access Pro" wrote: > > Hello to the list, > > I have a need to append data to an attached table in A2010. > The attached table is an Exchange/Outlook table. > I am able to do except for the custom fields/columns I have added in > Outlook. > These columns are visible in Outlook. I can add data in Outlook. > But when I add one of these to my append query, it blows up. > "The INSERT INTO statement contains the following unknown field name: > 'Phone > Cellular Spouse'. Make sure you have typed the name correctly, and try the > operation again." > > > > Tia > > Bob Heygood > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Thu May 2 02:08:54 2013 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 May 2013 09:08:54 +0200 Subject: [AccessD] Nz trap with dates in queries Message-ID: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav From Lambert.Heenan at aig.com Thu May 2 10:24:36 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Thu, 2 May 2013 11:24:36 -0400 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> References: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> Message-ID: I think that a golden rule when using Nz(), anywhere, is to *always* convert the result to the data type you expect. Save a lot of confusion. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu May 2 12:14:05 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 2 May 2013 10:14:05 -0700 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> References: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> Message-ID: That issue has been around forever, Gustav. Nz always needs to be cast into a datatype unless you're looking for a string. Charlotte On Thu, May 2, 2013 at 12:08 AM, Gustav Brock wrote: > Hi all > > I browsed this article: > > http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm > > and much to my surprise the note about the Nz trap is true. > > When used in a query, this expression returns a string: > > DateNotNull: Nz([DateFieldWithNulls], Date()) > > You can easily see it, because if you apply a date format to the column, it > has no effect. > > The real strange part, however, is that if you add two other columns: > > TypeDate: VarType([DateFieldWithNulls]) > TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) > > the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only > ... no 8s for string! > > The workaround is either of these methods - the first corrects the result, > the second (from the article) uses a good, old alternative: > > DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) > DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), > [DateFieldWithNulls]) > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Thu May 2 14:14:34 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 2 May 2013 15:14:34 -0400 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> References: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> Message-ID: <037701ce4769$4984ef30$dc8ecd90$@gmail.com> Is the former, or latter faster? >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Also, wouldn't it be better to assign the Date () to a parameter then use that parameter in place of Date()? Suppose you ran this at 23:59:00 and it is inside a query which takes a long time to run, wouldn't Date() change for later records? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri May 3 03:47:39 2013 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 May 2013 10:47:39 +0200 Subject: [AccessD] Nz trap with dates in queries Message-ID: <006b01ce47da$de64be70$9b2e3b50$@cactus.dk> Hi Charlotte I've never seen an issue because of this. It should only be so if you in a query sort on an expression using it. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Charlotte Foust Sendt: 2. maj 2013 19:14 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Nz trap with dates in queries That issue has been around forever, Gustav. Nz always needs to be cast into a datatype unless you're looking for a string. Charlotte On Thu, May 2, 2013 at 12:08 AM, Gustav Brock wrote: > Hi all > > I browsed this article: > > http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm > > and much to my surprise the note about the Nz trap is true. > > When used in a query, this expression returns a string: > > DateNotNull: Nz([DateFieldWithNulls], Date()) > > You can easily see it, because if you apply a date format to the > column, it has no effect. > > The real strange part, however, is that if you add two other columns: > > TypeDate: VarType([DateFieldWithNulls]) > TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) > > the first returns 7 (DateTime) and 1 (Null) while the other returns 7s > only ... no 8s for string! > > The workaround is either of these methods - the first corrects the > result, the second (from the article) uses a good, old alternative: > > DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) > DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), > [DateFieldWithNulls]) > > /gustav From gustav at cactus.dk Fri May 3 03:50:53 2013 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 May 2013 10:50:53 +0200 Subject: [AccessD] Nz trap with dates in queries Message-ID: <006d01ce47db$51fc6b30$f5f54190$@cactus.dk> Hi William The latter. You are right about potential issues using Date() this way. I only used it here because it for certain will return a VarType of 7. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson (VBACreations.Com) Sendt: 2. maj 2013 21:15 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Nz trap with dates in queries Is the former, or latter faster? >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Also, wouldn't it be better to assign the Date () to a parameter then use that parameter in place of Date()? Suppose you ran this at 23:59:00 and it is inside a query which takes a long time to run, wouldn't Date() change for later records? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav From stuart at lexacorp.com.pg Fri May 3 03:59:47 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 03 May 2013 18:59:47 +1000 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: References: <002901ce4703$e82361f0$b86a25d0$@cactus.dk>, Message-ID: <51837C83.26168.2B7E9965@stuart.lexacorp.com.pg> It implicitly castes as a number with no problems. I frequently use things like: TotalCharge: Cost * Qty + NZ(FreightCharge,0) On 2 May 2013 at 10:14, Charlotte Foust wrote: > That issue has been around forever, Gustav. Nz always needs to be cast > into a datatype unless you're looking for a string. > > Charlotte > > On Thu, May 2, 2013 at 12:08 AM, Gustav Brock wrote: > > > Hi all > > > > I browsed this article: > > > > http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm > > > > and much to my surprise the note about the Nz trap is true. > > > > When used in a query, this expression returns a string: > > > > DateNotNull: Nz([DateFieldWithNulls], Date()) > > > > You can easily see it, because if you apply a date format to the column, it > > has no effect. > > > > The real strange part, however, is that if you add two other columns: > > > > TypeDate: VarType([DateFieldWithNulls]) > > TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) > > > > the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only > > ... no 8s for string! > > > > The workaround is either of these methods - the first corrects the result, > > the second (from the article) uses a good, old alternative: > > > > DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) > > DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), > > [DateFieldWithNulls]) > > > > /gustav > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri May 3 05:11:14 2013 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 May 2013 12:11:14 +0200 Subject: [AccessD] Nz trap with dates in queries Message-ID: <008101ce47e6$8b801400$a2803c00$@cactus.dk> Hi Stuart Yes, in code it works - you can use VarType to confirm the data type returned. Neither have I had any issues in queries, it only shows when you apply a sorting. But maybe I've never sorted on a column using Nz with anything else than text. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 3. maj 2013 11:00 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Nz trap with dates in queries It implicitly castes as a number with no problems. I frequently use things like: TotalCharge: Cost * Qty + NZ(FreightCharge,0) On 2 May 2013 at 10:14, Charlotte Foust wrote: > That issue has been around forever, Gustav. Nz always needs to be > cast into a datatype unless you're looking for a string. > > Charlotte > > On Thu, May 2, 2013 at 12:08 AM, Gustav Brock wrote: > > > Hi all > > > > I browsed this article: > > > > http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm > > > > and much to my surprise the note about the Nz trap is true. > > > > When used in a query, this expression returns a string: > > > > DateNotNull: Nz([DateFieldWithNulls], Date()) > > > > You can easily see it, because if you apply a date format to the > > column, it has no effect. > > > > The real strange part, however, is that if you add two other columns: > > > > TypeDate: VarType([DateFieldWithNulls]) > > TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) > > > > the first returns 7 (DateTime) and 1 (Null) while the other returns > > 7s only ... no 8s for string! > > > > The workaround is either of these methods - the first corrects the > > result, the second (from the article) uses a good, old alternative: > > > > DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) > > DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), > > [DateFieldWithNulls]) > > > > /gustav From Lambert.Heenan at aig.com Fri May 3 07:50:30 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Fri, 3 May 2013 08:50:30 -0400 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: <006d01ce47db$51fc6b30$f5f54190$@cactus.dk> References: <006d01ce47db$51fc6b30$f5f54190$@cactus.dk> Message-ID: I *think* that when Jet optimizes the query it will figure out that the call to Date() [or Now()] is implicitly looking for a constant value, and so the function call only happens once, at the start of execution of the query. Now if you execute the SQL directly (with CurrentDb.Execute) then that optimization may not happen. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 03, 2013 4:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Nz trap with dates in queries Hi William The latter. You are right about potential issues using Date() this way. I only used it here because it for certain will return a VarType of 7. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson (VBACreations.Com) Sendt: 2. maj 2013 21:15 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Nz trap with dates in queries Is the former, or latter faster? >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Also, wouldn't it be better to assign the Date () to a parameter then use that parameter in place of Date()? Suppose you ran this at 23:59:00 and it is inside a query which takes a long time to run, wouldn't Date() change for later records? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri May 3 08:00:38 2013 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 03 May 2013 09:00:38 -0400 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: References: <006d01ce47db$51fc6b30$f5f54190$@cactus.dk> Message-ID: Yes JET does. Unless a function call contains an argument, JET will only do the call once at the start of the query. It won't repeat it for every row. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, May 03, 2013 08:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Nz trap with dates in queries I *think* that when Jet optimizes the query it will figure out that the call to Date() [or Now()] is implicitly looking for a constant value, and so the function call only happens once, at the start of execution of the query. Now if you execute the SQL directly (with CurrentDb.Execute) then that optimization may not happen. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 03, 2013 4:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Nz trap with dates in queries Hi William The latter. You are right about potential issues using Date() this way. I only used it here because it for certain will return a VarType of 7. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson (VBACreations.Com) Sendt: 2. maj 2013 21:15 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Nz trap with dates in queries Is the former, or latter faster? >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Also, wouldn't it be better to assign the Date () to a parameter then use that parameter in place of Date()? Suppose you ran this at 23:59:00 and it is inside a query which takes a long time to run, wouldn't Date() change for later records? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Fri May 3 08:06:11 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Fri, 3 May 2013 09:06:11 -0400 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: References: <006d01ce47db$51fc6b30$f5f54190$@cactus.dk> Message-ID: And I just confirmed that the function is only called once. I created this function Function myNow() As Date Debug.Print "myNow called" myNow = Now() End Function And then ran this query on a table with 125k rows SELECT MUR_Data_tbl.[Applicant ID], myNow() AS aDate FROM MUR_Data_tbl; And the function was called exactly once. Then I defined the sub below to open a recordset on that SQL (db.Execute of course is for action queries only), and again the function was called exactly once. Sub openAQuery() Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("SELECT MUR_Data_tbl.[Applicant ID], myNow() AS aDate FROM MUR_Data_tbl;", dbOpenDynaset) rs.MoveLast Debug.Print rs.RecordCount rs.Close Set rs = Nothing Set db = Nothing End Sub Lastly I modified the query it include the use of NZ on a field that does have nulls.... SELECT MUR_Data_tbl.[Applicant ID], myNow() AS aDate, nz([MedsEnd],myNow()) AS ME, MUR_Data_tbl.MedsEnd FROM MUR_Data_tbl; And still the function is called only once per use. Once for the aDate calculation and once for the use in Nz(). So the question of which is faster below is moot I think. >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, May 03, 2013 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Nz trap with dates in queries I *think* that when Jet optimizes the query it will figure out that the call to Date() [or Now()] is implicitly looking for a constant value, and so the function call only happens once, at the start of execution of the query. Now if you execute the SQL directly (with CurrentDb.Execute) then that optimization may not happen. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 03, 2013 4:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Nz trap with dates in queries Hi William The latter. You are right about potential issues using Date() this way. I only used it here because it for certain will return a VarType of 7. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson (VBACreations.Com) Sendt: 2. maj 2013 21:15 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Nz trap with dates in queries Is the former, or latter faster? >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Also, wouldn't it be better to assign the Date () to a parameter then use that parameter in place of Date()? Suppose you ran this at 23:59:00 and it is inside a query which takes a long time to run, wouldn't Date() change for later records? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Fri May 3 08:07:37 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Fri, 3 May 2013 09:07:37 -0400 Subject: [AccessD] Nz trap with dates in queries In-Reply-To: References: <006d01ce47db$51fc6b30$f5f54190$@cactus.dk> Message-ID: Right Jim. I knew about the function argument changing the game. In that circumstance Jet cannot assume the argument is the same every time, so it has to call the function. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, May 03, 2013 9:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Nz trap with dates in queries Yes JET does. Unless a function call contains an argument, JET will only do the call once at the start of the query. It won't repeat it for every row. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, May 03, 2013 08:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Nz trap with dates in queries I *think* that when Jet optimizes the query it will figure out that the call to Date() [or Now()] is implicitly looking for a constant value, and so the function call only happens once, at the start of execution of the query. Now if you execute the SQL directly (with CurrentDb.Execute) then that optimization may not happen. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 03, 2013 4:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Nz trap with dates in queries Hi William The latter. You are right about potential issues using Date() this way. I only used it here because it for certain will return a VarType of 7. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af William Benson (VBACreations.Com) Sendt: 2. maj 2013 21:15 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Nz trap with dates in queries Is the former, or latter faster? >> DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) >> DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) Also, wouldn't it be better to assign the Date () to a parameter then use that parameter in place of Date()? Suppose you ran this at 23:59:00 and it is inside a query which takes a long time to run, wouldn't Date() change for later records? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 02, 2013 3:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Nz trap with dates in queries Hi all I browsed this article: http://www.fmsinc.com/MicrosoftAccess/query/sort/multiple-dates.htm and much to my surprise the note about the Nz trap is true. When used in a query, this expression returns a string: DateNotNull: Nz([DateFieldWithNulls], Date()) You can easily see it, because if you apply a date format to the column, it has no effect. The real strange part, however, is that if you add two other columns: TypeDate: VarType([DateFieldWithNulls]) TypeDatez: VarType(Nz([DateFieldWithNulls], Date())) the first returns 7 (DateTime) and 1 (Null) while the other returns 7s only ... no 8s for string! The workaround is either of these methods - the first corrects the result, the second (from the article) uses a good, old alternative: DateNotNull: CDate(Nz([DateFieldWithNulls], Date())) DateNotNull: IIf([DateFieldWithNulls] Is Null, Date(), [DateFieldWithNulls]) /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accesspro at cox.net Fri May 3 15:31:29 2013 From: accesspro at cox.net (Access Pro) Date: Fri, 3 May 2013 13:31:29 -0700 Subject: [AccessD] Export Access Data to Custom Outlook Fields/Columns In-Reply-To: References: <00d101ce0633$358a06e0$a09e14a0$@sbor.com><51156221.15810.4371D17@stuart.lexacorp.com.pg><000001ce0642$9e0096d0$da01c470$@sbor.com><000001ce06df$265a0330$730e0990$@net><004501ce070f$d727d9a0$85778ce0$@net><6C8C7046921F47B5BE5D8854CDE7046E@XPS><3C72BCA829BD4AB8BBAC22C48A390818@7even> Message-ID: <2D500FC3E9A7475098453BF9C01533DF@7even> Thanks for the response. No, it is the same whether I link or import. The custom fields I created in outlook are not available/present in Access. They are however avail in "view" in Outlook... Anyone? Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, May 01, 2013 9:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export Access Data to Custom Outlook Fields/Columns Try the other direction as id you were importing from the table in outlook and see what outlook offers as field names when you link to it and import from it. Maybe the names will appear different or are aliased. On Apr 28, 2013 3:16 PM, "Access Pro" wrote: > > Hello to the list, > > I have a need to append data to an attached table in A2010. > The attached table is an Exchange/Outlook table. > I am able to do except for the custom fields/columns I have added in > Outlook. > These columns are visible in Outlook. I can add data in Outlook. > But when I add one of these to my append query, it blows up. > "The INSERT INTO statement contains the following unknown field name: > 'Phone > Cellular Spouse'. Make sure you have typed the name correctly, and try > the operation again." > > > > Tia > > Bob Heygood > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Fri May 3 20:28:12 2013 From: jbodin at sbor.com (John Bodin) Date: Sat, 4 May 2013 01:28:12 +0000 Subject: [AccessD] Export Access Data to Custom Outlook Fields/Columns In-Reply-To: <2D500FC3E9A7475098453BF9C01533DF@7even> References: <00d101ce0633$358a06e0$a09e14a0$@sbor.com><51156221.15810.4371D17@stuart.lexacorp.com.pg><000001ce0642$9e0096d0$da01c470$@sbor.com><000001ce06df$265a0330$730e0990$@net><004501ce070f$d727d9a0$85778ce0$@net><6C8C7046921F47B5BE5D8854CDE7046E@XPS><3C72BCA829BD4AB8BBAC22C48A390818@7even> <2D500FC3E9A7475098453BF9C01533DF@7even> Message-ID: <108d64bf7d724b45b5b6821565d2d2e6@BLUPR04MB023.namprd04.prod.outlook.com> Bob, take a look at Sue Mosher's OutlookCode site. Do not know if you'll be able to use built-in functions or write your own VBA code to get the correct syntax (e.g. myItem.UserProperties("Field1") = "new value") to work. Hopefully this will help you out. http://www.outlookcode.com/article.aspx?id=38 John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Access Pro Sent: Friday, May 03, 2013 4:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export Access Data to Custom Outlook Fields/Columns Thanks for the response. No, it is the same whether I link or import. The custom fields I created in outlook are not available/present in Access. They are however avail in "view" in Outlook... Anyone? Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Wednesday, May 01, 2013 9:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export Access Data to Custom Outlook Fields/Columns Try the other direction as id you were importing from the table in outlook and see what outlook offers as field names when you link to it and import from it. Maybe the names will appear different or are aliased. On Apr 28, 2013 3:16 PM, "Access Pro" wrote: > > Hello to the list, > > I have a need to append data to an attached table in A2010. > The attached table is an Exchange/Outlook table. > I am able to do except for the custom fields/columns I have added in > Outlook. > These columns are visible in Outlook. I can add data in Outlook. > But when I add one of these to my append query, it blows up. > "The INSERT INTO statement contains the following unknown field name: > 'Phone > Cellular Spouse'. Make sure you have typed the name correctly, and try > the operation again." > > > > Tia > > Bob Heygood > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Sat May 4 11:21:23 2013 From: djkr at msn.com (DJK (John) Robinson) Date: Sat, 4 May 2013 17:21:23 +0100 Subject: [AccessD] test - please ignore In-Reply-To: <108d64bf7d724b45b5b6821565d2d2e6@BLUPR04MB023.namprd04.prod.outlook.com> Message-ID: ... been reconfiguring email files & folders and need to see if they still work. John From rockysmolin at bchacc.com Mon May 6 16:55:17 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 14:55:17 -0700 Subject: [AccessD] Click Sound Message-ID: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From davidmcafee at gmail.com Mon May 6 17:33:14 2013 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 6 May 2013 15:33:14 -0700 Subject: [AccessD] Click Sound In-Reply-To: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> Message-ID: I know I've done it before with a .wav file. I'm trying to find my sample On Mon, May 6, 2013 at 2:55 PM, Rocky Smolin wrote: > Dear List: > > Is it possible to have a click sound when you click a control like a > command > button or into a text box? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon May 6 17:51:01 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 15:51:01 -0700 Subject: [AccessD] Click Sound In-Reply-To: References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> Message-ID: Years ago, in the previous century, I used PLaySound which needed an API IIRC. But then it stopped working. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: May 06, 2013 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound I know I've done it before with a .wav file. I'm trying to find my sample On Mon, May 6, 2013 at 2:55 PM, Rocky Smolin wrote: > Dear List: > > Is it possible to have a click sound when you click a control like a > command button or into a text box? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon May 6 17:59:04 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 May 2013 15:59:04 -0700 Subject: [AccessD] Click Sound In-Reply-To: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> Message-ID: <80022B03CB554583AE6F4643C1046F93@server2003> Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon May 6 19:29:43 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 17:29:43 -0700 Subject: [AccessD] Click Sound In-Reply-To: <80022B03CB554583AE6F4643C1046F93@server2003> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> <80022B03CB554583AE6F4643C1046F93@server2003> Message-ID: That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon May 6 20:14:44 2013 From: john at winhaven.net (John Bartow) Date: Mon, 6 May 2013 20:14:44 -0500 Subject: [AccessD] Click Sound In-Reply-To: References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> <80022B03CB554583AE6F4643C1046F93@server2003> Message-ID: <02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon May 6 20:32:06 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 18:32:06 -0700 Subject: [AccessD] Click Sound In-Reply-To: <02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> <80022B03CB554583AE6F4643C1046F93@server2003> <02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> Message-ID: Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon May 6 20:59:38 2013 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 7 May 2013 01:59:38 +0000 Subject: [AccessD] Click Sound In-Reply-To: References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007> <80022B03CB554583AE6F4643C1046F93@server2003> <02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> Message-ID: <56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon May 6 22:06:59 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 20:06:59 -0700 Subject: [AccessD] Click Sound In-Reply-To: <56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> <56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon May 6 22:59:49 2013 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 6 May 2013 20:59:49 -0700 Subject: [AccessD] Click Sound In-Reply-To: References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> <56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <012501ce4ad7$51f8b180$f5ea1480$@cox.net> I believe you meant no gun control. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon May 6 23:07:30 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 21:07:30 -0700 Subject: [AccessD] Click Sound In-Reply-To: <012501ce4ad7$51f8b180$f5ea1480$@cox.net> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net> <56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> <012501ce4ad7$51f8b180$f5ea1480$@cox.net> Message-ID: <0D38FEDF9D174E96B8DD54E872C18EFC@HAL9007> You're much more pragmatic than I am. ) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: May 06, 2013 9:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound I believe you meant no gun control. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon May 6 23:09:00 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 May 2013 14:09:00 +1000 Subject: [AccessD] Click Sound In-Reply-To: <012501ce4ad7$51f8b180$f5ea1480$@cox.net> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007>, , <012501ce4ad7$51f8b180$f5ea1480$@cox.net> Message-ID: <51887E5C.29950.3F0DB0D3@stuart.lexacorp.com.pg> Nope, gun control - as in "a firm grip with both hands, focus on the foresight and gently squeeze the trigger". :-) On 6 May 2013 at 20:59, Doug Murphy wrote: > I believe you meant no gun control. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, May 06, 2013 8:07 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Click Sound > > "anyone who has sat next to a person on some sort of public transport" > > Truly the case for gun control... > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: May 06, 2013 7:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Click Sound > > Heh.. I am glad you mentioned the why bit. I was wondering why on earth you > would want a darn "Click" sound anyway. A bit like leaving the 'beep' on > your mobile phone keypad. Surely that would annoy the crap out of you in > less than 5 mins of use. > > First thing I do on any of my tech toys is minimise the clicks, beep and > pings. But maybe that is just me... > > Mind you, anyone who has sat next to a person on some sort of public > transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text > message character at a time... well, enough said I think... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, 7 May 2013 11:32 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Click Sound > > Beep actually Dings. I think it's a Windows setting, though. So I suppose > it could be changed to click. The user wants click. Doesn't want the users > to have to change Windows settings. (sigh..users...gotta love 'em) > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: May 06, 2013 6:15 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Click Sound > > If nothing else works out maybe you could use Beep. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, May 06, 2013 7:30 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Click Sound > > That's the way I used to do it. Problem is now it has to start a player > like VLC every time you play a file. In the old, old days there was a > little clicker in the comp and you could make it click. > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: May 06, 2013 3:59 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Click Sound > > Hi Rocky: > > Did you see this link?: > > http://allenbrowne.com/func-04.html > > or more modern: http://support.microsoft.com/kb/95647 > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Monday, May 06, 2013 2:55 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Click Sound > > Dear List: > > Is it possible to have a click sound when you click a control like a command > button or into a text box? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon May 6 23:11:08 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 May 2013 21:11:08 -0700 Subject: [AccessD] Click Sound In-Reply-To: References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon May 6 23:35:15 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 6 May 2013 21:35:15 -0700 Subject: [AccessD] Click Sound In-Reply-To: References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <2B954DE419C0424BB3400A294A0CF914@HAL9007> Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 9:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue May 7 01:03:15 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 May 2013 16:03:15 +1000 Subject: [AccessD] Click Sound In-Reply-To: <2B954DE419C0424BB3400A294A0CF914@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007>, , <2B954DE419C0424BB3400A294A0CF914@HAL9007> Message-ID: <51889923.23800.3F764CF4@stuart.lexacorp.com.pg> Like they say, "There's an API for that". Option Compare Database Option Explicit Declare Function apisndPlaySound Lib "winmm" Alias "sndPlaySoundA" _ (ByVal filename As String, ByVal SND_ASYNC As Long) As Long Const SND_SYNC = 0 Const SND_ASYNC = 1 Function Click() Dim retval As Long retval = apisndPlaySound(CurrentProject.Path & "\Click.wav", SND_ASYNC) End Function Up to you to find a suitable "Click.wav" On 6 May 2013 at 21:35, Rocky Smolin wrote: > Client wants it because he's seriously considering turning the system I > wrote for him to manage his business into a product. I gave him my book and > said if you read this and then lie down and the feeling doesn't pass then > we'll talk. > > So we've been talking and he's ready to start down that path. Thinks he can > sell 50 of them in a year and then find someone to acquire it and do another > project. Lot of guys have that idea - this guy is one of the few that think > actually could. > > And one of the user friendly things he wanted was that click sound when you > click a command button. So if I do it, it has to be version independent, > and not be triggering a player to play the sound - has to be immediate so > there's a visual/aural connection. I think it's one of those 'features' that > may get put on the Version 2 list. > > R > From gustav at cactus.dk Tue May 7 02:36:36 2013 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 May 2013 09:36:36 +0200 Subject: [AccessD] Click Sound Message-ID: <008201ce4af5$9aecb490$d0c61db0$@cactus.dk> Hi Rocky Convince him not to do this. It is against all GUI conventions. It will drive users mad and their first question will be how to turn it off. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Rocky Smolin Sendt: 7. maj 2013 06:35 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R From stuart at lexacorp.com.pg Tue May 7 02:51:59 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 May 2013 17:51:59 +1000 Subject: [AccessD] Click Sound In-Reply-To: <008201ce4af5$9aecb490$d0c61db0$@cactus.dk> References: <008201ce4af5$9aecb490$d0c61db0$@cactus.dk> Message-ID: <5188B29F.15742.3FD9D73B@stuart.lexacorp.com.pg> Easy enough to make it an option with a flag stored in a system table and loaded into a global or static at startup. -- Stuart On 7 May 2013 at 9:36, Gustav Brock wrote: > Hi Rocky > > Convince him not to do this. It is against all GUI conventions. It will > drive users mad and their first question will be how to turn it off. > > /gustav > > > -----Oprindelig meddelelse----- > Fra: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Rocky Smolin > Sendt: 7. maj 2013 06:35 > Til: 'Access Developers discussion and problem solving' > Emne: Re: [AccessD] Click Sound > > Client wants it because he's seriously considering turning the system I > wrote for him to manage his business into a product. I gave him my book and > said if you read this and then lie down and the feeling doesn't pass then > we'll talk. > > So we've been talking and he's ready to start down that path. Thinks he can > sell 50 of them in a year and then find someone to acquire it and do another > project. Lot of guys have that idea - this guy is one of the few that think > actually could. > > And one of the user friendly things he wanted was that click sound when you > click a command button. So if I do it, it has to be version independent, > and not be triggering a player to play the sound - has to be immediate so > there's a visual/aural connection. I think it's one of those 'features' that > may get put on the Version 2 list. > > R > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Tue May 7 08:11:41 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 7 May 2013 06:11:41 -0700 Subject: [AccessD] Click Sound In-Reply-To: <008201ce4af5$9aecb490$d0c61db0$@cactus.dk> References: <008201ce4af5$9aecb490$d0c61db0$@cactus.dk> Message-ID: <9FAC2B4A16514637A05A880DEEB8DB3B@HAL9007> I think that?s the ideal solution. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: May 07, 2013 12:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky Convince him not to do this. It is against all GUI conventions. It will drive users mad and their first question will be how to turn it off. /gustav -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Rocky Smolin Sendt: 7. maj 2013 06:35 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue May 7 09:23:02 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 7 May 2013 07:23:02 -0700 Subject: [AccessD] Click Sound In-Reply-To: <2B954DE419C0424BB3400A294A0CF914@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com> <2B954DE419C0424BB3400A294A0CF914@HAL9007> Message-ID: <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> Hi Rocky: I have to agree with Gustav in this. Other that to watch streaming video or build in video conferencing there is no reason to add sound. If this is your client's first "product" he should be taking your lead in this. On another track: The ultimate product would of course be web based. Whether that is just run within an office, on a single machine or on the web would be the choice of his customers but it does open up the possibility to be a cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and one not dependant on the whims of a single OS provider, on a now fading environment. It would also manage the issues of product distribution, maintenance, reliability, scalability, depreciation and limited functionality. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 9:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 9:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue May 7 10:34:48 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 7 May 2013 08:34:48 -0700 Subject: [AccessD] Click Sound In-Reply-To: <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com><2B954DE419C0424BB3400A294A0CF914@HAL9007> <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> Message-ID: <68B7BF41A3014B9BB4882F813D9C6FF8@HAL9007> His strategy is to sell 50, and then find someone to acquire it. He has a contact already set up for that exit strategy. The acquirer would then convert it to a web platform if they wanted to. He just needs a 'proof of concept' and acceptance by a significant number of users in the market. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 07, 2013 7:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I have to agree with Gustav in this. Other that to watch streaming video or build in video conferencing there is no reason to add sound. If this is your client's first "product" he should be taking your lead in this. On another track: The ultimate product would of course be web based. Whether that is just run within an office, on a single machine or on the web would be the choice of his customers but it does open up the possibility to be a cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and one not dependant on the whims of a single OS provider, on a now fading environment. It would also manage the issues of product distribution, maintenance, reliability, scalability, depreciation and limited functionality. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 9:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 9:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue May 7 11:41:22 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 7 May 2013 09:41:22 -0700 Subject: [AccessD] Click Sound In-Reply-To: <68B7BF41A3014B9BB4882F813D9C6FF8@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com><2B954DE419C0424BB3400A294A0CF914@HAL9007><5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> <68B7BF41A3014B9BB4882F813D9C6FF8@HAL9007> Message-ID: <998383250DE9424DA92C8A21F54B1D99@server2003> Hi Rocky: Interesting... It is not his strategy but his goal to sell 50 units. He will have to be an excellent marketer to do that. So the current purchaser, of your system is trying to make a quick few bucks and then get to hell out. I would wish him well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 07, 2013 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound His strategy is to sell 50, and then find someone to acquire it. He has a contact already set up for that exit strategy. The acquirer would then convert it to a web platform if they wanted to. He just needs a 'proof of concept' and acceptance by a significant number of users in the market. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 07, 2013 7:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I have to agree with Gustav in this. Other that to watch streaming video or build in video conferencing there is no reason to add sound. If this is your client's first "product" he should be taking your lead in this. On another track: The ultimate product would of course be web based. Whether that is just run within an office, on a single machine or on the web would be the choice of his customers but it does open up the possibility to be a cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and one not dependant on the whims of a single OS provider, on a now fading environment. It would also manage the issues of product distribution, maintenance, reliability, scalability, depreciation and limited functionality. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 9:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 9:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue May 7 11:58:21 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 7 May 2013 09:58:21 -0700 Subject: [AccessD] Click Sound In-Reply-To: <998383250DE9424DA92C8A21F54B1D99@server2003> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com><2B954DE419C0424BB3400A294A0CF914@HAL9007><5A8C9CF8CB0D469ABEECE5F51C22964E@server2003><68B7BF41A3014B9BB4882F813D9C6FF8@HAL9007> <998383250DE9424DA92C8A21F54B1D99@server2003> Message-ID: <8AF185BD06644FF38E349543777946C8@HAL9007> No not current purchaser of E-Z_MRP - a different guy. I developed a system for him that runs his whole business. Now he wants to see if he can make a commercial product out of it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 07, 2013 9:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Interesting... It is not his strategy but his goal to sell 50 units. He will have to be an excellent marketer to do that. So the current purchaser, of your system is trying to make a quick few bucks and then get to hell out. I would wish him well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 07, 2013 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound His strategy is to sell 50, and then find someone to acquire it. He has a contact already set up for that exit strategy. The acquirer would then convert it to a web platform if they wanted to. He just needs a 'proof of concept' and acceptance by a significant number of users in the market. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 07, 2013 7:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I have to agree with Gustav in this. Other that to watch streaming video or build in video conferencing there is no reason to add sound. If this is your client's first "product" he should be taking your lead in this. On another track: The ultimate product would of course be web based. Whether that is just run within an office, on a single machine or on the web would be the choice of his customers but it does open up the possibility to be a cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and one not dependant on the whims of a single OS provider, on a now fading environment. It would also manage the issues of product distribution, maintenance, reliability, scalability, depreciation and limited functionality. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 9:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 9:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue May 7 16:01:26 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 May 2013 07:01:26 +1000 Subject: [AccessD] Click Sound In-Reply-To: <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007>, <2B954DE419C0424BB3400A294A0CF914@HAL9007>, <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> Message-ID: <51896BA6.8177.42AC9B14@stuart.lexacorp.com.pg> Hmmm! A simple programming "how do I" question. One answer of "here's the code". Lots of answers of "why", "don't do it" and "use a different development environment". Whatever happened to this as a support forum for Access development problems? Rocky, I presume you did see my solution using an API call? -- Stuart On 7 May 2013 at 7:23, Jim Lawrence wrote: > Hi Rocky: > > I have to agree with Gustav in this. Other that to watch streaming video or > build in video conferencing there is no reason to add sound. > > If this is your client's first "product" he should be taking your lead in > this. > > On another track: The ultimate product would of course be web based. Whether > that is just run within an office, on a single machine or on the web would > be the choice of his customers but it does open up the possibility to be a > cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and > one not dependant on the whims of a single OS provider, on a now fading > environment. It would also manage the issues of product distribution, > maintenance, reliability, scalability, depreciation and limited > functionality. > > Jim > From rockysmolin at bchacc.com Tue May 7 18:29:31 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 7 May 2013 16:29:31 -0700 Subject: [AccessD] Click Sound In-Reply-To: <51896BA6.8177.42AC9B14@stuart.lexacorp.com.pg> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007>, <2B954DE419C0424BB3400A294A0CF914@HAL9007>, <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> <51896BA6.8177.42AC9B14@stuart.lexacorp.com.pg> Message-ID: <3A53D8E2397B430BA05BFFE6C9EBA2E6@HAL9007> I saw the solution - the API cal, PlaySnd - I used that in Access 97. And it's a real good method if you want to play an mp3 file or a wav file. Give audible instructions for example. But I disagree that the non-programmatic alternatives are not useful. In fact, I had and followed lots of discussion here about, what we might loosely call, 'design topics'. After all design comes before coding. And the experience of a couple of listers, whose opinions I greatly respect said it would be a bad design decision. That, for me at least, on this topic, was the right solution. Best, r -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: May 07, 2013 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Hmmm! A simple programming "how do I" question. One answer of "here's the code". Lots of answers of "why", "don't do it" and "use a different development environment". Whatever happened to this as a support forum for Access development problems? Rocky, I presume you did see my solution using an API call? -- Stuart On 7 May 2013 at 7:23, Jim Lawrence wrote: > Hi Rocky: > > I have to agree with Gustav in this. Other that to watch streaming > video or build in video conferencing there is no reason to add sound. > > If this is your client's first "product" he should be taking your lead > in this. > > On another track: The ultimate product would of course be web based. > Whether that is just run within an office, on a single machine or on > the web would be the choice of his customers but it does open up the > possibility to be a cross-platform, multiple hardware > (PC/tablet/Smartphone etc) solution and one not dependant on the whims > of a single OS provider, on a now fading environment. It would also > manage the issues of product distribution, maintenance, reliability, > scalability, depreciation and limited functionality. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue May 7 19:32:26 2013 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 07 May 2013 20:32:26 -0400 Subject: [AccessD] Click Sound In-Reply-To: <3A53D8E2397B430BA05BFFE6C9EBA2E6@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007>, <2B954DE419C0424BB3400A294A0CF914@HAL9007>, <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> <51896BA6.8177.42AC9B14@stuart.lexacorp.com.pg> <3A53D8E2397B430BA05BFFE6C9EBA2E6@HAL9007> Message-ID: <2B282163FF0B4315AC004FCED82DC0E4@XPS> Rocky, Well in case anyone is un-aware, past few release of Office allow for "feedback with sound" as an option...seems like it's OK for Microsoft then. Of course, they even blew their own design guidelines for Windows 8 tiles, so they don't always make good choices either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 07, 2013 07:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound I saw the solution - the API cal, PlaySnd - I used that in Access 97. And it's a real good method if you want to play an mp3 file or a wav file. Give audible instructions for example. But I disagree that the non-programmatic alternatives are not useful. In fact, I had and followed lots of discussion here about, what we might loosely call, 'design topics'. After all design comes before coding. And the experience of a couple of listers, whose opinions I greatly respect said it would be a bad design decision. That, for me at least, on this topic, was the right solution. Best, r -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: May 07, 2013 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Hmmm! A simple programming "how do I" question. One answer of "here's the code". Lots of answers of "why", "don't do it" and "use a different development environment". Whatever happened to this as a support forum for Access development problems? Rocky, I presume you did see my solution using an API call? -- Stuart On 7 May 2013 at 7:23, Jim Lawrence wrote: > Hi Rocky: > > I have to agree with Gustav in this. Other that to watch streaming > video or build in video conferencing there is no reason to add sound. > > If this is your client's first "product" he should be taking your lead > in this. > > On another track: The ultimate product would of course be web based. > Whether that is just run within an office, on a single machine or on > the web would be the choice of his customers but it does open up the > possibility to be a cross-platform, multiple hardware > (PC/tablet/Smartphone etc) solution and one not dependant on the whims > of a single OS provider, on a now fading environment. It would also > manage the issues of product distribution, maintenance, reliability, > scalability, depreciation and limited functionality. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue May 7 20:27:32 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 7 May 2013 18:27:32 -0700 Subject: [AccessD] Click Sound In-Reply-To: <51896BA6.8177.42AC9B14@stuart.lexacorp.com.pg> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007>, <2B954DE419C0424BB3400A294A0CF914@HAL9007>, <5A8C9CF8CB0D469ABEECE5F51C22964E@server2003> <51896BA6.8177.42AC9B14@stuart.lexacorp.com.pg> Message-ID: <7768087E84F14BB79811559114976A71@server2003> Hi Stuart: As I remarked before, I was understanding that the program that Rocky was discussing was his manufacturing application. " Whatever happened to this as a support forum for Access development problems? " That is the same type of question, that one day, was probably argued, when some farmer's son was discussing with his father, the advantages of buying a tractor for farm, for use, over horse drawing farm machinery. This is the still the farm and the old farmer's, son's son's son may be still working that family farm because of a right decision made so many years before. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, May 07, 2013 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Hmmm! A simple programming "how do I" question. One answer of "here's the code". Lots of answers of "why", "don't do it" and "use a different development environment". Whatever happened to this as a support forum for Access development problems? Rocky, I presume you did see my solution using an API call? -- Stuart On 7 May 2013 at 7:23, Jim Lawrence wrote: > Hi Rocky: > > I have to agree with Gustav in this. Other that to watch streaming video or > build in video conferencing there is no reason to add sound. > > If this is your client's first "product" he should be taking your lead in > this. > > On another track: The ultimate product would of course be web based. Whether > that is just run within an office, on a single machine or on the web would > be the choice of his customers but it does open up the possibility to be a > cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and > one not dependant on the whims of a single OS provider, on a now fading > environment. It would also manage the issues of product distribution, > maintenance, reliability, scalability, depreciation and limited > functionality. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue May 7 20:29:20 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 7 May 2013 18:29:20 -0700 Subject: [AccessD] Click Sound In-Reply-To: <8AF185BD06644FF38E349543777946C8@HAL9007> References: <27FEC4BF46144A03A1F2ADC840829472@HAL9007><80022B03CB554583AE6F4643C1046F93@server2003><02a301ce4ac0$42a10c30$c7e32490$@winhaven.net><56653D383CB80341995245C537A9E7B54B87F0AE@SINPRD0410MB381.apcprd04.prod.outlook.com><2B954DE419C0424BB3400A294A0CF914@HAL9007><5A8C9CF8CB0D469ABEECE5F51C22964E@server2003><68B7BF41A3014B9BB4882F813D9C6FF8@HAL9007><998383250DE9424DA92C8A21F54B1D99@server2003> <8AF185BD06644FF38E349543777946C8@HAL9007> Message-ID: <0AABB182BCE543488F834B26D889EC3B@server2003> Hi Rocky: Sorry, didn't see that heading. Ignore what I wrote then. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 07, 2013 9:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound No not current purchaser of E-Z_MRP - a different guy. I developed a system for him that runs his whole business. Now he wants to see if he can make a commercial product out of it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 07, 2013 9:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Interesting... It is not his strategy but his goal to sell 50 units. He will have to be an excellent marketer to do that. So the current purchaser, of your system is trying to make a quick few bucks and then get to hell out. I would wish him well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 07, 2013 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound His strategy is to sell 50, and then find someone to acquire it. He has a contact already set up for that exit strategy. The acquirer would then convert it to a web platform if they wanted to. He just needs a 'proof of concept' and acceptance by a significant number of users in the market. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 07, 2013 7:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I have to agree with Gustav in this. Other that to watch streaming video or build in video conferencing there is no reason to add sound. If this is your client's first "product" he should be taking your lead in this. On another track: The ultimate product would of course be web based. Whether that is just run within an office, on a single machine or on the web would be the choice of his customers but it does open up the possibility to be a cross-platform, multiple hardware (PC/tablet/Smartphone etc) solution and one not dependant on the whims of a single OS provider, on a now fading environment. It would also manage the issues of product distribution, maintenance, reliability, scalability, depreciation and limited functionality. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 9:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Client wants it because he's seriously considering turning the system I wrote for him to manage his business into a product. I gave him my book and said if you read this and then lie down and the feeling doesn't pass then we'll talk. So we've been talking and he's ready to start down that path. Thinks he can sell 50 of them in a year and then find someone to acquire it and do another project. Lot of guys have that idea - this guy is one of the few that think actually could. And one of the user friendly things he wanted was that click sound when you click a command button. So if I do it, it has to be version independent, and not be triggering a player to play the sound - has to be immediate so there's a visual/aural connection. I think it's one of those 'features' that may get put on the Version 2 list. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 9:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: I guess you have checked out this old goodie? http://access.mvps.org/access/api/api0011.htm The ony other way I know of making a sound is through a browser interface. Example: I understand that Access can dynamically attach web sound and audio sources but I have not played with those features. It is most likely version dependant. Can you used a hyperlink from Access to connect to and play a wave/sound file? (Have not tried this yet.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 8:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound "anyone who has sat next to a person on some sort of public transport" Truly the case for gun control... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 06, 2013 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Click Sound Heh.. I am glad you mentioned the why bit. I was wondering why on earth you would want a darn "Click" sound anyway. A bit like leaving the 'beep' on your mobile phone keypad. Surely that would annoy the crap out of you in less than 5 mins of use. First thing I do on any of my tech toys is minimise the clicks, beep and pings. But maybe that is just me... Mind you, anyone who has sat next to a person on some sort of public transport (Plane, Train, Bus) whilst they 'beep, beep, beep' out a long text message character at a time... well, enough said I think... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 7 May 2013 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Beep actually Dings. I think it's a Windows setting, though. So I suppose it could be changed to click. The user wants click. Doesn't want the users to have to change Windows settings. (sigh..users...gotta love 'em) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: May 06, 2013 6:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound If nothing else works out maybe you could use Beep. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 7:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound That's the way I used to do it. Problem is now it has to start a player like VLC every time you play a file. In the old, old days there was a little clicker in the comp and you could make it click. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 06, 2013 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Click Sound Hi Rocky: Did you see this link?: http://allenbrowne.com/func-04.html or more modern: http://support.microsoft.com/kb/95647 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, May 06, 2013 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Click Sound Dear List: Is it possible to have a click sound when you click a control like a command button or into a text box? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu May 9 17:17:33 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 May 2013 15:17:33 -0700 Subject: [AccessD] Office Won't Print Color Message-ID: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From accessd at shaw.ca Thu May 9 21:04:25 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 9 May 2013 19:04:25 -0700 Subject: [AccessD] Office Won't Print Color In-Reply-To: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> Message-ID: <6F92E4F8066049A58336D275A0D8A0CD@server2003> Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu May 9 22:04:43 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 May 2013 20:04:43 -0700 Subject: [AccessD] Office Won't Print Color In-Reply-To: <6F92E4F8066049A58336D275A0D8A0CD@server2003> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> <6F92E4F8066049A58336D275A0D8A0CD@server2003> Message-ID: Word-->Options-->Print all set correctly. No grayscale option. With the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu May 9 22:23:06 2013 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 10 May 2013 03:23:06 +0000 Subject: [AccessD] Office Won't Print Color In-Reply-To: References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> <6F92E4F8066049A58336D275A0D8A0CD@server2003> Message-ID: <56653D383CB80341995245C537A9E7B54B881895@SINPRD0410MB381.apcprd04.prod.outlook.com> Does the printer itself have a properties option? Although if other apps are colour printing I would be doubtful if it is a 'printer' based setting regardless. Most odd... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 10 May 2013 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu May 9 22:35:50 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 May 2013 20:35:50 -0700 Subject: [AccessD] Office Won't Print Color In-Reply-To: <56653D383CB80341995245C537A9E7B54B881895@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007><6F92E4F8066049A58336D275A0D8A0CD@server2003> <56653D383CB80341995245C537A9E7B54B881895@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: Printer has options but set to color. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 09, 2013 8:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office Won't Print Color Does the printer itself have a properties option? Although if other apps are colour printing I would be doubtful if it is a 'printer' based setting regardless. Most odd... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 10 May 2013 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rbgajewski at roadrunner.com Fri May 10 07:15:26 2013 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Fri, 10 May 2013 08:15:26 -0400 Subject: [AccessD] Office Won't Print Color In-Reply-To: References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007><6F92E4F8066049A58336D275A0D8A0CD@server2003> Message-ID: <4CF0C113157942B0B08AC19F86476B09@7B440585K> Are you perhaps printing in draft mode? From the menu, select Tools - Options - Print tab, see if Draft Output is ticked. While you're there, see if Background colors & images is selected (in case that's what's missing). It's a long shot, but if you're still having the problem, anything is worth checking out ... Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 23:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 10 08:25:39 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 May 2013 06:25:39 -0700 Subject: [AccessD] Office Won't Print Color In-Reply-To: <4CF0C113157942B0B08AC19F86476B09@7B440585K> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007><6F92E4F8066049A58336D275A0D8A0CD@server2003> <4CF0C113157942B0B08AC19F86476B09@7B440585K> Message-ID: <6914FEF1F8524BF0A6E4077BC1948837@HAL9007> Bob: Normal mode. Background color printing checked. This is a real stumper. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: May 10, 2013 5:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Are you perhaps printing in draft mode? From the menu, select Tools - Options - Print tab, see if Draft Output is ticked. While you're there, see if Background colors & images is selected (in case that's what's missing). It's a long shot, but if you're still having the problem, anything is worth checking out ... Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 23:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri May 10 08:42:13 2013 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 10 May 2013 09:42:13 -0400 Subject: [AccessD] [dba-OT] Office Won't Print Color In-Reply-To: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007> Message-ID: Here's a WAG that worked for someone on an HP printer..... Open the "Devices and Printers" window. Right-click the printer and select "Printer Properties." Select the "Device Settings" tab. Scroll to the bottom and set "Device Type" to "Color" (instead of the default, "Auto Detect"). Failing that, maybe an uninstall/reinstall of the printer drivers are in order. On Thu, May 9, 2013 at 6:17 PM, Rocky Smolin wrote: > Dear List(s): > > Sorry for the cross post - you never know where the 'good' answer will com > from these days. :) > > Anyway, I have two color printers and neither will print in color from any > Office app. I tried printing a picture from Windows Photo Viewer prints > color. PDF from Adobe - OK. So I think the printers are OK. > > So I think it must be something on Office. This is 2003 professional. > > I put three lines of text on a doc, one red, one blue, one yellow. All come > out in grayscale. If I print to PrimoPDF and then print the PDF it comes > out in grayscale as well - so it must be some instruction in Office that's > defaulting everything to grayscale. > > Google is usually good about this but there's nothing except some advice > about background printing. > > What to do? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jimdettman at verizon.net Fri May 10 09:07:52 2013 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 May 2013 10:07:52 -0400 Subject: [AccessD] Office Won't Print Color In-Reply-To: <6914FEF1F8524BF0A6E4077BC1948837@HAL9007> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007><6F92E4F8066049A58336D275A0D8A0CD@server2003> <4CF0C113157942B0B08AC19F86476B09@7B440585K> <6914FEF1F8524BF0A6E4077BC1948837@HAL9007> Message-ID: <598EFD2F5F3642AB989BD03A31B323A2@XPS> Do a self test on the printer; make sure it can still print in color. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 10, 2013 09:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Bob: Normal mode. Background color printing checked. This is a real stumper. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: May 10, 2013 5:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Are you perhaps printing in draft mode? From the menu, select Tools - Options - Print tab, see if Draft Output is ticked. While you're there, see if Background colors & images is selected (in case that's what's missing). It's a long shot, but if you're still having the problem, anything is worth checking out ... Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 23:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri May 10 09:09:05 2013 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 May 2013 10:09:05 -0400 Subject: [AccessD] FW: Office Won't Print Color Message-ID: <5F0F785559814B2C9D464F3DAA981FB1@XPS> And after the printer self-test, do one from the control panel/printers out of windows. You should get color there as well. If so, that narrows it down to the app(s) for sure. Jim. -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Friday, May 10, 2013 10:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Office Won't Print Color Do a self test on the printer; make sure it can still print in color. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 10, 2013 09:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Bob: Normal mode. Background color printing checked. This is a real stumper. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: May 10, 2013 5:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Are you perhaps printing in draft mode? From the menu, select Tools - Options - Print tab, see if Draft Output is ticked. While you're there, see if Background colors & images is selected (in case that's what's missing). It's a long shot, but if you're still having the problem, anything is worth checking out ... Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 23:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 10 09:31:15 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 May 2013 07:31:15 -0700 Subject: [AccessD] Office Won't Print Color In-Reply-To: <598EFD2F5F3642AB989BD03A31B323A2@XPS> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007><6F92E4F8066049A58336D275A0D8A0CD@server2003><4CF0C113157942B0B08AC19F86476B09@7B440585K><6914FEF1F8524BF0A6E4077BC1948837@HAL9007> <598EFD2F5F3642AB989BD03A31B323A2@XPS> Message-ID: <4852B459CA924D92B8347D9DA4D9A161@HAL9007> Yeah they both print color if from an app other than Office. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: May 10, 2013 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Do a self test on the printer; make sure it can still print in color. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 10, 2013 09:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Bob: Normal mode. Background color printing checked. This is a real stumper. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: May 10, 2013 5:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Are you perhaps printing in draft mode? From the menu, select Tools - Options - Print tab, see if Draft Output is ticked. While you're there, see if Background colors & images is selected (in case that's what's missing). It's a long shot, but if you're still having the problem, anything is worth checking out ... Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 23:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Fri May 10 11:16:04 2013 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 10 May 2013 09:16:04 -0700 Subject: [AccessD] Office Won't Print Color In-Reply-To: <4852B459CA924D92B8347D9DA4D9A161@HAL9007> References: <81436AFF20BD416DB790E4FE687C99D6@HAL9007><6F92E4F8066049A58336D275A0D8A0CD@server2003><4CF0C113157942B0B08AC19F86476B09@7B440585K><6914FEF1F8524BF0A6E4077BC1948837@HAL9007> <598EFD2F5F3642AB989BD03A31B323A2@XPS> <4852B459CA924D92B8347D9DA4D9A161@HAL9007> Message-ID: <002401ce4d99$abf813a0$03e83ae0$@cox.net> Here is a link to some folks who have had the same problem. One fixed it. http://www.tomshardware.com/forum/237174-49-publisher-print-black-white-colo r-printer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 10, 2013 7:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Yeah they both print color if from an app other than Office. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: May 10, 2013 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Do a self test on the printer; make sure it can still print in color. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 10, 2013 09:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Bob: Normal mode. Background color printing checked. This is a real stumper. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: May 10, 2013 5:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Are you perhaps printing in draft mode? From the menu, select Tools - Options - Print tab, see if Draft Output is ticked. While you're there, see if Background colors & images is selected (in case that's what's missing). It's a long shot, but if you're still having the problem, anything is worth checking out ... Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 23:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Word-->Options-->Print all set correctly. No grayscale option. With Word-->Options-->the Samsung Laser printer there is a grayscale option but it's unchecked. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: May 09, 2013 7:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office Won't Print Color Hi Rocky: No knowing the printer but all printers I am aware of, have a setting that prints all in grey-scale to save on ink. There may also be a setting in your printer's > properties colour management tab and/or advanced tab that allows the printer to be set to only print in grey-scale. I believe there is also a property, in the Office Options that allows you to set printer default colour. Off the top that is as good as it gets. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, May 09, 2013 3:18 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Office Won't Print Color Dear List(s): Sorry for the cross post - you never know where the 'good' answer will com from these days. :) Anyway, I have two color printers and neither will print in color from any Office app. I tried printing a picture from Windows Photo Viewer prints color. PDF from Adobe - OK. So I think the printers are OK. So I think it must be something on Office. This is 2003 professional. I put three lines of text on a doc, one red, one blue, one yellow. All come out in grayscale. If I print to PrimoPDF and then print the PDF it comes out in grayscale as well - so it must be some instruction in Office that's defaulting everything to grayscale. Google is usually good about this but there's nothing except some advice about background printing. What to do? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 12 10:36:26 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 May 2013 08:36:26 -0700 Subject: [AccessD] Error Traps - Question for Colby Message-ID: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From rockysmolin at bchacc.com Sun May 12 11:02:52 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 May 2013 09:02:52 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> Message-ID: <742B3531F0C748C0AE0D48E1CA835E6D@HAL9007> P.S. If I comment out all the lines in the Select Case the app compiles OK. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: May 12, 2013 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Traps - Question for Colby JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun May 12 11:24:49 2013 From: vbacreations at gmail.com (William Benson) Date: Sun, 12 May 2013 12:24:49 -0400 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> Message-ID: Should be easy enough to check that all those constants exist, and I would, just to be safe. Second, since you are checking equality, try putting Case is = vbext_pk_Get On May 12, 2013 11:38 AM, "Rocky Smolin" wrote: > > JC: > > I'm using your error module builder to put error traps into an app for a > client. I haven't used it for years but it always worked in the past. Now > I'm getting a compile error in this new app > > Compile error variable not defined. and vbext_pk_Getis highlighted in > > > 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE > Select Case .lngProcKind > Case vbext_pk_Get > .strProcKind = "Get" > Case vbext_pk_Let > .strProcKind = "Let" > Case vbext_pk_Set > .strProcKind = "Set" > Case vbext_pk_Proc > If InStr(.strProcDecl, "Sub") = 0 Then > .strProcKind = "Function" > Else > .strProcKind = "Sub" > End If > Case Else > End Select > > But I can't find any other reference to vbext_pk_Get even in an old app > where the code works and compiles correctly. > > Do yo know what might be the problem? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 12 11:48:43 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 May 2013 09:48:43 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> Message-ID: <76A31C71F082433CB8B65CF2A3BCCB0E@HAL9007> There's no reference to them but in the app where I used it before and it compiles there's no reference there either. A mystery. Only JC knows... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: May 12, 2013 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Traps - Question for Colby Should be easy enough to check that all those constants exist, and I would, just to be safe. Second, since you are checking equality, try putting Case is = vbext_pk_Get On May 12, 2013 11:38 AM, "Rocky Smolin" wrote: > > JC: > > I'm using your error module builder to put error traps into an app for > a client. I haven't used it for years but it always worked in the past. Now > I'm getting a compile error in this new app > > Compile error variable not defined. and vbext_pk_Getis highlighted in > > > 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE > Select Case .lngProcKind > Case vbext_pk_Get > .strProcKind = "Get" > Case vbext_pk_Let > .strProcKind = "Let" > Case vbext_pk_Set > .strProcKind = "Set" > Case vbext_pk_Proc > If InStr(.strProcDecl, "Sub") = 0 Then > .strProcKind = "Function" > Else > .strProcKind = "Sub" > End If > Case Else > End Select > > But I can't find any other reference to vbext_pk_Get even in an old > app where the code works and compiles correctly. > > Do yo know what might be the problem? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun May 12 12:33:00 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 12 May 2013 10:33:00 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <742B3531F0C748C0AE0D48E1CA835E6D@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <742B3531F0C748C0AE0D48E1CA835E6D@HAL9007> Message-ID: Hi Rocky: There has to be a With statement with the select components or it wouldn't work. There must be a few lines of code missing. I would suspect that a variable would be passed without using the return statement. I use to use a lot of 'types' as they were great for passing a mixed groups of variables...when only returning a single variable a return statement is just fine. Note: that this is air code Example: Option Explicit Public Type Main_Error_type strProcKind as String lngProcKind as long ... End Type Public Function HandleErrorCode() as string Dim Error_type As Main_Error_type 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE With Error_type Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select End with ... End Function Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, May 12, 2013 9:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby P.S. If I comment out all the lines in the Select Case the app compiles OK. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: May 12, 2013 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Traps - Question for Colby JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Sun May 12 13:16:00 2013 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 12 May 2013 11:16:00 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <742B3531F0C748C0AE0D48E1CA835E6D@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <742B3531F0C748C0AE0D48E1CA835E6D@HAL9007> Message-ID: <003101ce4f3c$c1b54ec0$451fec40$@cox.net> Rocky, Try the one in MZTools. Works great out of the box and you can customize the template if you want. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, May 12, 2013 9:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby P.S. If I comment out all the lines in the Select Case the app compiles OK. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: May 12, 2013 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Traps - Question for Colby JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bill_patten at embarqmail.com Sun May 12 13:30:23 2013 From: bill_patten at embarqmail.com (Bill Patten) Date: Sun, 12 May 2013 11:30:23 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> Message-ID: <986E05A4962E47989770FAF89E134B01@BPCS> Rocky, Try setting references in the IDE to Microsoft Visual Basic 6.0 Extensibility. Bill -----Original Message----- From: Rocky Smolin Sent: Sunday, May 12, 2013 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Traps - Question for Colby JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun May 12 13:36:36 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 12 May 2013 14:36:36 -0400 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <76A31C71F082433CB8B65CF2A3BCCB0E@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <76A31C71F082433CB8B65CF2A3BCCB0E@HAL9007> Message-ID: <000601ce4f3f$a30dd610$e9298230$@gmail.com> If you go to the app where they used to work, before and highlight one of them and choose definition from the meny, you should see nothing if they are in a library and not functions ... and thereafter, I would type F2 and see if I can find them in any object models. My last check would be make a copy of the application that worked, export and remove most of its modules, keep that function, then begin turning off references to see at what point you start getting asked by the compiler what they are, during debug operation. I hate mysteries like this too, they can so easily ruin your day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, May 12, 2013 12:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby There's no reference to them but in the app where I used it before and it compiles there's no reference there either. A mystery. Only JC knows... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: May 12, 2013 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Traps - Question for Colby Should be easy enough to check that all those constants exist, and I would, just to be safe. Second, since you are checking equality, try putting Case is = vbext_pk_Get On May 12, 2013 11:38 AM, "Rocky Smolin" wrote: > > JC: > > I'm using your error module builder to put error traps into an app for > a client. I haven't used it for years but it always worked in the past. Now > I'm getting a compile error in this new app > > Compile error variable not defined. and vbext_pk_Getis highlighted in > > > 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE > Select Case .lngProcKind > Case vbext_pk_Get > .strProcKind = "Get" > Case vbext_pk_Let > .strProcKind = "Let" > Case vbext_pk_Set > .strProcKind = "Set" > Case vbext_pk_Proc > If InStr(.strProcDecl, "Sub") = 0 Then > .strProcKind = "Function" > Else > .strProcKind = "Sub" > End If > Case Else > End Select > > But I can't find any other reference to vbext_pk_Get even in an old > app where the code works and compiles correctly. > > Do yo know what might be the problem? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 12 20:25:02 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 May 2013 18:25:02 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <003101ce4f3c$c1b54ec0$451fec40$@cox.net> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007><742B3531F0C748C0AE0D48E1CA835E6D@HAL9007> <003101ce4f3c$c1b54ec0$451fec40$@cox.net> Message-ID: Oh maaan. I already customized Colby's to put up a message which can be emailed and some other stuff. MZTools = work. But it'll be my fall back if I can't get this to run. Again, oddly, in another app where I used it, it compiles just fine. I AM missing something but don't know what. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: May 12, 2013 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby Rocky, Try the one in MZTools. Works great out of the box and you can customize the template if you want. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, May 12, 2013 9:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby P.S. If I comment out all the lines in the Select Case the app compiles OK. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: May 12, 2013 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Traps - Question for Colby JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 12 20:27:55 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 May 2013 18:27:55 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <986E05A4962E47989770FAF89E134B01@BPCS> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <986E05A4962E47989770FAF89E134B01@BPCS> Message-ID: <991E046E449C4934824EACDF1305768F@HAL9007> AHA! 5.3 extensibility because its A2K3, but don't know how I missed that - thought I checked the references. Anyway, it compiles. Now to test if it works like it always did. Which I'm sure it will. Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: May 12, 2013 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Traps - Question for Colby Rocky, Try setting references in the IDE to Microsoft Visual Basic 6.0 Extensibility. Bill -----Original Message----- From: Rocky Smolin Sent: Sunday, May 12, 2013 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Traps - Question for Colby JC: I'm using your error module builder to put error traps into an app for a client. I haven't used it for years but it always worked in the past. Now I'm getting a compile error in this new app Compile error variable not defined. and vbext_pk_Getis highlighted in 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE Select Case .lngProcKind Case vbext_pk_Get .strProcKind = "Get" Case vbext_pk_Let .strProcKind = "Let" Case vbext_pk_Set .strProcKind = "Set" Case vbext_pk_Proc If InStr(.strProcDecl, "Sub") = 0 Then .strProcKind = "Function" Else .strProcKind = "Sub" End If Case Else End Select But I can't find any other reference to vbext_pk_Get even in an old app where the code works and compiles correctly. Do yo know what might be the problem? Thanks and regards, Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 12 20:29:09 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 May 2013 18:29:09 -0700 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <000601ce4f3f$a30dd610$e9298230$@gmail.com> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <76A31C71F082433CB8B65CF2A3BCCB0E@HAL9007> <000601ce4f3f$a30dd610$e9298230$@gmail.com> Message-ID: Didn't ruin my day. I just went away, played two gigs, came back ,found the answer from this 'save-your-bacon-twice-a week' list. Now I'm ready to take momma out to dinner. All's well! R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: May 12, 2013 11:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby If you go to the app where they used to work, before and highlight one of them and choose definition from the meny, you should see nothing if they are in a library and not functions ... and thereafter, I would type F2 and see if I can find them in any object models. My last check would be make a copy of the application that worked, export and remove most of its modules, keep that function, then begin turning off references to see at what point you start getting asked by the compiler what they are, during debug operation. I hate mysteries like this too, they can so easily ruin your day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, May 12, 2013 12:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error Traps - Question for Colby There's no reference to them but in the app where I used it before and it compiles there's no reference there either. A mystery. Only JC knows... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: May 12, 2013 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Traps - Question for Colby Should be easy enough to check that all those constants exist, and I would, just to be safe. Second, since you are checking equality, try putting Case is = vbext_pk_Get On May 12, 2013 11:38 AM, "Rocky Smolin" wrote: > > JC: > > I'm using your error module builder to put error traps into an app for > a client. I haven't used it for years but it always worked in the past. Now > I'm getting a compile error in this new app > > Compile error variable not defined. and vbext_pk_Getis highlighted in > > > 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE > Select Case .lngProcKind > Case vbext_pk_Get > .strProcKind = "Get" > Case vbext_pk_Let > .strProcKind = "Let" > Case vbext_pk_Set > .strProcKind = "Set" > Case vbext_pk_Proc > If InStr(.strProcDecl, "Sub") = 0 Then > .strProcKind = "Function" > Else > .strProcKind = "Sub" > End If > Case Else > End Select > > But I can't find any other reference to vbext_pk_Get even in an old > app where the code works and compiles correctly. > > Do yo know what might be the problem? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun May 12 21:20:09 2013 From: vbacreations at gmail.com (William Benson) Date: Sun, 12 May 2013 22:20:09 -0400 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <991E046E449C4934824EACDF1305768F@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <986E05A4962E47989770FAF89E134B01@BPCS> <991E046E449C4934824EACDF1305768F@HAL9007> Message-ID: Well at least +one+ of the Bills on thos list were helpful to you!! On May 12, 2013 9:28 PM, "Rocky Smolin" wrote: > AHA! 5.3 extensibility because its A2K3, but don't know how I missed that > - > thought I checked the references. Anyway, it compiles. Now to test if it > works like it always did. Which I'm sure it will. > > Thanks > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten > Sent: May 12, 2013 11:30 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error Traps - Question for Colby > > Rocky, > > Try setting references in the IDE to Microsoft Visual Basic 6.0 > Extensibility. > > Bill > > -----Original Message----- > From: Rocky Smolin > Sent: Sunday, May 12, 2013 8:36 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Error Traps - Question for Colby > > JC: > > I'm using your error module builder to put error traps into an app for a > client. I haven't used it for years but it always worked in the past. Now > I'm getting a compile error in this new app > > Compile error variable not defined. and vbext_pk_Getis highlighted in > > > 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE > Select Case .lngProcKind > Case vbext_pk_Get > .strProcKind = "Get" > Case vbext_pk_Let > .strProcKind = "Let" > Case vbext_pk_Set > .strProcKind = "Set" > Case vbext_pk_Proc > If InStr(.strProcDecl, "Sub") = 0 Then > .strProcKind = "Function" > Else > .strProcKind = "Sub" > End If > Case Else > End Select > > But I can't find any other reference to vbext_pk_Get even in an old app > where the code works and compiles correctly. > > Do yo know what might be the problem? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun May 12 21:22:21 2013 From: vbacreations at gmail.com (William Benson) Date: Sun, 12 May 2013 22:22:21 -0400 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <76A31C71F082433CB8B65CF2A3BCCB0E@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> <76A31C71F082433CB8B65CF2A3BCCB0E@HAL9007> Message-ID: > > A mystery. Only JC knows... > J C is the answer? How convenient are those initiale, eh? From jwcolby at gmail.com Mon May 13 14:32:37 2013 From: jwcolby at gmail.com (John W Colby) Date: Mon, 13 May 2013 15:32:37 -0400 Subject: [AccessD] Automating word Message-ID: <51913FD5.1020105@gmail.com> Pretty much sucks. Sigh. I have code that works now... if the query is a stored procedure pass through to SQL Server. If it is just a local query to a linked table in Access it fails with the very helpful error 5922 "Word was unable to open the data source". Does anyone know the magic for switching between ODBC pass through queries and local queries? It seems to have to do with the MailMerge.OpenDataSource parameters but I have spent hours futzing with this and I do have it working ... for pass through queries. -- John W. Colby Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Mon May 13 15:42:40 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 13 May 2013 16:42:40 -0400 Subject: [AccessD] Automating word In-Reply-To: <51913FD5.1020105@gmail.com> References: <51913FD5.1020105@gmail.com> Message-ID: Short answer is No. Slightly longer answer is "Why would you want to switch?" Drop-dead easy to do PTQs and if thBE is anything, MySQL, PostGres, MS SQL, this is a no-brainer. So where is your problem? And why would you want to support both local and PTQs? That makes absolutely no sense to me. Commit or abdicate, and from then on the decisions are simple. I'm very empatically in favour of PTQs, but I also realize that with certain apps (badly designed, IMO) there is a need for local tables. So be it. Yes, there is some magic that can swtich, but that is so wrong that I humbly request that you rethink the problem. There is IME no reason ever to do this. I can show you the magic, which I wrote about 19 years ago, and it sucks, and I have abandoned it about 17 years ago, and if you want to implement it, you're an idiot. That is most emphatically NOT the way to go. And in case any reader is interested, JC and I have met and are friends, and so I can feel free to declare some of his thoughts idiocies without causing offence or violence. To turn it around, JC has taught me an immense amount about various subjects, and I visit his blog daily. But now and then, we all get it wrong, and IMO this is one such instance of the MyApp.Stoopids.() collection. A. On Mon, May 13, 2013 at 3:32 PM, John W Colby wrote: > Pretty much sucks. > > Sigh. > > I have code that works now... if the query is a stored procedure pass > through to SQL > Server. If it is just a local query to a linked table in Access it fails > with the very helpful error 5922 "Word was unable to open the data source". > > Does anyone know the magic for switching between ODBC pass through queries > and local queries? It seems to have to do with the > MailMerge.OpenDataSource parameters but I have spent hours futzing with > this and I do have it working ... for pass through queries. > > -- > John W. Colby > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jwcolby at gmail.com Mon May 13 16:33:12 2013 From: jwcolby at gmail.com (John W Colby) Date: Mon, 13 May 2013 17:33:12 -0400 Subject: [AccessD] Automating word In-Reply-To: References: <51913FD5.1020105@gmail.com> Message-ID: <51915C18.7060807@gmail.com> I developed the entire thing in SQL Server. Got it entirely working. Then I was informed that the server for production will not be ready for ... an unknown period and they need my changes NOW. The original was really badly written by a "power user" and only ever 1/2 worked and it is so slow and does so little that they need it to fully work. Since I can't use SQL Server for the data store I am writing a schizo app which does a compiler directive to cause the app to decide dynamically whether to run SQL Server (PTQ) or Access native. Of course all of the SQL Server stuff just works. Did you know... That Word automation will work seamlessly with PTQs but fails with any Access native queries which use functions in them (Date() in a where clause etc) because ODBC (or Word) does not understand the non-standard SQL. Apparently Access passes back the SQL itself to Word and since the query now contains embedded function calls, that SQL fails because of the ODBC layer. Sigh. So I take the Access query and use make table to make a temp table... on the theory that select * from MyTempTbl will work. Nope, word "can't find the data" or some such crap. Still haven't figured that out. Ohhhh soooo sucky... Did you know that the SQL statement handed back to Word MUST be something like "SELECT * from [MyTblName]". Word expects the square brackets and if you don't include them you end up with "can't find the table yTempTabl... yep, Word is trying to strip the square brackets off. But of course all of the examples I find on the internet (including Microsoft's own) use a simple "SELECT * FROM MyTblName" (without the square brackets). Ohhhhh sooooo sucky.... John W. Colby Reality is what refuses to go away when you do not believe in it On 5/13/2013 4:42 PM, Arthur Fuller wrote: > Short answer is No. Slightly longer answer is "Why would you want to > switch?" Drop-dead easy to do PTQs and if thBE is anything, MySQL, > PostGres, MS SQL, this is a no-brainer. So where is your problem? And why > would you want to support both local and PTQs? That makes absolutely no > sense to me. Commit or abdicate, and from then on the decisions are simple. > I'm very empatically in favour of PTQs, but I also realize that with > certain apps (badly designed, IMO) there is a need for local tables. So be > it. > > Yes, there is some magic that can swtich, but that is so wrong that I > humbly request that you rethink the problem. There is IME no reason ever to > do this. I can show you the magic, which I wrote about 19 years ago, and it > sucks, and I have abandoned it about 17 years ago, and if you want to > implement it, you're an idiot. That is most emphatically NOT the way to go. > > And in case any reader is interested, JC and I have met and are friends, > and so I can feel free to declare some of his thoughts idiocies without > causing offence or violence. To turn it around, JC has taught me an immense > amount about various subjects, and I visit his blog daily. > > But now and then, we all get it wrong, and IMO this is one such instance of > the MyApp.Stoopids.() collection. > > A. > > > On Mon, May 13, 2013 at 3:32 PM, John W Colby wrote: > >> Pretty much sucks. >> >> Sigh. >> >> I have code that works now... if the query is a stored procedure pass >> through to SQL >> Server. If it is just a local query to a linked table in Access it fails >> with the very helpful error 5922 "Word was unable to open the data source". >> >> Does anyone know the magic for switching between ODBC pass through queries >> and local queries? It seems to have to do with the >> MailMerge.OpenDataSource parameters but I have spent hours futzing with >> this and I do have it working ... for pass through queries. >> >> -- >> John W. Colby >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> > > From accessd at shaw.ca Mon May 13 18:56:34 2013 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 13 May 2013 16:56:34 -0700 Subject: [AccessD] Automating word In-Reply-To: <51913FD5.1020105@gmail.com> References: <51913FD5.1020105@gmail.com> Message-ID: Hi John: As if you have not heard this before to, ad nauseum... PTQs are bad, ADO is good and that was right in 1997 and it is right in 2013. :-) You can switch back and forth with ease from MDB to a real SQL without shifting gears. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Monday, May 13, 2013 12:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Automating word Pretty much sucks. Sigh. I have code that works now... if the query is a stored procedure pass through to SQL Server. If it is just a local query to a linked table in Access it fails with the very helpful error 5922 "Word was unable to open the data source". Does anyone know the magic for switching between ODBC pass through queries and local queries? It seems to have to do with the MailMerge.OpenDataSource parameters but I have spent hours futzing with this and I do have it working ... for pass through queries. -- John W. Colby Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Mon May 13 23:38:29 2013 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 14 May 2013 16:38:29 +1200 Subject: [AccessD] Access SQL pass through query problem Message-ID: CROSS POSTED Neophyte question ... Windows 7. Access 2010. SQL Server2008R2. In my ODBC Data Source I have set up a UserDSN and a SystemDSN, pointing to the SQL back-end I'm reporting from (copy of customer's SQL back-end, on my PC). When I send the Access 2010 front end to the customer to test, the LinkedTable Manager re-links to the SQL tables OK but the PassThroughQueries fail. I checked the PassThroughQuery Properties, and the ODBC Connect String includes "ODBC;DSN=myName; ..." etc. The PTQ is coughing at the lack of resolution of 'myName'. I checked at the customer site and they don't have any UserDSN or SystemDSN set. They are relying on a DSN file. When they use the LinkedTable manager it strips my 'DSN=' from the table re-connection ... how do I cope with the same on PassThrough Queries? Stephen Bond From jwcolby at gmail.com Tue May 14 17:18:57 2013 From: jwcolby at gmail.com (John Colby) Date: Tue, 14 May 2013 18:18:57 -0400 Subject: [AccessD] Error Traps - Question for Colby In-Reply-To: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> References: <631FF8C6018B4C0088304D54B77A3CFB@HAL9007> Message-ID: No and i haven't used it in years On Sunday, May 12, 2013, Rocky Smolin wrote: > JC: > > I'm using your error module builder to put error traps into an app for a > client. I haven't used it for years but it always worked in the past. Now > I'm getting a compile error in this new app > > Compile error variable not defined. and vbext_pk_Getis highlighted in > > > 'GET THE STRING THAT REPRESENTS THE PROCEDURE TYPE > Select Case .lngProcKind > Case vbext_pk_Get > .strProcKind = "Get" > Case vbext_pk_Let > .strProcKind = "Let" > Case vbext_pk_Set > .strProcKind = "Set" > Case vbext_pk_Proc > If InStr(.strProcDecl, "Sub") = 0 Then > .strProcKind = "Function" > Else > .strProcKind = "Sub" > End If > Case Else > End Select > > But I can't find any other reference to vbext_pk_Get even in an old app > where the code works and compiles correctly. > > Do yo know what might be the problem? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby Colby Consulting From darren at activebilling.com.au Tue May 14 22:13:36 2013 From: darren at activebilling.com.au (Darren) Date: Wed, 15 May 2013 13:13:36 +1000 Subject: [AccessD] Access SQL pass through query problem In-Reply-To: References: Message-ID: <02cb01ce511a$327fa9f0$977efdd0$@activebilling.com.au> Hi Stephen Have you tried using DNSless connection routines? I have a sample dB if you'd like to see it. And some cool code for creating grids on the fly based on the query result set fields To get it to run you need SQLServer IP address or SQLServerName SQL dB name: Uname: Pwd: Lemme know if you like to see it Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Tuesday, 14 May 2013 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access SQL pass through query problem CROSS POSTED Neophyte question ... Windows 7. Access 2010. SQL Server2008R2. In my ODBC Data Source I have set up a UserDSN and a SystemDSN, pointing to the SQL back-end I'm reporting from (copy of customer's SQL back-end, on my PC). When I send the Access 2010 front end to the customer to test, the LinkedTable Manager re-links to the SQL tables OK but the PassThroughQueries fail. I checked the PassThroughQuery Properties, and the ODBC Connect String includes "ODBC;DSN=myName; ..." etc. The PTQ is coughing at the lack of resolution of 'myName'. I checked at the customer site and they don't have any UserDSN or SystemDSN set. They are relying on a DSN file. When they use the LinkedTable manager it strips my 'DSN=' from the table re-connection ... how do I cope with the same on PassThrough Queries? Stephen Bond -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue May 14 23:13:17 2013 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 15 May 2013 16:13:17 +1200 Subject: [AccessD] Access SQL pass through query problem In-Reply-To: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> References: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> Message-ID: For sure, all help gratefully accepted. I've been trying to break in to real SQL Server stuff, not easy in a town of 45K at the bottom end of nowhere. Finally got the opportunity and I want to make it a good 'un. Government pension here don't make you rich so ya jes keep boxin' on. TIA Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Sent: Wednesday, 15 May 2013 3:16 p.m. To: Stephen Subject: Re: [AccessD] Access SQL pass through query problem Hi Stephen Have you tried using DNSless connection routines? I have a sample dB if you'd like to see it. And some cool code for creating grids on the fly based on the query result set fields To get it to run you need SQLServer IP address or SQLServerName SQL dB name: Uname: Pwd: Lemme know if you like to see it Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Tuesday, 14 May 2013 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access SQL pass through query problem CROSS POSTED Neophyte question ... Windows 7. Access 2010. SQL Server2008R2. In my ODBC Data Source I have set up a UserDSN and a SystemDSN, pointing to the SQL back-end I'm reporting from (copy of customer's SQL back-end, on my PC). When I send the Access 2010 front end to the customer to test, the LinkedTable Manager re-links to the SQL tables OK but the PassThroughQueries fail. I checked the PassThroughQuery Properties, and the ODBC Connect String includes "ODBC;DSN=myName; ..." etc. The PTQ is coughing at the lack of resolution of 'myName'. I checked at the customer site and they don't have any UserDSN or SystemDSN set. They are relying on a DSN file. When they use the LinkedTable manager it strips my 'DSN=' from the table re-connection ... how do I cope with the same on PassThrough Queries? Stephen Bond -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu May 16 13:13:33 2013 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 16 May 2013 14:13:33 -0400 Subject: [AccessD] Quick question for confirmation In-Reply-To: References: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> Message-ID: <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> There is probably actually two question here. One I want to confirm something w/y'all, and then a 2nd is just something different that I am seeing...or actually not seeing... First, I wrote this program probably 13-14 yrs ago, which our Hotline people use to track "clients." Hotline is the line you call when you're looking to do harm to yourself and others, and you are smart enough to ask for help first, so its been used 24 hrs/day, 7 days/wk, for all these years. I've tweaked a couple of things and made it work w/a couple different versions over the years, but now, for the first time, they are having the issue of only one person being able to use it at once. I was really just picking up Access at the time I wrote this, so I think I just didn't have the whole "Front-End/Back-End" thing down. And, since then I've just had the attitude, "if it ain't broke..." and have just left it alone. But, they have two operators and they want them both using it. I told them, "It really wasn't designed for simultaneous use by multiple people. I know it DID work, but to be honest THAT is what the anomaly was, and not that it won't work now." I've explained to them that I can, relatively easily, make this a mutli-user program, and it would be relatively quick. I just wanted to pick the brains of this group first though. Basically, I want to know the same thing they do...I just don't have an answer for them...WHY did this work, as a single MDB, for all these years, and now it just stops? And here is question 2...I remoted into the 2nd user's PC and I had user 1 start the program. When I try to run it, not only will it not run, but it is the first time I've ever gotten NO response...no errors...nothing...like I'm clicking on a dead icon. I tried to run it right from the directory, taking the shortcut out of the mix and nothing. As soon as user 1 exits the program, I can enter normally again. I have always gotten an error when trying to run a program somebody is already in, and never received no feedback at all. What gives here? Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. From garykjos at gmail.com Thu May 16 13:19:56 2013 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 16 May 2013 13:19:56 -0500 Subject: [AccessD] Quick question for confirmation In-Reply-To: <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> References: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> Message-ID: Your users don't have file creation rights in the directory folder where the database resides. So it can't create the LDB lock file. That allows ONE user to open the database but not a second one. Users need full file creation, update and deletion rights for the directory the Access database is in. Creation to make the LDB file and Deletion to delete the LDB file when the last person closes it and Update to actually change the database. On Thu, May 16, 2013 at 1:13 PM, John Clark wrote: > There is probably actually two question here. One I want to confirm > something w/y'all, and then a 2nd is just something different that I am > seeing...or actually not seeing... > > First, I wrote this program probably 13-14 yrs ago, which our Hotline > people use to track "clients." Hotline is the line you call when you're > looking to do harm to yourself and others, and you are smart enough to ask > for help first, so its been used 24 hrs/day, 7 days/wk, for all these > years. I've tweaked a couple of things and made it work w/a couple > different versions over the years, but now, for the first time, they are > having the issue of only one person being able to use it at once. > > I was really just picking up Access at the time I wrote this, so I think I > just didn't have the whole "Front-End/Back-End" thing down. And, since then > I've just had the attitude, "if it ain't broke..." and have just left it > alone. > > But, they have two operators and they want them both using it. I told > them, "It really wasn't designed for simultaneous use by multiple people. I > know it DID work, but to be honest THAT is what the anomaly was, and not > that it won't work now." I've explained to them that I can, relatively > easily, make this a mutli-user program, and it would be relatively quick. > > I just wanted to pick the brains of this group first though. Basically, I > want to know the same thing they do...I just don't have an answer for > them...WHY did this work, as a single MDB, for all these years, and now it > just stops? > > And here is question 2...I remoted into the 2nd user's PC and I had user 1 > start the program. When I try to run it, not only will it not run, but it > is the first time I've ever gotten NO response...no errors...nothing...like > I'm clicking on a dead icon. I tried to run it right from the directory, > taking the shortcut out of the mix and nothing. As soon as user 1 exits the > program, I can enter normally again. > > I have always gotten an error when trying to run a program somebody is > already in, and never received no feedback at all. What gives here? > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, > is strictly prohibited. Niagara County is not responsible for the content > of any external hyperlink referenced in this email or any email. > IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > OR ELECTRONIC COPIES. > Thank you for your cooperation. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Thu May 16 13:34:51 2013 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 16 May 2013 13:34:51 -0500 Subject: [AccessD] Quick question for confirmation In-Reply-To: References: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> Message-ID: There is an option to open databases EXCLUSIVELY. That could be the problem as well I suppose. When somebody has the database open is there an LDB file appearing in the folder along with the MDB file? GK On Thu, May 16, 2013 at 1:19 PM, Gary Kjos wrote: > Your users don't have file creation rights in the directory folder where > the database resides. So it can't create the LDB lock file. That allows ONE > user to open the database but not a second one. Users need full file > creation, update and deletion rights for the directory the Access database > is in. Creation to make the LDB file and Deletion to delete the LDB file > when the last person closes it and Update to actually change the database. > > > On Thu, May 16, 2013 at 1:13 PM, John Clark wrote: > >> There is probably actually two question here. One I want to confirm >> something w/y'all, and then a 2nd is just something different that I am >> seeing...or actually not seeing... >> >> First, I wrote this program probably 13-14 yrs ago, which our Hotline >> people use to track "clients." Hotline is the line you call when you're >> looking to do harm to yourself and others, and you are smart enough to ask >> for help first, so its been used 24 hrs/day, 7 days/wk, for all these >> years. I've tweaked a couple of things and made it work w/a couple >> different versions over the years, but now, for the first time, they are >> having the issue of only one person being able to use it at once. >> >> I was really just picking up Access at the time I wrote this, so I think >> I just didn't have the whole "Front-End/Back-End" thing down. And, since >> then I've just had the attitude, "if it ain't broke..." and have just left >> it alone. >> >> But, they have two operators and they want them both using it. I told >> them, "It really wasn't designed for simultaneous use by multiple people. I >> know it DID work, but to be honest THAT is what the anomaly was, and not >> that it won't work now." I've explained to them that I can, relatively >> easily, make this a mutli-user program, and it would be relatively quick. >> >> I just wanted to pick the brains of this group first though. Basically, I >> want to know the same thing they do...I just don't have an answer for >> them...WHY did this work, as a single MDB, for all these years, and now it >> just stops? >> >> And here is question 2...I remoted into the 2nd user's PC and I had user >> 1 start the program. When I try to run it, not only will it not run, but it >> is the first time I've ever gotten NO response...no errors...nothing...like >> I'm clicking on a dead icon. I tried to run it right from the directory, >> taking the shortcut out of the mix and nothing. As soon as user 1 exits the >> program, I can enter normally again. >> >> I have always gotten an error when trying to run a program somebody is >> already in, and never received no feedback at all. What gives here? >> >> Notice: This electronic transmission is intended for the sole use of the >> individual or entity to which it is addressed and may contain confidential, >> privileged or otherwise legally protected information. If you are not the >> intended recipient, or if you believe you are not the intended recipient, >> you are hereby notified that any use, disclosure, copying, distribution, or >> the taking of any action in reliance on the contents of this information, >> is strictly prohibited. Niagara County is not responsible for the content >> of any external hyperlink referenced in this email or any email. >> IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER >> IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER >> OR ELECTRONIC COPIES. >> Thank you for your cooperation. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > > -- > Gary Kjos > garykjos at gmail.com > -- Gary Kjos garykjos at gmail.com From davidalangibson2010 at gmail.com Thu May 16 14:03:20 2013 From: davidalangibson2010 at gmail.com (David A Gibson) Date: Thu, 16 May 2013 14:03:20 -0500 Subject: [AccessD] Quick question for confirmation In-Reply-To: <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> References: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> Message-ID: <021601ce5268$08878a60$19969f20$@gmail.com> I've put together several DBs for multiple users that have functioned well when being accessed by PCs. We had trouble when we allowed Macs to access them as they sometimes corrupted the DBs and caused data loss. I currently use Win 7 64/bit with MS Office 2010. You can open a DB exclusively but that goes through a dialogue where the operator has to consciously check a box. File permissions is a more likely culprit for your single user issue. What version was this written in and has it been upgraded since? David Gibson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, May 16, 2013 1:14 PM To: Access Developers discussion and problem solving Subject: [AccessD] Quick question for confirmation There is probably actually two question here. One I want to confirm something w/y'all, and then a 2nd is just something different that I am seeing...or actually not seeing... First, I wrote this program probably 13-14 yrs ago, which our Hotline people use to track "clients." Hotline is the line you call when you're looking to do harm to yourself and others, and you are smart enough to ask for help first, so its been used 24 hrs/day, 7 days/wk, for all these years. I've tweaked a couple of things and made it work w/a couple different versions over the years, but now, for the first time, they are having the issue of only one person being able to use it at once. I was really just picking up Access at the time I wrote this, so I think I just didn't have the whole "Front-End/Back-End" thing down. And, since then I've just had the attitude, "if it ain't broke..." and have just left it alone. But, they have two operators and they want them both using it. I told them, "It really wasn't designed for simultaneous use by multiple people. I know it DID work, but to be honest THAT is what the anomaly was, and not that it won't work now." I've explained to them that I can, relatively easily, make this a mutli-user program, and it would be relatively quick. I just wanted to pick the brains of this group first though. Basically, I want to know the same thing they do...I just don't have an answer for them...WHY did this work, as a single MDB, for all these years, and now it just stops? And here is question 2...I remoted into the 2nd user's PC and I had user 1 start the program. When I try to run it, not only will it not run, but it is the first time I've ever gotten NO response...no errors...nothing...like I'm clicking on a dead icon. I tried to run it right from the directory, taking the shortcut out of the mix and nothing. As soon as user 1 exits the program, I can enter normally again. I have always gotten an error when trying to run a program somebody is already in, and never received no feedback at all. What gives here? Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. From stuart at lexacorp.com.pg Thu May 16 16:07:12 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 May 2013 07:07:12 +1000 Subject: [AccessD] Quick question for confirmation In-Reply-To: <021601ce5268$08878a60$19969f20$@gmail.com> References: , <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com>, <021601ce5268$08878a60$19969f20$@gmail.com> Message-ID: <51954A80.2447.3BCB56D@stuart.lexacorp.com.pg> Yep, I'd suspect file permissions too. Has anyone moved the application or messaed around with the file system recently? On 16 May 2013 at 14:03, David A Gibson wrote: > I've put together several DBs for multiple users that have functioned well > when being accessed by PCs. We had trouble when we allowed Macs to access > them as they sometimes corrupted the DBs and caused data loss. I currently > use Win 7 64/bit with MS Office 2010. > > You can open a DB exclusively but that goes through a dialogue where the > operator has to consciously check a box. File permissions is a more likely > culprit for your single user issue. > > What version was this written in and has it been upgraded since? > > David Gibson > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Thursday, May 16, 2013 1:14 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Quick question for confirmation > > There is probably actually two question here. One I want to confirm > something w/y'all, and then a 2nd is just something different that I am > seeing...or actually not seeing... > > First, I wrote this program probably 13-14 yrs ago, which our Hotline people > use to track "clients." Hotline is the line you call when you're looking to > do harm to yourself and others, and you are smart enough to ask for help > first, so its been used 24 hrs/day, 7 days/wk, for all these years. I've > tweaked a couple of things and made it work w/a couple different versions > over the years, but now, for the first time, they are having the issue of > only one person being able to use it at once. > > I was really just picking up Access at the time I wrote this, so I think I > just didn't have the whole "Front-End/Back-End" thing down. And, since then > I've just had the attitude, "if it ain't broke..." and have just left it > alone. > > But, they have two operators and they want them both using it. I told them, > "It really wasn't designed for simultaneous use by multiple people. I know > it DID work, but to be honest THAT is what the anomaly was, and not that it > won't work now." I've explained to them that I can, relatively easily, make > this a mutli-user program, and it would be relatively quick. > > I just wanted to pick the brains of this group first though. Basically, I > want to know the same thing they do...I just don't have an answer for > them...WHY did this work, as a single MDB, for all these years, and now it > just stops? > > And here is question 2...I remoted into the 2nd user's PC and I had user 1 > start the program. When I try to run it, not only will it not run, but it is > the first time I've ever gotten NO response...no errors...nothing...like I'm > clicking on a dead icon. I tried to run it right from the directory, taking > the shortcut out of the mix and nothing. As soon as user 1 exits the > program, I can enter normally again. > > I have always gotten an error when trying to run a program somebody is > already in, and never received no feedback at all. What gives here? > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, is > strictly prohibited. Niagara County is not responsible for the content of > any external hyperlink referenced in this email or any email. > IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR > ELECTRONIC COPIES. > Thank you for your cooperation. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kathryn at bassett.net Thu May 16 18:09:41 2013 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 16 May 2013 16:09:41 -0700 Subject: [AccessD] Totals on a report? Message-ID: Access 2010 https://www.dropbox.com/s/0nbj0oq6k2ypqti/50th%20attendance.pdf The report is based on a query called "50th attendance". I have a query called "Attendance with all totals - no report" that tells me there are 42 Fri, 51 Sat, and 38 Sun. On the last page of the "50th attendance" report, I want those totals. Is that possible, and if so, how? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? From garykjos at gmail.com Thu May 16 18:22:09 2013 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 16 May 2013 18:22:09 -0500 Subject: [AccessD] Totals on a report? In-Reply-To: References: Message-ID: I would create a sub report based on that query and put that sub report in the report footer. GK On Thursday, May 16, 2013, Kathryn Bassett wrote: > Access 2010 > > https://www.dropbox.com/s/0nbj0oq6k2ypqti/50th%20attendance.pdf The report > is based on a query called "50th attendance". > > I have a query called "Attendance with all totals - no report" that tells me > there are 42 Fri, 51 Sat, and 38 Sun. On the last page of the "50th > attendance" report, I want those totals. Is that possible, and if so, how? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From kathryn at bassett.net Thu May 16 22:43:45 2013 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 16 May 2013 20:43:45 -0700 Subject: [AccessD] Totals on a report? In-Reply-To: References: Message-ID: Yeah! Took me some searching, but I finally found out how to make a sub report and include it. Thanks a bunch for the tip. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: 16 May 2013 4:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Totals on a report? > > I would create a sub report based on that query and put that sub report in > the report footer. > > GK > > On Thursday, May 16, 2013, Kathryn Bassett wrote: > > Access 2010 > > > > https://www.dropbox.com/s/0nbj0oq6k2ypqti/50th%20attendance.pdf > The > report > > is based on a query called "50th attendance". > > > > I have a query called "Attendance with all totals - no report" that > > tells > me > > there are 42 Fri, 51 Sat, and 38 Sun. On the last page of the "50th > > attendance" report, I want those totals. Is that possible, and if so, how? > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is > > my soap" > > kathryn at bassett.net > > http://bassett.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri May 17 00:22:18 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 17 May 2013 15:22:18 +1000 Subject: [AccessD] Totals on a report? In-Reply-To: References: Message-ID: <5195BE8A.4333.8B1D33@stuart.lexacorp.com.pg> In the report footer,place three textboxes below the three Attend columns =SUM([Attend Friday]) =SUM([Attend Dinner Sat]) =SUM([Attend Sunday]) (Or whatever the field names are for those three columns.) -- Stuart On 16 May 2013 at 16:09, Kathryn Bassett wrote: > Access 2010 > > https://www.dropbox.com/s/0nbj0oq6k2ypqti/50th%20attendance.pdf The report > is based on a query called "50th attendance". > > I have a query called "Attendance with all totals - no report" that tells me > there are 42 Fri, 51 Sat, and 38 Sun. On the last page of the "50th > attendance" report, I want those totals. Is that possible, and if so, how? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net?? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Mon May 20 12:52:19 2013 From: jwcolby at gmail.com (John W Colby) Date: Mon, 20 May 2013 13:52:19 -0400 Subject: [AccessD] dictionary vs collection Message-ID: <519A62D3.30407@gmail.com> A very good article. http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/A_3391-Using-the-Dictionary-Class-in-VBA.html -- John W. Colby Reality is what refuses to go away when you do not believe in it From darryl at whittleconsulting.com.au Mon May 20 18:38:10 2013 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 20 May 2013 23:38:10 +0000 Subject: [AccessD] dictionary vs collection In-Reply-To: <519A62D3.30407@gmail.com> References: <519A62D3.30407@gmail.com> Message-ID: <56653D383CB80341995245C537A9E7B54BFB3BA0@SINPRD0410MB381.apcprd04.prod.outlook.com> Thanks John, That is really useful. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Tuesday, 21 May 2013 3:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] dictionary vs collection A very good article. http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/A_3391-Using-the-Dictionary-Class-in-VBA.html -- John W. Colby Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Tue May 21 10:48:02 2013 From: jwcolby at gmail.com (John W Colby) Date: Tue, 21 May 2013 11:48:02 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort Message-ID: <519B9732.90709@gmail.com> When I open a table I can set a sort order on a column, but when I click the little arrow, there is no clear filter. Well... it is n't a filter it is a sort. But there is no "clear sort" either. So... When I sort a table (or query) on a column in the data grid, how do I clear the sort, short of closing the table without a save. -- John W. Colby Reality is what refuses to go away when you do not believe in it From Lambert.Heenan at aig.com Tue May 21 11:13:03 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 21 May 2013 12:13:03 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519B9732.90709@gmail.com> References: <519B9732.90709@gmail.com> Message-ID: " the sort order of a table is undefined " So if you want to see it in a particular order you have to write a query. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Tuesday, May 21, 2013 11:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 - How to unfilter / unsort When I open a table I can set a sort order on a column, but when I click the little arrow, there is no clear filter. Well... it is n't a filter it is a sort. But there is no "clear sort" either. So... When I sort a table (or query) on a column in the data grid, how do I clear the sort, short of closing the table without a save. -- John W. Colby Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidalangibson2010 at gmail.com Tue May 21 11:57:23 2013 From: davidalangibson2010 at gmail.com (David A Gibson) Date: Tue, 21 May 2013 11:57:23 -0500 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519B9732.90709@gmail.com> References: <519B9732.90709@gmail.com> Message-ID: <007c01ce5644$45444530$cfcccf90$@gmail.com> Direct from the horse. http://office.microsoft.com/en-us/access-help/undo-or-remove-a-sort-order-HP 005188308.aspx To remove the current sort order in Datasheet view or Form view, on the Records menu, click Remove Filter/Sort. This removes the current or saved sort order of a table, query, or form. David Gibson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Tuesday, May 21, 2013 10:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 - How to unfilter / unsort When I open a table I can set a sort order on a column, but when I click the little arrow, there is no clear filter. Well... it is n't a filter it is a sort. But there is no "clear sort" either. So... When I sort a table (or query) on a column in the data grid, how do I clear the sort, short of closing the table without a save. -- John W. Colby Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidalangibson2010 at gmail.com Tue May 21 12:01:40 2013 From: davidalangibson2010 at gmail.com (David A Gibson) Date: Tue, 21 May 2013 12:01:40 -0500 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519B9732.90709@gmail.com> References: <519B9732.90709@gmail.com> Message-ID: <007e01ce5644$dd80be50$98823af0$@gmail.com> I don't know about Access 2007 but in 2010 there is a "Clear All Sorts" button beneath the ascending and descending arrows. David Gibson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Tuesday, May 21, 2013 10:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 - How to unfilter / unsort When I open a table I can set a sort order on a column, but when I click the little arrow, there is no clear filter. Well... it is n't a filter it is a sort. But there is no "clear sort" either. So... When I sort a table (or query) on a column in the data grid, how do I clear the sort, short of closing the table without a save. -- John W. Colby Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue May 21 13:34:17 2013 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 21 May 2013 13:34:17 -0500 Subject: [AccessD] Quick question for confirmation In-Reply-To: <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> References: <9D7C314CFD784264A2B313DF23FD3A50@BondSoftware.local> <5194E98D0200006B0002D10A@neblnx09.niagaracounty.com> Message-ID: So John Clark, did you get this fixed? GK On Thu, May 16, 2013 at 1:13 PM, John Clark wrote: > There is probably actually two question here. One I want to confirm > something w/y'all, and then a 2nd is just something different that I am > seeing...or actually not seeing... > > First, I wrote this program probably 13-14 yrs ago, which our Hotline > people use to track "clients." Hotline is the line you call when you're > looking to do harm to yourself and others, and you are smart enough to ask > for help first, so its been used 24 hrs/day, 7 days/wk, for all these > years. I've tweaked a couple of things and made it work w/a couple > different versions over the years, but now, for the first time, they are > having the issue of only one person being able to use it at once. > > I was really just picking up Access at the time I wrote this, so I think I > just didn't have the whole "Front-End/Back-End" thing down. And, since then > I've just had the attitude, "if it ain't broke..." and have just left it > alone. > > But, they have two operators and they want them both using it. I told > them, "It really wasn't designed for simultaneous use by multiple people. I > know it DID work, but to be honest THAT is what the anomaly was, and not > that it won't work now." I've explained to them that I can, relatively > easily, make this a mutli-user program, and it would be relatively quick. > > I just wanted to pick the brains of this group first though. Basically, I > want to know the same thing they do...I just don't have an answer for > them...WHY did this work, as a single MDB, for all these years, and now it > just stops? > > And here is question 2...I remoted into the 2nd user's PC and I had user 1 > start the program. When I try to run it, not only will it not run, but it > is the first time I've ever gotten NO response...no errors...nothing...like > I'm clicking on a dead icon. I tried to run it right from the directory, > taking the shortcut out of the mix and nothing. As soon as user 1 exits the > program, I can enter normally again. > > I have always gotten an error when trying to run a program somebody is > already in, and never received no feedback at all. What gives here? > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, > is strictly prohibited. Niagara County is not responsible for the content > of any external hyperlink referenced in this email or any email. > IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > OR ELECTRONIC COPIES. > Thank you for your cooperation. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com From jwcolby at gmail.com Tue May 21 14:16:39 2013 From: jwcolby at gmail.com (John W Colby) Date: Tue, 21 May 2013 15:16:39 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <007e01ce5644$dd80be50$98823af0$@gmail.com> References: <519B9732.90709@gmail.com> <007e01ce5644$dd80be50$98823af0$@gmail.com> Message-ID: <519BC817.2020905@gmail.com> I wasn't looking in the toolbar. Notice that you have to be in the home toolbar to even see that. Access 2007 (and above) is just clumsy to do real development in. I have been using it exclusively for almost 4 months now and still hate it. Which toolbar was that XYZ in again? Hmmm... let's click through all of them and look for it. Oh and what exactly am I looking for anyway? Can you say major suckage? I can filter in the grid and clear the filter in the grid (right click menu). I expected that since I could sort right in the grid, I could clear the sort right in the grid. Uhhhh no. Can you say major suckage? John W. Colby Reality is what refuses to go away when you do not believe in it On 5/21/2013 1:01 PM, David A Gibson wrote: > I don't know about Access 2007 but in 2010 there is a "Clear All Sorts" > button beneath the ascending and descending arrows. > > David Gibson > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby > Sent: Tuesday, May 21, 2013 10:48 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 - How to unfilter / unsort > > When I open a table I can set a sort order on a column, but when I click the > little arrow, there is no clear filter. Well... it is n't a filter it is a > sort. But there is no "clear sort" either. So... > > When I sort a table (or query) on a column in the data grid, how do I clear > the sort, short of closing the table without a save. > > -- > John W. Colby > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Tue May 21 14:35:39 2013 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 21 May 2013 12:35:39 -0700 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519BC817.2020905@gmail.com> References: <519B9732.90709@gmail.com> <007e01ce5644$dd80be50$98823af0$@gmail.com> <519BC817.2020905@gmail.com> Message-ID: 2010 is better, but still sucks in that regard. I effing hate how print/print-preview (in both Excel and Access) takes you to a different tab (File) . The file menu should be a drop down menu, not a change of tabs (IMO). D On Tue, May 21, 2013 at 12:16 PM, John W Colby wrote: > I wasn't looking in the toolbar. > > Notice that you have to be in the home toolbar to even see that. > > Access 2007 (and above) is just clumsy to do real development in. I have > been using it exclusively for almost 4 months now and still hate it. Which > toolbar was that XYZ in again? Hmmm... let's click through all of them and > look for it. Oh and what exactly am I looking for anyway? > > Can you say major suckage? > > I can filter in the grid and clear the filter in the grid (right click > menu). I expected that since I could sort right in the grid, I could clear > the sort right in the grid. Uhhhh no. > > Can you say major suckage? > > > John W. Colby > > Reality is what refuses to go away > when you do not believe in it > > On 5/21/2013 1:01 PM, David A Gibson wrote: > >> I don't know about Access 2007 but in 2010 there is a "Clear All Sorts" >> button beneath the ascending and descending arrows. >> >> David Gibson >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of John W Colby >> Sent: Tuesday, May 21, 2013 10:48 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access 2007 - How to unfilter / unsort >> >> When I open a table I can set a sort order on a column, but when I click >> the >> little arrow, there is no clear filter. Well... it is n't a filter it is >> a >> sort. But there is no "clear sort" either. So... >> >> When I sort a table (or query) on a column in the data grid, how do I >> clear >> the sort, short of closing the table without a save. >> >> -- >> John W. Colby >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From vbacreations at gmail.com Tue May 21 15:27:28 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 21 May 2013 16:27:28 -0400 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column Message-ID: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> This is driving me a little crazy, I know it is so basic and yet I am drawing a blank. I am setting up a Customer table with a State/Province field that looks up 002_State table. The field Lookup details are SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; Bound Column 1; Column Widths = 0";3" When I run a query SELECT [State/Province] From [Customer] I see the statename value 'California' instead of the StateID value of 5. I would think queries would show the bound column's value regardless of the Column Widths property of the table field (as opposed to combo boxes and reports, which I know do make use of those properties. I checked via recordsets, and the value does appear to be 5, despite what the query shows. Sub check() Dim r As DAO.Recordset, r2 As DAO.Recordset Dim d As Database Set d = CurrentDb Set r = d.OpenRecordset("SELECT Customers.[State/Province] FROM Customers") r.MoveFirst If Not r.EOF Then Set r2 = d.OpenRecordset("Select StateName from 002_State where StateID = " & r.Fields(0)) r2.MoveFirst If Not r2.EOF Then Debug.Print "The first state in the Customer table:" & Chr(13) & Chr(13) & "Field: " & _ r.Fields(0).Name & " has Value = " & _ r.Fields(0) & ", is of Type = " & _ r.Fields(0).Type & ", and represents the state of " & _ r2.Fields(0) & "' " End If End If End Sub 'The first state in the Customer table: 'Field: State/Province has Value = 5, is of Type = 4, and represents the state of California' From jackandpat.d at gmail.com Tue May 21 15:30:24 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 21 May 2013 16:30:24 -0400 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column In-Reply-To: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> References: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> Message-ID: ??? Bound Column 0 <--- first field On Tue, May 21, 2013 at 4:27 PM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > This is driving me a little crazy, I know it is so basic and yet I am > drawing a blank. I am setting up a Customer table with a State/Province > field that looks up 002_State table. The field Lookup details are > SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; > Bound > Column 1; Column Widths = 0";3" > > > When I run a query SELECT [State/Province] From [Customer] > > I see the statename value 'California' instead of the StateID value of 5. > > I would think queries would show the bound column's value regardless of the > Column Widths property of the table field (as opposed to combo boxes and > reports, which I know do make use of those properties. > > I checked via recordsets, and the value does appear to be 5, despite what > the query shows. > > > Sub check() > Dim r As DAO.Recordset, r2 As DAO.Recordset > Dim d As Database > Set d = CurrentDb > Set r = d.OpenRecordset("SELECT Customers.[State/Province] FROM Customers") > r.MoveFirst > If Not r.EOF Then > Set r2 = d.OpenRecordset("Select StateName from 002_State where StateID > = " & r.Fields(0)) > r2.MoveFirst > If Not r2.EOF Then > Debug.Print "The first state in the Customer table:" & Chr(13) & > Chr(13) & "Field: " & _ > r.Fields(0).Name & " has Value = " & _ > r.Fields(0) & ", is of Type = " & _ > r.Fields(0).Type & ", and represents the state of " & _ > r2.Fields(0) & "' " > End If > End If > End Sub > > 'The first state in the Customer table: > > 'Field: State/Province has Value = 5, is of Type = 4, and represents the > state of California' > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Tue May 21 15:56:40 2013 From: jwcolby at gmail.com (John W Colby) Date: Tue, 21 May 2013 16:56:40 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: References: <519B9732.90709@gmail.com> Message-ID: <519BDF88.4020507@gmail.com> " the sort order of a table is undefined" True So if you want to see it in a particular order you have to write a query. Not true and never has been. You can go directly into a table, click on the field header and execute a sort which will sort ascending / descending on that column. This is just Access "helpful stuff" that has always been around. John W. Colby Reality is what refuses to go away when you do not believe in it On 5/21/2013 12:13 PM, Heenan, Lambert wrote: > " the sort order of a table is undefined " So if you want to see it in a particular order you have to write a query. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby > Sent: Tuesday, May 21, 2013 11:48 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 - How to unfilter / unsort > > When I open a table I can set a sort order on a column, but when I click the little arrow, there is no clear filter. Well... it is n't a filter it is a sort. But there is no "clear sort" either. So... > > When I sort a table (or query) on a column in the data grid, how do I clear the sort, short of closing the table without a save. > > -- > John W. Colby > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue May 21 16:03:17 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 21 May 2013 17:03:17 -0400 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column In-Reply-To: References: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> Message-ID: <015d01ce5666$9eb57c70$dc207550$@gmail.com> I thought so too, but that would cause the listindex, rather than the value of the item in the 1st column of the rowsource. When I look up BoundColumn property in Access help online, at least for controls, Help says: (Default is 1) The value in the specified column becomes the control's value. If the control is bound to a field, then this setting is stored in that field in the current record. The BoundColumn property can't be set to a value larger than the setting of the ColumnCount property. Anyway, it doesn't change the result in the query to make that either 0 or 1 in the table, I still see California instead of 5. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Tuesday, May 21, 2013 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column ??? Bound Column 0 <--- first field On Tue, May 21, 2013 at 4:27 PM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > This is driving me a little crazy, I know it is so basic and yet I am > drawing a blank. I am setting up a Customer table with a > State/Province field that looks up 002_State table. The field Lookup details are > SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; > Bound > Column 1; Column Widths = 0";3" > > > When I run a query SELECT [State/Province] From [Customer] > > I see the statename value 'California' instead of the StateID value of 5. > > I would think queries would show the bound column's value regardless > of the Column Widths property of the table field (as opposed to combo > boxes and reports, which I know do make use of those properties. > > I checked via recordsets, and the value does appear to be 5, despite > what the query shows. > > > Sub check() > Dim r As DAO.Recordset, r2 As DAO.Recordset Dim d As Database Set d = > CurrentDb Set r = d.OpenRecordset("SELECT Customers.[State/Province] > FROM Customers") r.MoveFirst If Not r.EOF Then > Set r2 = d.OpenRecordset("Select StateName from 002_State where > StateID = " & r.Fields(0)) > r2.MoveFirst > If Not r2.EOF Then > Debug.Print "The first state in the Customer table:" & Chr(13) > & > Chr(13) & "Field: " & _ > r.Fields(0).Name & " has Value = " & _ > r.Fields(0) & ", is of Type = " & _ > r.Fields(0).Type & ", and represents the state of " & _ > r2.Fields(0) & "' " > End If > End If > End Sub > > 'The first state in the Customer table: > > 'Field: State/Province has Value = 5, is of Type = 4, and represents > the state of California' > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue May 21 17:11:37 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 22 May 2013 08:11:37 +1000 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column In-Reply-To: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> References: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> Message-ID: <519BF119.8602.18C07EA3@stuart.lexacorp.com.pg> It has always been thus and is one of the many reasons not to set the Lookup/Display Control in the table definition. The datasheet uses that setting to decide how to display that field - both when viewing the table data directly and when displaying that field in any query. The only solution is to set the Lookup/Display Control back to Textbox -- Stuart On 21 May 2013 at 16:27, William Benson (VBACreations. wrote: > This is driving me a little crazy, I know it is so basic and yet I am > drawing a blank. I am setting up a Customer table with a State/Province > field that looks up 002_State table. The field Lookup details are > SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; Bound > Column 1; Column Widths = 0";3" > > > When I run a query SELECT [State/Province] From [Customer] > > I see the statename value 'California' instead of the StateID value of 5. > > I would think queries would show the bound column's value regardless of the > Column Widths property of the table field (as opposed to combo boxes and > reports, which I know do make use of those properties. > > I checked via recordsets, and the value does appear to be 5, despite what > the query shows. > > > Sub check() > Dim r As DAO.Recordset, r2 As DAO.Recordset > Dim d As Database > Set d = CurrentDb > Set r = d.OpenRecordset("SELECT Customers.[State/Province] FROM Customers") > r.MoveFirst > If Not r.EOF Then > Set r2 = d.OpenRecordset("Select StateName from 002_State where StateID > = " & r.Fields(0)) > r2.MoveFirst > If Not r2.EOF Then > Debug.Print "The first state in the Customer table:" & Chr(13) & > Chr(13) & "Field: " & _ > r.Fields(0).Name & " has Value = " & _ > r.Fields(0) & ", is of Type = " & _ > r.Fields(0).Type & ", and represents the state of " & _ > r2.Fields(0) & "' " > End If > End If > End Sub > > 'The first state in the Customer table: > > 'Field: State/Province has Value = 5, is of Type = 4, and represents the > state of California' > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue May 21 17:58:44 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 21 May 2013 18:58:44 -0400 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column In-Reply-To: <519BF119.8602.18C07EA3@stuart.lexacorp.com.pg> References: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> <519BF119.8602.18C07EA3@stuart.lexacorp.com.pg> Message-ID: <019001ce5676$bf4b35f0$3de1a1d0$@gmail.com> Ah, always glad to find out (at the beginning!) of a project when I am using a worst practice! Thanks Stuart, I have a smaller wound to lick than otherwise would have, had you not spoken up promptly. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, May 21, 2013 6:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column It has always been thus and is one of the many reasons not to set the Lookup/Display Control in the table definition. The datasheet uses that setting to decide how to display that field - both when viewing the table data directly and when displaying that field in any query. The only solution is to set the Lookup/Display Control back to Textbox -- Stuart On 21 May 2013 at 16:27, William Benson (VBACreations. wrote: > This is driving me a little crazy, I know it is so basic and yet I am > drawing a blank. I am setting up a Customer table with a > State/Province field that looks up 002_State table. The field Lookup details are > SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; Bound > Column 1; Column Widths = 0";3" > > > When I run a query SELECT [State/Province] From [Customer] > > I see the statename value 'California' instead of the StateID value of 5. > > I would think queries would show the bound column's value regardless > of the Column Widths property of the table field (as opposed to combo > boxes and reports, which I know do make use of those properties. > > I checked via recordsets, and the value does appear to be 5, despite > what the query shows. > > > Sub check() > Dim r As DAO.Recordset, r2 As DAO.Recordset Dim d As Database Set d = > CurrentDb Set r = d.OpenRecordset("SELECT Customers.[State/Province] > FROM Customers") r.MoveFirst If Not r.EOF Then > Set r2 = d.OpenRecordset("Select StateName from 002_State where > StateID = " & r.Fields(0)) > r2.MoveFirst > If Not r2.EOF Then > Debug.Print "The first state in the Customer table:" & Chr(13) > & > Chr(13) & "Field: " & _ > r.Fields(0).Name & " has Value = " & _ > r.Fields(0) & ", is of Type = " & _ > r.Fields(0).Type & ", and represents the state of " & _ > r2.Fields(0) & "' " > End If > End If > End Sub > > 'The first state in the Customer table: > > 'Field: State/Province has Value = 5, is of Type = 4, and represents > the state of California' > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue May 21 23:43:48 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 22 May 2013 00:43:48 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519BDF88.4020507@gmail.com> References: <519B9732.90709@gmail.com> <519BDF88.4020507@gmail.com> Message-ID: JC. Access 2007 (and above) is just clumsy to do real development in. I have > been using it exclusively for almost 4 months now and still hate it. Which > toolbar was that XYZ in again? Hmmm... let's click through all of them and > look for it. Oh and what exactly am I looking for anyway? I could not disagree more. Yes, it does take a while to locate commands you use frequently. But you do NOT have to click through the ribbon tabs to locate them! Just hover the mouse on the ribbon and then use the wheel and you'll quickly cycle through them, much more quickly than clicking. Try it. I only happened upon this by accident, but having discovered it, I deem it a huge advance over previous versions, all of which demanded clicks. This technique, incidentally, works in all the Office products, not just Access. It's invaluable in Word and Excel. I seldom if ever use PowerPoint, InfoPath, etc. but assume that it's equally invaluable there. A. On Tue, May 21, 2013 at 4:56 PM, John W Colby wrote: > " the sort order of a table is undefined" > > True > > > So if you want to see it in a particular order you have to write a query. > > Not true and never has been. You can go directly into a table, click on > the field header and execute a sort which will sort ascending / descending > on that column. This is just Access "helpful stuff" that has always been > around. > > > John W. Colby > > Reality is what refuses to go away > when you do not believe in it > > On 5/21/2013 12:13 PM, Heenan, Lambert wrote: > >> " the sort order of a table is undefined " So if you want to see it in a >> particular order you have to write a query. >> >> Lambert >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com[mailto: >> accessd-bounces@**databaseadvisors.com] >> On Behalf Of John W Colby >> Sent: Tuesday, May 21, 2013 11:48 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Access 2007 - How to unfilter / unsort >> >> When I open a table I can set a sort order on a column, but when I click >> the little arrow, there is no clear filter. Well... it is n't a filter it >> is a sort. But there is no "clear sort" either. So... >> >> When I sort a table (or query) on a column in the data grid, how do I >> clear the sort, short of closing the table without a save. >> >> -- >> John W. Colby >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> Website: http://www.databaseadvisors.**com >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From Lambert.Heenan at aig.com Wed May 22 07:48:01 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 22 May 2013 08:48:01 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519BDF88.4020507@gmail.com> References: <519B9732.90709@gmail.com> <519BDF88.4020507@gmail.com> Message-ID: ' Not true and never has been. You can go directly into a table.." True, never has been a good idea. Of course I *know* that you never let your users get to see a table directly, that just bad practice/insanely dangerous to data. And I know, as the experienced developer you are that you are fully aware of that. But developers make mistakes too. So I just try to stay away from displaying tables directly. I see you got your solution to the non-problem though. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Tuesday, May 21, 2013 4:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 - How to unfilter / unsort " the sort order of a table is undefined" True So if you want to see it in a particular order you have to write a query. Not true and never has been. You can go directly into a table, click on the field header and execute a sort which will sort ascending / descending on that column. This is just Access "helpful stuff" that has always been around. John W. Colby From jackandpat.d at gmail.com Wed May 22 07:54:27 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Wed, 22 May 2013 08:54:27 -0400 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column In-Reply-To: <019001ce5676$bf4b35f0$3de1a1d0$@gmail.com> References: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> <519BF119.8602.18C07EA3@stuart.lexacorp.com.pg> <019001ce5676$bf4b35f0$3de1a1d0$@gmail.com> Message-ID: William, I'm glad Stuart picked up on the Table fields - I advise people not to use Lookups at the table field level - and didn't realize that that was what you were describing. Here's the reference often quoted against the practice. http://access.mvps.org/access/lookupfields.htm Good luck. On Tue, May 21, 2013 at 6:58 PM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > Ah, always glad to find out (at the beginning!) of a project when I am > using > a worst practice! > > Thanks Stuart, I have a smaller wound to lick than otherwise would have, > had > you not spoken up promptly. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, May 21, 2013 6:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Simple Query is being driven by Column Widths rather > than Bound Column > > It has always been thus and is one of the many reasons not to set the > Lookup/Display Control > in the table definition. > > The datasheet uses that setting to decide how to display that field - both > when viewing the table data directly and when displaying that field in any > query. > > The only solution is to set the Lookup/Display Control back to Textbox > > > -- > Stuart > > On 21 May 2013 at 16:27, William Benson (VBACreations. wrote: > > > This is driving me a little crazy, I know it is so basic and yet I am > > drawing a blank. I am setting up a Customer table with a > > State/Province field that looks up 002_State table. The field Lookup > details are > > SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; > Bound > > Column 1; Column Widths = 0";3" > > > > > > When I run a query SELECT [State/Province] From [Customer] > > > > I see the statename value 'California' instead of the StateID value of 5. > > > > I would think queries would show the bound column's value regardless > > of the Column Widths property of the table field (as opposed to combo > > boxes and reports, which I know do make use of those properties. > > > > I checked via recordsets, and the value does appear to be 5, despite > > what the query shows. > > > > > > Sub check() > > Dim r As DAO.Recordset, r2 As DAO.Recordset Dim d As Database Set d = > > CurrentDb Set r = d.OpenRecordset("SELECT Customers.[State/Province] > > FROM Customers") r.MoveFirst If Not r.EOF Then > > Set r2 = d.OpenRecordset("Select StateName from 002_State where > > StateID = " & r.Fields(0)) > > r2.MoveFirst > > If Not r2.EOF Then > > Debug.Print "The first state in the Customer table:" & Chr(13) > > & > > Chr(13) & "Field: " & _ > > r.Fields(0).Name & " has Value = " & _ > > r.Fields(0) & ", is of Type = " & _ > > r.Fields(0).Type & ", and represents the state of " & _ > > r2.Fields(0) & "' " > > End If > > End If > > End Sub > > > > 'The first state in the Customer table: > > > > 'Field: State/Province has Value = 5, is of Type = 4, and represents > > the state of California' > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Wed May 22 07:57:42 2013 From: jwcolby at gmail.com (John W Colby) Date: Wed, 22 May 2013 08:57:42 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: References: <519B9732.90709@gmail.com> <519BDF88.4020507@gmail.com> Message-ID: <519CC0C6.7020301@gmail.com> LOL, right you are but this is ME doing this stuff. And I absolutely allow ME to see the tables directly. ;) I am in development. I am sorting a table to see newly created records etc. I didn't mean to sound snippy. John W. Colby Reality is what refuses to go away when you do not believe in it On 5/22/2013 8:48 AM, Heenan, Lambert wrote: > ' Not true and never has been. You can go directly into a table.." True, never has been a good idea. > > Of course I *know* that you never let your users get to see a table directly, that just bad practice/insanely dangerous to data. And I know, as the experienced developer you are that you are fully aware of that. But developers make mistakes too. So I just try to stay away from displaying tables directly. I see you got your solution to the non-problem though. :-) > > Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby > Sent: Tuesday, May 21, 2013 4:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 - How to unfilter / unsort > > " the sort order of a table is undefined" > > True > > So if you want to see it in a particular order you have to write a query. > > Not true and never has been. You can go directly into a table, click on the field header and execute a sort which will sort ascending / descending on that column. This is just Access "helpful stuff" that has always been around. > > John W. Colby > From Lambert.Heenan at aig.com Wed May 22 08:00:15 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 22 May 2013 09:00:15 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: <519CC0C6.7020301@gmail.com> References: <519B9732.90709@gmail.com> <519BDF88.4020507@gmail.com> <519CC0C6.7020301@gmail.com> Message-ID: No problem John. Been reading your stuff long enough to know when you're *really* being snippy. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Wednesday, May 22, 2013 8:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 - How to unfilter / unsort LOL, right you are but this is ME doing this stuff. And I absolutely allow ME to see the tables directly. ;) I am in development. I am sorting a table to see newly created records etc. I didn't mean to sound snippy. John W. Colby Reality is what refuses to go away when you do not believe in it On 5/22/2013 8:48 AM, Heenan, Lambert wrote: > ' Not true and never has been. You can go directly into a table.." True, never has been a good idea. > > Of course I *know* that you never let your users get to see a table > directly, that just bad practice/insanely dangerous to data. And I > know, as the experienced developer you are that you are fully aware of > that. But developers make mistakes too. So I just try to stay away > from displaying tables directly. I see you got your solution to the > non-problem though. :-) > > Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W > Colby > Sent: Tuesday, May 21, 2013 4:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 - How to unfilter / unsort > > " the sort order of a table is undefined" > > True > > So if you want to see it in a particular order you have to write a query. > > Not true and never has been. You can go directly into a table, click on the field header and execute a sort which will sort ascending / descending on that column. This is just Access "helpful stuff" that has always been around. > > John W. Colby > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Wed May 22 12:35:32 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Wed, 22 May 2013 13:35:32 -0400 Subject: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column In-Reply-To: References: <013a01ce5661$9e2f27b0$da8d7710$@gmail.com> <519BF119.8602.18C07EA3@stuart.lexacorp.com.pg> <019001ce5676$bf4b35f0$3de1a1d0$@gmail.com> Message-ID: <003a01ce5712$c302c6d0$49085470$@gmail.com> Thanks for that Jack! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Wednesday, May 22, 2013 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Simple Query is being driven by Column Widths rather than Bound Column William, I'm glad Stuart picked up on the Table fields - I advise people not to use Lookups at the table field level - and didn't realize that that was what you were describing. Here's the reference often quoted against the practice. http://access.mvps.org/access/lookupfields.htm Good luck. On Tue, May 21, 2013 at 6:58 PM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > Ah, always glad to find out (at the beginning!) of a project when I am > using a worst practice! > > Thanks Stuart, I have a smaller wound to lick than otherwise would > have, had you not spoken up promptly. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, May 21, 2013 6:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Simple Query is being driven by Column Widths > rather than Bound Column > > It has always been thus and is one of the many reasons not to set the > Lookup/Display Control in the table definition. > > The datasheet uses that setting to decide how to display that field - > both when viewing the table data directly and when displaying that > field in any query. > > The only solution is to set the Lookup/Display Control back to Textbox > > > -- > Stuart > > On 21 May 2013 at 16:27, William Benson (VBACreations. wrote: > > > This is driving me a little crazy, I know it is so basic and yet I > > am drawing a blank. I am setting up a Customer table with a > > State/Province field that looks up 002_State table. The field Lookup > details are > > SELECT [StateID], [StateName] FROM 002_State; ColumnCount = 2; > Bound > > Column 1; Column Widths = 0";3" > > > > > > When I run a query SELECT [State/Province] From [Customer] > > > > I see the statename value 'California' instead of the StateID value of 5. > > > > I would think queries would show the bound column's value regardless > > of the Column Widths property of the table field (as opposed to > > combo boxes and reports, which I know do make use of those properties. > > > > I checked via recordsets, and the value does appear to be 5, despite > > what the query shows. > > > > > > Sub check() > > Dim r As DAO.Recordset, r2 As DAO.Recordset Dim d As Database Set d > > = CurrentDb Set r = d.OpenRecordset("SELECT > > Customers.[State/Province] FROM Customers") r.MoveFirst If Not r.EOF Then > > Set r2 = d.OpenRecordset("Select StateName from 002_State where > > StateID = " & r.Fields(0)) > > r2.MoveFirst > > If Not r2.EOF Then > > Debug.Print "The first state in the Customer table:" & > > Chr(13) & > > Chr(13) & "Field: " & _ > > r.Fields(0).Name & " has Value = " & _ > > r.Fields(0) & ", is of Type = " & _ > > r.Fields(0).Type & ", and represents the state of " & _ > > r2.Fields(0) & "' " > > End If > > End If > > End Sub > > > > 'The first state in the Customer table: > > > > 'Field: State/Province has Value = 5, is of Type = 4, and represents > > the state of California' > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Fri May 24 15:13:20 2013 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 24 May 2013 15:13:20 -0500 Subject: [AccessD] Returning a "Row Number" in a query References: <002901ce4703$e82361f0$b86a25d0$@cactus.dk> Message-ID: All, Is there an easy way to return a "row number" in an Access query? Let's say that I have a table with one field named "Customer". The table has 5 rows. I would like to be able to return something like this... 1 Jones 2 Smith 3 Anderson 4 Olson 5 Jenson Thanks, Brad From stephen at bondsoftware.co.nz Fri May 24 15:26:04 2013 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 25 May 2013 08:26:04 +1200 Subject: [AccessD] Returning a "Row Number" in a query Message-ID: This works for me: http://www.vb123.com/toolshed/07_access/countercolumn.htm Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, 25 May 2013 8:26 a.m. To: Stephen Subject: [AccessD] Returning a "Row Number" in a query All, Is there an easy way to return a "row number" in an Access query? Let's say that I have a table with one field named "Customer". The table has 5 rows. I would like to be able to return something like this... 1 Jones 2 Smith 3 Anderson 4 Olson 5 Jenson Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Fri May 24 15:45:35 2013 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 24 May 2013 15:45:35 -0500 Subject: [AccessD] Returning a "Row Number" in a query References: Message-ID: Stephen, Thanks, I appreciate the assistance. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Friday, May 24, 2013 3:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Returning a "Row Number" in a query This works for me: http://www.vb123.com/toolshed/07_access/countercolumn.htm Stephen -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, 25 May 2013 8:26 a.m. To: Stephen Subject: [AccessD] Returning a "Row Number" in a query All, Is there an easy way to return a "row number" in an Access query? Let's say that I have a table with one field named "Customer". The table has 5 rows. I would like to be able to return something like this... 1 Jones 2 Smith 3 Anderson 4 Olson 5 Jenson Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message was scanned by ESVA and is believed to be clean. Click here to report this message as spam. http://h0stname/cgi-bin/learn-msg.cgi?id=B5E92288C8.96D92 From marksimms at verizon.net Fri May 24 20:39:10 2013 From: marksimms at verizon.net (Mark Simms) Date: Fri, 24 May 2013 21:39:10 -0400 Subject: [AccessD] Access 2007 - How to unfilter / unsort In-Reply-To: References: <519B9732.90709@gmail.com> <519BDF88.4020507@gmail.com> Message-ID: <023101ce58e8$a820ec70$f862c550$@net> Once you "learn" the correct tab, the Ribbon is super-efficient compared to the nested menus. Unfortunately, this takes a while.... From rockysmolin at bchacc.com Sun May 26 00:08:05 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 May 2013 22:08:05 -0700 Subject: [AccessD] (no subject) Message-ID: Dear List: Is there a way to set the Windows theme through VBA. I'm using 2003. I can set the app to inherit the theme using Application.SetOption "Themed Form Controls",True but need a way to set the theme so that the appearance of the controls on an app that is to be distributed will always appear the same. And the theme can be returned to it's original state when the app closes (if I can SET it I assume I can GET it). Of course this does present a problem of the user's theme being changed by the program, even if temporarily, but, one problem at a time. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From stuart at lexacorp.com.pg Sun May 26 01:04:03 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 May 2013 16:04:03 +1000 Subject: [AccessD] (no subject) In-Reply-To: References: Message-ID: <51A1A5D3.18998.2F0A7B9C@stuart.lexacorp.com.pg> Not a good idea. Firstly, themes are system wide settings. An application which chages the useers system wide preferences, even temporarily is bad.. They affect much more than just the appearance of Windows controls. Secondly, Visual Styles, which is what I think you actually want to change, are different in different OS versions. If you REALLY must, a call to the SetWindowsTheme function in the UXThemes.dll (XP and later) may do the trick: Public Declare Function SetWindowTheme Lib "uxtheme.dll" (ByVal hWnd As HandleRef, ByVal pszSubAppName As String, ByVal pszSubIdList As String) As Integer -- Stuart On 25 May 2013 at 22:08, Rocky Smolin wrote: > Dear List: > > Is there a way to set the Windows theme through VBA. I'm using 2003. > > I can set the app to inherit the theme using Application.SetOption "Themed > Form Controls",True but need a way to set the theme so that the appearance > of the controls on an app that is to be distributed will always appear the > same. > > And the theme can be returned to it's original state when the app closes (if > I can SET it I assume I can GET it). > > Of course this does present a problem of the user's theme being changed by > the program, even if temporarily, but, one problem at a time. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun May 26 10:04:36 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 26 May 2013 08:04:36 -0700 Subject: [AccessD] (no subject) In-Reply-To: <51A1A5D3.18998.2F0A7B9C@stuart.lexacorp.com.pg> References: <51A1A5D3.18998.2F0A7B9C@stuart.lexacorp.com.pg> Message-ID: " Not a good idea." Agreed. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: May 25, 2013 11:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] (no subject) Not a good idea. Firstly, themes are system wide settings. An application which chages the useers system wide preferences, even temporarily is bad.. They affect much more than just the appearance of Windows controls. Secondly, Visual Styles, which is what I think you actually want to change, are different in different OS versions. If you REALLY must, a call to the SetWindowsTheme function in the UXThemes.dll (XP and later) may do the trick: Public Declare Function SetWindowTheme Lib "uxtheme.dll" (ByVal hWnd As HandleRef, ByVal pszSubAppName As String, ByVal pszSubIdList As String) As Integer -- Stuart On 25 May 2013 at 22:08, Rocky Smolin wrote: > Dear List: > > Is there a way to set the Windows theme through VBA. I'm using 2003. > > I can set the app to inherit the theme using Application.SetOption > "Themed Form Controls",True but need a way to set the theme so that > the appearance of the controls on an app that is to be distributed > will always appear the same. > > And the theme can be returned to it's original state when the app > closes (if I can SET it I assume I can GET it). > > Of course this does present a problem of the user's theme being > changed by the program, even if temporarily, but, one problem at a time. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun May 26 21:00:38 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Sun, 26 May 2013 22:00:38 -0400 Subject: [AccessD] MacroError - VBA?? Message-ID: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com> I converted a command button which Access innately creates with an embedded macro, to VBA code. This was the code that was produced, and my question is, to what purpose is the MacroError (Application level) property at this point... in VBA code it appears to have no relevance, whereas the Err object itself does. For example, when trying to go to the next record when there is no next record, if this were left as a macro button, I would get the error message "You can't go to the specified record." But once I have converted the code to VBA (See below) MacroError has a value of zero, but Err.Number has a a value of 2105, which is the proper error. Anyone see any practical side to Access bothering to put code related to MacroError instead of focusing on the err object directly? Private Sub cmdNextCompany_Click() On Error GoTo cmdNextCompany_Click_Err On Error Resume Next DoCmd.GoToRecord , "", acNext If (MacroError <> 0) Then Beep MsgBox MacroError.Description, vbOKOnly, "" End If cmdNextCompany_Click_Exit: Exit Sub cmdNextCompany_Click_Err: MsgBox Error$ Resume cmdNextCompany_Click_Exit End Sub From stuart at lexacorp.com.pg Sun May 26 21:22:44 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 27 May 2013 12:22:44 +1000 Subject: [AccessD] MacroError - VBA?? In-Reply-To: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com> References: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com> Message-ID: <51A2C374.21715.33660F49@stuart.lexacorp.com.pg> Looks to me like a braiin-dead automated Macro to VBA conversion process that doesn't deal with error trapping properly. To answer your first question - it serves no purpose. On 26 May 2013 at 22:00, William Benson (VBACreations. wrote: > I converted a command button which Access innately creates with an embedded > macro, to VBA code. This was the code that was produced, and my question is, > to what purpose is the MacroError (Application level) property at this > point... in VBA code it appears to have no relevance, whereas the Err object > itself does. > > For example, when trying to go to the next record when there is no next > record, if this were left as a macro button, I would get the error message > "You can't go to the specified record." But once I have converted the code > to VBA (See below) MacroError has a value of zero, but Err.Number has a a > value of 2105, which is the proper error. > > Anyone see any practical side to Access bothering to put code related to > MacroError instead of focusing on the err object directly? > > > Private Sub cmdNextCompany_Click() > On Error GoTo cmdNextCompany_Click_Err > > On Error Resume Next > DoCmd.GoToRecord , "", acNext > If (MacroError <> 0) Then > Beep > MsgBox MacroError.Description, vbOKOnly, "" > End If > > > cmdNextCompany_Click_Exit: > Exit Sub > > cmdNextCompany_Click_Err: > MsgBox Error$ > Resume cmdNextCompany_Click_Exit > > End Sub > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun May 26 21:35:58 2013 From: vbacreations at gmail.com (William Benson) Date: Sun, 26 May 2013 22:35:58 -0400 Subject: [AccessD] MacroError - VBA?? In-Reply-To: <51A2C374.21715.33660F49@stuart.lexacorp.com.pg> References: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com> <51A2C374.21715.33660F49@stuart.lexacorp.com.pg> Message-ID: Gr8. Sigh. Thanks. On May 26, 2013 10:24 PM, "Stuart McLachlan" wrote: > Looks to me like a braiin-dead automated Macro to VBA conversion process > that doesn't > deal with error trapping properly. > > To answer your first question - it serves no purpose. > > > On 26 May 2013 at 22:00, William Benson (VBACreations. wrote: > > > I converted a command button which Access innately creates with an > embedded > > macro, to VBA code. This was the code that was produced, and my question > is, > > to what purpose is the MacroError (Application level) property at this > > point... in VBA code it appears to have no relevance, whereas the Err > object > > itself does. > > > > For example, when trying to go to the next record when there is no next > > record, if this were left as a macro button, I would get the error > message > > "You can't go to the specified record." But once I have converted the > code > > to VBA (See below) MacroError has a value of zero, but Err.Number has a a > > value of 2105, which is the proper error. > > > > Anyone see any practical side to Access bothering to put code related to > > MacroError instead of focusing on the err object directly? > > > > > > Private Sub cmdNextCompany_Click() > > On Error GoTo cmdNextCompany_Click_Err > > > > On Error Resume Next > > DoCmd.GoToRecord , "", acNext > > If (MacroError <> 0) Then > > Beep > > MsgBox MacroError.Description, vbOKOnly, "" > > End If > > > > > > cmdNextCompany_Click_Exit: > > Exit Sub > > > > cmdNextCompany_Click_Err: > > MsgBox Error$ > > Resume cmdNextCompany_Click_Exit > > > > End Sub > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Sun May 26 22:18:42 2013 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 27 May 2013 03:18:42 +0000 Subject: [AccessD] MacroError - VBA?? In-Reply-To: References: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com> <51A2C374.21715.33660F49@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B54BFB9E7E@SINPRD0410MB381.apcprd04.prod.outlook.com> In my experience this sort of thing is typical of auto generated VBA scripted by MSoft. Perhaps they used to farm this sort of thing out to first year interns(?) - I mean, it must be a fairly tedious thing to set up. Dunno. But I nearly always find I can strip down their auto-code by about 90%. Indeed I would recommend it as it is often full of meaningless bloat that just takes up space and fogs clarity. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 27 May 2013 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MacroError - VBA?? Gr8. Sigh. Thanks. On May 26, 2013 10:24 PM, "Stuart McLachlan" wrote: > Looks to me like a braiin-dead automated Macro to VBA conversion > process that doesn't deal with error trapping properly. > > To answer your first question - it serves no purpose. > > > On 26 May 2013 at 22:00, William Benson (VBACreations. wrote: > > > I converted a command button which Access innately creates with an > embedded > > macro, to VBA code. This was the code that was produced, and my > > question > is, > > to what purpose is the MacroError (Application level) property at > > this point... in VBA code it appears to have no relevance, whereas > > the Err > object > > itself does. > > > > For example, when trying to go to the next record when there is no > > next record, if this were left as a macro button, I would get the > > error > message > > "You can't go to the specified record." But once I have converted > > the > code > > to VBA (See below) MacroError has a value of zero, but Err.Number > > has a a value of 2105, which is the proper error. > > > > Anyone see any practical side to Access bothering to put code > > related to MacroError instead of focusing on the err object directly? > > > > > > Private Sub cmdNextCompany_Click() > > On Error GoTo cmdNextCompany_Click_Err > > > > On Error Resume Next > > DoCmd.GoToRecord , "", acNext > > If (MacroError <> 0) Then > > Beep > > MsgBox MacroError.Description, vbOKOnly, "" > > End If > > > > > > cmdNextCompany_Click_Exit: > > Exit Sub > > > > cmdNextCompany_Click_Err: > > MsgBox Error$ > > Resume cmdNextCompany_Click_Exit > > > > End Sub > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 26 23:38:18 2013 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 26 May 2013 21:38:18 -0700 Subject: [AccessD] MacroError - VBA?? In-Reply-To: <56653D383CB80341995245C537A9E7B54BFB9E7E@SINPRD0410MB381.apcprd04.prod.outlook.com> References: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com><51A2C374.21715.33660F49@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B54BFB9E7E@SINPRD0410MB381.apcprd04.prod.outlook.com> Message-ID: <3947332A51AE4EE694E6990112D45847@HAL9007> Reminds me of when I structure a multi-table query with several parameters and the parentheses are sprinkled throughout in a really confusing and non-functional manner. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: May 26, 2013 8:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MacroError - VBA?? In my experience this sort of thing is typical of auto generated VBA scripted by MSoft. Perhaps they used to farm this sort of thing out to first year interns(?) - I mean, it must be a fairly tedious thing to set up. Dunno. But I nearly always find I can strip down their auto-code by about 90%. Indeed I would recommend it as it is often full of meaningless bloat that just takes up space and fogs clarity. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 27 May 2013 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MacroError - VBA?? Gr8. Sigh. Thanks. On May 26, 2013 10:24 PM, "Stuart McLachlan" wrote: > Looks to me like a braiin-dead automated Macro to VBA conversion > process that doesn't deal with error trapping properly. > > To answer your first question - it serves no purpose. > > > On 26 May 2013 at 22:00, William Benson (VBACreations. wrote: > > > I converted a command button which Access innately creates with an > embedded > > macro, to VBA code. This was the code that was produced, and my > > question > is, > > to what purpose is the MacroError (Application level) property at > > this point... in VBA code it appears to have no relevance, whereas > > the Err > object > > itself does. > > > > For example, when trying to go to the next record when there is no > > next record, if this were left as a macro button, I would get the > > error > message > > "You can't go to the specified record." But once I have converted > > the > code > > to VBA (See below) MacroError has a value of zero, but Err.Number > > has a a value of 2105, which is the proper error. > > > > Anyone see any practical side to Access bothering to put code > > related to MacroError instead of focusing on the err object directly? > > > > > > Private Sub cmdNextCompany_Click() > > On Error GoTo cmdNextCompany_Click_Err > > > > On Error Resume Next > > DoCmd.GoToRecord , "", acNext > > If (MacroError <> 0) Then > > Beep > > MsgBox MacroError.Description, vbOKOnly, "" > > End If > > > > > > cmdNextCompany_Click_Exit: > > Exit Sub > > > > cmdNextCompany_Click_Err: > > MsgBox Error$ > > Resume cmdNextCompany_Click_Exit > > > > End Sub > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Mon May 27 01:48:27 2013 From: vbacreations at gmail.com (William Benson) Date: Mon, 27 May 2013 02:48:27 -0400 Subject: [AccessD] MacroError - VBA?? In-Reply-To: <3947332A51AE4EE694E6990112D45847@HAL9007> References: <002c01ce5a7d$fc8b9120$f5a2b360$@gmail.com> <51A2C374.21715.33660F49@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B54BFB9E7E@SINPRD0410MB381.apcprd04.prod.outlook.com> <3947332A51AE4EE694E6990112D45847@HAL9007> Message-ID: Or how access writes garbage in brackets in lieu of the nicely worded, just-fine-the-way-it-was sql you just saved in the sql view. So you have virtually no chance of parsing and rationalizing the sql property of the query using code later in a statement. I call it aliening (as opposed to aliasing, which I Access seems like it's trying to do). M$ always helps Nize Master, very good, follow M $$ .... From charlotte.foust at gmail.com Mon May 27 12:31:20 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 27 May 2013 10:31:20 -0700 Subject: [AccessD] Determining 64-bit OS Message-ID: This was raised in a linkedin group some of us belong to, and it's making me irritated. I can't find any way to reliably identify a 64-bit Win version when running 32-bit Office. On my machine with that configuration, the Win64 constant is always false! Any suggestions from the brain trust? Charlotte From df.waters at comcast.net Mon May 27 12:50:56 2013 From: df.waters at comcast.net (Dan Waters) Date: Mon, 27 May 2013 12:50:56 -0500 Subject: [AccessD] Determining 64-bit OS In-Reply-To: References: Message-ID: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> Hi Charlotte, All I do is look for the presence of the C:\Windows\sysWOW64 folder. It's not a direct check, but why would this folder exist on a 32-bit system? Dan Procedure: '------------------------------ Private Sub GetWindowsVersion() '-- This will record the current windows version, whether the OS is 32 bit or 64 bit, and the Access version for the person logging in. Dim stg As String Dim fso As FileSystemObject Dim int3264 As Integer Dim stgWindowsVersion As String Dim stgAccessVersion As String Set fso = CreateObject("Scripting.FileSystemObject") If fso.FolderExists("C:\Windows\sysWOW64") = True Then int3264 = 64 Else int3264 = 32 End If stgWindowsVersion = WindowsVersion stgAccessVersion = Application.Version & " - " & Application.Build stg = "UPDATE tblPeopleMain SET" _ & " versionWindows = '" & stgWindowsVersion & "'," _ & " version3264 = " & int3264 & "," _ & " versionAccess = '" & stgAccessVersion & "'" _ & " WHERE PeopleID = " & GV.CurrentPeopleID CurrentDB.Execute stg, dbSeeChanges Or dbFailOnError Set fso = Nothing End Sub '----------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, May 27, 2013 12:31 PM To: Access Developers discussion and problem Subject: [AccessD] Determining 64-bit OS This was raised in a linkedin group some of us belong to, and it's making me irritated. I can't find any way to reliably identify a 64-bit Win version when running 32-bit Office. On my machine with that configuration, the Win64 constant is always false! Any suggestions from the brain trust? Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Mon May 27 13:27:13 2013 From: df.waters at comcast.net (Dan Waters) Date: Mon, 27 May 2013 13:27:13 -0500 Subject: [AccessD] Determining 64-bit OS In-Reply-To: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> References: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> Message-ID: <000a01ce5b07$cf6cb630$6e462290$@comcast.net> Forgot to include: '-------------------------------- Option Compare Database Option Explicit Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * 128 End Type Public Declare Function GetVersionExA Lib "kernel32" (lpVersionInformation As OSVERSIONINFO) As Integer Public Function WindowsVersion() As String Dim osinfo As OSVERSIONINFO Dim retvalue As Integer osinfo.dwOSVersionInfoSize = 148 osinfo.szCSDVersion = Space$(128) retvalue = GetVersionExA(osinfo) WindowsVersion = osinfo.dwMajorVersion & "." & osinfo.dwMinorVersion & " Build (" & osinfo.dwBuildNumber & ") " & fTrimNull(osinfo.szCSDVersion) End Function Private Function fTrimNull(strIn As String) As String Dim intPos As Integer intPos = InStr(1, strIn, vbNullChar) If intPos <> 0 Then fTrimNull = Mid$(strIn, 1, intPos - 1) Else fTrimNull = strIn End If End Function '--------------------------------------------- From dbdoug at gmail.com Mon May 27 14:11:47 2013 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 27 May 2013 12:11:47 -0700 Subject: [AccessD] Dropbox/MS Access problem. Message-ID: I got a baffled call from a client this morning, wanting to know why I had changed their back end from an .mdb file to an .accdb file. I said I had downloaded the accdb file from their Dropbox account to work on it. The client said they didn't have an accdb file on Dropbox. Assuming that I had had (yet another) senior moment, I logged in and sure enough, the copy of the back end was definitely an mdb. Then, before my very eyes, as soon as I clicked on the mdb file to download it, Dropbox changed the extension to 'accdb' on my computer (which only has Office 2010 installed). Arghhh! I checked, and Dropbox doesn't do any conversion - it's just an mdb with the wrong extension. So be warned! Doug From charlotte.foust at gmail.com Mon May 27 15:13:29 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 27 May 2013 13:13:29 -0700 Subject: [AccessD] Determining 64-bit OS In-Reply-To: <000a01ce5b07$cf6cb630$6e462290$@comcast.net> References: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> <000a01ce5b07$cf6cb630$6e462290$@comcast.net> Message-ID: I knew I was missing something simple! Thanks. Charlotte On Mon, May 27, 2013 at 11:27 AM, Dan Waters wrote: > Forgot to include: > > '-------------------------------- > Option Compare Database > Option Explicit > > Private Type OSVERSIONINFO > dwOSVersionInfoSize As Long > dwMajorVersion As Long > dwMinorVersion As Long > dwBuildNumber As Long > dwPlatformId As Long > szCSDVersion As String * 128 > End Type > > Public Declare Function GetVersionExA Lib "kernel32" (lpVersionInformation > As OSVERSIONINFO) As Integer > > Public Function WindowsVersion() As String > > Dim osinfo As OSVERSIONINFO > Dim retvalue As Integer > > osinfo.dwOSVersionInfoSize = 148 > osinfo.szCSDVersion = Space$(128) > retvalue = GetVersionExA(osinfo) > > WindowsVersion = osinfo.dwMajorVersion & "." & osinfo.dwMinorVersion & > " > Build (" & osinfo.dwBuildNumber & ") " & fTrimNull(osinfo.szCSDVersion) > > End Function > > Private Function fTrimNull(strIn As String) As String > > Dim intPos As Integer > > intPos = InStr(1, strIn, vbNullChar) > > If intPos <> 0 Then > fTrimNull = Mid$(strIn, 1, intPos - 1) > Else > fTrimNull = strIn > End If > > End Function > '--------------------------------------------- > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Mon May 27 20:38:57 2013 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 27 May 2013 21:38:57 -0400 Subject: [AccessD] Determining 64-bit OS In-Reply-To: References: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> <000a01ce5b07$cf6cb630$6e462290$@comcast.net> Message-ID: FYI: The win64 constant is not for the OS; it tells you if VBA is running 64 bit or 32 bit. Poorly named I know, but it's been a long tradition that they apparently did not want to break. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, May 27, 2013 04:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Determining 64-bit OS I knew I was missing something simple! Thanks. Charlotte On Mon, May 27, 2013 at 11:27 AM, Dan Waters wrote: > Forgot to include: > > '-------------------------------- > Option Compare Database > Option Explicit > > Private Type OSVERSIONINFO > dwOSVersionInfoSize As Long > dwMajorVersion As Long > dwMinorVersion As Long > dwBuildNumber As Long > dwPlatformId As Long > szCSDVersion As String * 128 > End Type > > Public Declare Function GetVersionExA Lib "kernel32" (lpVersionInformation > As OSVERSIONINFO) As Integer > > Public Function WindowsVersion() As String > > Dim osinfo As OSVERSIONINFO > Dim retvalue As Integer > > osinfo.dwOSVersionInfoSize = 148 > osinfo.szCSDVersion = Space$(128) > retvalue = GetVersionExA(osinfo) > > WindowsVersion = osinfo.dwMajorVersion & "." & osinfo.dwMinorVersion & > " > Build (" & osinfo.dwBuildNumber & ") " & fTrimNull(osinfo.szCSDVersion) > > End Function > > Private Function fTrimNull(strIn As String) As String > > Dim intPos As Integer > > intPos = InStr(1, strIn, vbNullChar) > > If intPos <> 0 Then > fTrimNull = Mid$(strIn, 1, intPos - 1) > Else > fTrimNull = strIn > End If > > End Function > '--------------------------------------------- > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Mon May 27 22:20:13 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Mon, 27 May 2013 23:20:13 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? Message-ID: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> Hi this may well be long-ago-covered ground, but I am stuck in a relational database conundrum. Simple world, there are companies, they have associates (people), those people have events, and those events require notification circles. For example, a driver for a trucking company, may have a medical inspection, notification of the due date for which, is to be sent to the trucker as well as the company's dispatcher (so that, after a certain date, the dispatcher will remember not to send that trucker on any routes without proof of completed medical check). I am struggling over whether to make all events tied to the company with a FK, or whether to make all events tied to an Associate, thus only indirectly tied to the Company. The reason for my second-guessing the latter approach, which on the face of things seems obvious, is scalability. Suppose there are certain kinds of events which are not related to associates, but based on the company itself. I can't think of too many of examples of these off-hand, but for example, certain marketing oriented events, or billing related events, might be worth tracking. If I chose the other approach, to work at a Company level, create an Event for that company, then choose the Associate(s) for whom the Event mattered, then it seems all bases would be covered. Am I right in leaning towards the latter approach? From vbacreations at gmail.com Mon May 27 22:22:15 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Mon, 27 May 2013 23:22:15 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? Message-ID: <00d901ce5b52$8da2ddb0$a8e89910$@gmail.com> I realize I have used "latter approach" kind of ambiguously in the "latter" sentence. LOL (Lots of Latters)... -----Original Message----- From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] Sent: Monday, May 27, 2013 11:20 PM To: Access Developers discussion and problem solving Subject: A noun is a person place or thing - what is an Event? Hi this may well be long-ago-covered ground, but I am stuck in a relational database conundrum. Simple world, there are companies, they have associates (people), those people have events, and those events require notification circles. For example, a driver for a trucking company, may have a medical inspection, notification of the due date for which, is to be sent to the trucker as well as the company's dispatcher (so that, after a certain date, the dispatcher will remember not to send that trucker on any routes without proof of completed medical check). I am struggling over whether to make all events tied to the company with a FK, or whether to make all events tied to an Associate, thus only indirectly tied to the Company. The reason for my second-guessing the latter approach, which on the face of things seems obvious, is scalability. Suppose there are certain kinds of events which are not related to associates, but based on the company itself. I can't think of too many of examples of these off-hand, but for example, certain marketing oriented events, or billing related events, might be worth tracking. If I chose the other approach, to work at a Company level, create an Event for that company, then choose the Associate(s) for whom the Event mattered, then it seems all bases would be covered. Am I right in leaning towards the latter approach? From darryl at whittleconsulting.com.au Mon May 27 22:45:07 2013 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 28 May 2013 03:45:07 +0000 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> References: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> Message-ID: <56653D383CB80341995245C537A9E7B54BFBB36A@SINPRD0410MB381.apcprd04.prod.outlook.com> Don't tie the events to anything. You have Events (one table) You have People (2nd Table) You have Company (3rd Table) You can then set up a 4th table which combine all 3 (Just on their PK of course) that is created, updated as the data is entered. Say Table "tblEventSent" Then you can send "Event 1" to Person1, Person4 and Company 3 (for this demo I will assume that the company Key is prefixed with 100) So your "Event Sent" table will look something like (Event, Target) 1,1 1,4 1,103 Then you can search for which event went where (So E1 was sent to P1, P4 and C3), Which People got what event? (P1 and P4 got E1) Which company got what event? (C3 got E1) Clearly in the real world you would add more smarts like Issue date, expiry date and other constrains that are relevant to the event. But on a simple level, Does that makes sense? Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Tuesday, 28 May 2013 1:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A noun is a person place or thing - what is an Event? Hi this may well be long-ago-covered ground, but I am stuck in a relational database conundrum. Simple world, there are companies, they have associates (people), those people have events, and those events require notification circles. For example, a driver for a trucking company, may have a medical inspection, notification of the due date for which, is to be sent to the trucker as well as the company's dispatcher (so that, after a certain date, the dispatcher will remember not to send that trucker on any routes without proof of completed medical check). I am struggling over whether to make all events tied to the company with a FK, or whether to make all events tied to an Associate, thus only indirectly tied to the Company. The reason for my second-guessing the latter approach, which on the face of things seems obvious, is scalability. Suppose there are certain kinds of events which are not related to associates, but based on the company itself. I can't think of too many of examples of these off-hand, but for example, certain marketing oriented events, or billing related events, might be worth tracking. If I chose the other approach, to work at a Company level, create an Event for that company, then choose the Associate(s) for whom the Event mattered, then it seems all bases would be covered. Am I right in leaning towards the latter approach? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Mon May 27 22:52:43 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 27 May 2013 23:52:43 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: <00d901ce5b52$8da2ddb0$a8e89910$@gmail.com> References: <00d901ce5b52$8da2ddb0$a8e89910$@gmail.com> Message-ID: One possibility is to include an EventType column, with one value identifying company events such as the annual picnic and another value identifying employee events. Depending on that value, you could switch the rowsource of the combobox to suit. Both types of events could reside in a single table, with queries identifying one type or the other. Just a thought. Arthur On Mon, May 27, 2013 at 11:22 PM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I realize I have used "latter approach" kind of ambiguously in the "latter" > sentence. > > > LOL (Lots of Latters)... > > -----Original Message----- > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] > Sent: Monday, May 27, 2013 11:20 PM > To: Access Developers discussion and problem solving > Subject: A noun is a person place or thing - what is an Event? > > Hi this may well be long-ago-covered ground, but I am stuck in a relational > database conundrum. > > Simple world, there are companies, they have associates (people), those > people have events, and those events require notification circles. > > For example, a driver for a trucking company, may have a medical > inspection, > notification of the due date for which, is to be sent to the trucker as > well > as the company's dispatcher (so that, after a certain date, the dispatcher > will remember not to send that trucker on any routes without proof of > completed medical check). > > I am struggling over whether to make all events tied to the company with a > FK, or whether to make all events tied to an Associate, thus only > indirectly > tied to the Company. > > The reason for my second-guessing the latter approach, which on the face of > things seems obvious, is scalability. Suppose there are certain kinds of > events which are not related to associates, but based on the company > itself. > I can't think of too many of examples of these off-hand, but for example, > certain marketing oriented events, or billing related events, might be > worth > tracking. > > If I chose the other approach, to work at a Company level, create an Event > for that company, then choose the Associate(s) for whom the Event mattered, > then it seems all bases would be covered. > > Am I right in leaning towards the latter approach? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From stuart at lexacorp.com.pg Mon May 27 22:53:00 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 May 2013 13:53:00 +1000 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> References: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> Message-ID: <51A42A1C.14049.38DF109D@stuart.lexacorp.com.pg> Can an event relate to multiple associates in different companies? i.e. six people from each of four different companies all attend the same seminar? If so, I'd go with an Event table and a link table containing eventID and associateID. Alternatively make your link table: EventID LevelFlag ConcernedPartyID where LevelFlag is C]ompany or A]ssociate and the value of that flag is used to determine which table is linked. -- Stuart On 27 May 2013 at 23:20, William Benson (VBACreations. wrote: > Hi this may well be long-ago-covered ground, but I am stuck in a relational > database conundrum. > > Simple world, there are companies, they have associates (people), those > people have events, and those events require notification circles. > > For example, a driver for a trucking company, may have a medical inspection, > notification of the due date for which, is to be sent to the trucker as well > as the company's dispatcher (so that, after a certain date, the dispatcher > will remember not to send that trucker on any routes without proof of > completed medical check). > > I am struggling over whether to make all events tied to the company with a > FK, or whether to make all events tied to an Associate, thus only indirectly > tied to the Company. > > The reason for my second-guessing the latter approach, which on the face of > things seems obvious, is scalability. Suppose there are certain kinds of > events which are not related to associates, but based on the company itself. > I can't think of too many of examples of these off-hand, but for example, > certain marketing oriented events, or billing related events, might be worth > tracking. > > If I chose the other approach, to work at a Company level, create an Event > for that company, then choose the Associate(s) for whom the Event mattered, > then it seems all bases would be covered. > > Am I right in leaning towards the latter approach? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue May 28 02:54:06 2013 From: vbacreations at gmail.com (William Benson) Date: Tue, 28 May 2013 03:54:06 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: <51A42A1C.14049.38DF109D@stuart.lexacorp.com.pg> References: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> <51A42A1C.14049.38DF109D@stuart.lexacorp.com.pg> Message-ID: An event cannot apply to muliple companies. On May 27, 2013 11:54 PM, "Stuart McLachlan" wrote: > Can an event relate to multiple associates in different companies? > > i.e. six people from each of four different companies all attend the same > seminar? > > If so, I'd go with an Event table and a link table containing eventID and > associateID. > > Alternatively make your link table: > > EventID > LevelFlag > ConcernedPartyID > > where LevelFlag is C]ompany or A]ssociate and the value of that flag is > used to determine > which table is linked. > > -- > Stuart > > On 27 May 2013 at 23:20, William Benson (VBACreations. wrote: > > > Hi this may well be long-ago-covered ground, but I am stuck in a > relational > > database conundrum. > > > > Simple world, there are companies, they have associates (people), those > > people have events, and those events require notification circles. > > > > For example, a driver for a trucking company, may have a medical > inspection, > > notification of the due date for which, is to be sent to the trucker as > well > > as the company's dispatcher (so that, after a certain date, the > dispatcher > > will remember not to send that trucker on any routes without proof of > > completed medical check). > > > > I am struggling over whether to make all events tied to the company with > a > > FK, or whether to make all events tied to an Associate, thus only > indirectly > > tied to the Company. > > > > The reason for my second-guessing the latter approach, which on the face > of > > things seems obvious, is scalability. Suppose there are certain kinds of > > events which are not related to associates, but based on the company > itself. > > I can't think of too many of examples of these off-hand, but for example, > > certain marketing oriented events, or billing related events, might be > worth > > tracking. > > > > If I chose the other approach, to work at a Company level, create an > Event > > for that company, then choose the Associate(s) for whom the Event > mattered, > > then it seems all bases would be covered. > > > > Am I right in leaning towards the latter approach? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Tue May 28 06:50:10 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 28 May 2013 07:50:10 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: Message-ID: Doug, Do you happen to have the "save files as accdb" turned on? I just loaded Acc2010 recently and each file I looked at got saved with accdb. I then set the "save files as 2003 or similar and I then had mdb files. I'm wondering if your default/current setting is 2007/2010, then you might get accdb automatically. ie nothing to do with dropbox??? jack On Mon, May 27, 2013 at 3:11 PM, Doug Steele wrote: > I got a baffled call from a client this morning, wanting to know why I had > changed their back end from an .mdb file to an .accdb file. > > I said I had downloaded the accdb file from their Dropbox account to work > on it. The client said they didn't have an accdb file on Dropbox. > > Assuming that I had had (yet another) senior moment, I logged in and sure > enough, the copy of the back end was definitely an mdb. > > Then, before my very eyes, as soon as I clicked on the mdb file to download > it, Dropbox changed the extension to 'accdb' on my computer (which only has > Office 2010 installed). Arghhh! > > I checked, and Dropbox doesn't do any conversion - it's just an mdb with > the wrong extension. So be warned! > > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue May 28 06:59:42 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 28 May 2013 07:59:42 -0400 Subject: [AccessD] Questions about Attachments Message-ID: A potential client wants an app whose principal table contains addresses and three pictures per address. Normally my first suggestion would be to store the pictures as JPG files and pointers to the pictures either in a multi-value field or in an associative table (AddressID, PictureName). But the client seems to want the pictures stored as attachments in the Addresses table. I have very little experience working with Attachments, other than reading through Helen Feddema's example code. 1. Assuming that I walk the directory containing the pictures and have a method of knowing which pictures belong to each Address, how can I programmatically move the picture into the Address as an attachment? 2. Assuming that the pictures are now Attachments, can I extract them for inclusion in a report? I.e. print each Address and its pictures. 3. I'm told that once the photos have been taken, there will never be a need to edit them, but whenever I hear the word Never, I reach for my revolver. Should that need ever arise, can one simply double-click the Attachment of interest and automatically invoke the appropriate editor? I.e. this question could apply equally to pictures and, say, Word documents. TIA, Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jackandpat.d at gmail.com Tue May 28 07:02:20 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Tue, 28 May 2013 08:02:20 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: References: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> <51A42A1C.14049.38DF109D@stuart.lexacorp.com.pg> Message-ID: Are the items of info collected at the various Events similar? You may want to investigate subtype/supertype. see http://technet.microsoft.com/en-us/library/cc505839.aspx http://stackoverflow.com/questions/7044448/supertype-subtype-database-schema-question http://www.crcnetbase.com/doi/abs/10.1201/9780203486054.ch8 Your Events,reminded me of the Generalization Vehicles for Trains, Planes and Automobiles. jack On Tue, May 28, 2013 at 3:54 AM, William Benson wrote: > An event cannot apply to muliple companies. > On May 27, 2013 11:54 PM, "Stuart McLachlan" > wrote: > > > Can an event relate to multiple associates in different companies? > > > > i.e. six people from each of four different companies all attend the same > > seminar? > > > > If so, I'd go with an Event table and a link table containing eventID and > > associateID. > > > > Alternatively make your link table: > > > > EventID > > LevelFlag > > ConcernedPartyID > > > > where LevelFlag is C]ompany or A]ssociate and the value of that flag is > > used to determine > > which table is linked. > > > > -- > > Stuart > > > > On 27 May 2013 at 23:20, William Benson (VBACreations. wrote: > > > > > Hi this may well be long-ago-covered ground, but I am stuck in a > > relational > > > database conundrum. > > > > > > Simple world, there are companies, they have associates (people), those > > > people have events, and those events require notification circles. > > > > > > For example, a driver for a trucking company, may have a medical > > inspection, > > > notification of the due date for which, is to be sent to the trucker as > > well > > > as the company's dispatcher (so that, after a certain date, the > > dispatcher > > > will remember not to send that trucker on any routes without proof of > > > completed medical check). > > > > > > I am struggling over whether to make all events tied to the company > with > > a > > > FK, or whether to make all events tied to an Associate, thus only > > indirectly > > > tied to the Company. > > > > > > The reason for my second-guessing the latter approach, which on the > face > > of > > > things seems obvious, is scalability. Suppose there are certain kinds > of > > > events which are not related to associates, but based on the company > > itself. > > > I can't think of too many of examples of these off-hand, but for > example, > > > certain marketing oriented events, or billing related events, might be > > worth > > > tracking. > > > > > > If I chose the other approach, to work at a Company level, create an > > Event > > > for that company, then choose the Associate(s) for whom the Event > > mattered, > > > then it seems all bases would be covered. > > > > > > Am I right in leaning towards the latter approach? > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Tue May 28 11:45:23 2013 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 28 May 2013 09:45:23 -0700 Subject: [AccessD] Questions about Attachments In-Reply-To: References: Message-ID: <004901ce5bc2$bfabe660$3f03b320$@cox.net> Arthur, My one experience with attachment fields was not good. Inherited a database using attachment fields for document storage. It was slow and had large back end file size. The customer wanted it faster. Due to the projected use of the system we decided to upsize to SQL Server. Attachment fields do not upsize. Neither do any of the other "new" field types introduced with Access 2007. My suggestion is to strongly encourage storing links in table to pictures in the file system. If the database is to work over a network it will slow down with the attachment fields. Not much information but a little experience. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, May 28, 2013 5:00 AM To: Access Developers discussion and problem solving Subject: [AccessD] Questions about Attachments A potential client wants an app whose principal table contains addresses and three pictures per address. Normally my first suggestion would be to store the pictures as JPG files and pointers to the pictures either in a multi-value field or in an associative table (AddressID, PictureName). But the client seems to want the pictures stored as attachments in the Addresses table. I have very little experience working with Attachments, other than reading through Helen Feddema's example code. 1. Assuming that I walk the directory containing the pictures and have a method of knowing which pictures belong to each Address, how can I programmatically move the picture into the Address as an attachment? 2. Assuming that the pictures are now Attachments, can I extract them for inclusion in a report? I.e. print each Address and its pictures. 3. I'm told that once the photos have been taken, there will never be a need to edit them, but whenever I hear the word Never, I reach for my revolver. Should that need ever arise, can one simply double-click the Attachment of interest and automatically invoke the appropriate editor? I.e. this question could apply equally to pictures and, say, Word documents. TIA, Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Tue May 28 11:50:29 2013 From: vbacreations at gmail.com (William Benson) Date: Tue, 28 May 2013 12:50:29 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: References: <00d801ce5b52$455e7ff0$d01b7fd0$@gmail.com> <51A42A1C.14049.38DF109D@stuart.lexacorp.com.pg> Message-ID: Thanks All , I need time to digest responses. Critical at this stage to pick the right design, going back and changing later will be painful. Hopefully the choice is more arbitrary. I am so far leaning towards advice already given that an Event item stands on its own in an Event table and may have as many relationships to associates within a company as I care to populate into a cross table. On May 28, 2013 8:04 AM, "jack drawbridge" wrote: > Are the items of info collected at the various Events similar? You may want > to investigate subtype/supertype. > see > http://technet.microsoft.com/en-us/library/cc505839.aspx > > http://stackoverflow.com/questions/7044448/supertype-subtype-database-schema-question > http://www.crcnetbase.com/doi/abs/10.1201/9780203486054.ch8 > > Your Events,reminded me of the Generalization Vehicles for Trains, Planes > and Automobiles. > jack > > On Tue, May 28, 2013 at 3:54 AM, William Benson >wrote: > > > An event cannot apply to muliple companies. > > On May 27, 2013 11:54 PM, "Stuart McLachlan" > > wrote: > > > > > Can an event relate to multiple associates in different companies? > > > > > > i.e. six people from each of four different companies all attend the > same > > > seminar? > > > > > > If so, I'd go with an Event table and a link table containing eventID > and > > > associateID. > > > > > > Alternatively make your link table: > > > > > > EventID > > > LevelFlag > > > ConcernedPartyID > > > > > > where LevelFlag is C]ompany or A]ssociate and the value of that flag is > > > used to determine > > > which table is linked. > > > > > > -- > > > Stuart > > > > > > On 27 May 2013 at 23:20, William Benson (VBACreations. wrote: > > > > > > > Hi this may well be long-ago-covered ground, but I am stuck in a > > > relational > > > > database conundrum. > > > > > > > > Simple world, there are companies, they have associates (people), > those > > > > people have events, and those events require notification circles. > > > > > > > > For example, a driver for a trucking company, may have a medical > > > inspection, > > > > notification of the due date for which, is to be sent to the trucker > as > > > well > > > > as the company's dispatcher (so that, after a certain date, the > > > dispatcher > > > > will remember not to send that trucker on any routes without proof of > > > > completed medical check). > > > > > > > > I am struggling over whether to make all events tied to the company > > with > > > a > > > > FK, or whether to make all events tied to an Associate, thus only > > > indirectly > > > > tied to the Company. > > > > > > > > The reason for my second-guessing the latter approach, which on the > > face > > > of > > > > things seems obvious, is scalability. Suppose there are certain kinds > > of > > > > events which are not related to associates, but based on the company > > > itself. > > > > I can't think of too many of examples of these off-hand, but for > > example, > > > > certain marketing oriented events, or billing related events, might > be > > > worth > > > > tracking. > > > > > > > > If I chose the other approach, to work at a Company level, create an > > > Event > > > > for that company, then choose the Associate(s) for whom the Event > > > mattered, > > > > then it seems all bases would be covered. > > > > > > > > Am I right in leaning towards the latter approach? > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue May 28 11:53:27 2013 From: vbacreations at gmail.com (William Benson) Date: Tue, 28 May 2013 12:53:27 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: References: <00d901ce5b52$8da2ddb0$a8e89910$@gmail.com> Message-ID: I like this approach because if more associates are added later they would not get left out. Super good forward thinking thinking Arthur. On May 27, 2013 11:53 PM, "Arthur Fuller" wrote: > One possibility is to include an EventType column, with one value > identifying company events such as the annual picnic and another value > identifying employee events. Depending on that value, you could switch the > rowsource of the combobox to suit. Both types of events could reside in a > single table, with queries identifying one type or the other. Just a > thought. > > Arthur > > > On Mon, May 27, 2013 at 11:22 PM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > > > I realize I have used "latter approach" kind of ambiguously in the > "latter" > > sentence. > > > > > > LOL (Lots of Latters)... > > > > -----Original Message----- > > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com] > > Sent: Monday, May 27, 2013 11:20 PM > > To: Access Developers discussion and problem solving > > Subject: A noun is a person place or thing - what is an Event? > > > > Hi this may well be long-ago-covered ground, but I am stuck in a > relational > > database conundrum. > > > > Simple world, there are companies, they have associates (people), those > > people have events, and those events require notification circles. > > > > For example, a driver for a trucking company, may have a medical > > inspection, > > notification of the due date for which, is to be sent to the trucker as > > well > > as the company's dispatcher (so that, after a certain date, the > dispatcher > > will remember not to send that trucker on any routes without proof of > > completed medical check). > > > > I am struggling over whether to make all events tied to the company with > a > > FK, or whether to make all events tied to an Associate, thus only > > indirectly > > tied to the Company. > > > > The reason for my second-guessing the latter approach, which on the face > of > > things seems obvious, is scalability. Suppose there are certain kinds of > > events which are not related to associates, but based on the company > > itself. > > I can't think of too many of examples of these off-hand, but for example, > > certain marketing oriented events, or billing related events, might be > > worth > > tracking. > > > > If I chose the other approach, to work at a Company level, create an > Event > > for that company, then choose the Associate(s) for whom the Event > mattered, > > then it seems all bases would be covered. > > > > Am I right in leaning towards the latter approach? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue May 28 12:37:42 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 28 May 2013 13:37:42 -0400 Subject: [AccessD] A noun is a person place or thing - what is an Event? In-Reply-To: References: <00d901ce5b52$8da2ddb0$a8e89910$@gmail.com> Message-ID: Aw.... you flatter me, William! LOL. On Tue, May 28, 2013 at 12:53 PM, William Benson wrote: > I like this approach because if more associates are added later they would > not get left out. Super good forward thinking thinking Arthur. > On May 27, 2013 11:53 PM, "Arthur Fuller" wrote: > > > One possibility is to include an EventType column, with one value > > identifying company events such as the annual picnic and another value > > identifying employee events. Depending on that value, you could switch > the > > rowsource of the combobox to suit. Both types of events could reside in a > > single table, with queries identifying one type or the other. Just a > > thought. > > > > Arthur > > > > > > On Mon, May 27, 2013 at 11:22 PM, William Benson (VBACreations.Com) < > > vbacreations at gmail.com> wrote: > > > > > I realize I have used "latter approach" kind of ambiguously in the > > "latter" > > > sentence. > > > > > > > > > LOL (Lots of Latters)... > > > > > > -----Original Message----- > > > From: William Benson (VBACreations.Com) [mailto:vbacreations at gmail.com > ] > > > Sent: Monday, May 27, 2013 11:20 PM > > > To: Access Developers discussion and problem solving > > > Subject: A noun is a person place or thing - what is an Event? > > > > > > Hi this may well be long-ago-covered ground, but I am stuck in a > > relational > > > database conundrum. > > > > > > Simple world, there are companies, they have associates (people), those > > > people have events, and those events require notification circles. > > > > > > For example, a driver for a trucking company, may have a medical > > > inspection, > > > notification of the due date for which, is to be sent to the trucker as > > > well > > > as the company's dispatcher (so that, after a certain date, the > > dispatcher > > > will remember not to send that trucker on any routes without proof of > > > completed medical check). > > > > > > I am struggling over whether to make all events tied to the company > with > > a > > > FK, or whether to make all events tied to an Associate, thus only > > > indirectly > > > tied to the Company. > > > > > > The reason for my second-guessing the latter approach, which on the > face > > of > > > things seems obvious, is scalability. Suppose there are certain kinds > of > > > events which are not related to associates, but based on the company > > > itself. > > > I can't think of too many of examples of these off-hand, but for > example, > > > certain marketing oriented events, or billing related events, might be > > > worth > > > tracking. > > > > > > If I chose the other approach, to work at a Company level, create an > > Event > > > for that company, then choose the Associate(s) for whom the Event > > mattered, > > > then it seems all bases would be covered. > > > > > > Am I right in leaning towards the latter approach? > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From davidmcafee at gmail.com Tue May 28 12:51:40 2013 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 28 May 2013 10:51:40 -0700 Subject: [AccessD] Questions about Attachments In-Reply-To: <004901ce5bc2$bfabe660$3f03b320$@cox.net> References: <004901ce5bc2$bfabe660$3f03b320$@cox.net> Message-ID: In one of my ADPs, I have a form where a person can add an picture attachment to a machine's history. The form has a button where they can choose the attachment. I simply copy and paste the file (which is also renamed to a generated guid + file extension) to a location on a file server. I insert the file name and the record's PK into a junction table (as a foreign key) then call it as needed. On Tue, May 28, 2013 at 9:45 AM, Doug Murphy wrote: > Arthur, > > My one experience with attachment fields was not good. Inherited a database > using attachment fields for document storage. It was slow and had large > back > end file size. The customer wanted it faster. Due to the projected use of > the system we decided to upsize to SQL Server. Attachment fields do not > upsize. Neither do any of the other "new" field types introduced with > Access > 2007. My suggestion is to strongly encourage storing links in table to > pictures in the file system. If the database is to work over a network it > will slow down with the attachment fields. > > Not much information but a little experience. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Tuesday, May 28, 2013 5:00 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Questions about Attachments > > A potential client wants an app whose principal table contains addresses > and > three pictures per address. Normally my first suggestion would be to store > the pictures as JPG files and pointers to the pictures either in a > multi-value field or in an associative table (AddressID, PictureName). But > the client seems to want the pictures stored as attachments in the > Addresses > table. I have very little experience working with Attachments, other than > reading through Helen Feddema's example code. > > 1. Assuming that I walk the directory containing the pictures and have a > method of knowing which pictures belong to each Address, how can I > programmatically move the picture into the Address as an attachment? > 2. Assuming that the pictures are now Attachments, can I extract them for > inclusion in a report? I.e. print each Address and its pictures. > 3. I'm told that once the photos have been taken, there will never be a > need > to edit them, but whenever I hear the word Never, I reach for my revolver. > Should that need ever arise, can one simply double-click the Attachment of > interest and automatically invoke the appropriate editor? > I.e. this question could apply equally to pictures and, say, Word > documents. > > TIA, > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue May 28 12:54:40 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 28 May 2013 13:54:40 -0400 Subject: [AccessD] Questions about Attachments In-Reply-To: References: <004901ce5bc2$bfabe660$3f03b320$@cox.net> Message-ID: Thanks, David. I'll incorporate your thoughts in my RFQ. Arthur On Tue, May 28, 2013 at 1:51 PM, David McAfee wrote: > In one of my ADPs, I have a form where a person can add an picture > attachment to a machine's history. > > The form has a button where they can choose the attachment. > > I simply copy and paste the file (which is also renamed to a generated guid > + file extension) to a location on a file server. > I insert the file name and the record's PK into a junction table (as a > foreign key) then call it as needed. > > > > > On Tue, May 28, 2013 at 9:45 AM, Doug Murphy wrote: > > > Arthur, > > > > My one experience with attachment fields was not good. Inherited a > database > > using attachment fields for document storage. It was slow and had large > > back > > end file size. The customer wanted it faster. Due to the projected use of > > the system we decided to upsize to SQL Server. Attachment fields do not > > upsize. Neither do any of the other "new" field types introduced with > > Access > > 2007. My suggestion is to strongly encourage storing links in table to > > pictures in the file system. If the database is to work over a network > it > > will slow down with the attachment fields. > > > > Not much information but a little experience. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > > Sent: Tuesday, May 28, 2013 5:00 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Questions about Attachments > > > > A potential client wants an app whose principal table contains addresses > > and > > three pictures per address. Normally my first suggestion would be to > store > > the pictures as JPG files and pointers to the pictures either in a > > multi-value field or in an associative table (AddressID, PictureName). > But > > the client seems to want the pictures stored as attachments in the > > Addresses > > table. I have very little experience working with Attachments, other than > > reading through Helen Feddema's example code. > > > > 1. Assuming that I walk the directory containing the pictures and have a > > method of knowing which pictures belong to each Address, how can I > > programmatically move the picture into the Address as an attachment? > > 2. Assuming that the pictures are now Attachments, can I extract them for > > inclusion in a report? I.e. print each Address and its pictures. > > 3. I'm told that once the photos have been taken, there will never be a > > need > > to edit them, but whenever I hear the word Never, I reach for my > revolver. > > Should that need ever arise, can one simply double-click the Attachment > of > > interest and automatically invoke the appropriate editor? > > I.e. this question could apply equally to pictures and, say, Word > > documents. > > > > TIA, > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jimdettman at verizon.net Tue May 28 13:46:21 2013 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 28 May 2013 14:46:21 -0400 Subject: [AccessD] Questions about Attachments In-Reply-To: References: <004901ce5bc2$bfabe660$3f03b320$@cox.net> Message-ID: <818BC5ED86CB43D293072AE6730F6817@XPS> Arthur, As the others have said, I would avoid the attachment data type. I know on EE there have been a few that used this control: http://www.ammara.com/ And really liked it. It will store images directly in BLOBs within the DB or as external files. It has a trail download so you can try it out. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, May 28, 2013 01:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about Attachments Thanks, David. I'll incorporate your thoughts in my RFQ. Arthur On Tue, May 28, 2013 at 1:51 PM, David McAfee wrote: > In one of my ADPs, I have a form where a person can add an picture > attachment to a machine's history. > > The form has a button where they can choose the attachment. > > I simply copy and paste the file (which is also renamed to a generated guid > + file extension) to a location on a file server. > I insert the file name and the record's PK into a junction table (as a > foreign key) then call it as needed. > > > > > On Tue, May 28, 2013 at 9:45 AM, Doug Murphy wrote: > > > Arthur, > > > > My one experience with attachment fields was not good. Inherited a > database > > using attachment fields for document storage. It was slow and had large > > back > > end file size. The customer wanted it faster. Due to the projected use of > > the system we decided to upsize to SQL Server. Attachment fields do not > > upsize. Neither do any of the other "new" field types introduced with > > Access > > 2007. My suggestion is to strongly encourage storing links in table to > > pictures in the file system. If the database is to work over a network > it > > will slow down with the attachment fields. > > > > Not much information but a little experience. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > > Sent: Tuesday, May 28, 2013 5:00 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Questions about Attachments > > > > A potential client wants an app whose principal table contains addresses > > and > > three pictures per address. Normally my first suggestion would be to > store > > the pictures as JPG files and pointers to the pictures either in a > > multi-value field or in an associative table (AddressID, PictureName). > But > > the client seems to want the pictures stored as attachments in the > > Addresses > > table. I have very little experience working with Attachments, other than > > reading through Helen Feddema's example code. > > > > 1. Assuming that I walk the directory containing the pictures and have a > > method of knowing which pictures belong to each Address, how can I > > programmatically move the picture into the Address as an attachment? > > 2. Assuming that the pictures are now Attachments, can I extract them for > > inclusion in a report? I.e. print each Address and its pictures. > > 3. I'm told that once the photos have been taken, there will never be a > > need > > to edit them, but whenever I hear the word Never, I reach for my > revolver. > > Should that need ever arise, can one simply double-click the Attachment > of > > interest and automatically invoke the appropriate editor? > > I.e. this question could apply equally to pictures and, say, Word > > documents. > > > > TIA, > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Tue May 28 14:02:58 2013 From: df.waters at comcast.net (Dan Waters) Date: Tue, 28 May 2013 14:02:58 -0500 Subject: [AccessD] Questions about Attachments In-Reply-To: References: <004901ce5bc2$bfabe660$3f03b320$@cox.net> Message-ID: <004501ce5bd5$f84f47b0$e8edd710$@comcast.net> Hi Arthur, Coincidence! Yesterday I wrote the following procedure to store photographs for a small inventory management system. I made the file name unique by incorporating the year, month, day, hour, minute, and second. I also included the unique Stock Number because someone invariably wants to directly find the file by the stock number name. There can be more than one photo for each stock number. CleanFileName is a library procedure used to strip illegal characters from the Stock Number which can't be used in a file name. Const IllegalCharacters As String = "#;:?/\+[]{}()<>`|^*~=@$!_~%" & """" & vbTab Procedure: '------------------------------ Private Sub butGetPhoto_Click() Dim stgFilePathOriginal As String Dim stgInventoryPhotoPath As String Dim fso As FileSystemObject Dim stgPhotoFileName As String Dim stgFilePathNew As String Dim stg As String Dim lngInventoryID As Long '-- Storing a new file stgFilePathOriginal = GetFilePath If stgFilePathOriginal = "" Then Exit Sub Set fso = CreateObject("Scripting.FileSystemObject") stgInventoryPhotoPath = CurrentProject.Path & "\InventoryPhotos\" If fso.FolderExists(stgInventoryPhotoPath) = False Then fso.CreateFolder stgInventoryPhotoPath End If stgPhotoFileName = "SN" & Me.Parent.txtStockNumber stgPhotoFileName = CleanFileName(stgPhotoFileName) stgPhotoFileName = Replace(stgPhotoFileName, " ", "") stgPhotoFileName = stgPhotoFileName & "_" & Format(Now(), "yyyy") & Format(Now(), "mm") & Format(Now(), "dd") & "_" & Format(Now(), "HhNnSs") stgFilePathNew = stgInventoryPhotoPath & stgPhotoFileName & "." & fso.GetExtensionName(stgFilePathOriginal) fso.CopyFile stgFilePathOriginal, stgFilePathNew, True '-- Save file path lngInventoryID = Me.Parent.txtInventoryID stg = "INSERT INTO tblPhotographs ( InventoryID, PhotoFilePath )" _ & " VALUES (" & lngInventoryID & ", '" & stgFilePathNew & "')" DBEngine(0)(0).Execute stg, dbSeeChanges Or dbFailOnError End Sub '----------------------------------------------------- From fuller.artful at gmail.com Tue May 28 15:20:13 2013 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 28 May 2013 16:20:13 -0400 Subject: [AccessD] Questions about Attachments In-Reply-To: <004501ce5bd5$f84f47b0$e8edd710$@comcast.net> References: <004901ce5bc2$bfabe660$3f03b320$@cox.net> <004501ce5bd5$f84f47b0$e8edd710$@comcast.net> Message-ID: Thanks, Dan. I'll give your code a spin and see if I like the result. At this writing, I'm still in favour of the pointer method rather than the attachment method, but I'm willing to entertain new ideas. Thanks. Arthur On Tue, May 28, 2013 at 3:02 PM, Dan Waters wrote: > Hi Arthur, > > Coincidence! Yesterday I wrote the following procedure to store > photographs > for a small inventory management system. I made the file name unique by > incorporating the year, month, day, hour, minute, and second. I also > included the unique Stock Number because someone invariably wants to > directly find the file by the stock number name. There can be more than > one > photo for each stock number. > > CleanFileName is a library procedure used to strip illegal characters from > the Stock Number which can't be used in a file name. > Const IllegalCharacters As String = "#;:?/\+[]{}()<>`|^*~=@$!_~%" & > """" > & vbTab > > Procedure: > '------------------------------ > Private Sub butGetPhoto_Click() > > Dim stgFilePathOriginal As String > Dim stgInventoryPhotoPath As String > Dim fso As FileSystemObject > Dim stgPhotoFileName As String > Dim stgFilePathNew As String > Dim stg As String > Dim lngInventoryID As Long > > '-- Storing a new file > stgFilePathOriginal = GetFilePath > If stgFilePathOriginal = "" Then Exit Sub > > Set fso = CreateObject("Scripting.FileSystemObject") > > stgInventoryPhotoPath = CurrentProject.Path & "\InventoryPhotos\" > If fso.FolderExists(stgInventoryPhotoPath) = False Then > fso.CreateFolder stgInventoryPhotoPath > End If > > stgPhotoFileName = "SN" & Me.Parent.txtStockNumber > stgPhotoFileName = CleanFileName(stgPhotoFileName) > stgPhotoFileName = Replace(stgPhotoFileName, " ", "") > stgPhotoFileName = stgPhotoFileName & "_" & Format(Now(), "yyyy") & > Format(Now(), "mm") & Format(Now(), "dd") & "_" & Format(Now(), "HhNnSs") > > stgFilePathNew = stgInventoryPhotoPath & stgPhotoFileName & "." & > fso.GetExtensionName(stgFilePathOriginal) > > fso.CopyFile stgFilePathOriginal, stgFilePathNew, True > > '-- Save file path > lngInventoryID = Me.Parent.txtInventoryID > stg = "INSERT INTO tblPhotographs ( InventoryID, PhotoFilePath )" _ > & " VALUES (" & lngInventoryID & ", '" & stgFilePathNew & "')" > DBEngine(0)(0).Execute stg, dbSeeChanges Or dbFailOnError > > End Sub > '----------------------------------------------------- > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From marksimms at verizon.net Tue May 28 22:13:35 2013 From: marksimms at verizon.net (Mark Simms) Date: Tue, 28 May 2013 23:13:35 -0400 Subject: [AccessD] Determining 64-bit OS In-Reply-To: References: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> <000a01ce5b07$cf6cb630$6e462290$@comcast.net> Message-ID: <016201ce5c1a$82377260$86a65720$@net> Re: "Poorly named I know, but it's been a long tradition that they apparently did not want to break." Just "HBB" - Horrible Beyond Belief. Just more of the stupidity of that CEO at MSFT....and his band of foreigners. Sorry to "vent". > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Monday, May 27, 2013 9:39 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Determining 64-bit OS > > > FYI: The win64 constant is not for the OS; it tells you if VBA is > running > 64 bit or 32 bit. > > Poorly named I know, but it's been a long tradition that they > apparently > did not want to break. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, May 27, 2013 04:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Determining 64-bit OS > > I knew I was missing something simple! Thanks. > > Charlotte > > On Mon, May 27, 2013 at 11:27 AM, Dan Waters > wrote: > > > Forgot to include: > > > > '-------------------------------- > > Option Compare Database > > Option Explicit > > > > Private Type OSVERSIONINFO > > dwOSVersionInfoSize As Long > > dwMajorVersion As Long > > dwMinorVersion As Long > > dwBuildNumber As Long > > dwPlatformId As Long > > szCSDVersion As String * 128 > > End Type > > > > Public Declare Function GetVersionExA Lib "kernel32" > (lpVersionInformation > > As OSVERSIONINFO) As Integer > > > > Public Function WindowsVersion() As String > > > > Dim osinfo As OSVERSIONINFO > > Dim retvalue As Integer > > > > osinfo.dwOSVersionInfoSize = 148 > > osinfo.szCSDVersion = Space$(128) > > retvalue = GetVersionExA(osinfo) > > > > WindowsVersion = osinfo.dwMajorVersion & "." & > osinfo.dwMinorVersion & > > " > > Build (" & osinfo.dwBuildNumber & ") " & > fTrimNull(osinfo.szCSDVersion) > > > > End Function > > > > Private Function fTrimNull(strIn As String) As String > > > > Dim intPos As Integer > > > > intPos = InStr(1, strIn, vbNullChar) > > > > If intPos <> 0 Then > > fTrimNull = Mid$(strIn, 1, intPos - 1) > > Else > > fTrimNull = strIn > > End If > > > > End Function > > '--------------------------------------------- > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed May 29 13:16:14 2013 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 29 May 2013 14:16:14 -0400 Subject: [AccessD] Citing entered data range on report In-Reply-To: <016201ce5c1a$82377260$86a65720$@net> References: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> <000a01ce5b07$cf6cb630$6e462290$@comcast.net> <016201ce5c1a$82377260$86a65720$@net> Message-ID: <51A60DAE0200006B0002D3B8@neblnx09.niagaracounty.com> I am creating this report for our DA's office, that let's them enter a start date and an ending date, and it shows all witness fees & mileage paid out for that range, with a total at the end. What I do not have though...and maybe I'm just having a brain-dead moment here...is the range that it covers. I'd like it to list the range somewhere on the report. Now, I did this the quick and easy way and had it based on a query, and it is in that query that I placed the spot for date entries, by putting the code, ">=[StartDate] And <=[EndDate]" in the date field. Is there a way to use this entered info, or do I need to create an input form and have the dates entered there? Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. From charlotte.foust at gmail.com Wed May 29 13:22:15 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 29 May 2013 11:22:15 -0700 Subject: [AccessD] Citing entered data range on report In-Reply-To: <51A60DAE0200006B0002D3B8@neblnx09.niagaracounty.com> References: <000901ce5b02$bd7fbad0$387f3070$@comcast.net> <000a01ce5b07$cf6cb630$6e462290$@comcast.net> <016201ce5c1a$82377260$86a65720$@net> <51A60DAE0200006B0002D3B8@neblnx09.niagaracounty.com> Message-ID: You could return the parameters in the query by creating an expression field for each. That would allow you to see it in the report, but I prefer to capture start and end dates in the form that selects the report and pass it into the report in OpenArgs. Charlotte On Wed, May 29, 2013 at 11:16 AM, John Clark wrote: > I am creating this report for our DA's office, that let's them enter a > start date and an ending date, and it shows all witness fees & mileage paid > out for that range, with a total at the end. What I do not have > though...and maybe I'm just having a brain-dead moment here...is the range > that it covers. I'd like it to list the range somewhere on the report. > > Now, I did this the quick and easy way and had it based on a query, and it > is in that query that I placed the spot for date entries, by putting the > code, ">=[StartDate] And <=[EndDate]" in the date field. Is there a way to > use this entered info, or do I need to create an input form and have the > dates entered there? > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, > is strictly prohibited. Niagara County is not responsible for the content > of any external hyperlink referenced in this email or any email. > IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > OR ELECTRONIC COPIES. > Thank you for your cooperation. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Wed May 29 16:42:01 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 30 May 2013 07:42:01 +1000 Subject: [AccessD] Citing entered data range on report In-Reply-To: References: , <51A60DAE0200006B0002D3B8@neblnx09.niagaracounty.com>, Message-ID: <51A67629.23223.41D82FA1@stuart.lexacorp.com.pg> Charlotte's "two expressions in the query" is the simplest way to go based on your current paramter input method, but I'd go with a simple form that captures the start and end dates instead - it is extensible in future if you want a choice of reports or the option to view/print preview/print the report. In the second situtation, I don't pass the dates as OpenArgs, I create a couple of status functions which are set in the code which calls the report use and are used as sriterai in the the query. -- Stuart On 29 May 2013 at 11:22, Charlotte Foust wrote: > You could return the parameters in the query by creating an expression > field for each. That would allow you to see it in the report, but I prefer > to capture start and end dates in the form that selects the report and pass > it into the report in OpenArgs. > > Charlotte > > On Wed, May 29, 2013 at 11:16 AM, John Clark > wrote: > > > I am creating this report for our DA's office, that let's them enter a > > start date and an ending date, and it shows all witness fees & mileage paid > > out for that range, with a total at the end. What I do not have > > though...and maybe I'm just having a brain-dead moment here...is the range > > that it covers. I'd like it to list the range somewhere on the report. > > > > Now, I did this the quick and easy way and had it based on a query, and it > > is in that query that I placed the spot for date entries, by putting the > > code, ">=[StartDate] And <=[EndDate]" in the date field. Is there a way to > > use this entered info, or do I need to create an input form and have the > > dates entered there? > > > > Notice: This electronic transmission is intended for the sole use of the > > individual or entity to which it is addressed and may contain confidential, > > privileged or otherwise legally protected information. If you are not the > > intended recipient, or if you believe you are not the intended recipient, > > you are hereby notified that any use, disclosure, copying, distribution, or > > the taking of any action in reliance on the contents of this information, > > is strictly prohibited. Niagara County is not responsible for the content > > of any external hyperlink referenced in this email or any email. > > IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > > OR ELECTRONIC COPIES. > > Thank you for your cooperation. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Thu May 30 00:18:47 2013 From: vbacreations at gmail.com (William Benson) Date: Thu, 30 May 2013 01:18:47 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: Message-ID: If you open an mdb and work on it in access 2007/2010 appli cation, it should leave it as an mdb unless you convert it. The setting you mentioned is supposed to deal with new databases, not magically convert and upgrade existing databases. That wouls create chaos in multiuser environments. That just seems wrong. It has to be how it is being published, not just worked in... ??? On May 28, 2013 7:52 AM, "jack drawbridge" wrote: > Doug, > > Do you happen to have the "save files as accdb" turned on? I just loaded > Acc2010 recently and each file I looked at got saved with accdb. I then set > the "save files as 2003 or similar and I then had mdb files. > I'm wondering if your default/current setting is 2007/2010, then you might > get accdb automatically. ie nothing to do with dropbox??? > jack > > On Mon, May 27, 2013 at 3:11 PM, Doug Steele wrote: > > > I got a baffled call from a client this morning, wanting to know why I > had > > changed their back end from an .mdb file to an .accdb file. > > > > I said I had downloaded the accdb file from their Dropbox account to work > > on it. The client said they didn't have an accdb file on Dropbox. > > > > Assuming that I had had (yet another) senior moment, I logged in and sure > > enough, the copy of the back end was definitely an mdb. > > > > Then, before my very eyes, as soon as I clicked on the mdb file to > download > > it, Dropbox changed the extension to 'accdb' on my computer (which only > has > > Office 2010 installed). Arghhh! > > > > I checked, and Dropbox doesn't do any conversion - it's just an mdb with > > the wrong extension. So be warned! > > > > Doug > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Thu May 30 00:46:35 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 30 May 2013 01:46:35 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: Message-ID: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> Jack, where is toggle you mention? I cannot find any setting other than the one which controls new database formats. Beyond that, only the Save As command controls conversion format, as mentioned in this article. http://goo.gl/VJ63D Convert an Access 2000 or Access 2002 - 2003 database to the .accdb format To convert an Access 2000 or Access 2002 - 2003 database (.mdb) to the .accdb file format, you must first open the database by using Access 2007 or Access 2010, and then save it in the .accdb file format. 1.On the File tab, click Open. 2.In the Open dialog box, select and open the Access 2000 or Access 2002 - 2003 database (.mdb) that you want to convert. Note If the Database Enhancement dialog box appears, the database is using a file format that is earlier than Access 2000. To continue, see the section Convert an Access 97 database to the .accdb format. 3.On the File tab, click Save & Publish, and then, under Database File Types click Access Database (*.accdb). 4.Click Save As. If any database objects are open when you click Save As, Access prompts you to close them prior to creating the copy. Click Yes to make Access close the objects, or click No to cancel the entire process. If needed, Access will also prompt you to save any changes. 5.In the Save As dialog box, type a file name in the File name box, and then click Save. Access creates the copy of the database, and then opens the copy. Access automatically closes the original database. From: William Benson [mailto:vbacreations at gmail.com] Sent: Thursday, May 30, 2013 1:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dropbox/MS Access problem. If you open an mdb and work on it in access 2007/2010 appli cation, it should leave it as an mdb unless you convert it. The setting you mentioned is supposed to deal with new databases, not magically convert and upgrade existing databases. That wouls create chaos in multiuser environments. That just seems wrong. It has to be how it is being published, not just worked in... ??? On May 28, 2013 7:52 AM, "jack drawbridge" wrote: Doug, Do you happen to have the "save files as accdb" turned on? I just loaded Acc2010 recently and each file I looked at got saved with accdb. I then set the "save files as 2003 or similar and I then had mdb files. I'm wondering if your default/current setting is 2007/2010, then you might get accdb automatically. ie nothing to do with dropbox??? jack On Mon, May 27, 2013 at 3:11 PM, Doug Steele wrote: > I got a baffled call from a client this morning, wanting to know why I had > changed their back end from an .mdb file to an .accdb file. > > I said I had downloaded the accdb file from their Dropbox account to work > on it. The client said they didn't have an accdb file on Dropbox. > > Assuming that I had had (yet another) senior moment, I logged in and sure > enough, the copy of the back end was definitely an mdb. > > Then, before my very eyes, as soon as I clicked on the mdb file to download > it, Dropbox changed the extension to 'accdb' on my computer (which only has > Office 2010 installed). Arghhh! > > I checked, and Dropbox doesn't do any conversion - it's just an mdb with > the wrong extension. So be warned! > > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Thu May 30 09:27:45 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 30 May 2013 10:27:45 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> Message-ID: I don't recall specifically at the moment. I was having issues with new UI with 2010, and was happy and used to 2003. Each time I tried something, if i went to the other versio, Access was reloading the software, and I was getting frustrated -- have to wait seems 3-5 minutes to start the program each time. Whatever, I was doing, I was getting accdb files. When I look at the options now, I see it says format for blank database on the Options. So I'm not sure what I did. I don't open 2003 anymore so maybe I have corrected my own manual processes/procedures unknowingly. Sorry for being so vague, but my initial response was really trying to say -- perhaps you have some flag set to convert to accdb (that's what I thought my issue was). But doesn't appear to be any such flag. jack On Thu, May 30, 2013 at 1:46 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > Jack, where is toggle you mention? I cannot find any setting other than the > one which controls new database formats. Beyond that, only the Save As > command controls conversion format, as mentioned in this article. > http://goo.gl/VJ63D > > Convert an Access 2000 or Access 2002 - 2003 database to the .accdb format > To convert an Access 2000 or Access 2002 - 2003 database (.mdb) to the > .accdb file format, you must first open the database by using Access 2007 > or > Access 2010, and then save it in the .accdb file format. > 1.On the File tab, click Open. > 2.In the Open dialog box, select and open the Access 2000 or Access 2002 - > 2003 database (.mdb) that you want to convert. > Note If the Database Enhancement dialog box appears, the database is > using a file format that is earlier than Access 2000. To continue, see the > section Convert an Access 97 database to the .accdb format. > 3.On the File tab, click Save & Publish, and then, under Database File > Types > click Access Database (*.accdb). > 4.Click Save As. > If any database objects are open when you click Save As, Access prompts you > to close them prior to creating the copy. Click Yes to make Access close > the > objects, or click No to cancel the entire process. If needed, Access will > also prompt you to save any changes. > 5.In the Save As dialog box, type a file name in the File name box, and > then > click Save. > Access creates the copy of the database, and then opens the copy. Access > automatically closes the original database. > > From: William Benson [mailto:vbacreations at gmail.com] > Sent: Thursday, May 30, 2013 1:19 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dropbox/MS Access problem. > > If you open an mdb and work on it in access 2007/2010 appli cation, it > should leave it as an mdb unless you convert it. The setting you mentioned > is supposed to deal with new databases, not magically convert and upgrade > existing databases. That wouls create chaos in multiuser environments. > That just seems wrong. It has to be how it is being published, not just > worked in... ??? > On May 28, 2013 7:52 AM, "jack drawbridge" wrote: > Doug, > > Do you happen to have the "save files as accdb" turned on? I just loaded > Acc2010 recently and each file I looked at got saved with accdb. I then set > the "save files as 2003 or similar and I then had mdb files. > I'm wondering if your default/current setting is 2007/2010, then you might > get accdb automatically. ie nothing to do with dropbox??? > jack > > On Mon, May 27, 2013 at 3:11 PM, Doug Steele wrote: > > > I got a baffled call from a client this morning, wanting to know why I > had > > changed their back end from an .mdb file to an .accdb file. > > > > I said I had downloaded the accdb file from their Dropbox account to work > > on it. The client said they didn't have an accdb file on Dropbox. > > > > Assuming that I had had (yet another) senior moment, I logged in and sure > > enough, the copy of the back end was definitely an mdb. > > > > Then, before my very eyes, as soon as I clicked on the mdb file to > download > > it, Dropbox changed the extension to 'accdb' on my computer (which only > has > > Office 2010 installed). Arghhh! > > > > I checked, and Dropbox doesn't do any conversion - it's just an mdb with > > the wrong extension. So be warned! > > > > Doug > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu May 30 09:55:00 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 30 May 2013 07:55:00 -0700 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> Message-ID: It's in Access Options under the General tab under creating databases. Charlotte On Thu, May 30, 2013 at 7:27 AM, jack drawbridge wrote: > I don't recall specifically at the moment. I was having issues with new UI > with 2010, and was happy and used to 2003. Each time I tried something, if > i went to the other versio, Access was reloading the software, and I was > getting frustrated -- have to wait seems 3-5 minutes to start the program > each time. Whatever, I was doing, I was getting accdb files. > When I look at the options now, I see it says format for blank database on > the Options. So I'm not sure what I did. I don't open 2003 anymore so maybe > I have corrected my own manual processes/procedures unknowingly. > > Sorry for being so vague, but my initial response was really trying to say > -- perhaps you have some flag set to convert to accdb (that's what I > thought my issue was). But doesn't appear to be any such flag. > > jack > > > On Thu, May 30, 2013 at 1:46 AM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > > > Jack, where is toggle you mention? I cannot find any setting other than > the > > one which controls new database formats. Beyond that, only the Save As > > command controls conversion format, as mentioned in this article. > > http://goo.gl/VJ63D > > > > Convert an Access 2000 or Access 2002 - 2003 database to the .accdb > format > > To convert an Access 2000 or Access 2002 - 2003 database (.mdb) to the > > .accdb file format, you must first open the database by using Access 2007 > > or > > Access 2010, and then save it in the .accdb file format. > > 1.On the File tab, click Open. > > 2.In the Open dialog box, select and open the Access 2000 or Access 2002 > - > > 2003 database (.mdb) that you want to convert. > > Note If the Database Enhancement dialog box appears, the database is > > using a file format that is earlier than Access 2000. To continue, see > the > > section Convert an Access 97 database to the .accdb format. > > 3.On the File tab, click Save & Publish, and then, under Database File > > Types > > click Access Database (*.accdb). > > 4.Click Save As. > > If any database objects are open when you click Save As, Access prompts > you > > to close them prior to creating the copy. Click Yes to make Access close > > the > > objects, or click No to cancel the entire process. If needed, Access will > > also prompt you to save any changes. > > 5.In the Save As dialog box, type a file name in the File name box, and > > then > > click Save. > > Access creates the copy of the database, and then opens the copy. Access > > automatically closes the original database. > > > > From: William Benson [mailto:vbacreations at gmail.com] > > Sent: Thursday, May 30, 2013 1:19 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Dropbox/MS Access problem. > > > > If you open an mdb and work on it in access 2007/2010 appli cation, it > > should leave it as an mdb unless you convert it. The setting you > mentioned > > is supposed to deal with new databases, not magically convert and upgrade > > existing databases. That wouls create chaos in multiuser environments. > > That just seems wrong. It has to be how it is being published, not just > > worked in... ??? > > On May 28, 2013 7:52 AM, "jack drawbridge" > wrote: > > Doug, > > > > Do you happen to have the "save files as accdb" turned on? I just loaded > > Acc2010 recently and each file I looked at got saved with accdb. I then > set > > the "save files as 2003 or similar and I then had mdb files. > > I'm wondering if your default/current setting is 2007/2010, then you > might > > get accdb automatically. ie nothing to do with dropbox??? > > jack > > > > On Mon, May 27, 2013 at 3:11 PM, Doug Steele wrote: > > > > > I got a baffled call from a client this morning, wanting to know why I > > had > > > changed their back end from an .mdb file to an .accdb file. > > > > > > I said I had downloaded the accdb file from their Dropbox account to > work > > > on it. The client said they didn't have an accdb file on Dropbox. > > > > > > Assuming that I had had (yet another) senior moment, I logged in and > sure > > > enough, the copy of the back end was definitely an mdb. > > > > > > Then, before my very eyes, as soon as I clicked on the mdb file to > > download > > > it, Dropbox changed the extension to 'accdb' on my computer (which only > > has > > > Office 2010 installed). Arghhh! > > > > > > I checked, and Dropbox doesn't do any conversion - it's just an mdb > with > > > the wrong extension. So be warned! > > > > > > Doug > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Thu May 30 10:04:21 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 30 May 2013 11:04:21 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> Message-ID: <02b901ce5d46$f807d5c0$e8178140$@gmail.com> On my installation, I have an option that says "Default format for blank database" I have never seen that option force existing mdb's into accdb format. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, May 30, 2013 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dropbox/MS Access problem. It's in Access Options under the General tab under creating databases. Charlotte From jackandpat.d at gmail.com Thu May 30 10:08:13 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 30 May 2013 11:08:13 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> Message-ID: Charlotte, Yes, that one is for a new blank database-- default format for blank database. But I was opening mdb and it was being saved as accdb. I did not know if I had set up some flag to do so; I didn't do anything proactively to do this and this is not the expected default behavior. I can see mdb --> accdb if you open an mdb and specifically ask for it to be converted/saved as accdb. jack On Thu, May 30, 2013 at 10:55 AM, Charlotte Foust wrote: > It's in Access Options under the General tab under creating databases. > > Charlotte > > On Thu, May 30, 2013 at 7:27 AM, jack drawbridge >wrote: > > > I don't recall specifically at the moment. I was having issues with new > UI > > with 2010, and was happy and used to 2003. Each time I tried something, > if > > i went to the other versio, Access was reloading the software, and I was > > getting frustrated -- have to wait seems 3-5 minutes to start the program > > each time. Whatever, I was doing, I was getting accdb files. > > When I look at the options now, I see it says format for blank database > on > > the Options. So I'm not sure what I did. I don't open 2003 anymore so > maybe > > I have corrected my own manual processes/procedures unknowingly. > > > > Sorry for being so vague, but my initial response was really trying to > say > > -- perhaps you have some flag set to convert to accdb (that's what I > > thought my issue was). But doesn't appear to be any such flag. > > > > jack > > > > > > On Thu, May 30, 2013 at 1:46 AM, William Benson (VBACreations.Com) < > > vbacreations at gmail.com> wrote: > > > > > Jack, where is toggle you mention? I cannot find any setting other than > > the > > > one which controls new database formats. Beyond that, only the Save As > > > command controls conversion format, as mentioned in this article. > > > http://goo.gl/VJ63D > > > > > > Convert an Access 2000 or Access 2002 - 2003 database to the .accdb > > format > > > To convert an Access 2000 or Access 2002 - 2003 database (.mdb) to the > > > .accdb file format, you must first open the database by using Access > 2007 > > > or > > > Access 2010, and then save it in the .accdb file format. > > > 1.On the File tab, click Open. > > > 2.In the Open dialog box, select and open the Access 2000 or Access > 2002 > > - > > > 2003 database (.mdb) that you want to convert. > > > Note If the Database Enhancement dialog box appears, the database > is > > > using a file format that is earlier than Access 2000. To continue, see > > the > > > section Convert an Access 97 database to the .accdb format. > > > 3.On the File tab, click Save & Publish, and then, under Database File > > > Types > > > click Access Database (*.accdb). > > > 4.Click Save As. > > > If any database objects are open when you click Save As, Access prompts > > you > > > to close them prior to creating the copy. Click Yes to make Access > close > > > the > > > objects, or click No to cancel the entire process. If needed, Access > will > > > also prompt you to save any changes. > > > 5.In the Save As dialog box, type a file name in the File name box, and > > > then > > > click Save. > > > Access creates the copy of the database, and then opens the copy. > Access > > > automatically closes the original database. > > > > > > From: William Benson [mailto:vbacreations at gmail.com] > > > Sent: Thursday, May 30, 2013 1:19 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Dropbox/MS Access problem. > > > > > > If you open an mdb and work on it in access 2007/2010 appli cation, it > > > should leave it as an mdb unless you convert it. The setting you > > mentioned > > > is supposed to deal with new databases, not magically convert and > upgrade > > > existing databases. That wouls create chaos in multiuser environments. > > > That just seems wrong. It has to be how it is being published, not just > > > worked in... ??? > > > On May 28, 2013 7:52 AM, "jack drawbridge" > > wrote: > > > Doug, > > > > > > Do you happen to have the "save files as accdb" turned on? I just > loaded > > > Acc2010 recently and each file I looked at got saved with accdb. I then > > set > > > the "save files as 2003 or similar and I then had mdb files. > > > I'm wondering if your default/current setting is 2007/2010, then you > > might > > > get accdb automatically. ie nothing to do with dropbox??? > > > jack > > > > > > On Mon, May 27, 2013 at 3:11 PM, Doug Steele wrote: > > > > > > > I got a baffled call from a client this morning, wanting to know why > I > > > had > > > > changed their back end from an .mdb file to an .accdb file. > > > > > > > > I said I had downloaded the accdb file from their Dropbox account to > > work > > > > on it. The client said they didn't have an accdb file on Dropbox. > > > > > > > > Assuming that I had had (yet another) senior moment, I logged in and > > sure > > > > enough, the copy of the back end was definitely an mdb. > > > > > > > > Then, before my very eyes, as soon as I clicked on the mdb file to > > > download > > > > it, Dropbox changed the extension to 'accdb' on my computer (which > only > > > has > > > > Office 2010 installed). Arghhh! > > > > > > > > I checked, and Dropbox doesn't do any conversion - it's just an mdb > > with > > > > the wrong extension. So be warned! > > > > > > > > Doug > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu May 30 10:13:58 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 30 May 2013 08:13:58 -0700 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: <02b901ce5d46$f807d5c0$e8178140$@gmail.com> References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> <02b901ce5d46$f807d5c0$e8178140$@gmail.com> Message-ID: There is no setting for that that I know of. It wouldn't make sense at all, and anyway, in an earlier post it was stated that the databases weren't really converted, just the extension changed IIRC. One question that I don't recall being asked is what versions were the mdbs in? I wonder if that could have made a difference? Charlotte On Thu, May 30, 2013 at 8:04 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > On my installation, I have an option that says "Default format for blank > database" > > I have never seen that option force existing mdb's into accdb format. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, May 30, 2013 10:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dropbox/MS Access problem. > > It's in Access Options under the General tab under creating databases. > > Charlotte > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Thu May 30 10:13:41 2013 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 30 May 2013 11:13:41 -0400 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> Message-ID: I should clarify this *I didn't do anything proactively to do this ( as far as I know or can recall ) *But at the time the 2010 UI was all new and confusing to me; still somewhat confusing but I don't do any real development . * *jack* * On Thu, May 30, 2013 at 11:08 AM, jack drawbridge wrote: > Charlotte, > Yes, that one is for a new blank database-- default format for blank > database. But I was opening mdb and it was being saved as accdb. I did > not know if I had set up some flag to do so; I didn't do anything > proactively to do this and this is not the expected default behavior. I > can see mdb --> accdb if you open an mdb and specifically ask for it to be > converted/saved as accdb. > > jack > > > On Thu, May 30, 2013 at 10:55 AM, Charlotte Foust < > charlotte.foust at gmail.com> wrote: > >> It's in Access Options under the General tab under creating databases. >> >> Charlotte >> >> On Thu, May 30, 2013 at 7:27 AM, jack drawbridge > >wrote: >> >> > I don't recall specifically at the moment. I was having issues with new >> UI >> > with 2010, and was happy and used to 2003. Each time I tried something, >> if >> > i went to the other versio, Access was reloading the software, and I was >> > getting frustrated -- have to wait seems 3-5 minutes to start the >> program >> > each time. Whatever, I was doing, I was getting accdb files. >> > When I look at the options now, I see it says format for blank database >> on >> > the Options. So I'm not sure what I did. I don't open 2003 anymore so >> maybe >> > I have corrected my own manual processes/procedures unknowingly. >> > >> > Sorry for being so vague, but my initial response was really trying to >> say >> > -- perhaps you have some flag set to convert to accdb (that's what I >> > thought my issue was). But doesn't appear to be any such flag. >> > >> > jack >> > >> > >> > On Thu, May 30, 2013 at 1:46 AM, William Benson (VBACreations.Com) < >> > vbacreations at gmail.com> wrote: >> > >> > > Jack, where is toggle you mention? I cannot find any setting other >> than >> > the >> > > one which controls new database formats. Beyond that, only the Save As >> > > command controls conversion format, as mentioned in this article. >> > > http://goo.gl/VJ63D >> > > >> > > Convert an Access 2000 or Access 2002 - 2003 database to the .accdb >> > format >> > > To convert an Access 2000 or Access 2002 - 2003 database (.mdb) to the >> > > .accdb file format, you must first open the database by using Access >> 2007 >> > > or >> > > Access 2010, and then save it in the .accdb file format. >> > > 1.On the File tab, click Open. >> > > 2.In the Open dialog box, select and open the Access 2000 or Access >> 2002 >> > - >> > > 2003 database (.mdb) that you want to convert. >> > > Note If the Database Enhancement dialog box appears, the database >> is >> > > using a file format that is earlier than Access 2000. To continue, see >> > the >> > > section Convert an Access 97 database to the .accdb format. >> > > 3.On the File tab, click Save & Publish, and then, under Database File >> > > Types >> > > click Access Database (*.accdb). >> > > 4.Click Save As. >> > > If any database objects are open when you click Save As, Access >> prompts >> > you >> > > to close them prior to creating the copy. Click Yes to make Access >> close >> > > the >> > > objects, or click No to cancel the entire process. If needed, Access >> will >> > > also prompt you to save any changes. >> > > 5.In the Save As dialog box, type a file name in the File name box, >> and >> > > then >> > > click Save. >> > > Access creates the copy of the database, and then opens the copy. >> Access >> > > automatically closes the original database. >> > > >> > > From: William Benson [mailto:vbacreations at gmail.com] >> > > Sent: Thursday, May 30, 2013 1:19 AM >> > > To: Access Developers discussion and problem solving >> > > Subject: Re: [AccessD] Dropbox/MS Access problem. >> > > >> > > If you open an mdb and work on it in access 2007/2010 appli cation, it >> > > should leave it as an mdb unless you convert it. The setting you >> > mentioned >> > > is supposed to deal with new databases, not magically convert and >> upgrade >> > > existing databases. That wouls create chaos in multiuser environments. >> > > That just seems wrong. It has to be how it is being published, not >> just >> > > worked in... ??? >> > > On May 28, 2013 7:52 AM, "jack drawbridge" >> > wrote: >> > > Doug, >> > > >> > > Do you happen to have the "save files as accdb" turned on? I just >> loaded >> > > Acc2010 recently and each file I looked at got saved with accdb. I >> then >> > set >> > > the "save files as 2003 or similar and I then had mdb files. >> > > I'm wondering if your default/current setting is 2007/2010, then you >> > might >> > > get accdb automatically. ie nothing to do with dropbox??? >> > > jack >> > > >> > > On Mon, May 27, 2013 at 3:11 PM, Doug Steele >> wrote: >> > > >> > > > I got a baffled call from a client this morning, wanting to know >> why I >> > > had >> > > > changed their back end from an .mdb file to an .accdb file. >> > > > >> > > > I said I had downloaded the accdb file from their Dropbox account to >> > work >> > > > on it. The client said they didn't have an accdb file on Dropbox. >> > > > >> > > > Assuming that I had had (yet another) senior moment, I logged in and >> > sure >> > > > enough, the copy of the back end was definitely an mdb. >> > > > >> > > > Then, before my very eyes, as soon as I clicked on the mdb file to >> > > download >> > > > it, Dropbox changed the extension to 'accdb' on my computer (which >> only >> > > has >> > > > Office 2010 installed). Arghhh! >> > > > >> > > > I checked, and Dropbox doesn't do any conversion - it's just an mdb >> > with >> > > > the wrong extension. So be warned! >> > > > >> > > > Doug >> > > > -- >> > > > AccessD mailing list >> > > > AccessD at databaseadvisors.com >> > > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > > Website: http://www.databaseadvisors.com >> > > > >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From dbdoug at gmail.com Thu May 30 10:24:20 2013 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 30 May 2013 08:24:20 -0700 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: <02b901ce5d46$f807d5c0$e8178140$@gmail.com> References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> <02b901ce5d46$f807d5c0$e8178140$@gmail.com> Message-ID: The extension change doesn't happen with Word or Excel files. I've now tried this using two different Dropbox accounts. I've submitted a Help request to Dropbox; I'll report back if I get a reply. Doug On Thu, May 30, 2013 at 8:04 AM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > On my installation, I have an option that says "Default format for blank > database" > > I have never seen that option force existing mdb's into accdb format. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, May 30, 2013 10:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dropbox/MS Access problem. > > It's in Access Options under the General tab under creating databases. > > Charlotte > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu May 30 10:27:00 2013 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 30 May 2013 08:27:00 -0700 Subject: [AccessD] Dropbox/MS Access problem. In-Reply-To: References: <024101ce5cf9$0c4d2ec0$24e78c40$@gmail.com> <02b901ce5d46$f807d5c0$e8178140$@gmail.com> Message-ID: Darn, forgot to mention this: when the extension changed, I was NOT running Access at the time, so I doubt that any options set in Access would have any effect. Doug On Thu, May 30, 2013 at 8:24 AM, Doug Steele wrote: > The extension change doesn't happen with Word or Excel files. I've now > tried this using two different Dropbox accounts. I've submitted a Help > request to Dropbox; I'll report back if I get a reply. > > Doug > > > On Thu, May 30, 2013 at 8:04 AM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > >> On my installation, I have an option that says "Default format for blank >> database" >> >> I have never seen that option force existing mdb's into accdb format. >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Thursday, May 30, 2013 10:55 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dropbox/MS Access problem. >> >> It's in Access Options under the General tab under creating databases. >> >> Charlotte >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From jwcolby at gmail.com Thu May 30 13:42:42 2013 From: jwcolby at gmail.com (John W Colby) Date: Thu, 30 May 2013 14:42:42 -0400 Subject: [AccessD] What you don't think about Message-ID: <51A79DA2.10803@gmail.com> I grabbed some code off the internet to check if a file is locked. The code was (too) simple, and just tried to open the file read/write. If it succeeded the file is not locked. Sounds good right? Well... if the file does not exist then it CREATES the file! Ooops. I had to add a "wrapper" to do a DIR() to see if the file exists, and if not return a false (not locked since it doesn't exist) else try to open it. The code I was building was some stuff to use FSO to zip a file and that is just flaky, but doesn't require external dlls. The code creates the zip file (directory really) if it doesn't exist and then stuffs the file in it. Except that my lock check was creating the file before this code ever got a chance to do so. I scratched my head over that one for a good while. And of course all of this was buried way down in other code that had to run first... BTW, some of you may remember my timer class. This zip code was using a call out to Windows to Sleep(). Unfortunately Sleep causes the user interface to go unresponsive during the Sleep. So I added a function to my timer class mSleep(lngMSToSleep as long) and then used the timer stuff to watch the timer for that many milliseconds in a while loop, but calling DoEvents inside of that loop. It looks like a sleep but the DoEvents allows Windows to process the event queue for the app so I can still move around in the app and do things while the code is "sleeping". -- John W. Colby Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Thu May 30 14:18:25 2013 From: df.waters at comcast.net (Dan Waters) Date: Thu, 30 May 2013 14:18:25 -0500 Subject: [AccessD] What you don't think about In-Reply-To: <51A79DA2.10803@gmail.com> References: <51A79DA2.10803@gmail.com> Message-ID: <005f01ce5d6a$75a0ebc0$60e2c340$@comcast.net> Hi John, This is code I use to zip a file - collected from pieces across the internet. Also, the code below is used to set or clear the read only flag of a file. To find out if a file is read-only or not, just read the file's attribute. Maybe there's something here that would be useful. Dan '---------------------------------------- Private Sub ZipOneFile_TEST() Call ZipOneFile("E:\Consulting\Clients\DON\PSISystemDEV\BackEnd\BackupFiles\PSIDO NBE.mdb", "E:\Consulting\Clients\DON\PSISystemDEV\BackEnd\BackupFiles") End Sub Public Sub ZipOneFile(varSourceFileFullPath As Variant, stgTargetFolder As String, Optional blnUseOriginalFileName As Boolean = False) '-- Note: The stgSourceFileFullPath must be a variant for the .CopyHere method to work Dim objShell As Object Dim stgDate As String Dim stgFileNameZip As String Dim fso As Object DoEvents Set fso = CreateObject("Scripting.FileSystemObject") '-- To ensure a unique filename append date and time to the name of the current file. If blnUseOriginalFileName = False Then stgDate = Format(Now, "_yyyy-mm-dd") & Format(Now, "_hhmm") End If stgFileNameZip = fso.GetBaseName(varSourceFileFullPath) & stgDate & ".zip" '-- Create the empty Zip file. Call InitializeZipFile(stgTargetFolder & "\" & stgFileNameZip) '-- Copy the file to the compressed folder. Set objShell = CreateObject("Shell.Application") objShell.Namespace(stgTargetFolder & "\" & stgFileNameZip).CopyHere varSourceFileFullPath, &H0& '-- Keep script waiting until Compressing is done On Error Resume Next Do Until objShell.Namespace(stgTargetFolder & "\" & stgFileNameZip).Items.Count = 1 Sleep 500 Loop On Error GoTo 0 Set objShell = Nothing End Sub Private Sub InitializeZipFile_TEST() ' Call InitializeZipFile("C:\PSISystemClient\spreadsheets\LOS Turnback Data 10-19-2011 11316.xlsx") End Sub Private Sub InitializeZipFile(stgZipFile As String) '-- This code uses the Open statement to enable output to the file (thereby creating the file), _ and the Print statement to write the twenty-two byte signature to it. Dim intFile As Integer Dim fso As FileSystemObject Set fso = CreateObject("Scripting.FileSystemObject") If fso.FileExists(stgZipFile) Then Exit Sub If fso.FolderExists(stgZipFile) Then Exit Sub If Len(Dir(stgZipFile)) > 0 Then Kill stgZipFile intFile = FreeFile Open stgZipFile For Output As #intFile Print #intFile, Chr$(80) & Chr$(75) & Chr$(5) & Chr$(6) & String(18, 0) Close #intFile End Sub '---------------------------------------- '---------------------------------------- Public Sub SetReadOnly(stgFullPath As String) '-- Purpose: Set a file to read only Dim fso As FileSystemObject Dim fProperties As Object Set fso = CreateObject("Scripting.FileSystemObject") Set fProperties = fso.GetFile(stgFullPath) fProperties.Attributes = 1 Set fProperties = Nothing Set fso = Nothing End Sub Public Sub ClearReadOnly(stgFullPath As String) '-- Purpose: Clear the read only flag on a file Dim fso As FileSystemObject Dim fProperties As Object Set fso = CreateObject("Scripting.FileSystemObject") Set fProperties = fso.GetFile(stgFullPath) fProperties.Attributes = 0 Set fProperties = Nothing Set fso = Nothing End Sub '---------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W Colby Sent: Thursday, May 30, 2013 1:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] What you don't think about I grabbed some code off the internet to check if a file is locked. The code was (too) simple, and just tried to open the file read/write. If it succeeded the file is not locked. Sounds good right? Well... if the file does not exist then it CREATES the file! Ooops. I had to add a "wrapper" to do a DIR() to see if the file exists, and if not return a false (not locked since it doesn't exist) else try to open it. The code I was building was some stuff to use FSO to zip a file and that is just flaky, but doesn't require external dlls. The code creates the zip file (directory really) if it doesn't exist and then stuffs the file in it. Except that my lock check was creating the file before this code ever got a chance to do so. I scratched my head over that one for a good while. And of course all of this was buried way down in other code that had to run first... BTW, some of you may remember my timer class. This zip code was using a call out to Windows to Sleep(). Unfortunately Sleep causes the user interface to go unresponsive during the Sleep. So I added a function to my timer class mSleep(lngMSToSleep as long) and then used the timer stuff to watch the timer for that many milliseconds in a while loop, but calling DoEvents inside of that loop. It looks like a sleep but the DoEvents allows Windows to process the event queue for the app so I can still move around in the app and do things while the code is "sleeping". -- John W. Colby Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu May 30 15:23:35 2013 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 May 2013 16:23:35 -0400 Subject: [AccessD] 2.0 to web-enabled Message-ID: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> A reader wants to know what it would take to convert a 2.0 database to a fully functioning web-enabled database. I want to tell him to start over -- how about you guys? Susan H. From davidalangibson2010 at gmail.com Thu May 30 15:49:20 2013 From: davidalangibson2010 at gmail.com (David A Gibson) Date: Thu, 30 May 2013 15:49:20 -0500 Subject: [AccessD] 2.0 to web-enabled In-Reply-To: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> References: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> Message-ID: <006301ce5d77$298422e0$7c8c68a0$@gmail.com> Are you talking about MS Access ver 2.0? I haven't worked with 2.0 since the early '90s. I haven't done any web-enabled DBS SO I don't think I could give any good advice. I don't have any fond memories of 2.0. Dinosaur alert! David Gibson ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, May 30, 2013 3:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] 2.0 to web-enabled A reader wants to know what it would take to convert a 2.0 database to a fully functioning web-enabled database. I want to tell him to start over -- how about you guys? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Thu May 30 16:02:56 2013 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 31 May 2013 01:02:56 +0400 Subject: [AccessD] =?utf-8?q?2=2E0_to_web-enabled?= In-Reply-To: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> References: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> Message-ID: <1369947776.378326382@m.mail.ru> Just an MS Access 2.0 database without forms, reports, macros and vba, or an MS Access 2.0 program database with forms, reports, macros and vba? ----------- ?????????? ? m.mail.ru From stuart at lexacorp.com.pg Thu May 30 17:24:34 2013 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 31 May 2013 08:24:34 +1000 Subject: [AccessD] 2.0 to web-enabled In-Reply-To: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> References: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> Message-ID: <51A7D1A2.28904.472587EA@stuart.lexacorp.com.pg> Database or Access Application? If it's just a database, it's simple (as long as you have an intermediate version of Access available to upgrade the v2 to 97 first)/ If it's an application - fugedabadit. Start fresh. On 30 May 2013 at 16:23, Susan Harkins wrote: > A reader wants to know what it would take to convert a 2.0 database to a > fully functioning web-enabled database. I want to tell him to start over -- > how about you guys? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu May 30 19:42:21 2013 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 31 May 2013 00:42:21 +0000 Subject: [AccessD] 2.0 to web-enabled In-Reply-To: <51A7D1A2.28904.472587EA@stuart.lexacorp.com.pg> References: <99AD3B6CEEB74BC9B8C90738372356AA@SusanHarkins> <51A7D1A2.28904.472587EA@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B54BFC7648@SINPRD0410MB381.apcprd04.prod.outlook.com> Agreed, If you are just upload the tables that should be too much of an issue -depending on which back end you end up using, the quality of the source data and the relationships between that data / tables. Application? Agree with Stuart. Far better off starting from scratch. Hell you would probably be anyway. I haven't known anyone to use 2.0 for years (maybe decades?) Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, 31 May 2013 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 2.0 to web-enabled Database or Access Application? If it's just a database, it's simple (as long as you have an intermediate version of Access available to upgrade the v2 to 97 first)/ If it's an application - fugedabadit. Start fresh. On 30 May 2013 at 16:23, Susan Harkins wrote: > A reader wants to know what it would take to convert a 2.0 database to > a fully functioning web-enabled database. I want to tell him to start > over -- how about you guys? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Thu May 30 20:58:19 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Thu, 30 May 2013 21:58:19 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Message-ID: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> I am wanting to have the same Header fields and image appear on every form in my database. The query which populates these items has SQL: SQL = "" SQL = SQL & " SELECT " SQL = SQL & " First([Build Date]) AS AppBuildDate," SQL = SQL & " First(ApplicationImage.FileData) As AppImage" SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" SQL = SQL & " WHERE " SQL = SQL & " [Build Date]=(Select Max([Build Date]) from 9997_DevelopmentVersion);" I have also tried substituting ApplicationImage for ApplicationImage.FileData So far I have been unable to set an image control's defaultpicture property to a RECORDSET FIELD from a recordset created with that SQL statement. Can someone help with the syntax to set the DefaultPicture of an unbound image control to an attachment identified by a field in a recordset described above? I have been having to resort to saving the attachment to disk, and assigning it to the defaultpicture property, then killing the file: Const SOME_PATH = "c:\username\temp\x.ico" Set d = CurrentDb SQL = "" SQL = SQL & " SELECT " SQL = SQL & " First([Build Date]) AS AppBuildDate," SQL = SQL & " First(ApplicationImage) As AppImage" SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" SQL = SQL & " WHERE " SQL = SQL & " [Build Date]=(Select Max([Build Date]) from 9997_DevelopmentVersion);" Set r = d.OpenRecordset(SQL) Set rsPic = r.Fields("AppImage").Value If Not rsPic.EOF Then On Error Resume Next Kill SOME_PATH On Error GoTo 0 rsPic.Fields("FileData").SaveToFile SOME_PATH End If imgApplicationIcon.DefaultPicture = SOME_PATH On Error Resume Next Kill SOME_PATH On Error GoTo 0 From vbacreations at gmail.com Fri May 31 11:49:02 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Fri, 31 May 2013 12:49:02 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Message-ID: <041e01ce5e1e$c30d9480$4928bd80$@gmail.com> Wow, I thought I had lobbed this group an easy one... no takers yet? ---------------------------------------------------------------------------- ---------------- I am wanting to have the same Header fields and image appear on every form in my database. The query which populates these items has SQL: SQL = "" SQL = SQL & " SELECT " SQL = SQL & " First([Build Date]) AS AppBuildDate," SQL = SQL & " First(ApplicationImage.FileData) As AppImage" SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" SQL = SQL & " WHERE " SQL = SQL & " [Build Date]=(Select Max([Build Date]) from 9997_DevelopmentVersion);" I have also tried substituting ApplicationImage for ApplicationImage.FileData So far I have been unable to set an image control's defaultpicture property to a RECORDSET FIELD from a recordset created with that SQL statement. Can someone help with the syntax to set the DefaultPicture of an unbound image control to an attachment identified by a field in a recordset described above? From df.waters at comcast.net Fri May 31 12:06:31 2013 From: df.waters at comcast.net (Dan Waters) Date: Fri, 31 May 2013 12:06:31 -0500 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: <041e01ce5e1e$c30d9480$4928bd80$@gmail.com> References: <041e01ce5e1e$c30d9480$4928bd80$@gmail.com> Message-ID: <002801ce5e21$32ffa6f0$98fef4d0$@comcast.net> Hi William, Since you are putting an image into the header of every form, I'm going to assume that this image is fairly small. In that case, it might be worth it to embed the image in the image control, rather than set it on the opening of every form. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Friday, May 31, 2013 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Wow, I thought I had lobbed this group an easy one... no takers yet? ---------------------------------------------------------------------------- ---------------- I am wanting to have the same Header fields and image appear on every form in my database. The query which populates these items has SQL: SQL = "" SQL = SQL & " SELECT " SQL = SQL & " First([Build Date]) AS AppBuildDate," SQL = SQL & " First(ApplicationImage.FileData) As AppImage" SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" SQL = SQL & " WHERE " SQL = SQL & " [Build Date]=(Select Max([Build Date]) from 9997_DevelopmentVersion);" I have also tried substituting ApplicationImage for ApplicationImage.FileData So far I have been unable to set an image control's defaultpicture property to a RECORDSET FIELD from a recordset created with that SQL statement. Can someone help with the syntax to set the DefaultPicture of an unbound image control to an attachment identified by a field in a recordset described above? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidalangibson2010 at gmail.com Fri May 31 12:11:11 2013 From: davidalangibson2010 at gmail.com (David A Gibson) Date: Fri, 31 May 2013 12:11:11 -0500 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: <041e01ce5e1e$c30d9480$4928bd80$@gmail.com> References: <041e01ce5e1e$c30d9480$4928bd80$@gmail.com> Message-ID: <00d701ce5e21$d9de9da0$8d9bd8e0$@gmail.com> Hope this helps. Using Single Images Across Multiple Forms and Reports in Access 2010 Applications http://msdn.microsoft.com/en-us/library/office/gg490661(v=office.14).aspx Image.PictureType Property (Access) http://msdn.microsoft.com/en-us/library/office/ff197027(v=office.14).aspx David Gibson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Friday, May 31, 2013 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Wow, I thought I had lobbed this group an easy one... no takers yet? ---------------------------------------------------------------------------- ---------------- I am wanting to have the same Header fields and image appear on every form in my database. The query which populates these items has SQL: SQL = "" SQL = SQL & " SELECT " SQL = SQL & " First([Build Date]) AS AppBuildDate," SQL = SQL & " First(ApplicationImage.FileData) As AppImage" SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" SQL = SQL & " WHERE " SQL = SQL & " [Build Date]=(Select Max([Build Date]) from 9997_DevelopmentVersion);" I have also tried substituting ApplicationImage for ApplicationImage.FileData So far I have been unable to set an image control's defaultpicture property to a RECORDSET FIELD from a recordset created with that SQL statement. Can someone help with the syntax to set the DefaultPicture of an unbound image control to an attachment identified by a field in a recordset described above? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri May 31 12:13:07 2013 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 31 May 2013 10:13:07 -0700 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> References: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> Message-ID: I'm a little confused as to why you would have to "look up" an image if you're going to use it on every form. Why not just build a subform with that image embedded and put it on every form? Sometimes using code is the hard way. I could see using the code to change the text perhaps, but not the image. Way too much effort. Charlotte On Thu, May 30, 2013 at 6:58 PM, William Benson (VBACreations.Com) < vbacreations at gmail.com> wrote: > I am wanting to have the same Header fields and image appear on every form > in my database. The query which populates these items has SQL: > > > SQL = "" > SQL = SQL & " SELECT " > SQL = SQL & " First([Build Date]) AS AppBuildDate," > SQL = SQL & " First(ApplicationImage.FileData) As AppImage" > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > SQL = SQL & " WHERE " > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > 9997_DevelopmentVersion);" > > > > > I have also tried substituting ApplicationImage for > ApplicationImage.FileData > > So far I have been unable to set an image control's defaultpicture property > to a RECORDSET FIELD from a recordset created with that SQL statement. > > Can someone help with the syntax to set the DefaultPicture of an unbound > image control to an attachment identified by a field in a recordset > described above? > > I have been having to resort to saving the attachment to disk, and > assigning > it to the defaultpicture property, then killing the file: > > Const SOME_PATH = "c:\username\temp\x.ico" > > Set d = CurrentDb > > SQL = "" > SQL = SQL & " SELECT " > SQL = SQL & " First([Build Date]) AS AppBuildDate," > SQL = SQL & " First(ApplicationImage) As AppImage" > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > SQL = SQL & " WHERE " > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > 9997_DevelopmentVersion);" > > Set r = d.OpenRecordset(SQL) > > Set rsPic = r.Fields("AppImage").Value > If Not rsPic.EOF Then > On Error Resume Next > Kill SOME_PATH > On Error GoTo 0 > rsPic.Fields("FileData").SaveToFile SOME_PATH > End If > > imgApplicationIcon.DefaultPicture = SOME_PATH > > On Error Resume Next > Kill SOME_PATH > On Error GoTo 0 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri May 31 12:34:04 2013 From: vbacreations at gmail.com (William Benson) Date: Fri, 31 May 2013 13:34:04 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: References: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> Message-ID: I am just trying to work with images and learn how to read an image from an attachment. Thanks On May 31, 2013 1:14 PM, "Charlotte Foust" wrote: > I'm a little confused as to why you would have to "look up" an image if > you're going to use it on every form. Why not just build a subform with > that image embedded and put it on every form? Sometimes using code is the > hard way. I could see using the code to change the text perhaps, but not > the image. Way too much effort. > > Charlotte > > On Thu, May 30, 2013 at 6:58 PM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > > > I am wanting to have the same Header fields and image appear on every > form > > in my database. The query which populates these items has SQL: > > > > > > SQL = "" > > SQL = SQL & " SELECT " > > SQL = SQL & " First([Build Date]) AS AppBuildDate," > > SQL = SQL & " First(ApplicationImage.FileData) As AppImage" > > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > > SQL = SQL & " WHERE " > > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > > 9997_DevelopmentVersion);" > > > > > > > > > > I have also tried substituting ApplicationImage for > > ApplicationImage.FileData > > > > So far I have been unable to set an image control's defaultpicture > property > > to a RECORDSET FIELD from a recordset created with that SQL statement. > > > > Can someone help with the syntax to set the DefaultPicture of an unbound > > image control to an attachment identified by a field in a recordset > > described above? > > > > I have been having to resort to saving the attachment to disk, and > > assigning > > it to the defaultpicture property, then killing the file: > > > > Const SOME_PATH = "c:\username\temp\x.ico" > > > > Set d = CurrentDb > > > > SQL = "" > > SQL = SQL & " SELECT " > > SQL = SQL & " First([Build Date]) AS AppBuildDate," > > SQL = SQL & " First(ApplicationImage) As AppImage" > > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > > SQL = SQL & " WHERE " > > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > > 9997_DevelopmentVersion);" > > > > Set r = d.OpenRecordset(SQL) > > > > Set rsPic = r.Fields("AppImage").Value > > If Not rsPic.EOF Then > > On Error Resume Next > > Kill SOME_PATH > > On Error GoTo 0 > > rsPic.Fields("FileData").SaveToFile SOME_PATH > > End If > > > > imgApplicationIcon.DefaultPicture = SOME_PATH > > > > On Error Resume Next > > Kill SOME_PATH > > On Error GoTo 0 > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at aig.com Fri May 31 13:02:21 2013 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Fri, 31 May 2013 14:02:21 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: References: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> Message-ID: Don't have an answer, but I have to say that the principle is good, because in uses such as displaying a company logo it is important to remember that logos change, sometimes frequently. So being able to change the logo by altering one field contents in one table instead of in dozens or hundreds of separate forms and reports is a "Good Idea" (r). On the other hand, what's so bad about having an image file stored in the file system, in a location know to the application, which is then used as in your workaround example to populate the image control? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, May 31, 2013 1:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? I am just trying to work with images and learn how to read an image from an attachment. Thanks On May 31, 2013 1:14 PM, "Charlotte Foust" wrote: > I'm a little confused as to why you would have to "look up" an image > if you're going to use it on every form. Why not just build a subform > with that image embedded and put it on every form? Sometimes using > code is the hard way. I could see using the code to change the text > perhaps, but not the image. Way too much effort. > > Charlotte > > On Thu, May 30, 2013 at 6:58 PM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > > > I am wanting to have the same Header fields and image appear on > > every > form > > in my database. The query which populates these items has SQL: > > From df.waters at comcast.net Fri May 31 13:02:25 2013 From: df.waters at comcast.net (Dan Waters) Date: Fri, 31 May 2013 13:02:25 -0500 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: References: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> Message-ID: <002f01ce5e29$01cceb80$0566c280$@comcast.net> Hi William, When you say an attachment, do you mean a .bmp file where the full path to that file is listed in a field in your table? If so, that's just imgControl.Picture = rst!FileFullPath HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, May 31, 2013 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? I am just trying to work with images and learn how to read an image from an attachment. Thanks On May 31, 2013 1:14 PM, "Charlotte Foust" wrote: > I'm a little confused as to why you would have to "look up" an image > if you're going to use it on every form. Why not just build a subform > with that image embedded and put it on every form? Sometimes using > code is the hard way. I could see using the code to change the text > perhaps, but not the image. Way too much effort. > > Charlotte > > On Thu, May 30, 2013 at 6:58 PM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > > > I am wanting to have the same Header fields and image appear on > > every > form > > in my database. The query which populates these items has SQL: > > > > > > SQL = "" > > SQL = SQL & " SELECT " > > SQL = SQL & " First([Build Date]) AS AppBuildDate," > > SQL = SQL & " First(ApplicationImage.FileData) As AppImage" > > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > > SQL = SQL & " WHERE " > > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > > 9997_DevelopmentVersion);" > > > > > > > > > > I have also tried substituting ApplicationImage for > > ApplicationImage.FileData > > > > So far I have been unable to set an image control's defaultpicture > property > > to a RECORDSET FIELD from a recordset created with that SQL statement. > > > > Can someone help with the syntax to set the DefaultPicture of an > > unbound image control to an attachment identified by a field in a > > recordset described above? > > > > I have been having to resort to saving the attachment to disk, and > > assigning it to the defaultpicture property, then killing the file: > > > > Const SOME_PATH = "c:\username\temp\x.ico" > > > > Set d = CurrentDb > > > > SQL = "" > > SQL = SQL & " SELECT " > > SQL = SQL & " First([Build Date]) AS AppBuildDate," > > SQL = SQL & " First(ApplicationImage) As AppImage" > > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > > SQL = SQL & " WHERE " > > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > > 9997_DevelopmentVersion);" > > > > Set r = d.OpenRecordset(SQL) > > > > Set rsPic = r.Fields("AppImage").Value If Not rsPic.EOF Then > > On Error Resume Next > > Kill SOME_PATH > > On Error GoTo 0 > > rsPic.Fields("FileData").SaveToFile SOME_PATH End If > > > > imgApplicationIcon.DefaultPicture = SOME_PATH > > > > On Error Resume Next > > Kill SOME_PATH > > On Error GoTo 0 > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Fri May 31 13:16:54 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Fri, 31 May 2013 14:16:54 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: <002f01ce5e29$01cceb80$0566c280$@comcast.net> References: <034101ce5da2$53c3d070$fb4b7150$@gmail.com> <002f01ce5e29$01cceb80$0566c280$@comcast.net> Message-ID: <042201ce5e2b$08910710$19b31530$@gmail.com> No, Dan, it is an attachment. In fact an .ico file I built from clipart and attached to the table where it is being held in an attachment field. The code I presented that I am currently using sorta made that clear, or so I had thought. Sorry if not. rsPic.Fields("FileData").SaveToFile SOME_PATH imgApplicationIcon.DefaultPicture = SOME_PATH -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, May 31, 2013 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Hi William, When you say an attachment, do you mean a .bmp file where the full path to that file is listed in a field in your table? If so, that's just imgControl.Picture = rst!FileFullPath HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, May 31, 2013 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? I am just trying to work with images and learn how to read an image from an attachment. Thanks On May 31, 2013 1:14 PM, "Charlotte Foust" wrote: > I'm a little confused as to why you would have to "look up" an image > if you're going to use it on every form. Why not just build a subform > with that image embedded and put it on every form? Sometimes using > code is the hard way. I could see using the code to change the text > perhaps, but not the image. Way too much effort. > > Charlotte > > On Thu, May 30, 2013 at 6:58 PM, William Benson (VBACreations.Com) < > vbacreations at gmail.com> wrote: > > > I am wanting to have the same Header fields and image appear on > > every > form > > in my database. The query which populates these items has SQL: > > > > > > SQL = "" > > SQL = SQL & " SELECT " > > SQL = SQL & " First([Build Date]) AS AppBuildDate," > > SQL = SQL & " First(ApplicationImage.FileData) As AppImage" > > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > > SQL = SQL & " WHERE " > > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > > 9997_DevelopmentVersion);" > > > > > > > > > > I have also tried substituting ApplicationImage for > > ApplicationImage.FileData > > > > So far I have been unable to set an image control's defaultpicture > property > > to a RECORDSET FIELD from a recordset created with that SQL statement. > > > > Can someone help with the syntax to set the DefaultPicture of an > > unbound image control to an attachment identified by a field in a > > recordset described above? > > > > I have been having to resort to saving the attachment to disk, and > > assigning it to the defaultpicture property, then killing the file: > > > > Const SOME_PATH = "c:\username\temp\x.ico" > > > > Set d = CurrentDb > > > > SQL = "" > > SQL = SQL & " SELECT " > > SQL = SQL & " First([Build Date]) AS AppBuildDate," > > SQL = SQL & " First(ApplicationImage) As AppImage" > > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > > SQL = SQL & " WHERE " > > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > > 9997_DevelopmentVersion);" > > > > Set r = d.OpenRecordset(SQL) > > > > Set rsPic = r.Fields("AppImage").Value If Not rsPic.EOF Then > > On Error Resume Next > > Kill SOME_PATH > > On Error GoTo 0 > > rsPic.Fields("FileData").SaveToFile SOME_PATH End If > > > > imgApplicationIcon.DefaultPicture = SOME_PATH > > > > On Error Resume Next > > Kill SOME_PATH > > On Error GoTo 0 > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Fri May 31 13:24:20 2013 From: vbacreations at gmail.com (William Benson) Date: Fri, 31 May 2013 14:24:20 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: <00d701ce5e21$d9de9da0$8d9bd8e0$@gmail.com> References: <041e01ce5e1e$c30d9480$4928bd80$@gmail.com> <00d701ce5e21$d9de9da0$8d9bd8e0$@gmail.com> Message-ID: Reading this now, it sounds promising and will report on my level of success. On May 31, 2013 1:12 PM, "David A Gibson" wrote: > Hope this helps. > > Using Single Images Across Multiple Forms and Reports in Access 2010 > Applications > http://msdn.microsoft.com/en-us/library/office/gg490661(v=office.14).aspx > > Image.PictureType Property (Access) > http://msdn.microsoft.com/en-us/library/office/ff197027(v=office.14).aspx > > David Gibson > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > (VBACreations.Com) > Sent: Friday, May 31, 2013 11:49 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] set the DefaultPicture of an unbound image control > to > an attachment in a recordset field? > > Wow, I thought I had lobbed this group an easy one... no takers yet? > > ---------------------------------------------------------------------------- > ---------------- > > I am wanting to have the same Header fields and image appear on every form > in my database. The query which populates these items has SQL: > > > SQL = "" > SQL = SQL & " SELECT " > SQL = SQL & " First([Build Date]) AS AppBuildDate," > SQL = SQL & " First(ApplicationImage.FileData) As AppImage" > SQL = SQL & " FROM 9997_DevelopmentVersion as Tbl" > SQL = SQL & " WHERE " > SQL = SQL & " [Build Date]=(Select Max([Build Date]) from > 9997_DevelopmentVersion);" > > > I have also tried substituting ApplicationImage for > ApplicationImage.FileData > > So far I have been unable to set an image control's defaultpicture property > to a RECORDSET FIELD from a recordset created with that SQL statement. Can > someone help with the syntax to set the DefaultPicture of an unbound image > control to an attachment identified by a field in a recordset described > above? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Fri May 31 13:49:52 2013 From: df.waters at comcast.net (Dan Waters) Date: Fri, 31 May 2013 13:49:52 -0500 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Message-ID: <003801ce5e2f$a2a836d0$e7f8a470$@comcast.net> Ah Hah! I've never used an attachment field. Keeps the tables smaller. An alternative might be to add your icon into the title bar of the forms. This link provides some code (which I haven't tested). http://www.access-programmers.co.uk/forums/showthread.php?t=123449 Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Friday, May 31, 2013 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? No, Dan, it is an attachment. In fact an .ico file I built from clipart and attached to the table where it is being held in an attachment field. The code I presented that I am currently using sorta made that clear, or so I had thought. Sorry if not. rsPic.Fields("FileData").SaveToFile SOME_PATH imgApplicationIcon.DefaultPicture = SOME_PATH -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, May 31, 2013 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Hi William, When you say an attachment, do you mean a .bmp file where the full path to that file is listed in a field in your table? If so, that's just imgControl.Picture = rst!FileFullPath HTH, Dan From vbacreations at gmail.com Fri May 31 16:06:52 2013 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Fri, 31 May 2013 17:06:52 -0400 Subject: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? In-Reply-To: <003801ce5e2f$a2a836d0$e7f8a470$@comcast.net> References: <003801ce5e2f$a2a836d0$e7f8a470$@comcast.net> Message-ID: <043201ce5e42$c6d45620$547d0260$@gmail.com> Dan I read that thread and even tried out one poster's IconTest.Zip. It purports to affect the database window, I think that went out with v. 12.0. After loading it, fixing some coding errors, I noticed that what it tries to do with form titles is lost if the database is set up to show tabbed documents. Actually, I am not sure showing a database in tabbed documents view is such a good idea anyway, although during development it can be convenient. I am content having icons in my form headers, it presents the logos well as Herbert suggested. What HAUNTS me and I am sure will bite me some time in the immediate future is that I am using up a VALUABLE piece of form real estate - namely, the header - to present static information which generally might be better used to show aggregates and form commands. We shall see. Oh well, my technique will evolve over time, just playing for now. Still gotta dig into shared icons... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, May 31, 2013 2:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Ah Hah! I've never used an attachment field. Keeps the tables smaller. An alternative might be to add your icon into the title bar of the forms. This link provides some code (which I haven't tested). http://www.access-programmers.co.uk/forums/showthread.php?t=123449 Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Friday, May 31, 2013 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? No, Dan, it is an attachment. In fact an .ico file I built from clipart and attached to the table where it is being held in an attachment field. The code I presented that I am currently using sorta made that clear, or so I had thought. Sorry if not. rsPic.Fields("FileData").SaveToFile SOME_PATH imgApplicationIcon.DefaultPicture = SOME_PATH -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, May 31, 2013 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] set the DefaultPicture of an unbound image control to an attachment in a recordset field? Hi William, When you say an attachment, do you mean a .bmp file where the full path to that file is listed in a field in your table? If so, that's just imgControl.Picture = rst!FileFullPath HTH, Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com