From Gustav at cactus.dk Fri Dec 1 06:19:35 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Dec 2006 13:19:35 +0100 Subject: [AccessD] OT: Splitting a PDF file Message-ID: Hi Rocky The free pdf toolkit, pdftk, can do this: http://www.accesspdf.com/pdftk/ /gustav >>> bchacc at san.rr.com 01-12-2006 06:10 >>> Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky From bchacc at san.rr.com Fri Dec 1 07:53:22 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 1 Dec 2006 05:53:22 -0800 Subject: [AccessD] OT: Splitting a PDF file In-Reply-To: <004601c71509$33206b00$111b910a@DENZILLAP> Message-ID: <002a01c71550$11136840$6401a8c0@HAL9005> Darren and Gustav: Now I feel really dumb. I have PrimoPDF and that worked just like you suggested. I just never occurred to me that I could print part of a PDF to Primo PDF and get where I was trying to go. Thanks for the heads up. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Thursday, November 30, 2006 9:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Splitting a PDF file Hi Rocky Just a way out suggestion Get PDF995 from PDF995.com (it's a free PDF writer) then 'print' pages 1 - 23 or whatever to the PDF995 'printer' That should create a new 23 page PDF file HTH See ya Darren ------------------ -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, 1 December 2006 4:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Splitting a PDF file Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.2/560 - Release Date: 11/30/2006 3:41 PM From adtp at airtelbroadband.in Fri Dec 1 08:21:48 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 1 Dec 2006 19:51:48 +0530 Subject: [AccessD] Single and Double Inverted Commas! References: <20061129213936.71003.qmail@web34307.mail.mud.yahoo.com> Message-ID: <003901c71554$2023ed10$5a1965cb@pcadt> Chris, If the problem is not yet resolved, you could try the following. It has been tested at my end: If Len(strInitials) > 0 Then Me.MonTotDBAdmin.ControlSource = _ "=DSum('DCAdminEventTime'," & _ " 'qry" & strInitials & "_Mon')" End If Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 03:09 Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris From accessd at shaw.ca Fri Dec 1 08:45:34 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 01 Dec 2006 06:45:34 -0800 Subject: [AccessD] OT Friday In-Reply-To: <003901c71554$2023ed10$5a1965cb@pcadt> Message-ID: <0J9L00CM4NLETDM1@l-daemon> Hi All: As it is Friday here is a couple of OT links with some very interest reads: http://space.newscientist.com/article.ns?id=mg18524911.600 ...and... http://duggmirror.com/space/Do_humans_explode_in_the_vacuum_of_space/ (The previous link may not be appropriate to younger members of the audience.) Jim From cfoust at infostatsystems.com Fri Dec 1 10:15:59 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Dec 2006 08:15:59 -0800 Subject: [AccessD] OT Friday In-Reply-To: <0J9L00CM4NLETDM1@l-daemon> Message-ID: I subscribe to the print version of New Scientist. Wonderful read! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 01, 2006 6:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT Friday Hi All: As it is Friday here is a couple of OT links with some very interest reads: http://space.newscientist.com/article.ns?id=mg18524911.600 ...and... http://duggmirror.com/space/Do_humans_explode_in_the_vacuum_of_space/ (The previous link may not be appropriate to younger members of the audience.) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Dec 1 14:25:00 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 1 Dec 2006 15:25:00 -0500 Subject: [AccessD] OT Friday References: Message-ID: <006101c71586$c73f16b0$3e3de844@50NM721> ...yes it was ...read it all the way through and then followed a bunch of links until the better half interceded :) William Hindman ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, December 01, 2006 11:15 AM Subject: Re: [AccessD] OT Friday >I subscribe to the print version of New Scientist. Wonderful read! > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Friday, December 01, 2006 6:46 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT Friday > > Hi All: > > As it is Friday here is a couple of OT links with some very interest > reads: > > http://space.newscientist.com/article.ns?id=mg18524911.600 > > ...and... > > http://duggmirror.com/space/Do_humans_explode_in_the_vacuum_of_space/ > (The previous link may not be appropriate to younger members of the > audience.) > > 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 joeget at vgernet.net Sat Dec 2 02:16:59 2006 From: joeget at vgernet.net (John Eget) Date: Sat, 2 Dec 2006 03:16:59 -0500 Subject: [AccessD] Counting a text field Message-ID: <001001c715ea$417cffb0$cdc2f63f@JOHN> I am trying to use one query to count within a series of records how many total items of a field are a Y. So If I have lets say ten records and 4 of a specific field are a Y then one of the outputs of a calculated field would be a numerical 4. Does anyone have an idea how to do this? Thanks John From joeget at vgernet.net Sat Dec 2 02:17:44 2006 From: joeget at vgernet.net (John Eget) Date: Sat, 2 Dec 2006 03:17:44 -0500 Subject: [AccessD] Counting a text field Message-ID: <001c01c715ea$5b65d780$cdc2f63f@JOHN> I am trying to use one query to count within a series of records how many total items of a field are a Y. So If I have lets say ten records and 4 of a specific field are a Y then one of the outputs of a calculated field would be a numerical 4. Does anyone have an idea how to do this? Thanks John From wdhindman at dejpolsystems.com Sat Dec 2 03:26:25 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Dec 2006 04:26:25 -0500 Subject: [AccessD] Counting a text field References: <001c01c715ea$5b65d780$cdc2f63f@JOHN> Message-ID: <007b01c715f3$f0bbbc60$3e3de844@50NM721> ...filtering your query for Y and using the Totals: Count on the pk field should work. William Hindman ----- Original Message ----- From: "John Eget" To: Sent: Saturday, December 02, 2006 3:17 AM Subject: [AccessD] Counting a text field >I am trying to use one query to count within a series of records how many >total items of a field are a Y. So If I have lets say ten records and 4 >of a specific field are a Y then one of the outputs of a calculated field >would be a numerical 4. Does anyone have an idea how to do this? > > Thanks > John > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sat Dec 2 05:05:47 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 02 Dec 2006 21:05:47 +1000 Subject: [AccessD] Counting a text field In-Reply-To: <001c01c715ea$5b65d780$cdc2f63f@JOHN> References: <001c01c715ea$5b65d780$cdc2f63f@JOHN> Message-ID: <45715E0B.23111.2F4A6221@stuart.lexacorp.com.pg> On 2 Dec 2006 at 3:17, John Eget wrote: > I am trying to use one query to count within a series of records how many > total items of a field are a Y. So If I have lets say ten records and 4 of > a specific field are a Y then one of the outputs of a calculated field would > be a numerical 4. Does anyone have an idea how to do this? =Sum(IIf(myField = "Y",1,0)) -- Stuart From cclenright at yahoo.com Sat Dec 2 05:13:39 2006 From: cclenright at yahoo.com (Chris Enright) Date: Sat, 2 Dec 2006 03:13:39 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <238749.62677.qm@web34313.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Thanks AD, But having been told that ControlSources (for controls) can't be set other than in design Mode I solved the problem by appending the data to a temp table and just changing the Record Source. Thanks anyway Chris -------Original Message------- From: A.D.TEJPAL Date: 12/01/06 14:30:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Single and Double Inverted Commas! Chris, If the problem is not yet resolved, you could try the following. It has been tested at my end: If Len(strInitials) > 0 Then Me.MonTotDBAdmin.ControlSource = _ "=DSum('DCAdminEventTime'," & _ " 'qry" & strInitials & "_Mon')" End If Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 03:09 Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From shamil at users.mns.ru Sat Dec 2 05:19:06 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 2 Dec 2006 14:19:06 +0300 Subject: [AccessD] Counting a text field In-Reply-To: <001001c715ea$417cffb0$cdc2f63f@JOHN> Message-ID: <000f01c71603$aec5a590$6401a8c0@nant> John, If you field is called, say, myField and it is of type Text and your table is called myTable then this query should work: SELECT Count(myField) AS CountOfmyField FROM myTable GROUP BY myField HAVING myField = 'Y' -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Saturday, December 02, 2006 11:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] Counting a text field I am trying to use one query to count within a series of records how many total items of a field are a Y. So If I have lets say ten records and 4 of a specific field are a Y then one of the outputs of a calculated field would be a numerical 4. Does anyone have an idea how to do this? Thanks John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Sat Dec 2 08:11:18 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 2 Dec 2006 19:41:18 +0530 Subject: [AccessD] Single and Double Inverted Commas! References: <238749.62677.qm@web34313.mail.mud.yahoo.com> Message-ID: <006801c7161b$ee67da20$f70065cb@pcadt> Chris, Good. Well done! However, it needs to be reiterated that ControlSource for a control on a form can very well be manipulated at run time. Whenever a new value for this property is assigned at run time, it prevails over any value that might have been set in design view. The lifespan of new ControlSource assigned at run time is however limited only to the current run time instance of the form in question. As & when the form is closed, the ControlSource reverts to its original value (if any) that was set at design stage. If the form is opened afresh, without run time interference to ControlSource property, the display will conform to the design setting for ControlSource. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Saturday, December 02, 2006 16:43 Subject: Re: [AccessD] Single and Double Inverted Commas! Thanks AD, But having been told that ControlSources (for controls) can't be set other than in design Mode I solved the problem by appending the data to a temp table and just changing the Record Source. Thanks anyway Chris -------Original Message------- From: A.D.TEJPAL Date: 12/01/06 14:30:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Single and Double Inverted Commas! Chris, If the problem is not yet resolved, you could try the following. It has been tested at my end: If Len(strInitials) > 0 Then Me.MonTotDBAdmin.ControlSource = _ "=DSum('DCAdminEventTime'," & _ " 'qry" & strInitials & "_Mon')" End If Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 03:09 Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris From joeget at vgernet.net Sat Dec 2 11:19:50 2006 From: joeget at vgernet.net (John Eget) Date: Sat, 2 Dec 2006 12:19:50 -0500 Subject: [AccessD] Counting a text field References: <001c01c715ea$5b65d780$cdc2f63f@JOHN> <45715E0B.23111.2F4A6221@stuart.lexacorp.com.pg> Message-ID: <001501c71636$167cef40$c6c2f63f@JOHN> Thank you Stuart, it worked perfectly ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Saturday, December 02, 2006 6:05 AM Subject: Re: [AccessD] Counting a text field > On 2 Dec 2006 at 3:17, John Eget wrote: > >> I am trying to use one query to count within a series of records how many >> total items of a field are a Y. So If I have lets say ten records and 4 >> of >> a specific field are a Y then one of the outputs of a calculated field >> would >> be a numerical 4. Does anyone have an idea how to do this? > > =Sum(IIf(myField = "Y",1,0)) > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 2 21:51:40 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 2 Dec 2006 22:51:40 -0500 Subject: [AccessD] Action pack and X64 Message-ID: <000001c7168e$58432130$e1265b05@m6805> Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From ssharkins at setel.com Sun Dec 3 10:07:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 11:07:01 -0500 Subject: [AccessD] Strikeover font in a Memo control Message-ID: <000a01c716f5$12105f90$5c34fad1@SUSANONE> Given the restrictions at the table level, I don't see how you can apply any font, including strikeover, to individual words or characters in a text of memo field. So, even if I could find a rich text control that would allow me to apply it, would Access actually store it that way at the table level? I don't really need a solution, so much, as I'm wondering whether to even pursue a solution -- is it possible to store different font formats at the table level in Access? I don't think it is, but thought I'd ask before passing on this one. Susan H. From mwp.reid at qub.ac.uk Sun Dec 3 10:40:36 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 3 Dec 2006 16:40:36 -0000 Subject: [AccessD] Strikeover font in a Memo control References: <000a01c716f5$12105f90$5c34fad1@SUSANONE> Message-ID: 2007 gives you rich text but not at the table level. Suppose you could do it yourself in some way but would think you would be looking at a programmer of the skill level as Shamil to do it and even then why would you bother? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Sun 03/12/2006 16:07 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Strikeover font in a Memo control Given the restrictions at the table level, I don't see how you can apply any font, including strikeover, to individual words or characters in a text of memo field. So, even if I could find a rich text control that would allow me to apply it, would Access actually store it that way at the table level? I don't really need a solution, so much, as I'm wondering whether to even pursue a solution -- is it possible to store different font formats at the table level in Access? I don't think it is, but thought I'd ask before passing on this one. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Dec 3 10:51:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 11:51:14 -0500 Subject: [AccessD] Strikeover font in a Memo control In-Reply-To: Message-ID: <000601c716fb$3f483e50$d2b62ad1@SUSANONE> If you can't store it, there's no point. That's what I was after. Susan H. 2007 gives you rich text but not at the table level. Suppose you could do it yourself in some way but would think you would be looking at a programmer of the skill level as Shamil to do it and even then why would you bother? From mwp.reid at qub.ac.uk Sun Dec 3 11:27:46 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 3 Dec 2006 17:27:46 -0000 Subject: [AccessD] Strikeover font in a Memo control References: <000601c716fb$3f483e50$d2b62ad1@SUSANONE> Message-ID: Dont think you can but that dosnt mean you cant. I think in 2007 they are actually using HTML and they have to be storing something somewhere. Will have a look and see if I can find out how they are actually doing it but I believe its HTML. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Sun 03/12/2006 16:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strikeover font in a Memo control If you can't store it, there's no point. That's what I was after. Susan H. 2007 gives you rich text but not at the table level. Suppose you could do it yourself in some way but would think you would be looking at a programmer of the skill level as Shamil to do it and even then why would you bother? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Dec 3 11:42:46 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 3 Dec 2006 12:42:46 -0500 Subject: [AccessD] Strikeover font in a Memo control References: <000a01c716f5$12105f90$5c34fad1@SUSANONE> Message-ID: <002601c71702$729b9200$3e3de844@50NM721> ...I'm not sure what you mean by "store at the table level" ...I use Lebans rich text control in all of my apps now and it stores its data, including font and character, in a memo field in a table in the mdb ...including changing fonts and characteristics from word to word or character to character ...I've never used "strikeover" but its just another font characteristic like "bold" ...if that is what you need try www.lebans.com William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Sunday, December 03, 2006 11:07 AM Subject: [AccessD] Strikeover font in a Memo control > Given the restrictions at the table level, I don't see how you can apply > any > font, including strikeover, to individual words or characters in a text of > memo field. So, even if I could find a rich text control that would allow > me > to apply it, would Access actually store it that way at the table level? > > I don't really need a solution, so much, as I'm wondering whether to even > pursue a solution -- is it possible to store different font formats at the > table level in Access? I don't think it is, but thought I'd ask before > passing on this one. > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at setel.com Sun Dec 3 12:27:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 13:27:14 -0500 Subject: [AccessD] Strikeover font in a Memo control In-Reply-To: <002601c71702$729b9200$3e3de844@50NM721> Message-ID: <002a01c71708$a889aa40$d2b62ad1@SUSANONE> William, if I went this route, I'd have to use my own as it would end up an article and I can't write about someone else's solution like that -- but thank you for the link -- maybe someone else will be interested. Susan H. ...I'm not sure what you mean by "store at the table level" ...I use Lebans rich text control in all of my apps now and it stores its data, including font and character, in a memo field in a table in the mdb ...including changing fonts and characteristics from word to word or character to character ...I've never used "strikeover" but its just another font characteristic like "bold" ...if that is what you need try www.lebans.com From stuart at lexacorp.com.pg Sun Dec 3 16:46:14 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 04 Dec 2006 08:46:14 +1000 Subject: [AccessD] Storing Rich Text In-Reply-To: <00be01c714cc$ce20f9e0$e1265b05@m6805> References: <002401c714c2$65393f50$8abea8c0@XPS>, <00be01c714cc$ce20f9e0$e1265b05@m6805> Message-ID: <4573E056.15480.19CDE34C@stuart.lexacorp.com.pg> Sorry to change the subject, but I just read the previous stuff on this before leaving the house this morning and I can't remember what Subject the messages had. I'm now working from a different machine. Rich Text is just text with formatting instructions (similar to HTML). It can be stored in a text or memo field without any problems. If you have a Rich Text aware control it will display just fine on an Access form or report. I've sent a demo offline to Susan. It contains RTF data pasted into a Memo field from a simple document created in Wordpad. This RTF data displays fine with the standard MS Rich Text Control. The only hard part about working with RTF fields is editing them within your application. You need to be able to select parts of the text in a control on a form and apply attributes to the selection. This is usually done with a lot of code behind a standard MS Rich Text Box control and custom menus or buttons to apply the various attributes to selected text. Lebans example is a good one. From newsgrps at dalyn.co.nz Sun Dec 3 17:04:57 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 04 Dec 2006 12:04:57 +1300 Subject: [AccessD] Combo Box not Autocompleting Message-ID: <20061203230340.MPPD20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Group, I have developed a simple database in Access XP (One table, one form). On the form is a combo box that shows all the records on the form. The bound field is a number (long) When I start entering a number the combo box auto completes it with the first match from the list. When I copy the database to another computer with Access 2003 on it (mu client's computer) the combo box does not auto complete. Entering a full number and pressing the enter key returns an error message "The Text entered is not an item on the list". However, I can scroll down the actual list and select the item. Has anyone come across this and have a fix? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From ssharkins at setel.com Sun Dec 3 17:27:22 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 18:27:22 -0500 Subject: [AccessD] Storing Rich Text In-Reply-To: <4573E056.15480.19CDE34C@stuart.lexacorp.com.pg> Message-ID: <004801c71732$95e8bcd0$d2b62ad1@SUSANONE> I haven't gotten your demo! I look forward to it! Does the demo already have the code behind it for selecting and applying fonts to sections of text? Susan H. Sorry to change the subject, but I just read the previous stuff on this before leaving the house this morning and I can't remember what Subject the messages had. I'm now working from a different machine. Rich Text is just text with formatting instructions (similar to HTML). It can be stored in a text or memo field without any problems. If you have a Rich Text aware control it will display just fine on an Access form or report. I've sent a demo offline to Susan. It contains RTF data pasted into a Memo field from a simple document created in Wordpad. This RTF data displays fine with the standard MS Rich Text Control. The only hard part about working with RTF fields is editing them within your application. You need to be able to select parts of the text in a control on a form and apply attributes to the selection. This is usually done with a lot of code behind a standard MS Rich Text Box control and custom menus or buttons to apply the various attributes to selected text. Lebans example is a good one. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 From stuart at lexacorp.com.pg Sun Dec 3 17:48:32 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 04 Dec 2006 09:48:32 +1000 Subject: [AccessD] Storing Rich Text In-Reply-To: <004801c71732$95e8bcd0$d2b62ad1@SUSANONE> References: <4573E056.15480.19CDE34C@stuart.lexacorp.com.pg>, <004801c71732$95e8bcd0$d2b62ad1@SUSANONE> Message-ID: <4573EEF0.21878.1A06ECBD@stuart.lexacorp.com.pg> On 3 Dec 2006 at 18:27, Susan Harkins wrote: > I haven't gotten your demo! I look forward to it! Sorry, I sent it to harkinsss at bellsouth.net and it bounced. I'll resend it now. > Does the demo already have > the code behind it for selecting and applying fonts to sections of text? > Nope, it's just a simple demo to show that you can store RTF in a memo field and display it with a standard MS Ruich Text control. From bchacc at san.rr.com Sun Dec 3 18:31:57 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 3 Dec 2006 16:31:57 -0800 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061203230340.MPPD20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <006d01c7173b$9b994150$6401a8c0@HAL9005> On the theory that there's some difference in the combo box that you dropped into the original XP mdb and the combo box that you create in A2K3, I wonder what would happen if you deleted the box and re-created it on the A2K3 system? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 03, 2006 3:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Combo Box not Autocompleting Group, I have developed a simple database in Access XP (One table, one form). On the form is a combo box that shows all the records on the form. The bound field is a number (long) When I start entering a number the combo box auto completes it with the first match from the list. When I copy the database to another computer with Access 2003 on it (mu client's computer) the combo box does not auto complete. Entering a full number and pressing the enter key returns an error message "The Text entered is not an item on the list". However, I can scroll down the actual list and select the item. Has anyone come across this and have a fix? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/565 - Release Date: 12/2/2006 9:39 PM From newsgrps at dalyn.co.nz Sun Dec 3 20:37:42 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 04 Dec 2006 15:37:42 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <006d01c7173b$9b994150$6401a8c0@HAL9005> References: <20061203230340.MPPD20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> <006d01c7173b$9b994150$6401a8c0@HAL9005> Message-ID: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Thank for the reply Rocky, The database wasn't recreated in 2003. I just copied the XP file onto the client's computer. The only thing that needed adjusting was a reference to Microsoft Offic XP Web Components (Not sure what that was there for). I removed the reference in both versions of the database - the XP version still works fine, the 2003 still doesn't. I also tried recreating the combo box direct in the 2003 copy but it behaved the same way (IE no auto complete). David At 4/12/2006, you wrote: >On the theory that there's some difference in the combo box that you dropped >into the original XP mdb and the combo box that you create in A2K3, I wonder >what would happen if you deleted the box and re-created it on the A2K3 >system? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 3:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Combo Box not Autocompleting > >Group, > >I have developed a simple database in Access XP (One table, one >form). On the form is a combo box that shows all the records on the >form. The bound field is a number (long) > >When I start entering a number the combo box auto completes it with >the first match from the list. > >When I copy the database to another computer with Access 2003 on it >(mu client's computer) the combo box does not auto >complete. Entering a full number and pressing the enter key returns >an error message "The Text entered is not an item on the >list". However, I can scroll down the actual list and select the item. > >Has anyone come across this and have a fix? > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand From bchacc at san.rr.com Sun Dec 3 23:06:21 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 3 Dec 2006 21:06:21 -0800 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <009501c71761$f0a7e4f0$6401a8c0@HAL9005> Well, it was a pure shot in the dark. Even a blind squirrel finds a nut once in a while. How about the bound column? Anything out of the ordinary there? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 03, 2006 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo Box not Autocompleting Thank for the reply Rocky, The database wasn't recreated in 2003. I just copied the XP file onto the client's computer. The only thing that needed adjusting was a reference to Microsoft Offic XP Web Components (Not sure what that was there for). I removed the reference in both versions of the database - the XP version still works fine, the 2003 still doesn't. I also tried recreating the combo box direct in the 2003 copy but it behaved the same way (IE no auto complete). David At 4/12/2006, you wrote: >On the theory that there's some difference in the combo box that you dropped >into the original XP mdb and the combo box that you create in A2K3, I wonder >what would happen if you deleted the box and re-created it on the A2K3 >system? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 3:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Combo Box not Autocompleting > >Group, > >I have developed a simple database in Access XP (One table, one >form). On the form is a combo box that shows all the records on the >form. The bound field is a number (long) > >When I start entering a number the combo box auto completes it with >the first match from the list. > >When I copy the database to another computer with Access 2003 on it >(mu client's computer) the combo box does not auto >complete. Entering a full number and pressing the enter key returns >an error message "The Text entered is not an item on the >list". However, I can scroll down the actual list and select the item. > >Has anyone come across this and have a fix? > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM From newsgrps at dalyn.co.nz Sun Dec 3 23:31:55 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 04 Dec 2006 18:31:55 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <009501c71761$f0a7e4f0$6401a8c0@HAL9005> References: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009501c71761$f0a7e4f0$6401a8c0@HAL9005> Message-ID: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Nothing unusual. It is an ID field automatically generated. Because the database is so basic and has a lifespan of about three weeks, the data table is in the same file as the form. The same data was copied to the client machine as on my machine. No records have been added - only some fields edited. David At 4/12/2006, you wrote: >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut >once in a while. > >How about the bound column? Anything out of the ordinary there? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 6:38 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Combo Box not Autocompleting > >Thank for the reply Rocky, > >The database wasn't recreated in 2003. I just copied the XP file >onto the client's computer. > >The only thing that needed adjusting was a reference to Microsoft >Offic XP Web Components (Not sure what that was there for). I >removed the reference in both versions of the database - the XP >version still works fine, the 2003 still doesn't. > >I also tried recreating the combo box direct in the 2003 copy but it >behaved the same way (IE no auto complete). > >David > >At 4/12/2006, you wrote: > >On the theory that there's some difference in the combo box that you >dropped > >into the original XP mdb and the combo box that you create in A2K3, I >wonder > >what would happen if you deleted the box and re-created it on the A2K3 > >system? > > > >Rocky > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 3:05 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Combo Box not Autocompleting > > > >Group, > > > >I have developed a simple database in Access XP (One table, one > >form). On the form is a combo box that shows all the records on the > >form. The bound field is a number (long) > > > >When I start entering a number the combo box auto completes it with > >the first match from the list. > > > >When I copy the database to another computer with Access 2003 on it > >(mu client's computer) the combo box does not auto > >complete. Entering a full number and pressing the enter key returns > >an error message "The Text entered is not an item on the > >list". However, I can scroll down the actual list and select the item. > > > >Has anyone come across this and have a fix? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >4:36 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Dec 3 23:57:07 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 3 Dec 2006 21:57:07 -0800 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <009901c71769$088c8420$6401a8c0@HAL9005> ">I also tried recreating the combo box direct in the 2003 copy but it >behaved the same way (IE no auto complete)." If you create a new form and create a combo box with a different data source does it behave the same way? With the same data source, does it behave the same way? IOW, do all combo boxes in this installation of A2K3 fail on the auto complete? Is Tools-->Options-->General-->Track Name Autocorrect info turned off? Don't see why it should matter but that seems to cause a lot of random problems. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 03, 2006 9:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo Box not Autocompleting Nothing unusual. It is an ID field automatically generated. Because the database is so basic and has a lifespan of about three weeks, the data table is in the same file as the form. The same data was copied to the client machine as on my machine. No records have been added - only some fields edited. David At 4/12/2006, you wrote: >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut >once in a while. > >How about the bound column? Anything out of the ordinary there? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 6:38 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Combo Box not Autocompleting > >Thank for the reply Rocky, > >The database wasn't recreated in 2003. I just copied the XP file >onto the client's computer. > >The only thing that needed adjusting was a reference to Microsoft >Offic XP Web Components (Not sure what that was there for). I >removed the reference in both versions of the database - the XP >version still works fine, the 2003 still doesn't. > >I also tried recreating the combo box direct in the 2003 copy but it >behaved the same way (IE no auto complete). > >David > >At 4/12/2006, you wrote: > >On the theory that there's some difference in the combo box that you >dropped > >into the original XP mdb and the combo box that you create in A2K3, I >wonder > >what would happen if you deleted the box and re-created it on the A2K3 > >system? > > > >Rocky > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 3:05 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Combo Box not Autocompleting > > > >Group, > > > >I have developed a simple database in Access XP (One table, one > >form). On the form is a combo box that shows all the records on the > >form. The bound field is a number (long) > > > >When I start entering a number the combo box auto completes it with > >the first match from the list. > > > >When I copy the database to another computer with Access 2003 on it > >(mu client's computer) the combo box does not auto > >complete. Entering a full number and pressing the enter key returns > >an error message "The Text entered is not an item on the > >list". However, I can scroll down the actual list and select the item. > > > >Has anyone come across this and have a fix? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >4:36 PM > > >-- >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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM From wdhindman at dejpolsystems.com Mon Dec 4 00:01:17 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 4 Dec 2006 01:01:17 -0500 Subject: [AccessD] Combo Box not Autocompleting References: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz><009501c71761$f0a7e4f0$6401a8c0@HAL9005> <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <000701c71769$9dbe0730$3e3de844@50NM721> ...wags ...is the client's A2k3 a full install or a runtime? ...if full, have you decompiled/compiled on that system? ...if runtime, does the xp version work on your system with the runtime switch set? William Hindman ----- Original Message ----- From: "David Emerson" To: "Access Developers discussion and problem solving" Sent: Monday, December 04, 2006 12:31 AM Subject: Re: [AccessD] Combo Box not Autocompleting > Nothing unusual. It is an ID field automatically generated. Because > the database is so basic and has a lifespan of about three weeks, the > data table is in the same file as the form. The same data was copied > to the client machine as on my machine. No records have been added - > only some fields edited. > > David > > At 4/12/2006, you wrote: >>Well, it was a pure shot in the dark. Even a blind squirrel finds a nut >>once in a while. >> >>How about the bound column? Anything out of the ordinary there? >> >>Rocky >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >>Sent: Sunday, December 03, 2006 6:38 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Combo Box not Autocompleting >> >>Thank for the reply Rocky, >> >>The database wasn't recreated in 2003. I just copied the XP file >>onto the client's computer. >> >>The only thing that needed adjusting was a reference to Microsoft >>Offic XP Web Components (Not sure what that was there for). I >>removed the reference in both versions of the database - the XP >>version still works fine, the 2003 still doesn't. >> >>I also tried recreating the combo box direct in the 2003 copy but it >>behaved the same way (IE no auto complete). >> >>David >> >>At 4/12/2006, you wrote: >> >On the theory that there's some difference in the combo box that you >>dropped >> >into the original XP mdb and the combo box that you create in A2K3, I >>wonder >> >what would happen if you deleted the box and re-created it on the A2K3 >> >system? >> > >> >Rocky >> > >> > >> >-----Original Message----- >> >From: accessd-bounces at databaseadvisors.com >> >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >> >Sent: Sunday, December 03, 2006 3:05 PM >> >To: accessd at databaseadvisors.com >> >Subject: [AccessD] Combo Box not Autocompleting >> > >> >Group, >> > >> >I have developed a simple database in Access XP (One table, one >> >form). On the form is a combo box that shows all the records on the >> >form. The bound field is a number (long) >> > >> >When I start entering a number the combo box auto completes it with >> >the first match from the list. >> > >> >When I copy the database to another computer with Access 2003 on it >> >(mu client's computer) the combo box does not auto >> >complete. Entering a full number and pressing the enter key returns >> >an error message "The Text entered is not an item on the >> >list". However, I can scroll down the actual list and select the item. >> > >> >Has anyone come across this and have a fix? >> > >> >Regards >> > >> >David Emerson >> >Dalyn Software Ltd >> >Wellington, New Zealand >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >>4:36 PM >> >> >>-- >>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 Mon Dec 4 08:12:46 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Dec 2006 09:12:46 -0500 Subject: [AccessD] Action pack and X64 In-Reply-To: <000001c7168e$58432130$e1265b05@m6805> Message-ID: <044e01c717ae$485fe160$8abea8c0@XPS> John, No, it's not in there. I just looked at my few shipments. The big focus is SBS and Office 2007. I've got it through my MSDN Universal though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 02, 2006 10:52 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software issues' Subject: [AccessD] Action pack and X64 Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Dec 4 08:22:47 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 4 Dec 2006 08:22:47 -0600 Subject: [AccessD] Action pack and X64 In-Reply-To: <044e01c717ae$485fe160$8abea8c0@XPS> References: <000001c7168e$58432130$e1265b05@m6805> <044e01c717ae$485fe160$8abea8c0@XPS> Message-ID: I just resubbed on mine and the order confirmation indicated it was 32 bit so perhaps there is a 64 bit version too? GK On 12/4/06, Jim Dettman wrote: > John, > > No, it's not in there. I just looked at my few shipments. The big focus > is SBS and Office 2007. I've got it through my MSDN Universal though. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, December 02, 2006 10:52 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software > issues' > Subject: [AccessD] Action pack and X64 > > Does anyone know if the action pack contains the X64 versions of 2003 and > SQL Server? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 > -- Gary Kjos garykjos at gmail.com From accessd666 at yahoo.com Mon Dec 4 08:30:53 2006 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 4 Dec 2006 06:30:53 -0800 (PST) Subject: [AccessD] ms-access variant of @@rowcount or rowcount Message-ID: <20061204143054.11858.qmail@web31602.mail.mud.yahoo.com> Hi, in my query i need a field with the rowcount. Let's say i've got a table (t1) with 1 field (Name). This table has 2 values (a & b). I want a query that returns the field and a rowcount e.g.: select name, row_count from t1 Problem: what is the access variant for @@ROWCOUNT?? Regards, Sander ____________________________________________________________________________________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com From stuart at lexacorp.com.pg Mon Dec 4 08:44:08 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Dec 2006 00:44:08 +1000 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: <20061204143054.11858.qmail@web31602.mail.mud.yahoo.com> References: <20061204143054.11858.qmail@web31602.mail.mud.yahoo.com> Message-ID: <45743438.4336.7E2AED6@stuart.lexacorp.com.pg> On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart From accessd666 at yahoo.com Mon Dec 4 08:51:03 2006 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 4 Dec 2006 06:51:03 -0800 (PST) Subject: [AccessD] ms-access variant of @@rowcount or rowcount Message-ID: <20061204145103.14264.qmail@web31607.mail.mud.yahoo.com> No that did not do the trick. That would return: a 1 b 1 What i need is: a 1 b 2 ... ... z 26 Thnx anyway ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Monday, December 4, 2006 3:44:08 PM Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. From ssharkins at setel.com Mon Dec 4 09:04:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 4 Dec 2006 10:04:59 -0500 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: <20061204145103.14264.qmail@web31607.mail.mud.yahoo.com> Message-ID: <002001c717b5$91df04e0$6232fad1@SUSANONE> If you just need the one field and the row count, a Totals query, choose the Count aggregate, would work, wouldn't it -- assuming the data field contained unique values. Susan H. No that did not do the trick. That would return: a 1 b 1 What i need is: a 1 b 2 ... ... z 26 Thnx anyway ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Monday, December 4, 2006 3:44:08 PM Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________ ________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 From Gustav at cactus.dk Mon Dec 4 09:06:01 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Dec 2006 16:06:01 +0100 Subject: [AccessD] ms-access variant of @@rowcount or rowcount Message-ID: Hi Sad Look here: http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035324.html Generating a rownumber field in a query. /gustav >>> accessd666 at yahoo.com 04-12-2006 15:51 >>> No that did not do the trick. That would return: a 1 b 1 What i need is: a 1 b 2 ... ... z 26 From markamatte at hotmail.com Mon Dec 4 10:15:51 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 04 Dec 2006 16:15:51 +0000 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: Message-ID: Something I use...but has a problem keeping the numbers as you scroll is below. I use this in a query that populates a temp table...and the numbers are always correct and sequential...just not good for a display query. 1. put the following in a module: Option Compare Database Option Explicit Global lngTableCounter As Long Function MyAutoCtr(prmAny) 'Trick is to pass a field from the input table(s) so that function called for each record 'otherwise Access thinks that the function will always return the same value and 'only calls it once, and every output record gets the same value MyAutoCtr = lngTableCounter lngTableCounter = lngTableCounter + 1 End Function 2. In your query use the following field: Countfld: MyAutoCtr([fldYourPK]) 3. Everytime you need to rerun this query, the following needs to be executed somewhere(I put it behind the button that launches my query: lngTableCounter = 1 I hope this helps. Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount >Date: Mon, 04 Dec 2006 16:06:01 +0100 > >Hi Sad > >Look here: > >http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035324.html > >Generating a rownumber field in a query. > >/gustav > > >>> accessd666 at yahoo.com 04-12-2006 15:51 >>> >No that did not do the trick. That would return: >a 1 >b 1 > >What i need is: >a 1 >b 2 >... >... >z 26 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay up-to-date with your friends through the Windows Live Spaces friends list. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk From reuben at gfconsultants.com Mon Dec 4 10:29:19 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 4 Dec 2006 11:29:19 -0500 Subject: [AccessD] Multiplying Currency with 6 decimals Message-ID: I have an application that allows a unit to import a text file which then shows the TOTAL cash due to a unit. However, the state keeps some and therefore the unit gets a percentage sent to them. The result is how much cash they actually get. No problem so far.... However, the state uses a percentage with 6 decimals. The currency data type is only four decimals. Therefore I can't use currency and now I get an error of several pennies on each calculation. Any suggestions on how to get the accuracy back? Thanks. Reuben Cummings GFC, LLC 812.523.1017 From bchacc at san.rr.com Mon Dec 4 10:38:07 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 4 Dec 2006 08:38:07 -0800 Subject: [AccessD] Multiplying Currency with 6 decimals In-Reply-To: Message-ID: <004101c717c2$93e3c2a0$6401a8c0@HAL9005> Can you carry the numbers internally as double and only format to currency on the way out to a report? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, December 04, 2006 8:29 AM To: AccessD Subject: [AccessD] Multiplying Currency with 6 decimals I have an application that allows a unit to import a text file which then shows the TOTAL cash due to a unit. However, the state keeps some and therefore the unit gets a percentage sent to them. The result is how much cash they actually get. No problem so far.... However, the state uses a percentage with 6 decimals. The currency data type is only four decimals. Therefore I can't use currency and now I get an error of several pennies on each calculation. Any suggestions on how to get the accuracy back? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM From Gustav at cactus.dk Mon Dec 4 10:44:55 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Dec 2006 17:44:55 +0100 Subject: [AccessD] Multiplying Currency with 6 decimals Message-ID: Hi Reuben Multiply the amount by 100 before the calculation. Divide by 100 when you need the actual amount. It should be noted that in many cases tax authorities do accept minor rounding up or down as that is a part of real life and counting decimal pennies is of so little value that it can be ignored. /gustav >>> reuben at gfconsultants.com 04-12-2006 17:29 >>> I have an application that allows a unit to import a text file which then shows the TOTAL cash due to a unit. However, the state keeps some and therefore the unit gets a percentage sent to them. The result is how much cash they actually get. No problem so far.... However, the state uses a percentage with 6 decimals. The currency data type is only four decimals. Therefore I can't use currency and now I get an error of several pennies on each calculation. Any suggestions on how to get the accuracy back? Thanks. Reuben Cummings GFC, LLC 812.523.1017 From Drawbridge.Jack at ic.gc.ca Mon Dec 4 10:54:28 2006 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 4 Dec 2006 11:54:28 -0500 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: <45743438.4336.7E2AED6@stuart.lexacorp.com.pg> Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B07B592E8@MSG-MB3.icent.ic.gc.ca> Here's an example we have used in the past. It may be useful. Note : The REQUIREMENT that est_seq in example must have unique values Query: MyRowNum SELECT CCL_EST_NM.est_no, CCL_EST_NM.est_seq, CCL_EST_NM.est_nm, CCL_EST_NM.est_typ, CCL_EST_NM.est_lang, (Select Count (*) FROM [CCL_EST_NM] as Temp WHERE [Temp].[est_seq] < [CCL_EST_NM].[est_seq])+ 1 AS RowNum FROM CCL_EST_NM; REQUIREMENT:::: est_seq is a field within the Table that has unique values in ascending order. The numbers do not have to be contiguous. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 4, 2006 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Drawbridge.Jack at ic.gc.ca Mon Dec 4 10:59:22 2006 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 4 Dec 2006 11:59:22 -0500 Subject: [AccessD] Recall: ms-access variant of @@rowcount or rowcount Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B07B592F9@MSG-MB3.icent.ic.gc.ca> Drawbridge, Jack: #CIO - BPI would like to recall the message, "[AccessD] ms-access variant of @@rowcount or rowcount". From gwsmith at iowatelecom.net Mon Dec 4 13:54:09 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Mon, 4 Dec 2006 13:54:09 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: References: Message-ID: <31334.65.118.249.214.1165262049.squirrel@webmail.iowatelecom.net> Shamil: Well, thanks!? (to everyone who helped too) for starters.? Actually, it was the 4th example of the sample db that you sent me that I finally got to work.? Yes, the v6 of msxml would work here too, but I had another complication that was making it fail on example #4.? One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access.? Would not create an error, just wouldn't import the data.? DUH on me I guess.? Once I got past that hump, I could extract any attributes within any elements in my XML file.? And it works to any depth of elements, and it works if there are no line breaks (just the whole file being a single string).? So a GIANT thanks is in order.? My only caveat now is that I have to change that keyword (which occurs about 3 times in the file) in the text file BEFORE I try to import it... Thanks again!! Greg From shamil at users.mns.ru Mon Dec 4 14:01:14 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 4 Dec 2006 23:01:14 +0300 Subject: [AccessD] OT: Code39 barcode font Message-ID: <002b01c717de$f3fde5f0$6401a8c0@nant> Hello All, Could you please advise what is the best Code39 barcode TTF font (free or not-free), which you used in your real life projects? I see quite some proposals on Internet but I have very little experience in this area and therefore I'd better use proven suppliers of Code39 barcode TTF fonts... For example - this looks good - http://www.barcode-1.net/pub/russadam/39code.html - but I need narrower barcodes for 24 - 26 pt tall ones... Thank you in advance for any hints and links... -- Shamil From bheid at sc.rr.com Mon Dec 4 14:12:04 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 4 Dec 2006 15:12:04 -0500 Subject: [AccessD] Removal from the list... Message-ID: <000c01c717e0$776724f0$465a1d05@bhxp> Hey, I tried removing my work email address from the AccessD, dba-OT, and the dba-Tech lists (I'm still on here from home). I click on the unsubscribe button on the various web sites and it says that an email confirmation has been sent. But I never receive anything. Anyone know what I am doing wrong or if the unsubscribe thing is not working correctly? Thanks, Bobby From mfisch4 at capex.com.ar Mon Dec 4 14:22:11 2006 From: mfisch4 at capex.com.ar (MF) Date: Mon, 04 Dec 2006 17:22:11 -0300 Subject: [AccessD] Removal from the list... In-Reply-To: <000c01c717e0$776724f0$465a1d05@bhxp> References: <000c01c717e0$776724f0$465a1d05@bhxp> Message-ID: <6.2.3.4.0.20061204172035.029db810@bsas-mail> Aren't your confirmations being stopped by any spam filter? (just an idea, of the top of my head) MF __________________________ At 17:12 04/12/2006, you wrote: >Hey, > >I tried removing my work email address from the AccessD, dba-OT, and the >dba-Tech lists (I'm still on here from home). I click on the unsubscribe >button on the various web sites and it says that an email confirmation has >been sent. But I never receive anything. > >Anyone know what I am doing wrong or if the unsubscribe thing is not working >correctly? > >Thanks, >Bobby From carbonnb at gmail.com Mon Dec 4 14:23:06 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 15:23:06 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: <000c01c717e0$776724f0$465a1d05@bhxp> References: <000c01c717e0$776724f0$465a1d05@bhxp> Message-ID: On 12/4/06, Bobby Heid wrote: > Hey, > > I tried removing my work email address from the AccessD, dba-OT, and the > dba-Tech lists (I'm still on here from home). I click on the unsubscribe > button on the various web sites and it says that an email confirmation has > been sent. But I never receive anything. > > Anyone know what I am doing wrong or if the unsubscribe thing is not working > correctly? Did you have cookies enabled in your web browser? What is your work e-mail and I'll do it manually for you. -- 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 carbonnb at gmail.com Mon Dec 4 14:25:15 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 15:25:15 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: References: <000c01c717e0$776724f0$465a1d05@bhxp> Message-ID: On 12/4/06, Bryan Carbonnell wrote: > On 12/4/06, Bobby Heid wrote: > > Hey, > > > > I tried removing my work email address from the AccessD, dba-OT, and the > > dba-Tech lists (I'm still on here from home). I click on the unsubscribe > > button on the various web sites and it says that an email confirmation has > > been sent. But I never receive anything. > > > > Anyone know what I am doing wrong or if the unsubscribe thing is not working > > correctly? > > Did you have cookies enabled in your web browser? > > What is your work e-mail and I'll do it manually for you. One other thought... check your spam filters. It may have gotten eaten by them. -- 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 newsgrps at dalyn.co.nz Mon Dec 4 14:35:51 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 05 Dec 2006 09:35:51 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <000701c71769$9dbe0730$3e3de844@50NM721> References: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009501c71761$f0a7e4f0$6401a8c0@HAL9005> <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <000701c71769$9dbe0730$3e3de844@50NM721> Message-ID: <20061204203649.SKFD29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> The client's laptop is a full version. However, it is a hired one and they seem to have locked down the programs. I am trying to get hold of it so that I can do some tests for myself (so far it has been via giving instructions over the phone). When I get it I will try decompile etc. David At 4/12/2006, you wrote: >...wags ...is the client's A2k3 a full install or a runtime? ...if full, >have you decompiled/compiled on that system? ...if runtime, does the xp >version work on your system with the runtime switch set? > >William Hindman > >----- Original Message ----- >From: "David Emerson" >To: "Access Developers discussion and problem solving" > >Sent: Monday, December 04, 2006 12:31 AM >Subject: Re: [AccessD] Combo Box not Autocompleting > > > > Nothing unusual. It is an ID field automatically generated. Because > > the database is so basic and has a lifespan of about three weeks, the > > data table is in the same file as the form. The same data was copied > > to the client machine as on my machine. No records have been added - > > only some fields edited. > > > > David > > > > At 4/12/2006, you wrote: > >>Well, it was a pure shot in the dark. Even a blind squirrel finds a nut > >>once in a while. > >> > >>How about the bound column? Anything out of the ordinary there? > >> > >>Rocky > >> > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >>Sent: Sunday, December 03, 2006 6:38 PM > >>To: Access Developers discussion and problem solving > >>Subject: Re: [AccessD] Combo Box not Autocompleting > >> > >>Thank for the reply Rocky, > >> > >>The database wasn't recreated in 2003. I just copied the XP file > >>onto the client's computer. > >> > >>The only thing that needed adjusting was a reference to Microsoft > >>Offic XP Web Components (Not sure what that was there for). I > >>removed the reference in both versions of the database - the XP > >>version still works fine, the 2003 still doesn't. > >> > >>I also tried recreating the combo box direct in the 2003 copy but it > >>behaved the same way (IE no auto complete). > >> > >>David > >> > >>At 4/12/2006, you wrote: > >> >On the theory that there's some difference in the combo box that you > >>dropped > >> >into the original XP mdb and the combo box that you create in A2K3, I > >>wonder > >> >what would happen if you deleted the box and re-created it on the A2K3 > >> >system? > >> > > >> >Rocky > >> > > >> > > >> >-----Original Message----- > >> >From: accessd-bounces at databaseadvisors.com > >> >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >> >Sent: Sunday, December 03, 2006 3:05 PM > >> >To: accessd at databaseadvisors.com > >> >Subject: [AccessD] Combo Box not Autocompleting > >> > > >> >Group, > >> > > >> >I have developed a simple database in Access XP (One table, one > >> >form). On the form is a combo box that shows all the records on the > >> >form. The bound field is a number (long) > >> > > >> >When I start entering a number the combo box auto completes it with > >> >the first match from the list. > >> > > >> >When I copy the database to another computer with Access 2003 on it > >> >(mu client's computer) the combo box does not auto > >> >complete. Entering a full number and pressing the enter key returns > >> >an error message "The Text entered is not an item on the > >> >list". However, I can scroll down the actual list and select the item. > >> > > >> >Has anyone come across this and have a fix? > >> > > >> >Regards > >> > > >> >David Emerson > >> >Dalyn Software Ltd > >> >Wellington, New Zealand > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >>-- > >>No virus found in this incoming message. > >>Checked by AVG Free Edition. > >>Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 > >>4:36 PM > >> > >> > >>-- > >>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 newsgrps at dalyn.co.nz Mon Dec 4 14:38:00 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 05 Dec 2006 09:38:00 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <009901c71769$088c8420$6401a8c0@HAL9005> References: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009901c71769$088c8420$6401a8c0@HAL9005> Message-ID: <20061204203654.SKHT29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> Ok, We created a new database, and were able to get it to work using a value list. We also were able to create a new form in the main database and get the value list combo to autocomplete. However, when we replicated the combo box in the new form using the query as the source, the autocomplete didn't work :-( I am trying to get hold of it so that I can do some tests for myself (so far it has been via giving instructions over the phone). David At 4/12/2006, you wrote: >">I also tried recreating the combo box direct in the 2003 copy but it > >behaved the same way (IE no auto complete)." > >If you create a new form and create a combo box with a different data source >does it behave the same way? With the same data source, does it behave the >same way? IOW, do all combo boxes in this installation of A2K3 fail on the >auto complete? > >Is Tools-->Options-->General-->Track Name Autocorrect info turned off? >Don't see why it should matter but that seems to cause a lot of random >problems. > >Rocky > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 9:32 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Combo Box not Autocompleting > >Nothing unusual. It is an ID field automatically generated. Because >the database is so basic and has a lifespan of about three weeks, the >data table is in the same file as the form. The same data was copied >to the client machine as on my machine. No records have been added - >only some fields edited. > >David > >At 4/12/2006, you wrote: > >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut > >once in a while. > > > >How about the bound column? Anything out of the ordinary there? > > > >Rocky > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 6:38 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Combo Box not Autocompleting > > > >Thank for the reply Rocky, > > > >The database wasn't recreated in 2003. I just copied the XP file > >onto the client's computer. > > > >The only thing that needed adjusting was a reference to Microsoft > >Offic XP Web Components (Not sure what that was there for). I > >removed the reference in both versions of the database - the XP > >version still works fine, the 2003 still doesn't. > > > >I also tried recreating the combo box direct in the 2003 copy but it > >behaved the same way (IE no auto complete). > > > >David > > > >At 4/12/2006, you wrote: > > >On the theory that there's some difference in the combo box that you > >dropped > > >into the original XP mdb and the combo box that you create in A2K3, I > >wonder > > >what would happen if you deleted the box and re-created it on the A2K3 > > >system? > > > > > >Rocky > > > > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > >Sent: Sunday, December 03, 2006 3:05 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] Combo Box not Autocompleting > > > > > >Group, > > > > > >I have developed a simple database in Access XP (One table, one > > >form). On the form is a combo box that shows all the records on the > > >form. The bound field is a number (long) > > > > > >When I start entering a number the combo box auto completes it with > > >the first match from the list. > > > > > >When I copy the database to another computer with Access 2003 on it > > >(mu client's computer) the combo box does not auto > > >complete. Entering a full number and pressing the enter key returns > > >an error message "The Text entered is not an item on the > > >list". However, I can scroll down the actual list and select the item. > > > > > >Has anyone come across this and have a fix? > > > > > >Regards > > > > > >David Emerson > > >Dalyn Software Ltd > > >Wellington, New Zealand > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >No virus found in this incoming message. > >Checked by AVG Free Edition. > >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 > >4:36 PM > > > > > >-- > >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 > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >4:36 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bheid at sc.rr.com Mon Dec 4 14:49:41 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 4 Dec 2006 15:49:41 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: Message-ID: <002001c717e5$b96349b0$465a1d05@bhxp> I did check the filters and did not see anything. My work address is bheid at appdevgrp.com. Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, December 04, 2006 3:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Removal from the list... On 12/4/06, Bryan Carbonnell wrote: > On 12/4/06, Bobby Heid wrote: > > Hey, > > > > I tried removing my work email address from the AccessD, dba-OT, and the > > dba-Tech lists (I'm still on here from home). I click on the unsubscribe > > button on the various web sites and it says that an email confirmation has > > been sent. But I never receive anything. > > > > Anyone know what I am doing wrong or if the unsubscribe thing is not working > > correctly? > > Did you have cookies enabled in your web browser? > > What is your work e-mail and I'll do it manually for you. One other thought... check your spam filters. It may have gotten eaten by them. -- Bryan Carbonnell - carbonnb at gmail.com From jimdettman at verizon.net Mon Dec 4 15:02:52 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Dec 2006 16:02:52 -0500 Subject: [AccessD] OT: Code39 barcode font In-Reply-To: <002b01c717de$f3fde5f0$6401a8c0@nant> Message-ID: <053501c717e7$90e0bc00$8abea8c0@XPS> Shamil, While not a font, I have used AbarCode for Access for several projects and like it. No external DLLs, OCX's, etc. Here's a link: http://www.abarcode.net/en/default.asp Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 04, 2006 3:01 PM To: 'Access-D' Subject: [AccessD] OT: Code39 barcode font Hello All, Could you please advise what is the best Code39 barcode TTF font (free or not-free), which you used in your real life projects? I see quite some proposals on Internet but I have very little experience in this area and therefore I'd better use proven suppliers of Code39 barcode TTF fonts... For example - this looks good - http://www.barcode-1.net/pub/russadam/39code.html - but I need narrower barcodes for 24 - 26 pt tall ones... Thank you in advance for any hints and links... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Mon Dec 4 15:26:08 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 16:26:08 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: <002001c717e5$b96349b0$465a1d05@bhxp> References: <002001c717e5$b96349b0$465a1d05@bhxp> Message-ID: On 12/4/06, Bobby Heid wrote: > I did check the filters and did not see anything. My work address is > bheid at appdevgrp.com. Unsubbed from AccessD and OT. You weren't subbed to tech from bheid at appdevgrp.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 bheid at sc.rr.com Mon Dec 4 15:42:42 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 4 Dec 2006 16:42:42 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: Message-ID: <000001c717ed$2196afc0$465a1d05@bhxp> Hmm, I was getting it at work. Maybe that unsub worked? Anyways, thanks for the assist Bryan. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, December 04, 2006 4:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Removal from the list... On 12/4/06, Bobby Heid wrote: > I did check the filters and did not see anything. My work address is > bheid at appdevgrp.com. Unsubbed from AccessD and OT. You weren't subbed to tech from bheid at appdevgrp.com -- Bryan Carbonnell - carbonnb at gmail.com From carbonnb at gmail.com Mon Dec 4 15:51:05 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 16:51:05 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: <000001c717ed$2196afc0$465a1d05@bhxp> References: <000001c717ed$2196afc0$465a1d05@bhxp> Message-ID: On 12/4/06, Bobby Heid wrote: > Hmm, I was getting it at work. Maybe that unsub worked? It looks like you unsubbed from tech last Monday. > Anyways, thanks for the assist Bryan. That's why they pay me the big bucks :) -- 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 jwcolby at colbyconsulting.com Mon Dec 4 16:30:55 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 4 Dec 2006 17:30:55 -0500 Subject: [AccessD] Action pack and X64 In-Reply-To: <044e01c717ae$485fe160$8abea8c0@XPS> Message-ID: <007d01c717f3$dde06170$e1265b05@m6805> Jim, I could not find it in the action pack anywhere either and I don't have the funds for an MSDN subscription John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, December 04, 2006 9:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action pack and X64 John, No, it's not in there. I just looked at my few shipments. The big focus is SBS and Office 2007. I've got it through my MSDN Universal though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 02, 2006 10:52 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software issues' Subject: [AccessD] Action pack and X64 Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.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 kp at sdsonline.net Mon Dec 4 17:06:13 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 5 Dec 2006 10:06:13 +1100 Subject: [AccessD] error 3061 too few parameters 2003 Message-ID: <007401c717f8$cbdfd280$6401a8c0@office> Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From ssharkins at setel.com Mon Dec 4 17:23:05 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 4 Dec 2006 18:23:05 -0500 Subject: [AccessD] error 3061 too few parameters 2003 In-Reply-To: <007401c717f8$cbdfd280$6401a8c0@office> Message-ID: <003601c717fb$276c0810$2d32fad1@SUSANONE> Runs fine for me in 2003. Susan H. Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here From jimdettman at verizon.net Mon Dec 4 18:33:04 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Dec 2006 19:33:04 -0500 Subject: [AccessD] Action pack and X64 In-Reply-To: <007d01c717f3$dde06170$e1265b05@m6805> Message-ID: <001801c71804$ee5aeaa0$8abea8c0@XPS> John, Yeah, the MSDN Universal is a chunk of change. Only way I could make it somewhat palatable was to buy a two year subscription for $2,499. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 04, 2006 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action pack and X64 Jim, I could not find it in the action pack anywhere either and I don't have the funds for an MSDN subscription John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, December 04, 2006 9:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action pack and X64 John, No, it's not in there. I just looked at my few shipments. The big focus is SBS and Office 2007. I've got it through my MSDN Universal though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 02, 2006 10:52 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software issues' Subject: [AccessD] Action pack and X64 Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.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 kp at sdsonline.net Mon Dec 4 18:38:12 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 5 Dec 2006 11:38:12 +1100 Subject: [AccessD] error 3061 too few parameters 2003 References: <003601c717fb$276c0810$2d32fad1@SUSANONE> Message-ID: <007f01c71805$a62bf430$6401a8c0@office> ok - thanks Susan. Must be a red herring. I'll look at the underlying queries Kath ----- Original Message ----- From: Susan Harkins To: 'Access Developers discussion and problem solving' Sent: Tuesday, December 05, 2006 10:23 AM Subject: Re: [AccessD] error 3061 too few parameters 2003 Runs fine for me in 2003. Susan H. Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here -- 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 Dec 4 18:46:19 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Dec 2006 10:46:19 +1000 Subject: [AccessD] error 3061 too few parameters 2003 In-Reply-To: <007401c717f8$cbdfd280$6401a8c0@office> References: <007401c717f8$cbdfd280$6401a8c0@office> Message-ID: <45754DFB.11775.1F623080@stuart.lexacorp.com.pg> On 5 Dec 2006 at 10:06, Kath Pelletti wrote: > Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). ... > strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Does QryHistory_PortfolioMVandIncome contain any criteria that point to a control on a Form? If so, you need to use a work-round such as a static function to pass that parameter to the query rather than a control reference. (Search the archives for "Static function") But then, that shouldn't work in A2K either :-( From kp at sdsonline.net Mon Dec 4 19:04:34 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 5 Dec 2006 12:04:34 +1100 Subject: [AccessD] error 3061 too few parameters 2003 References: <007401c717f8$cbdfd280$6401a8c0@office> <45754DFB.11775.1F623080@stuart.lexacorp.com.pg> Message-ID: <008e01c71809$54b2ba40$6401a8c0@office> Yes - the underlying queries all have some form criteria......not the main query referenced in the code. I've tested all underlying queries and they work in the query window, so it could be, as you say, that I'm not going to get away with that in Access 2003, even though A2K allowed it. I'll do that search Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, December 05, 2006 11:46 AM Subject: Re: [AccessD] error 3061 too few parameters 2003 On 5 Dec 2006 at 10:06, Kath Pelletti wrote: > Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). ... > strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Does QryHistory_PortfolioMVandIncome contain any criteria that point to a control on a Form? If so, you need to use a work-round such as a static function to pass that parameter to the query rather than a control reference. (Search the archives for "Static function") But then, that shouldn't work in A2K either :-( -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Dec 4 21:06:29 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 05 Dec 2006 16:06:29 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061204203654.SKHT29801.fep06.xtra.co.nz@Dalyn.dalyn.co.n z> References: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009901c71769$088c8420$6401a8c0@HAL9005> <20061204203654.SKHT29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20061205030509.KEHN23450.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> Problem solved when I managed to view the client's laptop. They had deleted in error data in a field that was being used as the first visible column of the combo box . This appeared at the top of the list as a blank. Not sure if it was a null value in the field or not, but it prevented the auto complete from working. Once we entered the data back into the field the combo box worked. Thanks everyone for your suggestions. David At 5/12/2006, you wrote: >Ok, We created a new database, and were able to get it to work using >a value list. > >We also were able to create a new form in the main database and get >the value list combo to autocomplete. > >However, when we replicated the combo box in the new form using the >query as the source, the autocomplete didn't work :-( > >I am trying to get hold of it so that I can do some tests for myself >(so far it has been via giving instructions over the phone). > >David > >At 4/12/2006, you wrote: > >">I also tried recreating the combo box direct in the 2003 copy but it > > >behaved the same way (IE no auto complete)." > > > >If you create a new form and create a combo box with a different data source > >does it behave the same way? With the same data source, does it behave the > >same way? IOW, do all combo boxes in this installation of A2K3 fail on the > >auto complete? > > > >Is Tools-->Options-->General-->Track Name Autocorrect info turned off? > >Don't see why it should matter but that seems to cause a lot of random > >problems. > > > >Rocky > > > > > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 9:32 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Combo Box not Autocompleting > > > >Nothing unusual. It is an ID field automatically generated. Because > >the database is so basic and has a lifespan of about three weeks, the > >data table is in the same file as the form. The same data was copied > >to the client machine as on my machine. No records have been added - > >only some fields edited. > > > >David > > > >At 4/12/2006, you wrote: > > >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut > > >once in a while. > > > > > >How about the bound column? Anything out of the ordinary there? > > > > > >Rocky > > > > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > >Sent: Sunday, December 03, 2006 6:38 PM > > >To: Access Developers discussion and problem solving > > >Subject: Re: [AccessD] Combo Box not Autocompleting > > > > > >Thank for the reply Rocky, > > > > > >The database wasn't recreated in 2003. I just copied the XP file > > >onto the client's computer. > > > > > >The only thing that needed adjusting was a reference to Microsoft > > >Offic XP Web Components (Not sure what that was there for). I > > >removed the reference in both versions of the database - the XP > > >version still works fine, the 2003 still doesn't. > > > > > >I also tried recreating the combo box direct in the 2003 copy but it > > >behaved the same way (IE no auto complete). > > > > > >David > > > > > >At 4/12/2006, you wrote: > > > >On the theory that there's some difference in the combo box that you > > >dropped > > > >into the original XP mdb and the combo box that you create in A2K3, I > > >wonder > > > >what would happen if you deleted the box and re-created it on the A2K3 > > > >system? > > > > > > > >Rocky > > > > > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > > >Sent: Sunday, December 03, 2006 3:05 PM > > > >To: accessd at databaseadvisors.com > > > >Subject: [AccessD] Combo Box not Autocompleting > > > > > > > >Group, > > > > > > > >I have developed a simple database in Access XP (One table, one > > > >form). On the form is a combo box that shows all the records on the > > > >form. The bound field is a number (long) > > > > > > > >When I start entering a number the combo box auto completes it with > > > >the first match from the list. > > > > > > > >When I copy the database to another computer with Access 2003 on it > > > >(mu client's computer) the combo box does not auto > > > >complete. Entering a full number and pressing the enter key returns > > > >an error message "The Text entered is not an item on the > > > >list". However, I can scroll down the actual list and select the item. > > > > > > > >Has anyone come across this and have a fix? > > > > > > > >Regards > > > > > > > >David Emerson > > > >Dalyn Software Ltd > > > >Wellington, New Zealand >Website: http://www.databaseadvisors.com From DorisH3 at aol.com Mon Dec 4 22:00:47 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Mon, 4 Dec 2006 23:00:47 EST Subject: [AccessD] Question on hours Message-ID: I have a table that maintains the Volunteer Number, Time In, Time Out, Date Worked. I have put together a report using a query that shows the volunteers name, volunteer number, date worked, time in, time out. On the report I show all of the fields that are contained in the query along with a calculation TimeOut - TimeIn which I named Hours. My report looks like this Name Vol# Date TimeIn TimeOut Hours Alice White 1099 10/1/06 4:00 PM 7:00 PM 3 10/5/06 4:00 PM 7:00 PM 3 10/7/06 4:00 PM 7:00 PM 3 10/10/06 4:00 PM 7:00 PM 3 In the group footer I did a calculation as follows =Sum([Hours]) and in the report footer I did the same. It appears that anything under 24 hours calculates OK, anything over 24 hours is incorrect....can anyone help me...I am a novice at this so I apologize ahead of time. Doris From john at winhaven.net Mon Dec 4 23:56:25 2006 From: john at winhaven.net (John Bartow) Date: Mon, 4 Dec 2006 23:56:25 -0600 Subject: [AccessD] A2k3 Reports - hide duplicates Message-ID: <11f601c71832$199c65e0$1402a8c0@ScuzzPaq> Has anyone else had an issue with Hide Duplicates not working correctly in A2k3? I've recently upgraded an A97 app and so far its about the only issue that's shown up that makes no sense to me. This is a complicated report but given that it worked fine in A97 I would think that its not too complicated. On the second set of the third grouping the hide duplicates hides each occurrence of the field rather than just the duplicates. John B. From andy at minstersystems.co.uk Tue Dec 5 00:33:25 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 5 Dec 2006 06:33:25 -0000 Subject: [AccessD] Question on hours In-Reply-To: Message-ID: <031c01c71837$44ca3940$42f9033e@minster33c3r25> Take a look at the DateDiff function Doris. Try changing your hours calc to DateDiff("h",TimeIn,Timeout) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DorisH3 at aol.com > Sent: 05 December 2006 04:01 > To: accessd at databaseadvisors.com > Subject: [AccessD] Question on hours > > > I have a table that maintains the Volunteer Number, Time In, > Time Out, Date > Worked. I have put together a report using a query that > shows the volunteers > name, volunteer number, date worked, time in, time out. On > the report I > show all of the fields that are contained in the query along > with a calculation > TimeOut - TimeIn which I named Hours. My report looks like this > > Name Vol# Date TimeIn > TimeOut > Hours > Alice White 1099 > 10/1/06 4:00 PM > 7:00 PM > 3 > 10/5/06 4:00 PM > 7:00 PM > 3 > > 10/7/06 4:00 PM 7:00 PM 3 > 10/10/06 4:00 PM > 7:00 PM > 3 > > In the group footer I did a calculation as follows > =Sum([Hours]) and in the > report footer I did the same. > > It appears that anything under 24 hours calculates OK, > anything over 24 > hours is incorrect....can anyone help me...I am a novice at > this so I apologize > ahead of time. > > Doris > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From max at sherman.org.uk Tue Dec 5 01:51:46 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 5 Dec 2006 07:51:46 -0000 Subject: [AccessD] error 3061 too few parameters 2003 In-Reply-To: <007401c717f8$cbdfd280$6401a8c0@office> Message-ID: <001e01c71842$38035880$0100a8c0@Server> Hi Kath, I was getting a similar error on a query. I was going mad trying to figure out what the problem was. It was a simply query but code based on it kept throwing up this error - same as yours below. Eventually (for no other reason than I had tried everything else) I deleted the query and re-created it. Errors disappeared. Same sql code when viewed in Notepad etc. I can only assume that for whatever reason, Access had a compilation bug on this particular query. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, December 04, 2006 11:06 PM To: Access D Normal List Subject: [AccessD] error 3061 too few parameters 2003 Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 5 03:21:06 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 05 Dec 2006 10:21:06 +0100 Subject: [AccessD] XML Import - successful!!!! Message-ID: Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. From gjgiever at myway.com Tue Dec 5 05:32:17 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Tue, 5 Dec 2006 06:32:17 -0500 (EST) Subject: [AccessD] OT: Code39 barcode font Message-ID: <20061205113217.E72EA67696@mprdmxin.myway.com> It depends on what you are doing. I use Avery Design Pro to print the bar codes for my library database. It is free and works well. Find it at: http://www.avery.com/us/Main?action=software.AverySoftwareDetail&catalogcode=WEB01&softwarecode=3200 Gary J. Giever, M.A. Applications Developer ACCMHS --- On Mon 12/04, Shamil Salakhetdinov < shamil at users.mns.ru > wrote: From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru] To: accessd at databaseadvisors.com Date: Mon, 4 Dec 2006 23:01:14 +0300 Subject: [AccessD] OT: Code39 barcode font Hello All,Could you please advise what is the best Code39 barcode TTF font (free ornot-free), which you used in your real life projects?I see quite some proposals on Internet but I have very little experience inthis area and therefore I'd better use proven suppliers of Code39 barcodeTTF fonts...For example - this looks good -http://www.barcode-1.net/pub/russadam/39code.html - but I need narrowerbarcodes for 24 - 26 pt tall ones...Thank you in advance for any hints and links...--Shamil-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From JRojas at tnco-inc.com Tue Dec 5 07:40:48 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 5 Dec 2006 08:40:48 -0500 Subject: [AccessD] Cost Rollup Logic Using Lower Level Code Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDFAF@ex2k3.corp.tnco-inc.com> Hello, I know that at some users on the list have worked on ERP systems, which is why I am posting this question to this group. I created a function that rolls the cost of part numbers using both the production detail of how to make the part as well as the bill of material. This function works great but I noticed in a couple of ERP systems that I have worked with that they use the concept of a "lower level code" to indicate the cost roll sequence. I was wondering if someone could explain how the lower level code is used in a cost roll up and what the outline of a rollup function would look like using the lower level code. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From bchacc at san.rr.com Tue Dec 5 08:20:53 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 5 Dec 2006 06:20:53 -0800 Subject: [AccessD] Cost Rollup Logic Using Lower Level Code In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDFAF@ex2k3.corp.tnco-inc.com> Message-ID: <000901c71878$92f32960$6401a8c0@HAL9005> Joe: >From the APICS dictionary: "LOW LEVEL CODE - Identifies the lowest level in any bill of material at which a particular component may appear. Net requirements for a given component are not calculated until all the gross requirements for that level have been calculated down to that level. Low level codes are normally calculated and maintained automatically by the computer software." I use a level code in my BOM Processor - level zero is the component level - and the levels are assigned during the cost roll up process. So I'm not using the level code in the standard way. I had to design a bit of a different approach to the cost roll-up and MRP calculating algorithm in order to make it fast enough to run on an original IBM PC AT even though it had that huge 10MB hard drive and ran at a blazing 5MHz. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, December 05, 2006 5:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Cost Rollup Logic Using Lower Level Code Hello, I know that at some users on the list have worked on ERP systems, which is why I am posting this question to this group. I created a function that rolls the cost of part numbers using both the production detail of how to make the part as well as the bill of material. This function works great but I noticed in a couple of ERP systems that I have worked with that they use the concept of a "lower level code" to indicate the cost roll sequence. I was wondering if someone could explain how the lower level code is used in a cost roll up and what the outline of a rollup function would look like using the lower level code. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: 12/4/2006 3:20 PM From rl_stewart at highstream.net Tue Dec 5 08:27:37 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 05 Dec 2006 08:27:37 -0600 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: References: Message-ID: <200612051427.kB5ERkq22764@databaseadvisors.com> I need to call a stored procedure via ADO in Access and have control go back to Access immediately instead of it waiting on the stored procedure to execute. Does anyone know how to accomplish this? Robert From garykjos at gmail.com Tue Dec 5 08:37:40 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 Dec 2006 08:37:40 -0600 Subject: [AccessD] Question on hours In-Reply-To: References: Message-ID: Doing math stuff on times is often tricky Doris. Even for old timers like me. Are the Time In and Time Out fields defined as date/dime fields? If they are I think you would be better off calculating your hours value using the DateDiff function as Andy recommended. It has the format; ----------------------------------------------------------------------------------------------- DateDiff(interval, date1, date2[, firstdayofweek[, firstweekofyear]]) ----------------------------------------------------------------------------------------------- according to my Access97 help file. And the interval code for hours is "h". so in the query you would have --------------------------------------------------------- Hours:DateDiff("h",[TimeIn],[TimeOut]) --------------------------------------------------------- You may need to reverse the TimeIn and TimeOut fields. I usually get them in the wrong order the first time I do it. I'm guessing that what might be happening in your current process is that when you get over 24 hours you are actually getting a number of days and a number of hours and you are perhaps only displaying the result in a format that shows hours and so are not seeing the number of days. By switching to use the DateDif to calculate a number of hours at a detail level your sumation will always be in hours with no date value or format getting in the way of your desired result. Doing math on date/time type fields is problematic as access always stores a date with the time even if you don't display it. If you don't specify a date it will default to the beginning date in Access Time which is December 30, 1899. So then when you start doing math on the date/time values, the results have dates in them as well as the times you are expecting. Access date/time fields are intended to represent a POINT IN TIME and not a QUANTITY OF TIME. So when you subtract one from the other you need to get the result expressed in a non-date/time type of field. Hope this helps and I didn't totally confuse you. Good luck getting it to work. Sounds like you are close. GK On 12/4/06, DorisH3 at aol.com wrote: > I have a table that maintains the Volunteer Number, Time In, Time Out, Date > Worked. I have put together a report using a query that shows the volunteers > name, volunteer number, date worked, time in, time out. On the report I > show all of the fields that are contained in the query along with a calculation > TimeOut - TimeIn which I named Hours. My report looks like this > > Name Vol# Date TimeIn TimeOut > Hours > Alice White 1099 > 10/1/06 4:00 PM 7:00 PM > 3 > 10/5/06 4:00 PM 7:00 PM > 3 > > 10/7/06 4:00 PM 7:00 PM 3 > 10/10/06 4:00 PM 7:00 PM > 3 > > In the group footer I did a calculation as follows =Sum([Hours]) and in the > report footer I did the same. > > It appears that anything under 24 hours calculates OK, anything over 24 > hours is incorrect....can anyone help me...I am a novice at this so I apologize > ahead of time. > > Doris > > -- > 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 prodevmg at yahoo.com Tue Dec 5 08:41:52 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) Subject: [AccessD] ADO Stored Procedure Call Message-ID: <20061205144152.19599.qmail@web33103.mail.mud.yahoo.com> I know this sounds simple but could you call your stored proc via a passthough query in your code? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Robert L. Stewart To: accessd at databaseadvisors.com Sent: Tuesday, December 5, 2006 8:27:37 AM Subject: [AccessD] ADO Stored Procedure Call I need to call a stored procedure via ADO in Access and have control go back to Access immediately instead of it waiting on the stored procedure to execute. Does anyone know how to accomplish this? Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From shamil at users.mns.ru Tue Dec 5 09:04:18 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 5 Dec 2006 18:04:18 +0300 Subject: [AccessD] OT: Code39 barcode font In-Reply-To: <053501c717e7$90e0bc00$8abea8c0@XPS> Message-ID: <001001c7187e$a3f7a410$6401a8c0@nant> Thank you for the link Jim. I need a font for VB.NET application - Crystal Reports report. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, December 05, 2006 12:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Code39 barcode font Shamil, While not a font, I have used AbarCode for Access for several projects and like it. No external DLLs, OCX's, etc. Here's a link: http://www.abarcode.net/en/default.asp Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 04, 2006 3:01 PM To: 'Access-D' Subject: [AccessD] OT: Code39 barcode font Hello All, Could you please advise what is the best Code39 barcode TTF font (free or not-free), which you used in your real life projects? I see quite some proposals on Internet but I have very little experience in this area and therefore I'd better use proven suppliers of Code39 barcode TTF fonts... For example - this looks good - http://www.barcode-1.net/pub/russadam/39code.html - but I need narrower barcodes for 24 - 26 pt tall ones... Thank you in advance for any hints and links... -- Shamil -- 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 shamil at users.mns.ru Tue Dec 5 09:04:18 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 5 Dec 2006 18:04:18 +0300 Subject: [AccessD] OT: Code39 barcode font In-Reply-To: <20061205113217.E72EA67696@mprdmxin.myway.com> Message-ID: <000f01c7187e$a3c59790$6401a8c0@nant> Hello Gary, I think I need just a good true type font fro VB.NET/Crystal reports application - does Avery Design Pro has something like that? - I did try to find that quickly using the link you posted here but I didn't find this information... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Tuesday, December 05, 2006 2:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Code39 barcode font It depends on what you are doing. I use Avery Design Pro to print the bar codes for my library database. It is free and works well. Find it at: http://www.avery.com/us/Main?action=software.AverySoftwareDetail&catalogcode =WEB01&softwarecode=3200 Gary J. Giever, M.A. Applications Developer ACCMHS --- On Mon 12/04, Shamil Salakhetdinov < shamil at users.mns.ru > wrote: From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru] To: accessd at databaseadvisors.com Date: Mon, 4 Dec 2006 23:01:14 +0300 Subject: [AccessD] OT: Code39 barcode font Hello All,Could you please advise what is the best Code39 barcode TTF font (free ornot-free), which you used in your real life projects?I see quite some proposals on Internet but I have very little experience inthis area and therefore I'd better use proven suppliers of Code39 barcodeTTF fonts...For example - this looks good -http://www.barcode-1.net/pub/russadam/39code.html - but I need narrowerbarcodes for 24 - 26 pt tall ones...Thank you in advance for any hints and links...--Shamil-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo /accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 5 09:19:04 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 5 Dec 2006 10:19:04 -0500 Subject: [AccessD] MDW stuff Message-ID: <00a201c71880$b43919b0$e1265b05@m6805> I have always logged in to my PC at my client's using the administrator username / password. Now that I am no longer physically close to the client, I have to troubleshoot "user problems" as a user instead of just walking to a user's computer and looking at the problem. So I asked the client to set me up a jwcolby user, which they did, but when I try to get into the database I get "database already in use or you don't have permission...". I suspect that a new MDW file was created and my new user is using that, which prevents getting in to the database. According to a KB article: By default, on computers that are running Microsoft Windows 2000, the System.mdw file is created in the user profile in the following path. NOTE: The Application Data folder is a hidden folder. C:\Documents and Settings\\Application Data\Microsoft\Access\System.MDW On my work computer there is no Access directory, and if I search for *.MDW I find them at: C:\Program Files\Common Files\System and C:\Program Files\Microsoft Office\ Office How do I determine which MDW is being used by the administrator user, and then how do I force Access to use that mdw file for the new jwc user? John W. Colby Colby Consulting www.ColbyConsulting.com From john at winhaven.net Tue Dec 5 10:18:25 2006 From: john at winhaven.net (John Bartow) Date: Tue, 5 Dec 2006 10:18:25 -0600 Subject: [AccessD] MDW stuff In-Reply-To: <00a201c71880$b43919b0$e1265b05@m6805> Message-ID: <13ba01c71888$fe4c2350$1402a8c0@ScuzzPaq> Hi JC, You could either join a different Security Workgroup or create a new one. Then, you may want to consider storing your MDW in the folder with your BEDB and have your user's App shortcut add a specific MDW file in the startup options. Here's an example of a shortcut string from my apps: "C:\Program Files\Microsoft Access Runtime\OFFICE11\LaunchAccess.EXE" /excl /runtime /profile "MyApp" /wrkgrp "N:\BEDB_Folder\system.mdw" "C:\Program Files\WinHaven LLC\MyApp.mdb" HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 05, 2006 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MDW stuff I have always logged in to my PC at my client's using the administrator username / password. Now that I am no longer physically close to the client, I have to troubleshoot "user problems" as a user instead of just walking to a user's computer and looking at the problem. So I asked the client to set me up a jwcolby user, which they did, but when I try to get into the database I get "database already in use or you don't have permission...". I suspect that a new MDW file was created and my new user is using that, which prevents getting in to the database. According to a KB article: By default, on computers that are running Microsoft Windows 2000, the System.mdw file is created in the user profile in the following path. NOTE: The Application Data folder is a hidden folder. C:\Documents and Settings\\Application Data\Microsoft\Access\System.MDW On my work computer there is no Access directory, and if I search for *.MDW I find them at: C:\Program Files\Common Files\System and C:\Program Files\Microsoft Office\ Office How do I determine which MDW is being used by the administrator user, and then how do I force Access to use that mdw file for the new jwc user? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DorisH3 at aol.com Tue Dec 5 11:03:27 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Tue, 5 Dec 2006 12:03:27 EST Subject: [AccessD] Question on hours again Message-ID: <539.ecb0914.32a7005f@aol.com> Hi GK, Yes, my TimeIn and TimeOut fields are Date/Time fields....I also need to show the minutes along with the hours. The DateDiff function did not work....I set it up this way in my query...Hours:DateDiff("h", [TimeOut], [TimeIn}) then I reversed the TimeOut and TimeIn fields and that showed a minus in front of the number.....what I am wondering if I could do a function that would convert everything over 24 hrs from days to hours and minutes by multiplying by 1440(24 x 60)....what do you think? Doris From adtp at airtelbroadband.in Tue Dec 5 11:42:18 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 5 Dec 2006 23:12:18 +0530 Subject: [AccessD] Question on hours References: Message-ID: <008701c71894$e9d008e0$b90765cb@pcadt> Doris, When only time part is entered in a date/time field, assumed date part for both today and the day after (in fact, all days) becomes the same. Such a situation is not well suited for flat application of DateDiff() function Function named Fn_GetMinutes() as given below, should get you the time elapsed (in minutes). As the result returned by this function is a numerical value, it can be used in any mathematical operation as desired. Incidentally, for converting the elapsed minutes into a string formatted as Hrs:Mins, function Fn_FormatMinutes() as given below, can be used. The result of function Fn_GetMinutes() can be fed into this function, so as to display the time in Hrs:Mins format. (This formatted string is however not meant to be used for any further calculations). Best wishes, A.D.Tejpal Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function ============================== ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Tuesday, December 05, 2006 09:30 Subject: [AccessD] Question on hours I have a table that maintains the Volunteer Number, Time In, Time Out, Date Worked. I have put together a report using a query that shows the volunteers name, volunteer number, date worked, time in, time out. On the report I show all of the fields that are contained in the query along with a calculation TimeOut - TimeIn which I named Hours. My report looks like this Name Vol# Date TimeIn TimeOut Hours Alice White 1099 10/1/06 4:00 PM 7:00 PM 3 10/5/06 4:00 PM 7:00 PM 3 10/7/06 4:00 PM 7:00 PM 3 10/10/06 4:00 PM 7:00 PM 3 In the group footer I did a calculation as follows =Sum([Hours]) and in the report footer I did the same. It appears that anything under 24 hours calculates OK, anything over 24 hours is incorrect....can anyone help me...I am a novice at this so I apologize ahead of time. Doris From gwsmith at iowatelecom.net Tue Dec 5 11:46:30 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 5 Dec 2006 11:46:30 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: References: Message-ID: <29674.65.118.249.214.1165340790.squirrel@webmail.iowatelecom.net> Hi Gustav Well, apparently if you use the word "KEY" within the import code, which will also become a table name, things seem to go adrift. One of the attributes is The structure and syntax within the XML file is not under my control, so I have to live with whatever they send me. And KEY is going to be in there and I have to live with that, so I either modify the file on the fly to change KEY to KEY1 or I have to find out why KEY itself won't work. But it does work, so I've got a solution...just not the nice one yet... :) Greg From:?? "Gustav Brock" ? ? Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. ? From cfoust at infostatsystems.com Tue Dec 5 12:54:10 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Dec 2006 10:54:10 -0800 Subject: [AccessD] XML Import - successful!!!! In-Reply-To: Message-ID: I've seen this kind of thing in .Net working with XML files. It doesn't throw an error, it just can't fill the stream object with any data, so nothing is imported. Putting square brackets around the offending word in the xml might work. We've done that with some success. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 05, 2006 1:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XML Import - successful!!!! Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Dec 5 13:19:39 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 5 Dec 2006 13:19:39 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: <29674.65.118.249.214.1165340790.squirrel@webmail.iowatelecom.net> References: <29674.65.118.249.214.1165340790.squirrel@webmail.iowatelecom.net> Message-ID: <35623.65.118.249.214.1165346379.squirrel@webmail.iowatelecom.net> Well part of the response, after "attributes is", has vanished...let me try this again, Gustav...: One of the?elements is " ? ? Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Dec 5 14:01:30 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 05 Dec 2006 14:01:30 -0600 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: References: Message-ID: <200612052005.kB5K5Kq20980@databaseadvisors.com> No, we are running through terminal services and to different databases. It has to go through ADO. I think I found it, but waiting on the boss to do the testing. Asynchronous mode on the connection open in ADO is supposed to allow you to close the connection and the procedure to continue to run. At 12:00 PM 12/5/2006, you wrote: >Message: 3 >Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) >From: Lonnie Johnson >Subject: Re: [AccessD] ADO Stored Procedure Call >To: Access Developers discussion and problem solving > >Message-ID: <20061205144152.19599.qmail at web33103.mail.mud.yahoo.com> >Content-Type: text/plain; charset=ascii > >I know this sounds simple but could you call your stored proc via a >passthough query in your code? > > > > > > > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us From garykjos at gmail.com Tue Dec 5 14:32:23 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 Dec 2006 14:32:23 -0600 Subject: [AccessD] Question on hours again In-Reply-To: <539.ecb0914.32a7005f@aol.com> References: <539.ecb0914.32a7005f@aol.com> Message-ID: Hi Doris, Do the TimeIn and Time out fields include only times or times and dates both? I guess if they didn't contain real dates I might recommend switching them to be jsut a plain text field but then you have to do a lot of editing and validation of the time values entered too. So maybe forget about my questioning that. If you need visibility to minutes level of detail as well as hours perhaps datadiff would still work with the Minutes interval instead of the hours one. To get Minutes from datedif you use an n instead of the h for hours. Can't use m as that means Months. n=minutes. I would then accumulate the minutes with the sum as you have been and then divide the total by 60 to get hours to display in the report. The problem then is just the remaining Minutes that don't divide evenly into 60 and how to display those. There is a MOD function that would do it for that but I wonder if there is an easier way. I guess I would have two fields displaying in the report footers, one for the hours part and one for the minutes part with the hours part something like format((sum(Minutes)\60),'0000') & *:" & format(sum(Minutes) mod 60,"00") But that is just how I might do it. Gary Kjos On 12/5/06, DorisH3 at aol.com wrote: > Hi GK, > > Yes, my TimeIn and TimeOut fields are Date/Time fields....I also need to > show the minutes along with the hours. The DateDiff function did not work....I > set it up this way in my query...Hours:DateDiff("h", [TimeOut], [TimeIn}) > then I reversed the TimeOut and TimeIn fields and that showed a minus in front > of the number.....what I am wondering if I could do a function that would > convert everything over 24 hrs from days to hours and minutes by multiplying by > 1440(24 x 60)....what do you think? > > Doris > -- > 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 Kwilliamson at RTKL.com Tue Dec 5 14:47:52 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 15:47:52 -0500 Subject: [AccessD] HELP!!! Message-ID: This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From Kwilliamson at RTKL.com Tue Dec 5 14:56:02 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 15:56:02 -0500 Subject: [AccessD] HELP!!! In-Reply-To: Message-ID: Never mind. I went to the Menu/Window/Tile Horizontally ....and everything came back. It was like they were all hidden, somehow. Don't know what I accidentally clicked to get it to do that. Grrrrrr! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Dec 5 15:02:47 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 Dec 2006 15:02:47 -0600 Subject: [AccessD] HELP!!! In-Reply-To: References: Message-ID: I fixed if for you remotely ;-) GK On 12/5/06, Keith Williamson wrote: > Never mind. I went to the Menu/Window/Tile Horizontally ....and > everything came back. It was like they were all hidden, somehow. Don't > know what I accidentally clicked to get it to do that. Grrrrrr! > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Tuesday, December 05, 2006 3:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] HELP!!! > > This is the oddest thing. When I open up my database (all of a > sudden).....it opens up to an Access blank screen. ???? I get the > same screen as if I still need to open a new access database. The file > size looks correct for the db. But if I double click it....I get > nothing. Any ideas?? > > > > THANKS!! > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Tue Dec 5 15:09:25 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 16:09:25 -0500 Subject: [AccessD] HELP!!! In-Reply-To: Message-ID: LOL!!!! Good Job. Now can you fix this formula for me, too?? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, December 05, 2006 4:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HELP!!! I fixed if for you remotely ;-) GK On 12/5/06, Keith Williamson wrote: > Never mind. I went to the Menu/Window/Tile Horizontally ....and > everything came back. It was like they were all hidden, somehow. Don't > know what I accidentally clicked to get it to do that. Grrrrrr! > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Tuesday, December 05, 2006 3:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] HELP!!! > > This is the oddest thing. When I open up my database (all of a > sudden).....it opens up to an Access blank screen. ???? I get the > same screen as if I still need to open a new access database. The file > size looks correct for the db. But if I double click it....I get > nothing. Any ideas?? > > > > THANKS!! > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 > -- 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 Lambert.Heenan at AIG.com Tue Dec 5 14:52:25 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 5 Dec 2006 14:52:25 -0600 Subject: [AccessD] HELP!!! Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2D2C3D0@xlivmbx35.aig.com> Possibly the Startup options have been changed to (a), not open any form and (b) not display the database window. Take a look at the Tools/Startup options. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Dec 5 15:45:56 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 5 Dec 2006 15:45:56 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: References: Message-ID: <47584.65.118.249.214.1165355156.squirrel@webmail.iowatelecom.net> Charlotte: If the brackets you used work, and my changing the name to something else works, then either way I've got to modify the incoming XML file internally (either with brackets or a name change).? But that might explain better why it's doing that...makes more sense that it's an oddity than me just hitting a reserved word....? Thanks.? Greg =============================================== I've seen this kind of thing in .Net working with XML files. It doesn't throw an error, it just can't fill the stream object with any data, so nothing is imported. Putting square brackets around the offending word in the xml might work. We've done that with some success. Charlotte Foust From Kwilliamson at RTKL.com Tue Dec 5 16:19:18 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 17:19:18 -0500 Subject: [AccessD] HELP!!! In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2D2C3D0@xlivmbx35.aig.com> Message-ID: Nothing unusual there. Very strange. But..it is back now. Thanks for the help. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, December 05, 2006 3:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HELP!!! Possibly the Startup options have been changed to (a), not open any form and (b) not display the database window. Take a look at the Tools/Startup options. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 DorisH3 at aol.com Tue Dec 5 16:31:42 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Tue, 5 Dec 2006 17:31:42 EST Subject: [AccessD] Question on hours again Message-ID: Hi Gary, Thanks for your help I really appreciate it....because I am a novice at this can you tell me if I put format((sum(Minutes)\60),'0000') & *:" & format(sum(Minutes) mod 60,"00") in a control on the report or do I put in the query that does the subtracting of the TimeOut and TimeIn? Sorry that I'm being such a pest. Doris From DorisH3 at aol.com Tue Dec 5 16:36:19 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Tue, 5 Dec 2006 17:36:19 EST Subject: [AccessD] Question on hours Message-ID: Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function From cfoust at infostatsystems.com Tue Dec 5 18:49:13 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Dec 2006 16:49:13 -0800 Subject: [AccessD] XML Import - successful!!!! In-Reply-To: <47584.65.118.249.214.1165355156.squirrel@webmail.iowatelecom.net> Message-ID: The other thing we run into is when we tell it to ignoreschema instead of inferschema. Access has major objections to objects named with reserved words, and its reserved words are somewhat different from SQL Server's. We try to avoid both, but we can control the XML structure, so it's easier. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, December 05, 2006 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XML Import - successful!!!! Charlotte: If the brackets you used work, and my changing the name to something else works, then either way I've got to modify the incoming XML file internally (either with brackets or a name change).? But that might explain better why it's doing that...makes more sense that it's an oddity than me just hitting a reserved word....? Thanks.? Greg =============================================== I've seen this kind of thing in .Net working with XML files. It doesn't throw an error, it just can't fill the stream object with any data, so nothing is imported. Putting square brackets around the offending word in the xml might work. We've done that with some success. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Dec 5 19:32:49 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 6 Dec 2006 12:32:49 +1100 Subject: [AccessD] error 3061 too few parameters 2003 References: <001e01c71842$38035880$0100a8c0@Server> Message-ID: <002001c718d6$71cd0cc0$6401a8c0@office> I've done the same now - thanks. There were quite a few underlying queries which worked in their own right but somehow when I rewrote the 'top' level query from scratch it worked. I can't say that that was it though because I also did a bit of playing with the form criteria - adding Eval(".....") in front of the form criteria syntax. Thanks for the suggestion - don't think I would have tried it w/out the suggestion - seems too easy! Kath ----- Original Message ----- From: Max Home To: 'Access Developers discussion and problem solving' Sent: Tuesday, December 05, 2006 6:51 PM Subject: Re: [AccessD] error 3061 too few parameters 2003 Hi Kath, I was getting a similar error on a query. I was going mad trying to figure out what the problem was. It was a simply query but code based on it kept throwing up this error - same as yours below. Eventually (for no other reason than I had tried everything else) I deleted the query and re-created it. Errors disappeared. Same sql code when viewed in Notepad etc. I can only assume that for whatever reason, Access had a compilation bug on this particular query. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, December 04, 2006 11:06 PM To: Access D Normal List Subject: [AccessD] error 3061 too few parameters 2003 Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net -- 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 adtp at airtelbroadband.in Wed Dec 6 00:05:18 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 6 Dec 2006 11:35:18 +0530 Subject: [AccessD] Question on hours References: Message-ID: <00df01c718fd$a42948b0$c32b177d@pcadt> Doris, The functions are to be placed in a general module in VBA code. Go to VBA editor window (Press Alt + F11). On the editor menu bar, click Insert > Module. In the resulting module, paste both the functions, click the save icon (or press Ctrl + s) and compile by clicking Debug > Compile on the menu bar (Or press Alt, d, l). Come out of VBA editor (Press Alt + q). You can use the functions in queries as well as controls on reports/forms. Much better to use in the query itself. For example, the expression for calculated field showing elapsed time in minutes (as seen in query design grid) will be : ElapsedMinutes: Fn_GetMinutes(StartTime, FinishTime) (StartTime & FinishTime are the names of respective date/time type fields in the table) Similarly, for showing elapsed time formatted as Hrs:mins string, the expression for calculated field (as seen in query design grid) will be : ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes(StartTime, FinishTime)) Caution: As stated earlier, the formatted string (ElapsedTime) is not to be used in any further mathematical calculations. No such problem for ElapsedMinutes. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Wednesday, December 06, 2006 04:06 Subject: Re: [AccessD] Question on hours Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function From gjgiever at myway.com Wed Dec 6 05:18:57 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 6 Dec 2006 06:18:57 -0500 (EST) Subject: [AccessD] OT: Code39 barcode font Message-ID: <20061206111857.903E475727@mprdmxin.myway.com> No. It is a label printing program. It prints barcodes on Avery labels. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Tue 12/05, Shamil Salakhetdinov < shamil at users.mns.ru > wrote: From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru] To: accessd at databaseadvisors.com Date: Tue, 5 Dec 2006 18:04:18 +0300 Subject: Re: [AccessD] OT: Code39 barcode font Hello Gary,I think I need just a good true type font fro VB.NET/Crystal reportsapplication - does Avery Design Pro has something like that? - I did try tofind that quickly using the link you posted here but I didn't find thisinformation...--Shamil -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Tuesday, December 05, 2006 2:32 PMTo: accessd at databaseadvisors.comSubject: Re: [AccessD] OT: Code39 barcode fontIt depends on what you are doing. I use Avery Design Pro to print the barcodes for my library database. It is free and works well. Find it at:http://www.avery.com/us/Main?action=software.AverySoftwareDetail&catalogcode=WEB01&softwarecode=3200Gary J. Giever, M.A.Applications DeveloperACCMHS --- On Mon 12/04, Shamil Salakhetdinov < shamil at users.mns.ru > wrote:From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru]To: accessd at databaseadvisors.comDate: Mon, 4 Dec 2006 23:01:14 +0300Subject: [AccessD] OT: Code39 barcode fontHello All,Could you please advise what is the best Code39 barcode TTF font(free ornot-free), which you used in your real life projects?I see quitesome proposals on Internet but I have very little experience inthis area andtherefore I'd better use proven suppliers of Code39 barcodeTTF fonts...Forexample - this looks good -http://www.barcode-1.net/pub/russadam/39code.html- but I need narrowerbarcodes for 24 - 26 pt tall ones...Thank you inadvance for any hints and links...--Shamil-- AccessD mailinglistAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From jimdettman at verizon.net Wed Dec 6 08:07:50 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 06 Dec 2006 09:07:50 -0500 Subject: [AccessD] HELP!!! In-Reply-To: Message-ID: <012301c7193f$ea788730$8abea8c0@XPS> Keith, Access has a nasty habit of positioning the DBC off screen and you need to scroll. Have never been able to figure out why :( Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 5:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HELP!!! Nothing unusual there. Very strange. But..it is back now. Thanks for the help. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, December 05, 2006 3:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HELP!!! Possibly the Startup options have been changed to (a), not open any form and (b) not display the database window. Take a look at the Tools/Startup options. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 garykjos at gmail.com Wed Dec 6 08:26:51 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 6 Dec 2006 08:26:51 -0600 Subject: [AccessD] Question on hours again In-Reply-To: References: Message-ID: You are not being a pest at all. Your questions are exactly why AccessD and DatabaseAdvisors was created. All of us were new to this at one point. The Format string would do in the control source for a text box control in the report footers. You would need the previously described Minutes:datediff("h",[TimeIn],[TimeOut]) in the query for it to work in the report though. And you would need an equals sign in front of that first format. If you can get A J's VBA code based solution going that might be a better way to do it of course. But there is almost always more than one way to bet it to work too. Good luck with it. I just thought of another possible solution too. If you created another field in your data file that was the number of minutes and then populated that either at data entry time or via an update query, then you could use that field to do your totalling on. You would still have the issue of displaying hours and minutes on your report totals though. Wouldn't be considered good database design either since you would be storing a field that you could calculate from other stored fields. But some times we have to do things that are not exactly perfect from a database design point of view too. GK On 12/5/06, DorisH3 at aol.com wrote: > Hi Gary, > > Thanks for your help I really appreciate it....because I am a novice at this > can you tell me if I put format((sum(Minutes)\60),'0000') & *:" & > format(sum(Minutes) mod 60,"00") in a control on the report or do I put in the query > that does the subtracting of the TimeOut and TimeIn? Sorry that I'm being such > a pest. > > Doris > > -- > 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 bheygood at abestsystems.com Wed Dec 6 12:12:07 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 6 Dec 2006 10:12:07 -0800 Subject: [AccessD] Clipboard Warning Message In-Reply-To: Message-ID: <001301c71962$0a6180c0$6401a8c0@speedy> Hello to the list, Thot I might try this one again. After copying a record in form view, when closing the form, I get a message that tells me I have copied a lot of data to the clipboard, do I want to keep it available.... Other than emptying the clipboard, can I suppress this message? If not, do we have a favorite routine to clear the clipboard? TIA Bob Heygood From herringb at charter.net Wed Dec 6 13:32:32 2006 From: herringb at charter.net (Barry G. Herring) Date: Wed, 6 Dec 2006 11:32:32 -0800 Subject: [AccessD] Clipboard Warning Message Message-ID: <814559297.1165433552236.JavaMail.root@fepweb12> You will need to reference the Microsoft Forms 2.0 Library to use this Dim MyData As DataObject Set MyData = New DataObject MyData.Clear Me.Text17.SetFocus MyData.SetText Text17.Text MyData.PutInClipboard MyData.Clear Barry ---- Bob Heygood wrote: ============= Hello to the list, Thot I might try this one again. After copying a record in form view, when closing the form, I get a message that tells me I have copied a lot of data to the clipboard, do I want to keep it available.... Other than emptying the clipboard, can I suppress this message? If not, do we have a favorite routine to clear the clipboard? TIA Bob Heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Dec 6 14:59:38 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Dec 2006 12:59:38 -0800 Subject: [AccessD] Clipboard Warning Message In-Reply-To: <001301c71962$0a6180c0$6401a8c0@speedy> References: <001301c71962$0a6180c0$6401a8c0@speedy> Message-ID: <45772F3A.7090709@shaw.ca> It is not always wise to clobber a users clipboard and the newer WinXP clipboard has multiple pages and clipboard pages can be shared across computers. Given that caveat Or see for better memory control http://support.microsoft.com/?kbid=138909 ' Place these API declarations at the top of your Form in the General 'Declarations area. Private Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Sub Clip() On Error GoTo Err_cmdClip_Click ' Open, Empty and Close Clipboard ' No Clipboard API error handling Call OpenClipboard(0&) EmptyClipboard CloseClipboard MsgBox "ClipBoard Cleared!" Exit_cmdClip_Click: Exit Sub Err_cmdClip_Click: MsgBox Err.Description Resume Exit_cmdClip_Click End Sub To view the clipboard while working with this. Sub clipview() 'http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q138/9/09.asp&NoWebContent=1 'http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q138/9/10.asp&NoWebContent=1 'for the ClipBoard viewer later. 'Acc How to Retrieve Information from the Clipboard (95/97) 'http://support.microsoft.com/default.aspx?scid=kb;EN-GB;q138910 'Perhaps the simplest way is to use DoCmd.RunCommand acPaste, 'which pastes the clipboard contents into the active control ' See if ClipBoard viewer exists 'No , there 's no Clipboard object (unless it was added in A2002 and I 'haven 't noticed it yet). Aside from the built-in RunCommand constants 'acCmdCopy, acCmdCut, acCmdPaste, acCmdPasteAppend, and 'acCmdPasteSpecial, if you want to manipulate the clipboard you can 'call the Clipboard API directly as demonstrated here: '"RunCommand acCmdCopy" will copy selected text and "RunCommand acCmdPaste" will paste it, both using 'the clipboard. Is this what you're looking for? ' http://www.mvps.org/access/api/api0049.htm 'mskb 138909 If Len(Dir("C:\WINDOWS\system32\clipbrd.exe")) > 0 Then 'Shell to open the Windows ClipBoard Viewer Shell "C:\WINDOWS\system32\clipbrd.exe", vbNormalFocus Else MsgBox "Image Copied to ClipBoard Successfully!", vbOKOnly, "Copy To ClipBoard" End If End Sub Bob Heygood wrote: >Hello to the list, >Thot I might try this one again. >After copying a record in form view, when closing the form, I get a message >that tells me I have copied a lot of data to the clipboard, do I want to >keep it available.... >Other than emptying the clipboard, can I suppress this message? >If not, do we have a favorite routine to clear the clipboard? > >TIA > >Bob Heygood > > > > -- Marty Connelly Victoria, B.C. Canada From rl_stewart at highstream.net Wed Dec 6 15:02:23 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 06 Dec 2006 15:02:23 -0600 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: References: Message-ID: <200612062106.kB6L69q15026@databaseadvisors.com> Well, that works and does not work. It kills the stored procedure if we close the connection. Any one with any ideas? At 12:00 PM 12/6/2006, you wrote: >Date: Tue, 05 Dec 2006 14:01:30 -0600 >From: "Robert L. Stewart" >Subject: Re: [AccessD] ADO Stored Procedure Call >To: accessd at databaseadvisors.com >Message-ID: <200612052005.kB5K5Kq20980 at databaseadvisors.com> >Content-Type: text/plain; charset="us-ascii"; format=flowed > >No, we are running through terminal services and to different databases. >It has to go through ADO. I think I found it, but waiting on the boss >to do the testing. Asynchronous mode on the connection open in ADO is >supposed to allow you to close the connection and the procedure to >continue to run. > >At 12:00 PM 12/5/2006, you wrote: > >Message: 3 > >Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) > >From: Lonnie Johnson > >Subject: Re: [AccessD] ADO Stored Procedure Call > >To: Access Developers discussion and problem solving > > > >Message-ID: <20061205144152.19599.qmail at web33103.mail.mud.yahoo.com> > >Content-Type: text/plain; charset=ascii > > > >I know this sounds simple but could you call your stored proc via a > >passthough query in your code? > > From cfoust at infostatsystems.com Wed Dec 6 15:46:31 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 6 Dec 2006 13:46:31 -0800 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: <200612062106.kB6L69q15026@databaseadvisors.com> Message-ID: Why are you trying to close the connection before the sp completes? That doesn't seem logical to me, and I don't see how the procedure could continue to run if you pulled the plug on the connection that powers it. You can always open other connections for other activities. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, December 06, 2006 1:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Stored Procedure Call Well, that works and does not work. It kills the stored procedure if we close the connection. Any one with any ideas? At 12:00 PM 12/6/2006, you wrote: >Date: Tue, 05 Dec 2006 14:01:30 -0600 >From: "Robert L. Stewart" >Subject: Re: [AccessD] ADO Stored Procedure Call >To: accessd at databaseadvisors.com >Message-ID: <200612052005.kB5K5Kq20980 at databaseadvisors.com> >Content-Type: text/plain; charset="us-ascii"; format=flowed > >No, we are running through terminal services and to different databases. >It has to go through ADO. I think I found it, but waiting on the boss >to do the testing. Asynchronous mode on the connection open in ADO is >supposed to allow you to close the connection and the procedure to >continue to run. > >At 12:00 PM 12/5/2006, you wrote: > >Message: 3 > >Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) > >From: Lonnie Johnson > >Subject: Re: [AccessD] ADO Stored Procedure Call > >To: Access Developers discussion and problem solving > > > >Message-ID: <20061205144152.19599.qmail at web33103.mail.mud.yahoo.com> > >Content-Type: text/plain; charset=ascii > > > >I know this sounds simple but could you call your stored proc via a > >passthough query in your code? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Wed Dec 6 15:55:15 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 6 Dec 2006 16:55:15 -0500 Subject: [AccessD] ADO Stored Procedure Call References: <200612062106.kB6L69q15026@databaseadvisors.com> Message-ID: <007601c71981$37842070$0302a8c0@default> (I just read Charlotte's response - good question.) This is little vague, but here goes ... An ActiveX EXE is 'out-of-process', so if you were to use one that brought up an (invisible) custom window, you could just quickly call FindWindow on a timer to see when the process was finished ... continue other activity meanwhile. Michael R. Mattys A MapPoint Developer www.mattysconsulting.com From BarbaraRyan at cox.net Wed Dec 6 14:45:18 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 6 Dec 2006 18:45:18 -0200 Subject: [AccessD] Independent Consulting Message-ID: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> After 20 years of working as a computer programmer/analyst (the last 7 years working exclusively with Access and Excel), I have made the decision to become an independent consultant. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! Thanks, Barb Ryan From ssharkins at setel.com Wed Dec 6 17:53:40 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 6 Dec 2006 18:53:40 -0500 Subject: [AccessD] Independent Consulting In-Reply-To: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> Message-ID: <001e01c71991$c1b20450$fc34fad1@SUSANONE> Start here: http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc orner.htm And good luck! Susan H. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! From kp at sdsonline.net Wed Dec 6 18:00:10 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Thu, 7 Dec 2006 11:00:10 +1100 Subject: [AccessD] Independent Consulting References: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> Message-ID: <089401c71992$a9f69e60$6401a8c0@office> Good luck Barb - there's some good stuff in the archive on this topic, although when I searched for the thread I have kept some items from, they didn;t come up - maybe because they were OT? Anyway_ I'll send you something off list. Kath ----- Original Message ----- From: Barbara Ryan To: Access List Sent: Thursday, December 07, 2006 7:45 AM Subject: [AccessD] Independent Consulting After 20 years of working as a computer programmer/analyst (the last 7 years working exclusively with Access and Excel), I have made the decision to become an independent consultant. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Dec 6 15:30:00 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 6 Dec 2006 19:30:00 -0200 Subject: [AccessD] Independent Consulting References: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> Message-ID: <00fc01c7197d$af14f0a0$0a00a8c0@PCRURI35> Thanks Kath, Susan, and John for the great information!...Barb ----- Original Message ----- From: "Barbara Ryan" To: "Access List" Sent: Wednesday, December 06, 2006 6:45 PM Subject: [AccessD] Independent Consulting > After 20 years of working as a computer programmer/analyst (the last 7 > years working exclusively with Access and Excel), I have made the decision > to become an independent consultant. > > Any advice? Suggestions on nformational resources about consulting > (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I > need a lawyer AND an accountant? Any 'gotchas' that I should look out > for? This is pretty scary for me! > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Dec 6 18:38:22 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Dec 2006 18:38:22 -0600 Subject: [AccessD] Independent Consulting In-Reply-To: <25807139.1165449109211.JavaMail.root@sniper64> Message-ID: <000001c71998$009b7560$0200a8c0@danwaters> Hi Barb, Having done this 4 years ago, these are my thoughts: 1) Charge a respectable rate. I started out charging $50/hr, only to find out that potential customers would see that as me not knowing what I'm doing. Next year I'm charging $120/hr without complaint. If a customer can easily see that they get more value than they paid you, they won't worry about your rate. You might charge a fixed rate for certain projects - a chance for more money. Another possibility, although a challenge to implement, could be to charge an ongoing or one-time percent of the value you have provided to them. 2) Explicitly tell potential customers how they will gain more value than you will charge. Go into some detail on this - they will then feel like they are informed and be more comfortable with you. 3) Go a little slow - get to know your primary contacts somewhat personally. This goes a long way toward trust and being able to resolve the inevitable conflicts that arise, and they'll open up more to you. But, remember that their primary loyalty will stay with their own company. 4) Always be on your customers' side. Provide solutions and suggestions they didn't think of. 5) Don't start work until you've signed a contract. I got slightly burned on this once. A good contract structure is to agree on how to work together. Then you can write a new Statement of Work for each project which gets into deliverables, schedules, payments, and so forth. This reduces the trepidation associated with signing a contract. If you've got a good history with a client, and YOU feel comfortable you can make verbal agreements. Some people are quite uncomfortable with written agreements (they may not say so) and may avoid you just to avoid the written agreement. 6) Consider being a Limited Liability Corporation (LLC). This avoids the difficulty of being a subchapter S corp, and gives you protection like a corporation. Talk to attorney about this though. 7) An Accountant? - I guess that depends on your billing rate! I don't use an accountant, but since I'm finally making some money this year, it hasn't mattered till now. 8) Set up a small web site. This gives you a presence that other people can quickly find if you give them your business card. For your site, you will drive people to it for more information - don't expect your web site to generate business for you. Be very clear and comprehensive on your site as to what you do. Make it simple and easy to read - no flashy graphics - it's a business site. The purpose of your web site is to get people interested enough to CALL you - not to sell you. Don't provide enough information that would allow people to cross you off their list. Your goal is to talk to them person to person - you sell you - not your site! 9) At first, your ability to sell and market yourself is what makes you or breaks you. If you can find a mentor to help you with this, pay them! I was introduced to a person who is a software salesperson, and his help has been invaluable. 10) I've come up against a situation where the IT folks in a customer's site feel competitive with me. If this happens you can't stop it - it's their emotions. Just be aware that can this occur. 11) Emphasize the comprehensiveness of your experience. Managers like people who can do a lot. 12) Some customers may want you to take the lead on a project! Managers also like people who can start the job and get it done so they can do other things. If you are a good project manager then you are more valuable! With one customer, I update and provide a gannt chart weekly, and I gently bug people to get things done. 13) References give you credibility as an independent person! If you can, find some small jobs, maybe for people you know, and get references that way. It will help! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Wednesday, December 06, 2006 2:45 PM To: Access List Subject: [AccessD] Independent Consulting After 20 years of working as a computer programmer/analyst (the last 7 years working exclusively with Access and Excel), I have made the decision to become an independent consultant. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Dec 6 21:21:13 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 6 Dec 2006 22:21:13 -0500 Subject: [AccessD] Independent Consulting References: <001e01c71991$c1b20450$fc34fad1@SUSANONE> Message-ID: <013c01c719ae$c09c4860$3e3de844@50NM721> ...lol ...didn't realize that was still around :) ...Barb ...work on building your references BEFORE you take the leap if at all possible ...look for charitable institutions that need help and do it for free or nearly so ...but do it as if they were paying your top rate ...making them ecstatic is the goal ...and understand that it is not their reference per se that you are after but that of other business people that are inevitably involved in such orgs ...they get to know you and the quality of work you do and a lot of them will pass your name on ...I still get calls that originated with a children's home I've not worked with in three years now. ...tap into accountants and small systems support consultants ...they rarely have database skills themselves but they have plenty of clients who have constant needs ...if you can get one or more accountants or system guys giving you an occasional referral, you'll be earning a living before you know it ...chamber of commerce meetings can be productive but I've found that hooking into my own client's accountant and systems people is the best way to spread your referral base. ...keep your expenses under control ...spend absolutely nothing that you don't have to ...you don't need a fancy office or a new computer or a half-page ad in the YP ...not unless your private savings or retirement check are a lot larger than mine ...and watch the government types, they'll kill you with mind numbing crap like fire inspections twice a year in your home office at $180 a whack ...the list is endless :( ...buy insurance very carefully if you need it ...a health savings account with a very high deductible works best for me but I've so far been fortunate to be in good health. ...otoh, if you make it through your first year you may be like me and wonder why in the heck you didn't do it 20 years sooner :) William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, December 06, 2006 6:53 PM Subject: Re: [AccessD] Independent Consulting > Start here: > > http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc > orner.htm > > And good luck! > > Susan H. > > Any advice? Suggestions on nformational resources about consulting > (books, > websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a > lawyer AND an accountant? Any 'gotchas' that I should look out for? This > is pretty scary for me! > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BarbaraRyan at cox.net Thu Dec 7 03:56:42 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 7 Dec 2006 07:56:42 -0200 Subject: [AccessD] Independent Consulting References: <001e01c71991$c1b20450$fc34fad1@SUSANONE> <013c01c719ae$c09c4860$3e3de844@50NM721> Message-ID: <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> You guys are great --- I appreciate the time you've taken to give me all this information --- and you don't even know me! Thanks. Barb ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, December 07, 2006 1:21 AM Subject: Re: [AccessD] Independent Consulting > ...lol ...didn't realize that was still around :) > > ...Barb ...work on building your references BEFORE you take the leap if at > all possible ...look for charitable institutions that need help and do it > for free or nearly so ...but do it as if they were paying your top rate > ...making them ecstatic is the goal ...and understand that it is not their > reference per se that you are after but that of other business people that > are inevitably involved in such orgs ...they get to know you and the > quality > of work you do and a lot of them will pass your name on ...I still get > calls > that originated with a children's home I've not worked with in three years > now. > > ...tap into accountants and small systems support consultants ...they > rarely > have database skills themselves but they have plenty of clients who have > constant needs ...if you can get one or more accountants or system guys > giving you an occasional referral, you'll be earning a living before you > know it ...chamber of commerce meetings can be productive but I've found > that hooking into my own client's accountant and systems people is the > best > way to spread your referral base. > > ...keep your expenses under control ...spend absolutely nothing that you > don't have to ...you don't need a fancy office or a new computer or a > half-page ad in the YP ...not unless your private savings or retirement > check are a lot larger than mine ...and watch the government types, > they'll > kill you with mind numbing crap like fire inspections twice a year in your > home office at $180 a whack ...the list is endless :( > > ...buy insurance very carefully if you need it ...a health savings account > with a very high deductible works best for me but I've so far been > fortunate > to be in good health. > > ...otoh, if you make it through your first year you may be like me and > wonder why in the heck you didn't do it 20 years sooner :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, December 06, 2006 6:53 PM > Subject: Re: [AccessD] Independent Consulting > > >> Start here: >> >> http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc >> orner.htm >> >> And good luck! >> >> Susan H. >> >> Any advice? Suggestions on nformational resources about consulting >> (books, >> websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >> lawyer AND an accountant? Any 'gotchas' that I should look out for? >> This >> is pretty scary for me! >> >> >> -- >> 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 Kwilliamson at RTKL.com Thu Dec 7 07:52:24 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 7 Dec 2006 08:52:24 -0500 Subject: [AccessD] Independent Consulting In-Reply-To: <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> Message-ID: You know, guys....something to consider. Last night, I had a home inspection on a house we are settling on, beginning of January. The inspector, when he finished up his report, handed it to me inside a Brinks Home Security folder. He told me that Brinks PAID him to do this. So...all his customers got a de facto reference for Brinks. I thought that was a brilliant idea. It is a perfect blend of associated services, reaching the perfect target market. IF you can find an IT person (I doubt an accounting service would...but maybe a simple bookkeeping service) to do the same with YOUR references....it might be a similar targeting of a potential target market. Something to think about. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Thursday, December 07, 2006 4:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Independent Consulting You guys are great --- I appreciate the time you've taken to give me all this information --- and you don't even know me! Thanks. Barb ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, December 07, 2006 1:21 AM Subject: Re: [AccessD] Independent Consulting > ...lol ...didn't realize that was still around :) > > ...Barb ...work on building your references BEFORE you take the leap if at > all possible ...look for charitable institutions that need help and do it > for free or nearly so ...but do it as if they were paying your top rate > ...making them ecstatic is the goal ...and understand that it is not their > reference per se that you are after but that of other business people that > are inevitably involved in such orgs ...they get to know you and the > quality > of work you do and a lot of them will pass your name on ...I still get > calls > that originated with a children's home I've not worked with in three years > now. > > ...tap into accountants and small systems support consultants ...they > rarely > have database skills themselves but they have plenty of clients who have > constant needs ...if you can get one or more accountants or system guys > giving you an occasional referral, you'll be earning a living before you > know it ...chamber of commerce meetings can be productive but I've found > that hooking into my own client's accountant and systems people is the > best > way to spread your referral base. > > ...keep your expenses under control ...spend absolutely nothing that you > don't have to ...you don't need a fancy office or a new computer or a > half-page ad in the YP ...not unless your private savings or retirement > check are a lot larger than mine ...and watch the government types, > they'll > kill you with mind numbing crap like fire inspections twice a year in your > home office at $180 a whack ...the list is endless :( > > ...buy insurance very carefully if you need it ...a health savings account > with a very high deductible works best for me but I've so far been > fortunate > to be in good health. > > ...otoh, if you make it through your first year you may be like me and > wonder why in the heck you didn't do it 20 years sooner :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, December 06, 2006 6:53 PM > Subject: Re: [AccessD] Independent Consulting > > >> Start here: >> >> http://www.databaseadvisors.com/newsletters/newsletter072001/0107consult antc >> orner.htm >> >> And good luck! >> >> Susan H. >> >> Any advice? Suggestions on nformational resources about consulting >> (books, >> websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >> lawyer AND an accountant? Any 'gotchas' that I should look out for? >> This >> is pretty scary for me! >> >> >> -- >> 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 Lambert.Heenan at AIG.com Thu Dec 7 08:08:12 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Dec 2006 08:08:12 -0600 Subject: [AccessD] Clipboard Warning Message Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2010BC894@xlivmbx35.aig.com> I find this 'feature' mildly irritating too, but I see little benefit in trying to run a routine to clear the clipboard after copying data from a query result set. What the difference between, clicking the button Access displays to say "no, don't keep the clipboard contents", or (possibly) clicking a toolbar button to run a "clear the clipboard" routine? Or am I just dumb enough to be missing the point? :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, December 06, 2006 1:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clipboard Warning Message Hello to the list, Thot I might try this one again. After copying a record in form view, when closing the form, I get a message that tells me I have copied a lot of data to the clipboard, do I want to keep it available.... Other than emptying the clipboard, can I suppress this message? If not, do we have a favorite routine to clear the clipboard? TIA Bob Heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From susanj at sgmeet.com Thu Dec 7 10:03:40 2006 From: susanj at sgmeet.com (Susan Jones) Date: Thu, 07 Dec 2006 10:03:40 -0600 Subject: [AccessD] Runtime error '2424' - do I care? should I care? Message-ID: <7.0.1.0.2.20061207095747.04cf8670@sgmeet.com> One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones From prosoft6 at hotmail.com Thu Dec 7 10:28:00 2006 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 7 Dec 2006 11:28:00 -0500 Subject: [AccessD] Runtime error '2424' - do I care? should I care? In-Reply-To: <7.0.1.0.2.20061207095747.04cf8670@sgmeet.com> Message-ID: Check the order of references............are they the same on all machines, or is this machine behind on patches? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Jones Sent: Thursday, December 07, 2006 11:04 AM To: accessd at databaseadvisors.com Subject: [AccessD] Runtime error '2424' - do I care? should I care? One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Dec 7 10:35:34 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 07 Dec 2006 16:35:34 +0000 Subject: [AccessD] Independent Consulting Message-ID: Dan, Great insight. I'm no longer an Independent, but one comment especially caught my attention. >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. My mentor is also a software salesperson. I wonder if this is coincidence or a logical pairing of occupations. Just a thought, Mark A. Matte >From: "Dan Waters" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Independent Consulting >Date: Wed, 6 Dec 2006 18:38:22 -0600 > >Hi Barb, > >Having done this 4 years ago, these are my thoughts: > >1) Charge a respectable rate. I started out charging $50/hr, only to find >out that potential customers would see that as me not knowing what I'm >doing. Next year I'm charging $120/hr without complaint. If a customer >can >easily see that they get more value than they paid you, they won't worry >about your rate. You might charge a fixed rate for certain projects - a >chance for more money. Another possibility, although a challenge to >implement, could be to charge an ongoing or one-time percent of the value >you have provided to them. > >2) Explicitly tell potential customers how they will gain more value than >you will charge. Go into some detail on this - they will then feel like >they are informed and be more comfortable with you. > >3) Go a little slow - get to know your primary contacts somewhat >personally. This goes a long way toward trust and being able to resolve >the >inevitable conflicts that arise, and they'll open up more to you. But, >remember that their primary loyalty will stay with their own company. > >4) Always be on your customers' side. Provide solutions and suggestions >they didn't think of. > >5) Don't start work until you've signed a contract. I got slightly burned >on this once. A good contract structure is to agree on how to work >together. Then you can write a new Statement of Work for each project >which >gets into deliverables, schedules, payments, and so forth. This reduces >the >trepidation associated with signing a contract. If you've got a good >history with a client, and YOU feel comfortable you can make verbal >agreements. Some people are quite uncomfortable with written agreements >(they may not say so) and may avoid you just to avoid the written >agreement. > > >6) Consider being a Limited Liability Corporation (LLC). This avoids the >difficulty of being a subchapter S corp, and gives you protection like a >corporation. Talk to attorney about this though. > >7) An Accountant? - I guess that depends on your billing rate! I don't >use >an accountant, but since I'm finally making some money this year, it hasn't >mattered till now. > >8) Set up a small web site. This gives you a presence that other people >can quickly find if you give them your business card. For your site, you >will drive people to it for more information - don't expect your web site >to >generate business for you. Be very clear and comprehensive on your site as >to what you do. Make it simple and easy to read - no flashy graphics - >it's >a business site. The purpose of your web site is to get people interested >enough to CALL you - not to sell you. Don't provide enough information >that >would allow people to cross you off their list. Your goal is to talk to >them person to person - you sell you - not your site! > >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. > >10) I've come up against a situation where the IT folks in a customer's >site feel competitive with me. If this happens you can't stop it - it's >their emotions. Just be aware that can this occur. > >11) Emphasize the comprehensiveness of your experience. Managers like >people who can do a lot. > >12) Some customers may want you to take the lead on a project! Managers >also like people who can start the job and get it done so they can do other >things. If you are a good project manager then you are more valuable! >With >one customer, I update and provide a gannt chart weekly, and I gently bug >people to get things done. > >13) References give you credibility as an independent person! If you can, >find some small jobs, maybe for people you know, and get references that >way. It will help! > > >Best of Luck! > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >Sent: Wednesday, December 06, 2006 2:45 PM >To: Access List >Subject: [AccessD] Independent Consulting > >After 20 years of working as a computer programmer/analyst (the last 7 >years >working exclusively with Access and Excel), I have made the decision to >become an independent consultant. > >Any advice? Suggestions on nformational resources about consulting (books, >websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >lawyer AND an accountant? Any 'gotchas' that I should look out for? This >is pretty scary for me! > >Thanks, >Barb Ryan >-- >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 _________________________________________________________________ Get the latest Windows Live Messenger 8.1 Beta version.?Join now. http://ideas.live.com From ssharkins at setel.com Thu Dec 7 10:49:52 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 7 Dec 2006 11:49:52 -0500 Subject: [AccessD] Runtime error '2424' - do I care? should I care? In-Reply-To: Message-ID: <001e01c71a1f$b80dd0d0$ecb82ad1@SUSANONE> Susan, wildcards are specific to libraries. For instance, VBA uses * and ?, and ADO uses % and _, respectively. Can you show us the code and tell us which statement is causing the error? Susan H. Check the order of references............are they the same on all machines, or is this machine behind on patches? One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones -- 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 From john at winhaven.net Thu Dec 7 12:04:52 2006 From: john at winhaven.net (John Bartow) Date: Thu, 7 Dec 2006 12:04:52 -0600 Subject: [AccessD] Clipboard Warning Message In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2010BC894@xlivmbx35.aig.com> Message-ID: <027a01c71a2a$31cd5f80$1402a8c0@ScuzzPaq> Lambert, I don't think you're missing the point. Apparently some people are just more easily irritated than you ;o) I just clear the clipboard after they use my icons to paste. Basically its VBA that says paste then clear. If they paste into a different app they have to deal with windows. But for the most my end users click mini-icons I add to the app. I also add shortcut menu items to do the same. I also have some copy/paste commands that format the pasted item into particular formats like phone numbers with the (nnn) nnn-nnnn format or standard label address formats etc. Little end user niceties :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 07, 2006 8:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clipboard Warning Message I find this 'feature' mildly irritating too, but I see little benefit in trying to run a routine to clear the clipboard after copying data from a query result set. What the difference between, clicking the button Access displays to say "no, don't keep the clipboard contents", or (possibly) clicking a toolbar button to run a "clear the clipboard" routine? Or am I just dumb enough to be missing the point? :-) Lambert From Lambert.Heenan at AIG.com Thu Dec 7 13:22:47 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Dec 2006 13:22:47 -0600 Subject: [AccessD] Clipboard Warning Message Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2010BCA90@xlivmbx35.aig.com> Ahhhh. Now I see... I has assumed ("makes an ass out of u and me") that we were talking about a favored user with full access (such as yourself) who was manually running queries, and copying data and pasting. It did not occur to silly me that we were talking about automated copy/paste operations that the regular users were performing. Personally I avoid those kind of problems by using TransferText to export query result into Excel instead of copying and pasting. For quick one-off questions I write the query and copy/paste myself. So I know that it's OK to just discard the clipboard at the end. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 07, 2006 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clipboard Warning Message Lambert, I don't think you're missing the point. Apparently some people are just more easily irritated than you ;o) I just clear the clipboard after they use my icons to paste. Basically its VBA that says paste then clear. If they paste into a different app they have to deal with windows. But for the most my end users click mini-icons I add to the app. I also add shortcut menu items to do the same. I also have some copy/paste commands that format the pasted item into particular formats like phone numbers with the (nnn) nnn-nnnn format or standard label address formats etc. Little end user niceties :o) From accessd at shaw.ca Thu Dec 7 13:38:20 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 11:38:20 -0800 Subject: [AccessD] Runtime error '2424' - do I care? should I care? In-Reply-To: <7.0.1.0.2.20061207095747.04cf8670@sgmeet.com> Message-ID: <0J9X0040K54ZPKG0@l-daemon> Hi Susan: Is the company using an identical software version and was all the latest patches applied or feature installed? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Jones Sent: Thursday, December 07, 2006 8:04 AM To: accessd at databaseadvisors.com Subject: [AccessD] Runtime error '2424' - do I care? should I care? One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 7 13:56:16 2006 From: john at winhaven.net (John Bartow) Date: Thu, 7 Dec 2006 13:56:16 -0600 Subject: [AccessD] Virginia Beach/Norfolk area Message-ID: <000501c71a39$c1ecfb20$1402a8c0@ScuzzPaq> Would any Independant Access developers in the Virginia Beach/Norfolk area please contact me off-list? Thanks, John B. From dwaters at usinternet.com Thu Dec 7 14:23:12 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 7 Dec 2006 14:23:12 -0600 Subject: [AccessD] Independent Consulting In-Reply-To: <7898753.1165510239815.JavaMail.root@sniper55> Message-ID: <004201c71a3d$85af1680$0200a8c0@danwaters> Hi Mark, Yes! It is a good pairing, although there must be several developers for one salesperson. He works in a small MS ISV shop, and he's the only salesperson. Dan Waters -----Original Message----- Subject: Re: [AccessD] Independent Consulting Dan, Great insight. I'm no longer an Independent, but one comment especially caught my attention. >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. My mentor is also a software salesperson. I wonder if this is coincidence or a logical pairing of occupations. Just a thought, Mark A. Matte >From: "Dan Waters" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Independent Consulting >Date: Wed, 6 Dec 2006 18:38:22 -0600 > >Hi Barb, > >Having done this 4 years ago, these are my thoughts: > >1) Charge a respectable rate. I started out charging $50/hr, only to find >out that potential customers would see that as me not knowing what I'm >doing. Next year I'm charging $120/hr without complaint. If a customer >can >easily see that they get more value than they paid you, they won't worry >about your rate. You might charge a fixed rate for certain projects - a >chance for more money. Another possibility, although a challenge to >implement, could be to charge an ongoing or one-time percent of the value >you have provided to them. > >2) Explicitly tell potential customers how they will gain more value than >you will charge. Go into some detail on this - they will then feel like >they are informed and be more comfortable with you. > >3) Go a little slow - get to know your primary contacts somewhat >personally. This goes a long way toward trust and being able to resolve >the >inevitable conflicts that arise, and they'll open up more to you. But, >remember that their primary loyalty will stay with their own company. > >4) Always be on your customers' side. Provide solutions and suggestions >they didn't think of. > >5) Don't start work until you've signed a contract. I got slightly burned >on this once. A good contract structure is to agree on how to work >together. Then you can write a new Statement of Work for each project >which >gets into deliverables, schedules, payments, and so forth. This reduces >the >trepidation associated with signing a contract. If you've got a good >history with a client, and YOU feel comfortable you can make verbal >agreements. Some people are quite uncomfortable with written agreements >(they may not say so) and may avoid you just to avoid the written >agreement. > > >6) Consider being a Limited Liability Corporation (LLC). This avoids the >difficulty of being a subchapter S corp, and gives you protection like a >corporation. Talk to attorney about this though. > >7) An Accountant? - I guess that depends on your billing rate! I don't >use >an accountant, but since I'm finally making some money this year, it hasn't >mattered till now. > >8) Set up a small web site. This gives you a presence that other people >can quickly find if you give them your business card. For your site, you >will drive people to it for more information - don't expect your web site >to >generate business for you. Be very clear and comprehensive on your site as >to what you do. Make it simple and easy to read - no flashy graphics - >it's >a business site. The purpose of your web site is to get people interested >enough to CALL you - not to sell you. Don't provide enough information >that >would allow people to cross you off their list. Your goal is to talk to >them person to person - you sell you - not your site! > >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. > >10) I've come up against a situation where the IT folks in a customer's >site feel competitive with me. If this happens you can't stop it - it's >their emotions. Just be aware that can this occur. > >11) Emphasize the comprehensiveness of your experience. Managers like >people who can do a lot. > >12) Some customers may want you to take the lead on a project! Managers >also like people who can start the job and get it done so they can do other >things. If you are a good project manager then you are more valuable! >With >one customer, I update and provide a gannt chart weekly, and I gently bug >people to get things done. > >13) References give you credibility as an independent person! If you can, >find some small jobs, maybe for people you know, and get references that >way. It will help! > > >Best of Luck! > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >Sent: Wednesday, December 06, 2006 2:45 PM >To: Access List >Subject: [AccessD] Independent Consulting > >After 20 years of working as a computer programmer/analyst (the last 7 >years >working exclusively with Access and Excel), I have made the decision to >become an independent consultant. > >Any advice? Suggestions on nformational resources about consulting (books, >websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >lawyer AND an accountant? Any 'gotchas' that I should look out for? This >is pretty scary for me! > >Thanks, >Barb Ryan >-- >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 _________________________________________________________________ Get the latest Windows Live Messenger 8.1 Beta version. Join now. http://ideas.live.com From dwaters at usinternet.com Thu Dec 7 14:53:08 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 7 Dec 2006 14:53:08 -0600 Subject: [AccessD] Access 2007 RSS Link Message-ID: <004601c71a41$b3c13a90$0200a8c0@danwaters> This is the link: http://blogs.msdn.com/access/rss.xml Dan Waters From accessd at shaw.ca Thu Dec 7 15:54:15 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 13:54:15 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <013c01c719ae$c09c4860$3e3de844@50NM721> Message-ID: <0J9X002W3BFIOE31@l-daemon> OT Hi All: Does anyone know of a application that will convert graphic PNM format to JPEG format. As the PNM format is a rarely used format... (Still used in Linux.) It is difficult to find a Windows converter that is not well priced. It is unlikely that I will be using that conversion method on a regular base so I am reluctant to invest. MTIA Jim From dmcafee at pacbell.net Thu Dec 7 16:05:39 2006 From: dmcafee at pacbell.net (David Mcafee) Date: Thu, 7 Dec 2006 14:05:39 -0800 (PST) Subject: [AccessD] OT graphic PNM format to JPEG Message-ID: <20061207220539.94737.qmail@web80807.mail.mud.yahoo.com> If you have a smaple picture I can check if Photoshop CS2 can open it. If so, I'm sure it will be able to save as jpeg. ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Thursday, December 7, 2006 1:54:15 PM Subject: [AccessD] OT graphic PNM format to JPEG OT Hi All: Does anyone know of a application that will convert graphic PNM format to JPEG format. As the PNM format is a rarely used format... (Still used in Linux.) It is difficult to find a Windows converter that is not well priced. It is unlikely that I will be using that conversion method on a regular base so I am reluctant to invest. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 7 16:22:51 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Dec 2006 08:22:51 +1000 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9X002W3BFIOE31@l-daemon> References: <013c01c719ae$c09c4860$3e3de844@50NM721>, <0J9X002W3BFIOE31@l-daemon> Message-ID: <4578943B.16547.18F99F94@stuart.lexacorp.com.pg> On 7 Dec 2006 at 13:54, Jim Lawrence wrote: > OT > > Hi All: > > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Freeware: http://www.pictview.com/pvw.htm The GUI can view then but can't convert them. The Console version will convert to/from PNM and lots of other formats including jpeg Shareware: http://www.ayeview.com/ ($20)-- Stuart From accessd at shaw.ca Thu Dec 7 18:10:24 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 16:10:24 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <20061207220539.94737.qmail@web80807.mail.mud.yahoo.com> Message-ID: <0J9X00M6FHQCTBS0@l-daemon> Hi David: Thanks you for the offer but I was not aware that Photoshop CS2 could read PNM files... if I am wrong I stand corrected. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Mcafee Sent: Thursday, December 07, 2006 2:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG If you have a smaple picture I can check if Photoshop CS2 can open it. If so, I'm sure it will be able to save as jpeg. ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Thursday, December 7, 2006 1:54:15 PM Subject: [AccessD] OT graphic PNM format to JPEG OT Hi All: Does anyone know of a application that will convert graphic PNM format to JPEG format. As the PNM format is a rarely used format... (Still used in Linux.) It is difficult to find a Windows converter that is not well priced. It is unlikely that I will be using that conversion method on a regular base so I am reluctant to invest. MTIA 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 martyconnelly at shaw.ca Thu Dec 7 18:27:09 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 07 Dec 2006 16:27:09 -0800 Subject: [AccessD] Independent Consulting In-Reply-To: <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> References: <001e01c71991$c1b20450$fc34fad1@SUSANONE> <013c01c719ae$c09c4860$3e3de844@50NM721> <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> Message-ID: <4578B15D.8090807@shaw.ca> Here is a freebie accounting program from MS Microsoft Accounting Express 2007 200 MB download http://ideawins.com/ or you could get a developers copy of QuickBooks by filling in the forms from their partner program Barbara Ryan wrote: >You guys are great --- I appreciate the time you've taken to give me all >this information --- and you don't even know me! Thanks. > >Barb >----- Original Message ----- >From: "William Hindman" >To: "Access Developers discussion and problem solving" > >Sent: Thursday, December 07, 2006 1:21 AM >Subject: Re: [AccessD] Independent Consulting > > > > >>...lol ...didn't realize that was still around :) >> >>...Barb ...work on building your references BEFORE you take the leap if at >>all possible ...look for charitable institutions that need help and do it >>for free or nearly so ...but do it as if they were paying your top rate >>...making them ecstatic is the goal ...and understand that it is not their >>reference per se that you are after but that of other business people that >>are inevitably involved in such orgs ...they get to know you and the >>quality >>of work you do and a lot of them will pass your name on ...I still get >>calls >>that originated with a children's home I've not worked with in three years >>now. >> >>...tap into accountants and small systems support consultants ...they >>rarely >>have database skills themselves but they have plenty of clients who have >>constant needs ...if you can get one or more accountants or system guys >>giving you an occasional referral, you'll be earning a living before you >>know it ...chamber of commerce meetings can be productive but I've found >>that hooking into my own client's accountant and systems people is the >>best >>way to spread your referral base. >> >>...keep your expenses under control ...spend absolutely nothing that you >>don't have to ...you don't need a fancy office or a new computer or a >>half-page ad in the YP ...not unless your private savings or retirement >>check are a lot larger than mine ...and watch the government types, >>they'll >>kill you with mind numbing crap like fire inspections twice a year in your >>home office at $180 a whack ...the list is endless :( >> >>...buy insurance very carefully if you need it ...a health savings account >>with a very high deductible works best for me but I've so far been >>fortunate >>to be in good health. >> >>...otoh, if you make it through your first year you may be like me and >>wonder why in the heck you didn't do it 20 years sooner :) >> >>William Hindman >> >>----- Original Message ----- >>From: "Susan Harkins" >>To: "'Access Developers discussion and problem solving'" >> >>Sent: Wednesday, December 06, 2006 6:53 PM >>Subject: Re: [AccessD] Independent Consulting >> >> >> >> >>>Start here: >>> >>>http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc >>>orner.htm >>> >>>And good luck! >>> >>>Susan H. >>> >>>Any advice? Suggestions on nformational resources about consulting >>>(books, >>>websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >>>lawyer AND an accountant? Any 'gotchas' that I should look out for? >>>This >>>is pretty scary for me! >>> >>> >>>-- >>>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 >> >> > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Dec 7 19:06:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 17:06:58 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <4578943B.16547.18F99F94@stuart.lexacorp.com.pg> Message-ID: <0J9X007A7KCOBTU0@l-daemon> Thank you Stuart. :-) Scanned that program earlier this morning but I did not notice it had an extraction command line tool that could convert files. The command line interface is a bear as the instructions are not very clear and have no example but persistence paid off. It could be a great tool used in conjunction some applications that require very fast graphic file conversion functionality. Below is a sample that I used: C:\downloads\convertors\PVW32Con L:\Downloads\source.pnm -j --o D:\temp\destination01.jpg (from a PNM format to a JPEG format) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 07, 2006 2:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 7 Dec 2006 at 13:54, Jim Lawrence wrote: > OT > > Hi All: > > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Freeware: http://www.pictview.com/pvw.htm The GUI can view then but can't convert them. The Console version will convert to/from PNM and lots of other formats including jpeg Shareware: http://www.ayeview.com/ ($20)-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Dec 8 04:05:17 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 8 Dec 2006 13:05:17 +0300 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: <000c01c71ab0$5de42eb0$6401a8c0@nant> Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From andy at minstersystems.co.uk Fri Dec 8 04:39:20 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 8 Dec 2006 10:39:20 +0000 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: <20061208103923.749C22BCCB8@smtp.nildram.co.uk> ROTFL. Nice one Shamil, must get a sign made up. :-) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Fri Dec 8 04:53:12 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Dec 2006 11:53:12 +0100 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: Hi Shamil Here we have chosen the other combination: Everything works and everyone knows why! /gustav --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From shamil at users.mns.ru Fri Dec 8 07:13:27 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 8 Dec 2006 16:13:27 +0300 Subject: [AccessD] OT: Friday humor - about customers' support center In-Reply-To: Message-ID: <002a01c71aca$a6367050$6401a8c0@nant> <<< Everything works and everyone knows why! >>> Hello Gustav, Yes, correct combination but it sounds as a science fiction, isn't it? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 08, 2006 1:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Friday humor - about customers' support center Hi Shamil Here we have chosen the other combination: Everything works and everyone knows why! /gustav --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From carbonnb at gmail.com Fri Dec 8 07:13:27 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 8 Dec 2006 08:13:27 -0500 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9X002W3BFIOE31@l-daemon> References: <013c01c719ae$c09c4860$3e3de844@50NM721> <0J9X002W3BFIOE31@l-daemon> Message-ID: On 12/7/06, Jim Lawrence wrote: > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Since it's a standard Linux graphic file format, have a look at Gimp. http://gimp.org It looks like it will open PNMs and I know it will save jpgs. Best part, its open source and free. -- 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 artful at rogers.com Fri Dec 8 07:50:18 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 8 Dec 2006 05:50:18 -0800 (PST) Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: <20061208135018.87264.qmail@web88205.mail.re2.yahoo.com> Exactly my thoughts. I'm going to do one up in MS Publisher and stick it on my home-office wall. ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Friday, December 8, 2006 5:39:20 AM Subject: Re: [AccessD] OT: Friday humor - about customers' support center ROTFL. Nice one Shamil, must get a sign made up. :-) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> From Gustav at cactus.dk Fri Dec 8 08:24:52 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Dec 2006 15:24:52 +0100 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: Hi Shamil Well, a little, maybe ... /gustav >>> shamil at users.mns.ru 08-12-2006 14:13 >>> <<< Everything works and everyone knows why! >>> Hello Gustav, Yes, correct combination but it sounds as a science fiction, isn't it? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 08, 2006 1:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Friday humor - about customers' support center Hi Shamil Here we have chosen the other combination: Everything works and everyone knows why! /gustav --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From markamatte at hotmail.com Fri Dec 8 09:05:27 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 08 Dec 2006 15:05:27 +0000 Subject: [AccessD] OT: Dice.com on ms access In-Reply-To: Message-ID: Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego?s. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego?s was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are ?the man? - the buck stops with you and it?s your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let?s not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database?s backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world?s next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From accessd at shaw.ca Fri Dec 8 09:31:54 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 07:31:54 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: Message-ID: <0J9Y00089OE53FT0@l-daemon> Hi Bryan: I did look at GIMP and it loads PNM formatted files without issue but that is the only format it has... It is too bad as it would be a great program for doing web development or even high-end graphics now it will be no more than a good program with a limited market. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, December 08, 2006 5:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 12/7/06, Jim Lawrence wrote: > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Since it's a standard Linux graphic file format, have a look at Gimp. http://gimp.org It looks like it will open PNMs and I know it will save jpgs. Best part, its open source and free. -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 8 09:35:01 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 07:35:01 -0800 Subject: [AccessD] OT: Dice.com on ms access In-Reply-To: Message-ID: <0J9Y006PAOJDGNR0@l-daemon> Well Mark... I could not have said it better. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 08, 2006 7:05 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Legos. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Legos was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are the man - the buck stops with you and its your way or the highway - as well as any number of other clichis. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Lets not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access databases backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate worlds next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From ssharkins at setel.com Fri Dec 8 09:33:44 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 10:33:44 -0500 Subject: [AccessD] OT: Friday humor - about customers' support center In-Reply-To: <000c01c71ab0$5de42eb0$6401a8c0@nant> Message-ID: <001701c71ade$3fd6c490$7532fad1@SUSANONE> :) A few days after Cobb announced they were moving to Rochester, New York (where I definitely never left anything I'd want to return for), I put a big sign on my office door, "I can only please one person a day, and today isn't your day." I left it there 'til the end -- at first everyone laughed -- "that's cute" they said -- until they realized I meant it. :) Susan H. Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! From accessd at shaw.ca Fri Dec 8 09:37:02 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 07:37:02 -0800 Subject: [AccessD] OT: Friday humor - about customers' support center In-Reply-To: <000c01c71ab0$5de42eb0$6401a8c0@nant> Message-ID: <0J9Y0042DOMPQTE0@l-daemon> Hi Shamil: That is a great anecdote, I may even borrow it some time. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, December 08, 2006 2:05 AM To: 'Access-D' Subject: [AccessD] OT: Friday humor - about customers' support center Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Dec 8 09:44:01 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 8 Dec 2006 07:44:01 -0800 (PST) Subject: [AccessD] OT: Dice.com on ms access Message-ID: <20061208154402.78900.qmail@web88209.mail.re2.yahoo.com> Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 8, 2006 10:05:27 AM Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego?s. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego?s was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are ?the man? - the buck stops with you and it?s your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let?s not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database?s backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world?s next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Dec 8 10:56:54 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Dec 2006 10:56:54 -0600 Subject: [AccessD] OT: Dice.com on ms access Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AA08@marlow_main2.marlow.ii-vi.net> I agree. Especially in web apps, I have NEVER had a web based app fall over due to too many users, and practically every dynamic web page I have built uses an Access .mdb in the background (Access 97 usually). Drew -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Friday, December 08, 2006 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 8, 2006 10:05:27 AM Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego's. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego's was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are "the man" - the buck stops with you and it's your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let's not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database's backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world's next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete's Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- 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 Dec 8 11:00:12 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 8 Dec 2006 12:00:12 -0500 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9Y00089OE53FT0@l-daemon> References: <0J9Y00089OE53FT0@l-daemon> Message-ID: On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I did look at GIMP and it loads PNM formatted files without issue but that > is the only format it has... It is too bad as it would be a great program > for doing web development or even high-end graphics now it will be no more > than a good program with a limited market. What do you mean it';s the only format it has? I've used it for JPGs, GIFs, PNGs, PSDs. The File|Open Dialog has a ton of different formats that it will open. The File|Save Dialog has not quite as many different Save formats -- 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 ssharkins at setel.com Fri Dec 8 11:08:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 12:08:14 -0500 Subject: [AccessD] Common error number Message-ID: <000701c71aeb$74e4d8e0$8534fad1@SUSANONE> I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. From artful at rogers.com Fri Dec 8 11:37:21 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 8 Dec 2006 09:37:21 -0800 (PST) Subject: [AccessD] Common error number Message-ID: <20061208173721.9555.qmail@web88215.mail.re2.yahoo.com> This doesn't sound like a children's story, Susan! OTOH, most of us here are children (emotionally if not educationally), so perhaps I mis-spoke. ----- Original Message ---- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, December 8, 2006 12:08:14 PM Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. From Gustav at cactus.dk Fri Dec 8 11:51:15 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Dec 2006 18:51:15 +0100 Subject: [AccessD] Common error number Message-ID: Hi Susan 18 Or create a list for yourself with DAO: Function AccessAndJetErrorsTable() As Boolean Dim dbs As Database, tdf As TableDef, fld As Field Dim rst As Recordset, lngCode As Long Dim strAccessErr As String Const conAppObjectError = "Unspecified error code" On Error GoTo Error_AccessAndJetErrorsTable ' Create Errors table with ErrorNumber and ErrorDescription fields. Set dbs = CurrentDb Set tdf = dbs.CreateTableDef("AccessAndJetError") Set fld = tdf.CreateField("ErrorCode", dbLong) tdf.Fields.Append fld Set fld = tdf.CreateField("ErrorString", dbMemo) tdf.Fields.Append fld dbs.TableDefs.Append tdf ' Open recordset on Errors table. Set rst = dbs.OpenRecordset("AccessAndJetErrors") ' Loop through error codes. For lngCode = 0 To 9999 '3500 On Error Resume Next ' Raise each error. strAccessErr = AccessError(lngCode) DoCmd.Hourglass True ' Skip error numbers without associated strings. If strAccessErr <> "" Then ' Skip codes that generate application or object-defined errors. If strAccessErr <> conAppObjectError Then ' Add each error code and string to Errors table. rst.AddNew rst!ErrorCode = lngCode ' Append string to memo field. rst!ErrorString.AppendChunk strAccessErr rst.Update End If End If Next lngCode ' Close recordset. rst.Close DoCmd.Hourglass False RefreshDatabaseWindow MsgBox "Access and Jet errors table created." AccessAndJetErrorsTable = True Exit_AccessAndJetErrorsTable: Exit Function Error_AccessAndJetErrorsTable: MsgBox Err & ": " & Err.Description AccessAndJetErrorsTable = False Resume Exit_AccessAndJetErrorsTable End Function /gustav >>> ssharkins at setel.com 08-12-2006 18:08:14 >>> I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Dec 8 11:52:49 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 11:52:49 -0600 Subject: [AccessD] Common error number Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE15F@corp-es01.fleetpride.com> Haven't you ever read "Where the Wild Things Are"? Lions and Tigers and errors, Oh My! Jim Hale -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Friday, December 08, 2006 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Common error number This doesn't sound like a children's story, Susan! OTOH, most of us here are children (emotionally if not educationally), so perhaps I mis-spoke. ----- Original Message ---- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, December 8, 2006 12:08:14 PM Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Fri Dec 8 12:00:06 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 10:00:06 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: Message-ID: <0J9Y000UIV953711@l-daemon> Hi Bryan: I have not spent much time with GIMP but I have found no way for the application to save a format into any other format than what is currently loaded. Maybe there is some feature that I over-looked or maybe it is an older version so if it can do format conversions I would really like to know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, December 08, 2006 9:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I did look at GIMP and it loads PNM formatted files without issue but that > is the only format it has... It is too bad as it would be a great program > for doing web development or even high-end graphics now it will be no more > than a good program with a limited market. What do you mean it';s the only format it has? I've used it for JPGs, GIFs, PNGs, PSDs. The File|Open Dialog has a ton of different formats that it will open. The File|Save Dialog has not quite as many different Save formats -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 8 12:05:36 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 10:05:36 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: Message-ID: <0J9Y00CF9VIBO8D0@l-daemon> Hi Bryan: I just found the save format option.... I stand corrected. Thanks for your help. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, December 08, 2006 9:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I did look at GIMP and it loads PNM formatted files without issue but that > is the only format it has... It is too bad as it would be a great program > for doing web development or even high-end graphics now it will be no more > than a good program with a limited market. What do you mean it';s the only format it has? I've used it for JPGs, GIFs, PNGs, PSDs. The File|Open Dialog has a ton of different formats that it will open. The File|Save Dialog has not quite as many different Save formats -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Dec 8 12:28:33 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 8 Dec 2006 13:28:33 -0500 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9Y00CF9VIBO8D0@l-daemon> References: <0J9Y00CF9VIBO8D0@l-daemon> Message-ID: On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I just found the save format option.... I stand corrected. > > Thanks for your help. No problem. Just in case anyone else is reading this, to save as a different format, all you need to do is save as, and then give it the appropriate file extension. IE, you open picture.gif and want to save it as a jpg, do a file save as and rename it to picture.jpg and it saves it as a jpg. Simple, once you know how. -- 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 jwcolby at colbyconsulting.com Fri Dec 8 14:38:27 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 15:38:27 -0500 Subject: [AccessD] WORKGROUP FILES Message-ID: <00b601c71b08$d17b8550$657aa8c0@m6805> I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com From Jim.Hale at FleetPride.com Fri Dec 8 14:44:40 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 14:44:40 -0600 Subject: [AccessD] Common error number Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE161@corp-es01.fleetpride.com> Error Message: Terse, baffling remark used by programmers to place blame on users for the program's shortcomings. Jim Hale -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Friday, December 08, 2006 11:08 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Fri Dec 8 14:56:37 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Dec 2006 14:56:37 -0600 Subject: [AccessD] WORKGROUP FILES Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AA60@marlow_main2.marlow.ii-vi.net> You need to use the workgroup administrator to find out what workgroup is set to default. That is the workgroup that is used for Access in general. To use a different one for a specific database, you can setup a shortcut that uses the /wrkgrp flag to specify an .mdw other then the default one. In Access 2003, it's in the Security section under Tools. In 97 you had to use wrkgadm (Start-->Run-->wrkgadm) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, December 08, 2006 2:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Dec 8 14:57:17 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Dec 2006 14:57:17 -0600 Subject: [AccessD] WORKGROUP FILES Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AA61@marlow_main2.marlow.ii-vi.net> Ow, and then when you know where the .mdw is, I believe mdw's get .ldb files, just like mdbs, so you should be able to 'see' who's in them with the .ldb file. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, December 08, 2006 2:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Fri Dec 8 15:27:45 2006 From: askolits at ot.com (John Skolits) Date: Fri, 8 Dec 2006 16:27:45 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: <00ae01c71b0f$b694c150$6501a8c0@LaptopXP> Can you just login as admin and run the command ? Syscmd(acSysCmdGetWorkgroupFile) I have code that will retrieve all the uers in a group, providing you know an admin username and password. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 3:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Dec 8 16:05:02 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Dec 2006 14:05:02 -0800 Subject: [AccessD] OT: Dice.com on ms access In-Reply-To: <20061208154402.78900.qmail@web88209.mail.re2.yahoo.com> Message-ID: For commercial operations like ours, Access has become an albatross. IT departments disparage Access and pass the attitude along wo their own superiors, so we were forced to move to .Net in order to provide the slick interface and web-based options the customers and the competition required. I've always felt Access was misperceived by MS as an end-user tool. End users can certainly use it and they can build very BAD databases in it, but it takes know-how to build a competent application in Access. The advantages of .Net and Ajax are more in interface than anywhere else, but in that area, they are worlds away from what Access can do up through 2003. You still gotta have a database in there somewhere, and we still offer an Access backend, even with .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 08, 2006 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 8, 2006 10:05:27 AM Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego's. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego's was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are "the man" - the buck stops with you and it's your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let's not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database's backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world's next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete's Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- 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 cfoust at infostatsystems.com Fri Dec 8 16:10:17 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Dec 2006 14:10:17 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 8 16:38:54 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 17:38:54 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: Message-ID: <00c201c71b19$a53d7870$657aa8c0@m6805> Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 Jim.Hale at FleetPride.com Fri Dec 8 16:40:49 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 16:40:49 -0600 Subject: [AccessD] OT: Dice.com on ms access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE164@corp-es01.fleetpride.com> Wow, a succinct description of the value and attraction of Access (legos) and an epitaph (forced to move to .Net) all on the same day. Both dead on. This old hoss doesn't want to learn new tricks. Maybe I can be put out to stud? Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, December 08, 2006 4:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access For commercial operations like ours, Access has become an albatross. IT departments disparage Access and pass the attitude along wo their own superiors, so we were forced to move to .Net in order to provide the slick interface and web-based options the customers and the competition required. I've always felt Access was misperceived by MS as an end-user tool. End users can certainly use it and they can build very BAD databases in it, but it takes know-how to build a competent application in Access. The advantages of .Net and Ajax are more in interface than anywhere else, but in that area, they are worlds away from what Access can do up through 2003. You still gotta have a database in there somewhere, and we still offer an Access backend, even with .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 08, 2006 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Fri Dec 8 16:50:47 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 16:50:47 -0600 Subject: [AccessD] WORKGROUP FILES Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE165@corp-es01.fleetpride.com> FWIW I had the same problem last week. I solved it by requiring a cold boot (only two users) and deleting the lock file. For some strange reason warm boots didn't do the trick. Jim Hale -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, December 08, 2006 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Fri Dec 8 17:25:40 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 15:25:40 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00c201c71b19$a53d7870$657aa8c0@m6805> Message-ID: <0J9Z007DMABQA6J2@l-daemon> Hi John: If that is the case it would appear that the users have limited access to the directories where either the security file, databases or lock-file resides. This is not a problem with Access but a problem with how the permissions on directories themselves are setup.... this is an IT issue and nothing to do with you. All the respective directories must have read and write access for all users. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 martyconnelly at shaw.ca Fri Dec 8 17:25:42 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 08 Dec 2006 15:25:42 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> References: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: <4579F476.7070309@shaw.ca> ?SysCmd(acSysCmdGetWorkgroupFile) will give you the mdw path There are other methods JWColby wrote: >I still need help figuring out what workgroup file a user belongs to and how >to join a different workgroup. I am trying to test problems connecting to a >SQL Server source at my client. My admin user can connect, users can't. Si >I had them create me a "user" on my desktop that I can log into rather >logging in as the admin. That works, but when I try to open any access >database, I get an error "database in use or no permissions" or something >similar. It sure looks like an MDW problem, but I just can't figure out how >I discover the physical location of the mdw file that the admin user belongs >to, and then how to cause my new "user" to join that workgroup. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Fri Dec 8 17:32:36 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 8 Dec 2006 18:32:36 -0500 Subject: [AccessD] Common error number In-Reply-To: <000701c71aeb$74e4d8e0$8534fad1@SUSANONE> Message-ID: <022a01c71b21$2891e830$0200a8c0@ULTRADNT> I think the best use of Raise is for custom, developer defined errors, so you can get out of a Function or Sub gracefully without writing crap like Exit Function after testing a condition. Ex: If Dir(stFileName) = "" Then Err.Raise vbobjecterror+1 ... Select Case Err Case vbobjecterror+1 Msgbox "file Does Not Exist" Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, December 08, 2006 12:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Dec 8 18:05:13 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Dec 2006 16:05:13 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00c201c71b19$a53d7870$657aa8c0@m6805> Message-ID: The error messages and the whole scenario sounds a lot like what we run into on occasion when a client IT department simply will NOT believe that users need full permissions to the folder in which the database lives. Under best circumstances, a single user can log in and work, but since there is no permission to create or delete the ldb file, no one else can log in until that one user leaves ... Even though no one has logged in exclusive. What they should do is set up a workgroup file that is copied to each user's machine or terminal server folder, or whatever. It should map the same on all desktops and their shortcut to the application should include the path to the appropriate workgroup. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 ssharkins at setel.com Fri Dec 8 18:15:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 19:15:59 -0500 Subject: [AccessD] Common error number In-Reply-To: Message-ID: <003701c71b27$34d7a250$8534fad1@SUSANONE> I actually wrote about that function once, but couldn't find the article! :) It's really, really old and covered with dust somewhere. ;) Error 18 -- I'll try it! ;) Susan H. Hi Susan 18 Or create a list for yourself with DAO: Function AccessAndJetErrorsTable() As Boolean Dim dbs As Database, tdf As TableDef, fld As Field Dim rst As Recordset, lngCode As Long Dim strAccessErr As String Const conAppObjectError = "Unspecified error code" On Error GoTo Error_AccessAndJetErrorsTable ' Create Errors table with ErrorNumber and ErrorDescription fields. Set dbs = CurrentDb Set tdf = dbs.CreateTableDef("AccessAndJetError") Set fld = tdf.CreateField("ErrorCode", dbLong) tdf.Fields.Append fld Set fld = tdf.CreateField("ErrorString", dbMemo) tdf.Fields.Append fld dbs.TableDefs.Append tdf ' Open recordset on Errors table. Set rst = dbs.OpenRecordset("AccessAndJetErrors") ' Loop through error codes. For lngCode = 0 To 9999 '3500 On Error Resume Next ' Raise each error. strAccessErr = AccessError(lngCode) DoCmd.Hourglass True ' Skip error numbers without associated strings. If strAccessErr <> "" Then ' Skip codes that generate application or object-defined errors. If strAccessErr <> conAppObjectError Then ' Add each error code and string to Errors table. rst.AddNew rst!ErrorCode = lngCode ' Append string to memo field. rst!ErrorString.AppendChunk strAccessErr rst.Update End If End If Next lngCode ' Close recordset. rst.Close DoCmd.Hourglass False RefreshDatabaseWindow MsgBox "Access and Jet errors table created." AccessAndJetErrorsTable = True Exit_AccessAndJetErrorsTable: Exit Function Error_AccessAndJetErrorsTable: MsgBox Err & ": " & Err.Description AccessAndJetErrorsTable = False Resume Exit_AccessAndJetErrorsTable End Function /gustav >>> ssharkins at setel.com 08-12-2006 18:08:14 >>> I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From ssharkins at setel.com Fri Dec 8 18:15:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 19:15:59 -0500 Subject: [AccessD] Common error number In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE161@corp-es01.fleetpride.com> Message-ID: <003901c71b27$36e6ac30$8534fad1@SUSANONE> I can appreciate that! ;) Susan H. Error Message: Terse, baffling remark used by programmers to place blame on users for the program's shortcomings. From ssharkins at setel.com Fri Dec 8 18:15:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 19:15:59 -0500 Subject: [AccessD] Common error number In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE15F@corp-es01.fleetpride.com> Message-ID: <003801c71b27$35b7c920$8534fad1@SUSANONE> No, this is just a regular Access "how-to" -- they're still paying the bills. :) I love "Where the Wild Things Are" -- and my copy is missing. :( Susan H. Haven't you ever read "Where the Wild Things Are"? Lions and Tigers and errors, Oh My! This doesn't sound like a children's story, Susan! OTOH, most of us here are children (emotionally if not educationally), so perhaps I mis-spoke. From garykjos at gmail.com Fri Dec 8 18:20:15 2006 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 8 Dec 2006 18:20:15 -0600 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> References: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: Can you create the new database in the same folder as the original one that you can't open? That would prove you have file create access there that you and yoru users need to have in order to create the ldb file? I know you said you could create a new blank DB with the user account but is it in the same network location? Perhaps they removed some update ability for your user level accounts. GK On 12/8/06, JWColby wrote: > I still need help figuring out what workgroup file a user belongs to and how > to join a different workgroup. I am trying to test problems connecting to a > SQL Server source at my client. My admin user can connect, users can't. Si > I had them create me a "user" on my desktop that I can log into rather > logging in as the admin. That works, but when I try to open any access > database, I get an error "database in use or no permissions" or something > similar. It sure looks like an MDW problem, but I just can't figure out how > I discover the physical location of the mdw file that the admin user belongs > to, and then how to cause my new "user" to join that workgroup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > 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 colbyconsulting.com Fri Dec 8 18:26:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 19:26:34 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: Message-ID: <00c801c71b28$af565160$657aa8c0@m6805> Well there's a possibility. I'll check. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 08, 2006 7:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES Can you create the new database in the same folder as the original one that you can't open? That would prove you have file create access there that you and yoru users need to have in order to create the ldb file? I know you said you could create a new blank DB with the user account but is it in the same network location? Perhaps they removed some update ability for your user level accounts. GK On 12/8/06, JWColby wrote: > I still need help figuring out what workgroup file a user belongs to > and how to join a different workgroup. I am trying to test problems > connecting to a SQL Server source at my client. My admin user can > connect, users can't. Si I had them create me a "user" on my desktop > that I can log into rather logging in as the admin. That works, but > when I try to open any access database, I get an error "database in > use or no permissions" or something similar. It sure looks like an > MDW problem, but I just can't figure out how I discover the physical > location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > 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 jwcolby at colbyconsulting.com Fri Dec 8 18:28:36 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 19:28:36 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <0J9Z007DMABQA6J2@l-daemon> Message-ID: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> I'll check that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 08, 2006 6:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Hi John: If that is the case it would appear that the users have limited access to the directories where either the security file, databases or lock-file resides. This is not a problem with Access but a problem with how the permissions on directories themselves are setup.... this is an IT issue and nothing to do with you. All the respective directories must have read and write access for all users. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 Sat Dec 9 14:13:40 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 9 Dec 2006 12:13:40 -0800 Subject: [AccessD] Import R:Base records into SQL Server or Access In-Reply-To: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> Message-ID: <004201c71bce$84e01780$0200a8c0@murphy3234aaf1> Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug From ssharkins at setel.com Sat Dec 9 17:05:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 9 Dec 2006 18:05:14 -0500 Subject: [AccessD] difference between linefeed and carriage return Message-ID: <000001c71be6$7cf6b700$08b62ad1@SUSANONE> I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. From bill_Patten at earthlink.net Sat Dec 9 17:37:38 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Sat, 9 Dec 2006 15:37:38 -0800 Subject: [AccessD] difference between linefeed and carriage return References: <000001c71be6$7cf6b700$08b62ad1@SUSANONE> Message-ID: <03c701c71beb$0364f140$0202fea9@BPCS> Hi Susan, Line feed moves the paper roller up and carriage return moves the print head back to the left side of the paper. Usually both are done at the same time hence the vbCrLF function. Two line feeds puts you here but a line feed and carriage return Puts you here. HTH Bill ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 09, 2006 3:05 PM Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Dec 9 17:42:17 2006 From: john at winhaven.net (John Bartow) Date: Sat, 9 Dec 2006 17:42:17 -0600 Subject: [AccessD] Import R:Base records into SQL Server or Access In-Reply-To: <004201c71bce$84e01780$0200a8c0@murphy3234aaf1> Message-ID: <03fb01c71beb$aa150fc0$1402a8c0@ScuzzPaq> Hi Doug, Depending on the version of R:Base there are ODBC drivers available. I think that method may save you a lot of work. Otherwise if you are going to export them into dBase you would want to use the gateway module in R:Base. Its pretty self explanatory. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, December 09, 2006 2:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Import R:Base records into SQL Server or Access Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Dec 9 22:40:15 2006 From: artful at rogers.com (artful at rogers.com) Date: Sat, 9 Dec 2006 20:40:15 -0800 (PST) Subject: [AccessD] difference between linefeed and carriage return Message-ID: <20061210044015.5689.qmail@web88213.mail.re2.yahoo.com> One is chr(10) and the other is chr(13). ----- Original Message ---- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Saturday, December 9, 2006 6:05:14 PM Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bhjohnson at verizon.net Sat Dec 9 23:26:53 2006 From: bhjohnson at verizon.net (Bruce H. Johnson) Date: Sat, 09 Dec 2006 21:26:53 -0800 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: <000001c71be6$7cf6b700$08b62ad1@SUSANONE> Message-ID: <001201c71c1b$cdd3c110$0201a8c0@HALSR> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM From Gustav at cactus.dk Sun Dec 10 02:10:38 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 09:10:38 +0100 Subject: [AccessD] Import R:Base records into SQL Server or Access Message-ID: Hi Doug This was up in the spring: http://databaseadvisors.com/mailman/htdig/accessd/2006-April/043675.html /gustav >>> dw-murphy at cox.net 09-12-2006 21:13 >>> Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug From Gustav at cactus.dk Sun Dec 10 02:38:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 09:38:45 +0100 Subject: [AccessD] difference between linefeed and carriage return Message-ID: Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav >>> bhjohnson at verizon.net 10-12-2006 06:26 >>> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. From stuart at lexacorp.com.pg Sun Dec 10 03:56:41 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 10 Dec 2006 19:56:41 +1000 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: References: Message-ID: <457BD9D9.2191.25C17CCE@stuart.lexacorp.com.pg> On 10 Dec 2006 at 9:38, Gustav Brock wrote: > What complicates matters is that the Unix and Linux world uses only a LF for > a new line while the old Mac OS used CR only. This means that a text file > created in Unix or an old Mac may - when viewed in Windows - not display as > intended. Worse, data files created in them don't import properly when using "Line Input", Access will try to read the whole file as a single line. -- Stuart From artful at rogers.com Sun Dec 10 05:29:53 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 10 Dec 2006 03:29:53 -0800 (PST) Subject: [AccessD] difference between linefeed and carriage return Message-ID: <20061210112953.4693.qmail@web88211.mail.re2.yahoo.com> An excuse to plug my fave text editor of all time: NoteTab can handle *nix files just fine, and save them to CRLF-style files if you want, or preserve their *nix format. For my money (ironic, since the basic NoteTab is free), the coolest feature is that you can open a dozen files then exit the program, and when you re-enter all the files are loaded, with the cursor just where you left it in each case. Arthur ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Sunday, December 10, 2006 3:38:45 AM Subject: Re: [AccessD] difference between linefeed and carriage return Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav From accessd at shaw.ca Sun Dec 10 06:03:10 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 Dec 2006 04:03:10 -0800 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: <20061210112953.4693.qmail@web88211.mail.re2.yahoo.com> Message-ID: <0JA20022U42284B0@l-daemon> Arthur it is definitely one of the coolest and useful editors regardless of the price. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Sunday, December 10, 2006 3:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] difference between linefeed and carriage return An excuse to plug my fave text editor of all time: NoteTab can handle *nix files just fine, and save them to CRLF-style files if you want, or preserve their *nix format. For my money (ironic, since the basic NoteTab is free), the coolest feature is that you can open a dozen files then exit the program, and when you re-enter all the files are loaded, with the cursor just where you left it in each case. Arthur ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Sunday, December 10, 2006 3:38:45 AM Subject: Re: [AccessD] difference between linefeed and carriage return Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Dec 10 09:41:36 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 10 Dec 2006 10:41:36 -0500 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: <03c701c71beb$0364f140$0202fea9@BPCS> Message-ID: <002801c71c71$ada9d860$c6bc2ad1@SUSANONE> Ah -- I see -- you explained that so well -- thank you Bill! ;) Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, December 09, 2006 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] difference between linefeed and carriage return Hi Susan, Line feed moves the paper roller up and carriage return moves the print head back to the left side of the paper. Usually both are done at the same time hence the vbCrLF function. Two line feeds puts you here but a line feed and carriage return Puts you here. HTH Bill ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 09, 2006 3:05 PM Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From ssharkins at setel.com Sun Dec 10 10:37:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 10 Dec 2006 11:37:01 -0500 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: Message-ID: <002f01c71c79$6bd5c220$c6bc2ad1@SUSANONE> Well, what I've noticed is that vbCr not only returns the cursor to the left margin, but also begins on a new line -- is this true or not, because it seems to be what I'm seeing. Susan H. Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav >>> bhjohnson at verizon.net 10-12-2006 06:26 >>> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From Gustav at cactus.dk Sun Dec 10 11:00:50 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 18:00:50 +0100 Subject: [AccessD] difference between linefeed and carriage return Message-ID: Hi Susan That is true as it makes no sense for Windows to "type over" the same line once again. You did that on matrix and type-wheel printers for underlining words - it now seems so many years away ... /gustav >>> ssharkins at setel.com 10-12-2006 17:37 >>> Well, what I've noticed is that vbCr not only returns the cursor to the left margin, but also begins on a new line -- is this true or not, because it seems to be what I'm seeing. Susan H. Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav >>> bhjohnson at verizon.net 10-12-2006 06:26 >>> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. From ssharkins at setel.com Sun Dec 10 12:02:51 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 10 Dec 2006 13:02:51 -0500 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: Message-ID: <001701c71c85$695a6b70$9132fad1@SUSANONE> Any of you remember the IBM ... Oh my gosh, I can't even remember what we called them -- huge typewriters with very limited memory -- magcard, something or other -- horrible, horrible machines. :) I never did master the beast. :) Susan H. Hi Susan That is true as it makes no sense for Windows to "type over" the same line once again. You did that on matrix and type-wheel printers for underlining words - it now seems so many years away ... From dw-murphy at cox.net Sun Dec 10 12:16:51 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 10 Dec 2006 10:16:51 -0800 Subject: [AccessD] Import R:Base records into SQL Server or Access In-Reply-To: Message-ID: <001501c71c87$5d411ee0$0200a8c0@murphy3234aaf1> Great! Thank you Gustav. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, December 10, 2006 12:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import R:Base records into SQL Server or Access Hi Doug This was up in the spring: http://databaseadvisors.com/mailman/htdig/accessd/2006-April/043675.html /gustav >>> dw-murphy at cox.net 09-12-2006 21:13 >>> Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Dec 10 12:21:23 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 19:21:23 +0100 Subject: [AccessD] OT: Discovery Space Shuttle Message-ID: Hi all Are you aware that you at this moment can monitor Discovery's upcoming arrival at the ISS? http://www.nasa.gov/multimedia/nasatv/live_tv.html This is slow-paced relaxing TV while Discovery catches up the ISS. I still think it is amazing - sitting at the computer watching live TV from Space. /gustav From artful at rogers.com Sun Dec 10 19:52:03 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 10 Dec 2006 17:52:03 -0800 (PST) Subject: [AccessD] ADO Stored Procedure Call Message-ID: <20061211015203.27263.qmail@web88208.mail.re2.yahoo.com> I think that this all depends on how you are linking to the DB. If you are using an ADP then it's trivial, just place the name of the sproc in the rowsource attribute and that's that. If you need to pass a parameter or more than one, set them up with static functions (or as JWC would say, as members of a class) then load and go. A. ----- Original Message ---- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Tuesday, December 5, 2006 9:41:52 AM Subject: Re: [AccessD] ADO Stored Procedure Call I know this sounds simple but could you call your stored proc via a passthough query in your code? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Robert L. Stewart To: accessd at databaseadvisors.com Sent: Tuesday, December 5, 2006 8:27:37 AM Subject: [AccessD] ADO Stored Procedure Call I need to call a stored procedure via ADO in Access and have control go back to Access immediately instead of it waiting on the stored procedure to execute. Does anyone know how to accomplish this? Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at EUnet.yu Mon Dec 11 00:49:07 2006 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 11 Dec 2006 07:49:07 +0100 Subject: [AccessD] Evaluating report's formulas from table Message-ID: <010801c71cf0$a94727d0$0100a8c0@RazvojErvin> Dear All, I have zillions of formulas clustered in groups of <=10. So, if I make report for every group I need a lot of reports. My intention is to save the labels and formulas in table and to evaluate them "on the fly". Are there any clues, hints for me? Many TIA's, Ervin From Gustav at cactus.dk Mon Dec 11 02:22:10 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Dec 2006 09:22:10 +0100 Subject: [AccessD] Evaluating report's formulas from table Message-ID: Hi Ervin No other hint than doing it. Use the OnOpen event to load the label captions and textbox controlsources. /gustav >>> viner at eunet.yu 11-12-2006 07:49 >>> Dear All, I have zillions of formulas clustered in groups of <=10. So, if I make report for every group I need a lot of reports. My intention is to save the labels and formulas in table and to evaluate them "on the fly". Are there any clues, hints for me? Many TIA's, Ervin From andy at minstersystems.co.uk Mon Dec 11 04:26:16 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 Dec 2006 10:26:16 +0000 Subject: [AccessD] Compacting grows the MDB Message-ID: <20061211102619.5EBD74EEE4@smtp.nildram.co.uk> Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From djkr at msn.com Mon Dec 11 04:49:00 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 11 Dec 2006 10:49:00 -0000 Subject: [AccessD] Compacting grows the MDB In-Reply-To: <20061211102619.5EBD74EEE4@smtp.nildram.co.uk> Message-ID: Yes, I have. It was only trivial, like yours, though my BE wasn't quite your size(!). I put it down to another MS foible that wasn't worth investigating. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 11 December 2006 10:26 To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Dec 11 05:57:05 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 11 Dec 2006 06:57:05 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> Message-ID: <005401c71d1b$7afef440$657aa8c0@m6805> It does look like the problem is a rights issue to the folders. I tested this morning and the user has read-only rights everywhere and gets an error when I try to change to read-write. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 7:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES I'll check that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 08, 2006 6:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Hi John: If that is the case it would appear that the users have limited access to the directories where either the security file, databases or lock-file resides. This is not a problem with Access but a problem with how the permissions on directories themselves are setup.... this is an IT issue and nothing to do with you. All the respective directories must have read and write access for all users. Jim From Erwin.Craps at ithelps.eu Mon Dec 11 07:44:12 2006 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Mon, 11 Dec 2006 14:44:12 +0100 Subject: [AccessD] Compacting grows the MDB Message-ID: <430E80531228BA4497C5EB1A7BA786B0023C37@stekelbes.ithelps.local> I hope that is 250MB instead of GB :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Monday, December 11, 2006 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compacting grows the MDB Yes, I have. It was only trivial, like yours, though my BE wasn't quite your size(!). I put it down to another MS foible that wasn't worth investigating. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 11 December 2006 10:26 To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 JRojas at tnco-inc.com Mon Dec 11 07:59:47 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Mon, 11 Dec 2006 08:59:47 -0500 Subject: [AccessD] Compacting grows the MDB Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDFD8@ex2k3.corp.tnco-inc.com> 4KB cold be the block size of your HD... Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, December 11, 2006 5:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Dec 11 08:27:20 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 Dec 2006 14:27:20 +0000 Subject: [AccessD] Compacting grows the MDB Message-ID: <20061211142725.5D60D57BB7@smtp.nildram.co.uk> Oops, sorry. You're right of course. My wife tells me I'm always exaggerating. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Compacting grows the MDB Date: 11/12/06 13:55 I hope that is 250MB instead of GB :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Monday, December 11, 2006 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compacting grows the MDB Yes, I have. It was only trivial, like yours, though my BE wasn't quite your size(!). I put it down to another MS foible that wasn't worth investigating. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 11 December 2006 10:26 To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From andy at minstersystems.co.uk Mon Dec 11 08:28:05 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 Dec 2006 14:28:05 +0000 Subject: [AccessD] Compacting grows the MDB Message-ID: <20061211142809.ADEC6C5EFC@smtp.nildram.co.uk> Is a thought. Thanks Joe. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Compacting grows the MDB Date: 11/12/06 14:02 4KB cold be the block size of your HD... Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, December 11, 2006 5:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From garykjos at gmail.com Mon Dec 11 09:25:24 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 11 Dec 2006 09:25:24 -0600 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <005401c71d1b$7afef440$657aa8c0@m6805> References: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> <005401c71d1b$7afef440$657aa8c0@m6805> Message-ID: I'd guess there is probably a Sarbanes-Oxley Administrator involvement in this change. GK On 12/11/06, JWColby wrote: > It does look like the problem is a rights issue to the folders. I tested > this morning and the user has read-only rights everywhere and gets an error > when I try to change to read-write. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Friday, December 08, 2006 7:29 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > I'll check that. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Friday, December 08, 2006 6:26 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > Hi John: > > If that is the case it would appear that the users have limited access to > the directories where either the security file, databases or lock-file > resides. This is not a problem with Access but a problem with how the > permissions on directories themselves are setup.... this is an IT issue and > nothing to do with you. All the respective directories must have read and > write access for all users. > > Jim > > -- > 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 colbyconsulting.com Mon Dec 11 10:03:04 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 11 Dec 2006 11:03:04 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: Message-ID: <006a01c71d3d$d831c760$657aa8c0@m6805> ROTFL, probably. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, December 11, 2006 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES I'd guess there is probably a Sarbanes-Oxley Administrator involvement in this change. GK On 12/11/06, JWColby wrote: > It does look like the problem is a rights issue to the folders. I > tested this morning and the user has read-only rights everywhere and > gets an error when I try to change to read-write. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Friday, December 08, 2006 7:29 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > I'll check that. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Friday, December 08, 2006 6:26 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > Hi John: > > If that is the case it would appear that the users have limited access > to the directories where either the security file, databases or > lock-file resides. This is not a problem with Access but a problem > with how the permissions on directories themselves are setup.... this > is an IT issue and nothing to do with you. All the respective > directories must have read and write access for all users. > > Jim > > -- > 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 dgibso at uark.edu Mon Dec 11 12:13:45 2006 From: dgibso at uark.edu (David A Gibson) Date: Mon, 11 Dec 2006 12:13:45 -0600 Subject: [AccessD] Cascading Listbox Message-ID: <7.0.1.0.0.20061211115937.01db8360@uark.edu> I've done cascading Listboxes in the past but want to do something new. I want the first listbox to select a table and the second to display the data in the next. Right now there are three to choose from. I am filtering the first listbox by way of a query. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name)<>"MSysObjects" And (MSysObjects.Name)<>"MSysAccessXML" And (MSysObjects.Name)<>"PREV_COMM" AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); OR SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Like "tbl*") AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); Either method provides a list of the 3 tables for the first listbox. I am having problems with the Row Source for the next Listbox. I have tried variations of: SELECT Forms!frmMain!List17.Item_Code, Forms!frmMain!List17.Descr, Forms!frmMain!List17.Seq_No, Forms!frmMain!List17.Due_Days FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; The error I am getting is "Syntax error in FROM clause." Any guidance? David G. From Kwilliamson at RTKL.com Mon Dec 11 14:10:26 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 11 Dec 2006 15:10:26 -0500 Subject: [AccessD] Select Within Query Message-ID: Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From cfoust at infostatsystems.com Mon Dec 11 14:52:41 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Dec 2006 12:52:41 -0800 Subject: [AccessD] Cascading Listbox In-Reply-To: <7.0.1.0.0.20061211115937.01db8360@uark.edu> Message-ID: SQL can't interpret the control references properly. Also, you can't reference the columns in a combobox by name, you have to use the column index. Then you can concatenate the conbobox references into the SQL string in code and use code to set the rowsource to the resulting string. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David A Gibson Sent: Monday, December 11, 2006 10:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cascading Listbox I've done cascading Listboxes in the past but want to do something new. I want the first listbox to select a table and the second to display the data in the next. Right now there are three to choose from. I am filtering the first listbox by way of a query. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name)<>"MSysObjects" And (MSysObjects.Name)<>"MSysAccessXML" And (MSysObjects.Name)<>"PREV_COMM" AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); OR SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Like "tbl*") AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); Either method provides a list of the 3 tables for the first listbox. I am having problems with the Row Source for the next Listbox. I have tried variations of: SELECT Forms!frmMain!List17.Item_Code, Forms!frmMain!List17.Descr, Forms!frmMain!List17.Seq_No, Forms!frmMain!List17.Due_Days FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; The error I am getting is "Syntax error in FROM clause." Any guidance? David G. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dorish3 at aol.com Mon Dec 11 20:19:17 2006 From: dorish3 at aol.com (dorish3 at aol.com) Date: Mon, 11 Dec 2006 21:19:17 -0500 Subject: [AccessD] Question on hours Att A D Tejpal In-Reply-To: <00df01c718fd$a42948b0$c32b177d@pcadt> References: <00df01c718fd$a42948b0$c32b177d@pcadt> Message-ID: <8C8EBAB0FA02EBF-1314-2909@WEBMAIL-DC11.sysops.aol.com> Hello A.D. Sorry I have not gotten back to you sooner but I have been real sick with a flu for the past several days...now on the road to recovery. Your VBA module worked just great!!! Each Volunteer works several times in the month...I also need to sum each of the volunteers hours in my report for that month. I hate being a pest but I sure need help. I appreciate your help and patience with me...I just can't thank you enough. Doris -----Original Message----- From: adtp at airtelbroadband.in To: accessd at databaseadvisors.com Sent: Wed, 6 Dec 2006 1:05 AM Subject: Re: [AccessD] Question on hours Doris, The functions are to be placed in a general module in VBA code. Go to VBA editor window (Press Alt + F11). On the editor menu bar, click Insert > Module. In the resulting module, paste both the functions, click the save icon (or press Ctrl + s) and compile by clicking Debug > Compile on the menu bar (Or press Alt, d, l). Come out of VBA editor (Press Alt + q). You can use the functions in queries as well as controls on reports/forms. Much better to use in the query itself. For example, the expression for calculated field showing elapsed time in minutes (as seen in query design grid) will be : ElapsedMinutes: Fn_GetMinutes(StartTime, FinishTime) (StartTime & FinishTime are the names of respective date/time type fields in the table) Similarly, for showing elapsed time formatted as Hrs:mins string, the expression for calculated field (as seen in query design grid) will be : ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes(StartTime, FinishTime)) Caution: As stated earlier, the formatted string (ElapsedTime) is not to be used in any further mathematical calculations. No such problem for ElapsedMinutes. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Wednesday, December 06, 2006 04:06 Subject: Re: [AccessD] Question on hours Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. From adtp at airtelbroadband.in Mon Dec 11 23:14:41 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 12 Dec 2006 10:44:41 +0530 Subject: [AccessD] Question on hours Att A D Tejpal References: <00df01c718fd$a42948b0$c32b177d@pc adt> <8C8EBAB0FA02EBF-1314-2909@WEBMAIL-DC11.sysops.aol.com> Message-ID: <009901c71dac$a4da9f80$3706177d@pcadt> Doris, You are most welcome! In the query serving as record source for the report, if WMinutes is the name of field representing minutes worked, you can compute the total hours by putting a control in group or report footer, with the following expression: = Sum([WMinutes]) / 60 If you still happen to need any further assistance, you can send a zipped copy of your file to me. I shall try to fix it up for you. Best wishes, A.D.Tejpal (adtp at airtelbroadband.in) ----- Original Message ----- From: dorish3 at aol.com To: accessd at databaseadvisors.com Sent: Tuesday, December 12, 2006 07:49 Subject: Re: [AccessD] Question on hours Att A D Tejpal Hello A.D. Sorry I have not gotten back to you sooner but I have been real sick with a flu for the past several days...now on the road to recovery. Your VBA module worked just great!!! Each Volunteer works several times in the month...I also need to sum each of the volunteers hours in my report for that month. I hate being a pest but I sure need help. I appreciate your help and patience with me...I just can't thank you enough. Doris -----Original Message----- From: adtp at airtelbroadband.in To: accessd at databaseadvisors.com Sent: Wed, 6 Dec 2006 1:05 AM Subject: Re: [AccessD] Question on hours Doris, The functions are to be placed in a general module in VBA code. Go to VBA editor window (Press Alt + F11). On the editor menu bar, click Insert > Module. In the resulting module, paste both the functions, click the save icon (or press Ctrl + s) and compile by clicking Debug > Compile on the menu bar (Or press Alt, d, l). Come out of VBA editor (Press Alt + q). You can use the functions in queries as well as controls on reports/forms. Much better to use in the query itself. For example, the expression for calculated field showing elapsed time in minutes (as seen in query design grid) will be : ElapsedMinutes: Fn_GetMinutes(StartTime, FinishTime) (StartTime & FinishTime are the names of respective date/time type fields in the table) Similarly, for showing elapsed time formatted as Hrs:mins string, the expression for calculated field (as seen in query design grid) will be : ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes(StartTime, FinishTime)) Caution: As stated earlier, the formatted string (ElapsedTime) is not to be used in any further mathematical calculations. No such problem for ElapsedMinutes. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Wednesday, December 06, 2006 04:06 Subject: Re: [AccessD] Question on hours Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function From Gustav at cactus.dk Tue Dec 12 03:24:21 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Dec 2006 10:24:21 +0100 Subject: [AccessD] Cascading Listbox Message-ID: Hi David You can't have parameters here: .. FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; /gustav >>> dgibso at uark.edu 11-12-2006 19:13 >>> I've done cascading Listboxes in the past but want to do something new. I want the first listbox to select a table and the second to display the data in the next. Right now there are three to choose from. I am filtering the first listbox by way of a query. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name)<>"MSysObjects" And (MSysObjects.Name)<>"MSysAccessXML" And (MSysObjects.Name)<>"PREV_COMM" AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); OR SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Like "tbl*") AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); Either method provides a list of the 3 tables for the first listbox. I am having problems with the Row Source for the next Listbox. I have tried variations of: SELECT Forms!frmMain!List17.Item_Code, Forms!frmMain!List17.Descr, Forms!frmMain!List17.Seq_No, Forms!frmMain!List17.Due_Days FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; The error I am getting is "Syntax error in FROM clause." Any guidance? David G. From bchacc at san.rr.com Tue Dec 12 08:34:54 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 06:34:54 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <002201c71dfa$b1525160$6a01a8c0@HAL9005> Keith: I would write one query which returns the required pay rate for the date in question and join that to the select query which calculates the payroll. But this looks like one of those problems which I would solve faster with a bit of code and a temp table rather than try to make the queries to do it. If you want to send me the tables with some test data, we can work it off-line. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, December 11, 2006 12:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM From Chester_Kaup at kindermorgan.com Tue Dec 12 11:03:37 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 12 Dec 2006 11:03:37 -0600 Subject: [AccessD] Moving Average Query Message-ID: I have been working on the following moving average query and get results of 4 records for each date. One of the values in the average column appears to be the right one. I am probably missing something simple but need some help. SELECT DISTINCTROW dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, Avg(dbo_Month_Rates_1.VM_oil) AS AvgOfVM_oil FROM dbo_Month_Rates INNER JOIN dbo_Month_Rates AS dbo_Month_Rates_1 ON dbo_Month_Rates.VM_Well = dbo_Month_Rates_1.VM_Well GROUP BY dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, dbo_Month_Rates_1.VM_Date_1 HAVING (((dbo_Month_Rates.VM_Well)="53-1") AND ((dbo_Month_Rates_1.VM_Date_1) Between [dbo_Month_Rates].[VM_Date_1]-92 And [dbo_Month_Rates].[VM_Date_1])) ORDER BY dbo_Month_Rates.VM_Date_1; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From adtp at airtelbroadband.in Tue Dec 12 11:39:28 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 12 Dec 2006 23:09:28 +0530 Subject: [AccessD] Select Within Query References: Message-ID: <006c01c71e14$92eea100$f71165cb@pcadt> Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com From ssharkins at setel.com Tue Dec 12 11:46:06 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 12:46:06 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: <003c01c71e15$67119320$4ab82ad1@SUSANONE> I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. Susan H. From Gustav at cactus.dk Tue Dec 12 12:07:07 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Dec 2006 19:07:07 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan That's in an attempt to be kind to you. Try setting (not pasting) the Value of a textbox ... /gustav >>> ssharkins at setel.com 12-12-2006 18:46 >>> I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. Susan H. From Kwilliamson at RTKL.com Tue Dec 12 12:29:55 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 13:29:55 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <006c01c71e14$92eea100$f71165cb@pcadt> Message-ID: This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Tue Dec 12 12:28:37 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Dec 2006 18:28:37 -0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <003c01c71e15$67119320$4ab82ad1@SUSANONE> Message-ID: Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and some of you youngsters need educating) ... Once upon a time, mechanical typewriters had a roller mounted on a carriage. The carriage moved the roller horizontally along its axis, taking the paper past the fixed character-at-a-time print position. When the line of type was complete, the carriage had to be returned to its start position and the roller rotated sightly, feeding the paper up one line's depth. Telex machines, teleprinters and suchlike called these functions Carriage Return and Line Feed, even after the carriage stayed still and the print head moved instead. On some devices you could use CR on its own to overprint the previous line. Some of these electromechanical devices had rules to be obeyed, such as CR before LF, because CR took longer physically. (One I recall needed CR-LF-CR, because the explosive force of the return after a long line made the darn thing bounce off its stops.) That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. Oh, and that '40' is in hexadecimal of course. ;-) John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 December 2006 17:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Dec 12 13:11:52 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 11:11:52 -0800 Subject: [AccessD] Select Within Query Message-ID: <001f01c71e21$625414a0$6a01a8c0@HAL9005> Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From adtp at airtelbroadband.in Tue Dec 12 13:46:26 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 13 Dec 2006 01:16:26 +0530 Subject: [AccessD] Select Within Query References: Message-ID: <015d01c71e26$49627bd0$f71165cb@pcadt> Keith, The query was duly tested at this end. It worked OK. Could you please verify whether there is any duplication of dates (RDate) in your table tblPayRateHistory ? You can make RDate as the primary key field. It will avoid errors and also speed up the query. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 23:59 Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com From Kwilliamson at RTKL.com Tue Dec 12 13:52:02 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 14:52:02 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <001f01c71e21$625414a0$6a01a8c0@HAL9005> Message-ID: Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Dec 12 14:00:29 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 12 Dec 2006 14:00:29 -0600 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: References: <003c01c71e15$67119320$4ab82ad1@SUSANONE> Message-ID: Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and > some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a carriage. > The carriage moved the roller horizontally along its axis, taking the paper > past the fixed character-at-a-time print position. When the line of type > was complete, the carriage had to be returned to its start position and the > roller rotated sightly, feeding the paper up one line's depth. Telex > machines, teleprinters and suchlike called these functions Carriage Return > and Line Feed, even after the carriage stayed still and the print head moved > instead. On some devices you could use CR on its own to overprint the > previous line. > > Some of these electromechanical devices had rules to be obeyed, such as CR > before LF, because CR took longer physically. (One I recall needed > CR-LF-CR, because the explosive force of the return after a long line made > the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I prefer > NL or NewLine. But how these different codes are handled by more recent > languages and devices is another story, which is why this ramble has wasted > your time - sorry! But thanks for the excuse, Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the > same thing within message box text -- they all begin text at the left margin > on the next line. I'm printing the evaluated statement to the Immediate > window and find the same thing there -- they all push the text to the left > margin of the next line. I can't see a difference between them. > > 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 > -- Gary Kjos garykjos at gmail.com From bchacc at san.rr.com Tue Dec 12 14:04:29 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 12:04:29 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <003c01c71e28$bb7aa290$6a01a8c0@HAL9005> Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From Kwilliamson at RTKL.com Tue Dec 12 14:12:22 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 15:12:22 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <015d01c71e26$49627bd0$f71165cb@pcadt> Message-ID: Well...I could make it, and the employee number, the primary key. But there are multiple employees, with multiple effective dates, in the table. So, the RDate (or [EffectiveDate], in my table) could not alone be the primary. There are no other "RDates" in my table. Below is the conversion of your query, to my own table/field names: SELECT tblPayrollRecords.*, [RegHrs]*(Select PayRate from tblPayRateHistory as T1 where T1.EffectiveDate=(Select Max(EffectiveDate) From tblPayRateHistory AS T2 where T2.EffectiveDate<= tblPayrollRecords.TimeWkEnd)) AS Amount FROM tblPayrollRecords ORDER BY tblPayrollRecords.EmployeeNumber, tblPayrollRecords.TimeWkEnd; Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, The query was duly tested at this end. It worked OK. Could you please verify whether there is any duplication of dates (RDate) in your table tblPayRateHistory ? You can make RDate as the primary key field. It will avoid errors and also speed up the query. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 23:59 Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 12 14:17:25 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 15:17:25 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <003c01c71e28$bb7aa290$6a01a8c0@HAL9005> Message-ID: Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Dec 12 14:16:59 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 14:16:59 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160ADC8@marlow_main2.marlow.ii-vi.net> I've only been eyeing this thread, not paying a lot of attention to it, but have you tried using subqueries to handle this? I think it should be possible. If you could send me sample data off line with what you want the query to display, I could give it a whirl for ya. Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 Dec 12 14:30:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 12 Dec 2006 12:30:08 -0800 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <0JA600B9QGUOW5O1@l-daemon> Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim From Kwilliamson at RTKL.com Tue Dec 12 14:33:06 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 15:33:06 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160ADC8@marlow_main2.marlow.ii-vi.net> Message-ID: Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 3:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query I've only been eyeing this thread, not paying a lot of attention to it, but have you tried using subqueries to handle this? I think it should be possible. If you could send me sample data off line with what you want the query to display, I could give it a whirl for ya. Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 Dec 12 14:33:59 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 12 Dec 2006 12:33:59 -0800 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <0JA60058IH134B71@l-daemon> Only 40! You're nothing but a mire youngster. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Tuesday, December 12, 2006 10:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and some of you youngsters need educating) ... Once upon a time, mechanical typewriters had a roller mounted on a carriage. The carriage moved the roller horizontally along its axis, taking the paper past the fixed character-at-a-time print position. When the line of type was complete, the carriage had to be returned to its start position and the roller rotated sightly, feeding the paper up one line's depth. Telex machines, teleprinters and suchlike called these functions Carriage Return and Line Feed, even after the carriage stayed still and the print head moved instead. On some devices you could use CR on its own to overprint the previous line. Some of these electromechanical devices had rules to be obeyed, such as CR before LF, because CR took longer physically. (One I recall needed CR-LF-CR, because the explosive force of the return after a long line made the darn thing bounce off its stops.) That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. Oh, and that '40' is in hexadecimal of course. ;-) John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 December 2006 17:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. 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 apg at alun.de Tue Dec 12 14:37:01 2006 From: apg at alun.de (Alun) Date: Tue, 12 Dec 2006 21:37:01 +0100 (MET) Subject: [AccessD] registering a .dll file winXP? In-Reply-To: References: Message-ID: <457F24AC.9060709@alun.de> hello, what's the syntax for registering a .dll in winXP using the dos box? TIA alun From dgibso at uark.edu Tue Dec 12 14:52:21 2006 From: dgibso at uark.edu (David A Gibson) Date: Tue, 12 Dec 2006 14:52:21 -0600 Subject: [AccessD] registering a .dll file winXP? In-Reply-To: <457F24AC.9060709@alun.de> References: <457F24AC.9060709@alun.de> Message-ID: <7.0.1.0.0.20061212145139.02008c08@uark.edu> Regsvr32 Registers .dll files as command components in the registry. Syntax regsvr32 [/u] [/s] [/n] [/i[:cmdline]] DllName Parameters /u Unregisters server. /s Specifies regsvr32 to run silently and to not display any message boxes. /n Specifies not to call DllRegisterServer. You must use this option with /i. /i:cmdline Calls DllInstall passing it an optional [cmdline]. When used with /u, it calls .dll uninstall. DllName Specifies the name of the .dll file that will be registered. /? Displays help at the command prompt. Examples To register the .dll for the Active Directory Schema, type: regsvr32 schmmgmt.dll David G. At 02:37 PM 12/12/2006, Alun wrote: >hello, > >what's the syntax for registering a .dll in winXP using the dos box? > >TIA >alun > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From andy at minstersystems.co.uk Tue Dec 12 14:53:11 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 12 Dec 2006 20:53:11 -0000 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: <052501c71e2f$89392bb0$16648552@minster33c3r25> Great work Jim, Bryan and all. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: 12 December 2006 20:30 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] DBA web site update > > > Hi All: > > The DBA website has been updated to an ASP site. > http://www.databaseadvisors.com. This is the first phase of > an ongoing re-build. > > If when going to the site you see no change just select the > refresh button on your browser. The older site pages are > still in place but will be removed shortly. If you notice any > errors or things not working correctly please contact me > immediately with a description of what problem you > encountered at webmaster at databaseadvisors.com. > > There are 3 new areas on the web site under the References > sections; Lists, sites and Miscellaneous. Any help in the > continuing effort to populate new sections will be greatly > appreciated. > > A thanks goes out to Bryan, for his joint-effort on the > http://databaseadvisors.com site and to Arthur and other for > their contributions towards the content. > > More to come. > > Regards > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Kwilliamson at RTKL.com Tue Dec 12 15:14:37 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 16:14:37 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Did I get everybody? :)) Thanks all!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Dec 12 15:13:12 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 12 Dec 2006 15:13:12 -0600 Subject: [AccessD] Moving Average Query In-Reply-To: Message-ID: I found the error in the query. Needs to read like this. SELECT DISTINCTROW dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, Avg(dbo_Month_Rates_1.VM_oil) AS AvgOfVM_oil FROM dbo_Month_Rates INNER JOIN dbo_Month_Rates AS dbo_Month_Rates_1 ON dbo_Month_Rates.VM_Well = dbo_Month_Rates_1.VM_Well WHERE ((dbo_Month_Rates_1.VM_Date_1) Between [dbo_Month_Rates].[VM_Date_1]-92 And [dbo_Month_Rates].[VM_Date_1]) GROUP BY dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil HAVING (((dbo_Month_Rates.VM_Well)="53-1")) ORDER BY dbo_Month_Rates.VM_Date_1; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, December 12, 2006 11:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Moving Average Query I have been working on the following moving average query and get results of 4 records for each date. One of the values in the average column appears to be the right one. I am probably missing something simple but need some help. SELECT DISTINCTROW dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, Avg(dbo_Month_Rates_1.VM_oil) AS AvgOfVM_oil FROM dbo_Month_Rates INNER JOIN dbo_Month_Rates AS dbo_Month_Rates_1 ON dbo_Month_Rates.VM_Well = dbo_Month_Rates_1.VM_Well GROUP BY dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, dbo_Month_Rates_1.VM_Date_1 HAVING (((dbo_Month_Rates.VM_Well)="53-1") AND ((dbo_Month_Rates_1.VM_Date_1) Between [dbo_Month_Rates].[VM_Date_1]-92 And [dbo_Month_Rates].[VM_Date_1])) ORDER BY dbo_Month_Rates.VM_Date_1; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Tue Dec 12 15:21:59 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Dec 2006 21:21:59 -0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: Thanks. Yup, but I prefer the hex version! J -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: 12 December 2006 20:00 To: Access Developers discussion and problem solving Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 > today, and some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a > carriage. The carriage moved the roller horizontally along its axis, > taking the paper past the fixed character-at-a-time print position. > When the line of type was complete, the carriage had to be returned to > its start position and the roller rotated sightly, feeding the paper > up one line's depth. Telex machines, teleprinters and suchlike called > these functions Carriage Return and Line Feed, even after the carriage > stayed still and the print head moved instead. On some devices you > could use CR on its own to overprint the previous line. > > Some of these electromechanical devices had rules to be obeyed, such > as CR before LF, because CR took longer physically. (One I recall > needed CR-LF-CR, because the explosive force of the return after a > long line made the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I > prefer NL or NewLine. But how these different codes are handled by > more recent languages and devices is another story, which is why this > ramble has wasted your time - sorry! But thanks for the excuse, > Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do > the same thing within message box text -- they all begin text at the > left margin on the next line. I'm printing the evaluated statement to > the Immediate window and find the same thing there -- they all push > the text to the left margin of the next line. I can't see a difference > between them. > > 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 > -- 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 apg at alun.de Tue Dec 12 15:39:04 2006 From: apg at alun.de (Alun) Date: Tue, 12 Dec 2006 22:39:04 +0100 (MET) Subject: [AccessD] registering a .dll file winXP? In-Reply-To: <7.0.1.0.0.20061212145139.02008c08@uark.edu> References: <457F24AC.9060709@alun.de> <7.0.1.0.0.20061212145139.02008c08@uark.edu> Message-ID: <457F333C.8020906@alun.de> super! thanks for the quick reply :-) David A Gibson wrote: >Regsvr32 > >Registers .dll files as command components in the registry. > > >Syntax > >regsvr32 [/u] [/s] [/n] [/i[:cmdline]] DllName > > >Parameters > >/u >Unregisters server. >/s >Specifies regsvr32 to run silently and to not display any message boxes. >/n >Specifies not to call DllRegisterServer. You must use this option with /i. >/i:cmdline >Calls DllInstall passing it an optional [cmdline]. When used with /u, >it calls .dll uninstall. >DllName >Specifies the name of the .dll file that will be registered. >/? >Displays help at the command prompt. > > >Examples > >To register the .dll for the Active Directory Schema, type: > >regsvr32 schmmgmt.dll > > >David G. > > >At 02:37 PM 12/12/2006, Alun wrote: > > >>hello, >> >>what's the syntax for registering a .dll in winXP using the dos box? >> >>TIA >>alun >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >David A. Gibson >Computer Support Specialist II >University of Arkansas >232 Silas H. Hunt Hall >1 University of Arkansas >Fayetteville, Arkansas 72701 >800-377-8632 >(479) 575-4654 >www.uark.edu > >The University of Arkansas >Nationally Competitive- Student Centered- Research University > > > From cclenright at yahoo.com Tue Dec 12 15:40:36 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 12 Dec 2006 13:40:36 -0800 (PST) Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: <20061212214036.59157.qmail@web34312.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Wish I was 64! Somehow Binomial 00000010 looks far younger than my 11111100 Chris -------Original Message------- From: Gary Kjos Date: 12/12/2006 20:01:34 To: Access Developers discussion and problem solving Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and > some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a carriage. > The carriage moved the roller horizontally along its axis, taking the paper > past the fixed character-at-a-time print position. When the line of type > was complete, the carriage had to be returned to its start position and the > roller rotated sightly, feeding the paper up one line's depth. Telex > machines, teleprinters and suchlike called these functions Carriage Return > and Line Feed, even after the carriage stayed still and the print head moved > instead. On some devices you could use CR on its own to overprint the > previous line. > > Some of these electromechanical devices had rules to be obeyed, such as CR > before LF, because CR took longer physically. (One I recall needed > CR-LF-CR, because the explosive force of the return after a long line made > the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I prefer > NL or NewLine. But how these different codes are handled by more recent > languages and devices is another story, which is why this ramble has wasted > your time - sorry! But thanks for the excuse, Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the > same thing within message box text -- they all begin text at the left margin > on the next line. I'm printing the evaluated statement to the Immediate > window and find the same thing there -- they all push the text to the left > margin of the next line. I can't see a difference between them. > > 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 > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. From DWUTKA at marlow.com Tue Dec 12 15:55:14 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 15:55:14 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDDC1@marlow_main2.marlow.ii-vi.net> LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From djkr at msn.com Tue Dec 12 16:18:26 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Dec 2006 22:18:26 -0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <0JA60058IH134B71@l-daemon> Message-ID: Well, I got my first program working in '62 ... What's "mire" ? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 12 December 2006 20:34 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Only 40! You're nothing but a mire youngster. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Tuesday, December 12, 2006 10:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and some of you youngsters need educating) ... Once upon a time, mechanical typewriters had a roller mounted on a carriage. The carriage moved the roller horizontally along its axis, taking the paper past the fixed character-at-a-time print position. When the line of type was complete, the carriage had to be returned to its start position and the roller rotated sightly, feeding the paper up one line's depth. Telex machines, teleprinters and suchlike called these functions Carriage Return and Line Feed, even after the carriage stayed still and the print head moved instead. On some devices you could use CR on its own to overprint the previous line. Some of these electromechanical devices had rules to be obeyed, such as CR before LF, because CR took longer physically. (One I recall needed CR-LF-CR, because the explosive force of the return after a long line made the darn thing bounce off its stops.) That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. Oh, and that '40' is in hexadecimal of course. ;-) John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 December 2006 17:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 12 16:23:33 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 12 Dec 2006 17:23:33 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <001001c71e3c$29e6a180$657aa8c0@m6805> >Yup, but I prefer the hex version! LOL, yea, 34 sounds pretty good to me too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Tuesday, December 12, 2006 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Thanks. Yup, but I prefer the hex version! J -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: 12 December 2006 20:00 To: Access Developers discussion and problem solving Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 > today, and some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a > carriage. The carriage moved the roller horizontally along its axis, > taking the paper past the fixed character-at-a-time print position. > When the line of type was complete, the carriage had to be returned to > its start position and the roller rotated sightly, feeding the paper > up one line's depth. Telex machines, teleprinters and suchlike called > these functions Carriage Return and Line Feed, even after the carriage > stayed still and the print head moved instead. On some devices you > could use CR on its own to overprint the previous line. > > Some of these electromechanical devices had rules to be obeyed, such > as CR before LF, because CR took longer physically. (One I recall > needed CR-LF-CR, because the explosive force of the return after a > long line made the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I > prefer NL or NewLine. But how these different codes are handled by > more recent languages and devices is another story, which is why this > ramble has wasted your time - sorry! But thanks for the excuse, > Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do > the same thing within message box text -- they all begin text at the > left margin on the next line. I'm printing the evaluated statement to > the Immediate window and find the same thing there -- they all push > the text to the left margin of the next line. I can't see a difference > between them. > > 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 > -- Gary Kjos garykjos at gmail.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 Kwilliamson at RTKL.com Tue Dec 12 16:33:17 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 17:33:17 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC1@marlow_main2.marlow.ii-vi.net> Message-ID: Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Dec 12 16:33:59 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 14:33:59 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <006201c71e3d$9e5753b0$6a01a8c0@HAL9005> Makes sense. I got your updated mdb with test data. Haven't looked yet, though. Stand by... Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From ssharkins at setel.com Tue Dec 12 16:35:35 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 17:35:35 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <002101c71e3d$d7d61b80$b6b82ad1@SUSANONE> 280 in dog years... Susan H. Happy Birthday John. 64 in Decimal years then? From DWUTKA at marlow.com Tue Dec 12 16:34:50 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 16:34:50 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE2C@marlow_main2.marlow.ii-vi.net> They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 ssharkins at setel.com Tue Dec 12 16:37:54 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 17:37:54 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <002501c71e3e$2b165d00$b6b82ad1@SUSANONE> That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. ========So, what I suspected is true then -- they're really not necessary internally. Is this correct? All you need is vbNewLine? Susan H. From ssharkins at setel.com Tue Dec 12 16:37:54 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 17:37:54 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <002601c71e3e$2bd78a20$b6b82ad1@SUSANONE> I have no idea what that meant Gustav. :) Susan H. Hi Susan That's in an attempt to be kind to you. Try setting (not pasting) the Value of a textbox ... From Kwilliamson at RTKL.com Tue Dec 12 16:46:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 17:46:15 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160AE2C@marlow_main2.marlow.ii-vi.net> Message-ID: LOL. I don't get OT at work. But when I get home (around 7:00, or so), I'll check in on the action. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 gustav at cactus.dk Tue Dec 12 16:52:01 2006 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Dec 2006 23:52:01 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. /gustav >>> ssharkins at setel.com 12-12-06 23:37 >>> I have no idea what that meant Gustav. :) Susan H. Hi Susan That's in an attempt to be kind to you. Try setting (not pasting) the Value of a textbox ... From DWUTKA at marlow.com Tue Dec 12 16:52:45 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 16:52:45 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE39@marlow_main2.marlow.ii-vi.net> Man, no OT at work? How do you survive? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query LOL. I don't get OT at work. But when I get home (around 7:00, or so), I'll check in on the action. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 bchacc at san.rr.com Tue Dec 12 16:57:07 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 14:57:07 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <006d01c71e40$d9623260$6a01a8c0@HAL9005> Keith: Let me know if it works. No point inventing 2 wheels. Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From Kwilliamson at RTKL.com Tue Dec 12 17:02:09 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 18:02:09 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC1@marlow_main2.marlow.ii-vi.net> Message-ID: OMG!!!! It works....It Works....IT WORKS!!!!! :-} I bow to your Kingness!!! Not only did it work....but it was fast as lightening too!!!! Now...I just have to read through it closer to really understand it. Thank you sooooo much, Your Highness!! :)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Tue Dec 12 17:00:18 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 18:00:18 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <004201c71e41$4bb09640$b6b82ad1@SUSANONE> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. From Kwilliamson at RTKL.com Tue Dec 12 17:04:13 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 18:04:13 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160AE39@marlow_main2.marlow.ii-vi.net> Message-ID: It's how I keep my job. :)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query Man, no OT at work? How do you survive? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query LOL. I don't get OT at work. But when I get home (around 7:00, or so), I'll check in on the action. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 Kwilliamson at RTKL.com Tue Dec 12 17:10:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 18:10:15 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <006d01c71e40$d9623260$6a01a8c0@HAL9005> Message-ID: Rocky, Thanks. It does work for the single data return stream. I'm testing it now to populate additional fields....I am assuming it should work as well. I'll see soon. Thanks!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 5:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: Let me know if it works. No point inventing 2 wheels. Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Dec 12 17:23:31 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 13 Dec 2006 12:23:31 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122191654.92594.qmail@web88204.mail.re2.yahoo.com> References: <20061122191654.92594.qmail@web88204.mail.re2.yahoo.com> Message-ID: <20061212232154.ETIQ20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> This has been a long time waiting but I think I am getting somewhere. I have copied the data from the problem database to a good one and the sproc works fine. This indicates that the problem is with the structure. I created scripts for the tables and views that are involved and compared them but they seemed identical. Is there anything else I should compare? I could just restore the database structure from the good copy but I am curious as to why there is the problem. David At 23/11/2006, Arthur wrote: >If the data is the same, the only other possibility is a structure change. > >A proviso, which I am unable to document with specific examples, but >I have seen this before. Should any query SELECT * FROM SomeTables, >then you modify the table(s) of interest, sometimes it gets derailed. > >Arthur > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving > >Sent: Wednesday, November 22, 2006 12:56:55 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >I tried: > >1) Running the query using dates from 2 months ago > >2) Deleting all the data so that it was back to where it was two >months ago and running the query using dates from 2 months ago. > >Neither test worked. Maybe it is a structure change. I will try >comparing tables to see if there is any differences. > >David > >At 23/11/2006, you wrote: > >If the structures haven't changed, then the data is the villain. But > >you have a concrete clue to work from. Devise some scope that will > >include only the data from two months ago and verify your assertion. > >Then expand the scope to "two months ago plus a day" and run it > >again. Repeat until failure. > > > >This assumes of course that the scope is expandable so easily. (A > >good reason to have a "DateEntered" column in every table, which > >defaults to GetDate()). > > > >----- Original Message ---- > >From: David Emerson > >To: Access Developers discussion and problem solving > >; Access Developers discussion and > >problem solving > >Sent: Tuesday, November 21, 2006 10:53:58 PM > >Subject: Re: [AccessD] Stored Procedure not producing results > > > >Worse - my database from two months ago works fine, but the latest > >version is the one that is causing the problem. This may indicate a > >data problem perhaps? > > > >David From DWUTKA at marlow.com Tue Dec 12 17:22:47 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 17:22:47 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE48@marlow_main2.marlow.ii-vi.net> LOL..... ok, no groveling necessary (that is only required on OT, and you and I are usually never on different sides there... ). Which method worked? I would guess that the last one, using an inner join for the EmployeeID field and then using the subquery in the WHERE clause was the best, and probably most efficient. (I would assume that JET would be more efficient with a JOIN in the FROM clause, then in the WHERE clause, but again, it is an assumption, I'm not really sure). Just remember that the real trick to a subquery is capturing the right criteria from the main query, or higher level subqueries. This is done through the 'aliasing' of the tables. That's important. For example: SELECT Somefield FROM SomeTable WHERE Anotherfield=(SELECT ADifferentField FROM SomeOtherTable WHERE ThisField=SomeTable.SomeField) In the last part, the subquery has no idea where SomeTable.SomeField is coming from. If we put SomeTable I the FROM statement in the subquery, then it will be getting it's own value. But by using this: SELECT Somefield FROM SomeTable AS T1 WHERE Anotherfield=(SELECT ADifferentField FROM SomeOtherTable WHERE ThisField=T1.SomeField) We are now telling the subquery to get the value from the main query. I've seen examples where everything is aliased, which I personally think is just confusing. I only alias things that need it. Let me know if you need anymore help...not sure why your first attempts to subquery didn't work, how were you trying to use them? Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query OMG!!!! It works....It Works....IT WORKS!!!!! :-} I bow to your Kingness!!! Not only did it work....but it was fast as lightening too!!!! Now...I just have to read through it closer to really understand it. Thank you sooooo much, Your Highness!! :)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From darrend at nimble.com.au Tue Dec 12 17:48:49 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 13 Dec 2006 10:48:49 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: <019a01c71e48$135f4dc0$101b910a@DENZILLAP> brilliant Just had a poke around in the Conference archives - there are a lot of names we don't see too much any more But I did see the faces of a lot of people we do hear a lot from Who's that Boofhead in the Australian Conference from 2004? Where did that chin come from?? - Oh my gosh!!! Stay tuned for some more happy snaps of another Anglo/TerraAustralis conference in Feb 2007 Again - well done team - the web site looks great - very clean - very professional Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, 13 December 2006 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Dec 12 18:05:55 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 18:05:55 -0600 Subject: [AccessD] DBA web site update Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Tuesday, December 12, 2006 5:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update brilliant Just had a poke around in the Conference archives - there are a lot of names we don't see too much any more But I did see the faces of a lot of people we do hear a lot from Who's that Boofhead in the Australian Conference from 2004? Where did that chin come from?? - Oh my gosh!!! Stay tuned for some more happy snaps of another Anglo/TerraAustralis conference in Feb 2007 Again - well done team - the web site looks great - very clean - very professional Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, 13 December 2006 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 DWUTKA at marlow.com Tue Dec 12 18:06:14 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 18:06:14 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE54@marlow_main2.marlow.ii-vi.net> Keith, I'm replying back to the list in case this is helping other members. In your query: SELECT T1.EmployeeNumber, T1.TimeWkEnd, (SELECT PayRate FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentWage FROM tblPayrollRecords AS T1; You are using the first method that I suggested. However, you want to use more fields, so I would recommend the second method. You can put more fields in with the first method, but you are going to be adding the multiple subquery solution in for each one. Ie, : SELECT T1.EmployeeNumber, T1.TimeWkEnd, (SELECT PayRate FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentWage, (SELECT ServiceCode FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentServiceCode FROM tblPayrollRecords AS T1; This would add ServiceCode. Lot of SQL to add one field, not too mention twice the work. I would recommend this: SELECT T1.EmployeeNumber, TimeWkEnd, PayRate FROM tblPayrollRecords AS T1 INNERJOIN tblPayRateHistory ON T1.EmployeeNumber=tblPayRateHistory.EmployeeNUmber WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EmployeeNumber=T1.EmployeeNumber AND EffectiveDate<=T1.TimeWkEnd) The above SQL (hope it works, I am just writing it in email, not setting up tables to test it, might have spelling goofs) will do the same thing, but now, you can just add the fields as regular fields in your main query, ie (I'm just going to cut and paste the above, and add the fields, so if there is a spelling goof in the first, it'll be in this one too) SELECT T1.EmployeeNumber, TimeWkEnd, PayRate, JobCostRate, OvtPercent, Dept, OfficeCode, Org, ServiceCode FROM tblPayrollRecords AS T1 INNERJOIN tblPayRateHistory ON T1.EmployeeNumber=tblPayRateHistory.EmployeeNUmber WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EmployeeNumber=T1.EmployeeNumber AND EffectiveDate<=T1.TimeWkEnd) NOTE: I am not prefixing any table that doesn't require it. I'm doing that so it's easier to see where/how the subqueries are working. But if any of these fields are shared in the tables, they must be prefixed, and in a final revision query, prefixing will make it easier to see what comes from where in an SQL view. Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at RTKL.com] Sent: Tuesday, December 12, 2006 5:41 PM To: Drew Wutka Subject: RE: [AccessD] Select Within Query Hey Drew.... You lost me on the second part of your post....(not that I am totally with you on the first part...BUT...I managed to get that to work..lol) Here is my query, as restated from your first section: *********************** SELECT T1.EmployeeNumber, T1.TimeWkEnd, (SELECT PayRate FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentWage FROM tblPayrollRecords AS T1; ************************* In addition to Payrate, ideally I'd like to pull in [JobCostRate], [OvtPercent], [Dept], [OfficeCode], [Org], [ServiceCode]. These are all in the tblPayRateHIstory table (your example tblEmployeeData). In the above, I didn't need the [EndTime] or [StartTime]....I simply use the hours for the week....which is in the tblPayrollRecords....and do the calculations for payroll within the query. What am I missing? I can't figure out how your second method fits into the first query....to bring back additional fields. Thanks again!! By the way...I am leaving for home now....so I'll be picking up OT in about an hour. Hope I can help out there. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From newsgrps at dalyn.co.nz Tue Dec 12 18:38:16 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 13 Dec 2006 13:38:16 +1300 Subject: [AccessD] Restoring Database from Another server Message-ID: <20061213003636.ZRMF29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> I am looking at the probability of needing to restore a database from my development computer to a client site (overwriting the old possibly corrupt version). Are there any things I should be aware of that may cause problems (eg users and roles?) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From DWUTKA at marlow.com Tue Dec 12 19:18:15 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 19:18:15 -0600 Subject: [AccessD] Subquery Theory Part 1 Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE5B@marlow_main2.marlow.ii-vi.net> Keith had a thread called 'Select within query'. I think we have his problem solved, but I wanted to add a little more explanation to the solution. The problem was that Keith needed data from two tables that didn't have a direct link. In his particular case, he wanted a Payrate field from one table, to match hours worked in another. Both tables could be linked by an employeenumber/ID field, however, it was a many to many join, which didn't produce what he needed. He needed to display the Payrate field from the record with the right date. The hours worked had a datestamp, however, the table with the payrate had a datefield that would be older then the hours worked table. (ie, if someone got a raise on 12/1/2006, the records in the hours worked table would need the previous payrate if they were worked before 12-1-2006, and the new payrate if after 12-1-2006). So I presented two solutions. The first was to show how to just return ONE field, using two subqueries (one within another). The second was to show how to return multiple fields, using just one subquery. That is what this email is about. An INNER JOIN is a criteria the database engine (in this case Jet) uses to return the appropriate records. For example: Table1 ID Data 1 Blue 2 Red 3 Green 4 Yellow Table 2 ID Data 1 Circle 2 Square 3 Triangle 4 Line In the two tables above, if we want to match the data fields by their ID fields, we would use an INNER JOIN (which says show me all the records that match on a particular field): SELECT Table1.Data, Table2.Data FROM Table1 INNER JOIN Table2 ON Table1.ID=Table2.ID As I have stated, the inner join is a criteria, so it can also be placed in the WHERE statement of a query, ie: SELECT Table1.Data, Table2.Data FROM Table1, Table2 WHERE Table1.ID=Table2.ID Now, this is probably bad practice. I'm not positive, but I would assume that the INNER JOIN statement would run faster then the criteria in the WHERE statement, at least in JET (some dbs don't allow for joins, the version of Oracle we have here at work is such a creature...yeck....). But how the join works is important to know, when it comes to a subquery. In Keith's situation, if we 'join' the tables using the subquery in the WHERE clause of the SQL statement, we can add whatever fields we want! What we did in Keith's example, is used a query that returned the Max value of a date field with a WHERE clause that said the date field had to be less then or equal to a selected date. But since this is a 'lesson' post, let's create a new data/query situation. (to be continued) From DWUTKA at marlow.com Tue Dec 12 19:21:05 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 19:21:05 -0600 Subject: [AccessD] Subquery Theory Part 2 Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE5C@marlow_main2.marlow.ii-vi.net> Let's say we have a Grade Details table: tblGradeDetails: TopGrade GradeLetter GPA BonusPoints 100 A 4 20 89 B 3 10 79 C 2 5 69 D 1 0 59 F 0 0 Now let's say we have a table with student grades: tblStudentGrades: StudentName StudentGrade Bob 82 Drew 91 Kathy 100 Chris 75 Donald 64 With one exception (Kathy's score) the student grade doesn't match anything in the TopGrade field, because the relationship is not a 1 to 1. The TopGrade field is really the max grade for that grade, an A is 90 to 100. So we can't use a normal join for this. We can, however, use a subquery to create a 'join' in the WHERE clause: SELECT StudentName, StudentGrade, GradeLetter, GPA, BonusPoints FROM tblGradeDetails, tblStudentGrades AS T1 WHERE TopGrade=(SELECT MIN(TopGrade) FROM tblGradeDetails WHERE TopGrade>=T1.StudentGrade) By aliasing tblStudentGrades as T1, we can tell the subquery in the WHERE clause to give us the lowest 'TopGrade' value (MIN statement) where the TopGrade is greater then or equal too the StudentGrade. In other words, for Bob's score of 82, it is going to give the lowest value in TopGrade where the value is greater or equal to 82. That leaves 89 and 100, and 89 is the lowest. So we now have a 'join' using a subquery. (to be continued) From DWUTKA at marlow.com Tue Dec 12 19:21:35 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 19:21:35 -0600 Subject: [AccessD] Subquery Theory Part 3 Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE5D@marlow_main2.marlow.ii-vi.net> Now, this also allows for a join to use calculations too. Let's normalize our test system. Instead of tblStudentGrades, let's create three tables: tblStudents: StudentID StudentName 1 Bob 2 Drew 3 Kathy 4 Chris 5 Donald tblTests: TestID TestName TestDate AvailablePoints 1 Math Test 12/12/2006 40 tblTestResults: TestID StudentID PointsReceived 1 1 36 1 2 35 1 3 26 1 4 15 1 5 29 We already have tblGradeDetails, but now, to get the grade, to match with tblGradeDetails, we have to calculate the grade from PointsReceived (in tblTestResults) and AvailablePoints (in tblTests). Pretty simple really, first we join tblStudents and tblTestResults on StudentID (in the FROM statement) and also tblTests with tblTestResults (in the FROM statement), then we just add tblGradeDetails (and join it with a subquery in the WHERE statement) SELECT TestName, StudentName, ((PointsReceived/AvailablePoints)*100) AS GradePercentage, GradeLetter, GPA, BonusPoints FROM tblStudents INNER JOIN (tblTests AS T1 INNER JOIN tblTestResults AS T2 ON T1.TestID =T2.TestID) ON tblStudents.StudentID = T2.StudentID, tblGradeDetails WHERE TopGrade=(SELECT MIN(TopGrade) FROM tblGradeDetails WHERE TopGrade>=((T2.PointsReceived/T1.AvailablePoints)*100)) And we get the following: TestName StudentName GradePercentage GradeLetter GPA BonusPoints Math Test Bob 90 A 4 20 Math Test Drew 87.5 B 3 10 Math Test Kathy 65 D 1 0 Math Test Chris 37.5 F 0 0 Math Test Donald 72.5 C 2 5 Note how we aliased two of the four tables in the FROM statement (tblTests as T1 and tblTestResults as T2). Then we simply added tblGradeDetails with a comma. I'm sure many use the query builder in access. Access' query builder will let you do exactly what we just did. Just add all four tables to a query. Join tblStudents, tblTests and tblTestResults on the appropriate fields. Leave tblGradeDetails unjoined. Now right click on tblTests and go to properties. One of the properties is Alias, change it from tblTests to T1. Do the same for tblTestResults (but alias it as T2). Now, add the fields, TestName, StudentName, GradePercentage: ((PointsReceived/AvailablePoints)*100), GradeLetter, GPA, BonusPoints TopGrade. In the Criteria beneath TopGrade, enter the subquery: (SELECT MIN(TopGrade) FROM tblGradeDetails WHERE TopGrade>=((T2.PointsReceived/T1.AvailablePoints)*100)) Whalla. A little tip, when building a subquery in the query builder, use the Zoom option, easier to see the whole thing. If you are building the SQL of a subquery using another instance of the SQL Builder, just be sure to change the tablenames that are aliased in the primary query, when you paste it into your main query. Hope this helps someone somewhere, I'm heading home! Drew From jwcolby at colbyconsulting.com Tue Dec 12 19:55:22 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 12 Dec 2006 20:55:22 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: <003301c71e59$c1be8640$657aa8c0@m6805> I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 12 20:58:06 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 21:58:06 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <003301c71e59$c1be8640$657aa8c0@m6805> Message-ID: Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 Dec 12 23:25:33 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 12 Dec 2006 21:25:33 -0800 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <0JA7004YC5N0EKO0@l-daemon> Hi Keith: I have sent a note off to Bryan indicating a change of address. Do you what the DBA business mail to be re-directed to your office kwilliamson at rtkl.com or would/do you have a private email location? Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 6:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darrend at nimble.com.au Tue Dec 12 23:54:35 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 13 Dec 2006 16:54:35 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> Message-ID: <01ce01c71e7b$2c293fe0$101b910a@DENZILLAP> Howdy Yeah it's not a good look More chins that a Chinese phonebook Re your intro to the group - shhhh - now they know who to blame I think I let onto Mr. Lacey this little (till now) unknown fact :-)) See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, 13 December 2006 11:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DBA web site update I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Tuesday, December 12, 2006 5:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update brilliant Just had a poke around in the Conference archives - there are a lot of names we don't see too much any more But I did see the faces of a lot of people we do hear a lot from Who's that Boofhead in the Australian Conference from 2004? Where did that chin come from?? - Oh my gosh!!! Stay tuned for some more happy snaps of another Anglo/TerraAustralis conference in Feb 2007 Again - well done team - the web site looks great - very clean - very professional Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, 13 December 2006 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Dec 13 02:09:52 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 13 Dec 2006 08:09:52 -0000 Subject: [AccessD] DBA web site update In-Reply-To: <019a01c71e48$135f4dc0$101b910a@DENZILLAP> Message-ID: <00bd01c71e8e$118e8290$16648552@minster33c3r25> > Who's that Boofhead in the Australian Conference from 2004? And you don't look much better DD ;-) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 12 December 2006 23:49 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > > brilliant > > Just had a poke around in the Conference archives - there are > a lot of names we don't see too much any more > > But I did see the faces of a lot of people we do hear a lot from > > Who's that Boofhead in the Australian Conference from 2004? > Where did that chin come from?? - Oh my gosh!!! > > Stay tuned for some more happy snaps of another > Anglo/TerraAustralis conference in Feb 2007 > > Again - well done team - the web site looks great - very > clean - very professional > > Darren > ------------------ > T: 0424 696 433 > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Wednesday, 13 December 2006 7:30 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] DBA web site update > > Hi All: > > The DBA website has been updated to an ASP site. > http://www.databaseadvisors.com. This is the first phase of > an ongoing re-build. > > If when going to the site you see no change just select the > refresh button on your browser. The older site pages are > still in place but will be removed shortly. If you notice any > errors or things not working correctly please contact me > immediately with a description of what problem you > encountered at webmaster at databaseadvisors.com. > > There are 3 new areas on the web site under the References > sections; Lists, sites and Miscellaneous. Any help in the > continuing effort to populate new sections will be greatly > appreciated. > > A thanks goes out to Bryan, for his joint-effort on the > http://databaseadvisors.com site and to Arthur and other for > their contributions towards the content. > > More to come. > > Regards > 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 Gustav at cactus.dk Wed Dec 13 03:30:27 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 10:30:27 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. From darrend at nimble.com.au Wed Dec 13 05:34:04 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 13 Dec 2006 22:34:04 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <00bd01c71e8e$118e8290$16648552@minster33c3r25> Message-ID: <020701c71eaa$9926f810$101b910a@DENZILLAP> Hee Hee It was actually me I was referring to - The Anglo and female sides acquitted themselves very well It was the male Aussie that dropped the averages :-)) See y'all in feb Darren ------------------ T: 0424 696 433 -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Wednesday, 13 December 2006 7:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update > Who's that Boofhead in the Australian Conference from 2004? And you don't look much better DD ;-) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 12 December 2006 23:49 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > > brilliant > > Just had a poke around in the Conference archives - there are > a lot of names we don't see too much any more > > But I did see the faces of a lot of people we do hear a lot from > > Who's that Boofhead in the Australian Conference from 2004? > Where did that chin come from?? - Oh my gosh!!! > > Stay tuned for some more happy snaps of another > Anglo/TerraAustralis conference in Feb 2007 > > Again - well done team - the web site looks great - very > clean - very professional > > Darren > ------------------ > T: 0424 696 433 > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Wednesday, 13 December 2006 7:30 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] DBA web site update > > Hi All: > > The DBA website has been updated to an ASP site. > http://www.databaseadvisors.com. This is the first phase of > an ongoing re-build. > > If when going to the site you see no change just select the > refresh button on your browser. The older site pages are > still in place but will be removed shortly. If you notice any > errors or things not working correctly please contact me > immediately with a description of what problem you > encountered at webmaster at databaseadvisors.com. > > There are 3 new areas on the web site under the References > sections; Lists, sites and Miscellaneous. Any help in the > continuing effort to populate new sections will be greatly > appreciated. > > A thanks goes out to Bryan, for his joint-effort on the > http://databaseadvisors.com site and to Arthur and other for > their contributions towards the content. > > More to come. > > Regards > 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 > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 13 07:44:58 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 13 Dec 2006 08:44:58 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA7004YC5N0EKO0@l-daemon> Message-ID: No. I'll leave that private. For now, it is k.williamson5 at verizon.net. That may change in January.....depending on where I get my new High Speed Internet from. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, December 13, 2006 12:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Hi Keith: I have sent a note off to Bryan indicating a change of address. Do you what the DBA business mail to be re-directed to your office kwilliamson at rtkl.com or would/do you have a private email location? Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 6:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- 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 colbyconsulting.com Wed Dec 13 07:56:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 08:56:57 -0500 Subject: [AccessD] pull data from web page Message-ID: <006f01c71ebe$8ecfc8b0$657aa8c0@m6805> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Wed Dec 13 08:06:28 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 15:06:28 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John They want $$$ for that service. Instructions here: http://www.xe.com/dfs/ /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 14:56 >>> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Wed Dec 13 08:36:43 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 15:36:43 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav >>> Gustav at cactus.dk 13-12-2006 15:06 >>> Hi John They want $$$ for that service. Instructions here: http://www.xe.com/dfs/ /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 14:56 >>> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Jim.Hale at FleetPride.com Wed Dec 13 09:02:30 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 13 Dec 2006 09:02:30 -0600 Subject: [AccessD] DBA web site update Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE16C@corp-es01.fleetpride.com> The website appears to be down this morning? Jim Hale -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Tuesday, December 12, 2006 11:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Hi Keith: I have sent a note off to Bryan indicating a change of address. Do you what the DBA business mail to be re-directed to your office kwilliamson at rtkl.com or would/do you have a private email location? Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 6:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Wed Dec 13 09:13:15 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 10:13:15 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <000001c71ec9$37374fa0$657aa8c0@m6805> LOL, that'll teach me to ignore the threads on AccessD. I just deleted all the XML stuff that went by in the last few weeks. I am using the MSXML object now to try and parse this thing. Seems to be working. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav >>> Gustav at cactus.dk 13-12-2006 15:06 >>> Hi John They want $$$ for that service. Instructions here: http://www.xe.com/dfs/ /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 14:56 >>> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Wed Dec 13 10:40:25 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 11:40:25 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <008501c71ed5$64be02f0$b6b82ad1@SUSANONE> I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From cfoust at infostatsystems.com Wed Dec 13 10:52:26 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Dec 2006 08:52:26 -0800 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <008501c71ed5$64be02f0$b6b82ad1@SUSANONE> Message-ID: I don't recall it before XP, Susan. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, December 13, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Dec 13 11:08:05 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 18:08:05 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) /gustav >>> ssharkins at setel.com 13-12-2006 17:40 >>> I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. From DWUTKA at marlow.com Wed Dec 13 11:42:12 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Dec 2006 11:42:12 -0600 Subject: [AccessD] pull data from web page Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AF24@marlow_main2.marlow.ii-vi.net> Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 13 12:10:13 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 13:10:13 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <000f01c71ee1$f023c760$657aa8c0@m6805> Gustav, Thanks for pointing me to the XML feed. The following function will load the url http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml into an XML document, then burrow down into the xml document until it reaches the cube node, then prints the attributes of that node (country code and rate) and finally, returns the rate for the country passed in. I make no claim that this is the most efficient XML parsing code in the world as I did the whole thing in a few hours, never having seen XML code before, but it does work. Copy and paste the following code into a module and save as basXMLRates. WATCH FOR LINE WRAPS IN THE CODE AND FIX THEM. Then from the debug window type: ?GetCurr() You will get back the USD rate relative to the Euro. Obviously you can change the default to some other country Type in ?GetCurr(,true) to print all the rates in the debug window as well as the selected rate at the end Type in ?GetCurr("JPY") to get the Japanese yen without the debug print. To get the USD expressed in YEN type in ?getcurr("usd") / getcurr("JPY") Etc. '********************* 'Start here '********************* Option Compare Database Option Explicit ' 'This function uses static collections to hold the country codes and their associated rates 'I do this so that if the function is called more than once in a given day, the second and 'subsequent times don't have to go to the web to get the rates ' 'Obviously I am not handling rate updates at a given time of day. That is up to you. ' Function GetCurr(Optional strCountryCode As String = "USD", Optional blnPrint As Boolean = False) As Currency On Error GoTo Err_GetCurr Static colRates As Collection Static colCountryCodes As Collection Static dte As Date Dim intCnt As Integer Dim lstrCountryCode As String Dim lcurRate As Currency If dte <> Date Then 'Check to see if this function was run today' dte = Date Set colRates = New Collection 'If not then initialize the collections again Set colCountryCodes = New Collection TranslateXMLCurr colCountryCodes, colRates 'and go get the rates for the day End If ' 'If a debug.print was requested ' If blnPrint Then 'iterate through the country code cilletion getting the country codes For intCnt = 1 To colCountryCodes.Count lstrCountryCode = colCountryCodes.Item(intCnt) lcurRate = colRates.Item(intCnt) 'use that to get the rate for that country Debug.Print lstrCountryCode & " : " & lcurRate 'print both in a string to the debug window Next intCnt End If On Error Resume Next 'If the country code passed in is bogus, ignore the error ' 'And pass back the requested rate ' GetCurr = colRates(strCountryCode) Exit_GetCurr: On Error Resume Next Exit Function Err_GetCurr: MsgBox Err.Description, , "Error in Function basXML.GetCurr" Resume Exit_GetCurr Resume 0 '.FOR TROUBLESHOOTING End Function ' 'This function looks up rates off of a web site and loads the country codes and rates into two collections ' Function TranslateXMLCurr(colCountryCodes As Collection, colRates As Collection) As Currency On Error GoTo Err_TranslateXMLCurr Dim fSuccess As Boolean Dim oDoc As MSXML2.DOMDocument Dim oRoot As MSXML2.IXMLDOMNode Dim oCube As MSXML2.IXMLDOMNode Dim oChild As MSXML2.IXMLDOMNode Dim oChildren As MSXML2.IXMLDOMNodeList Dim oAttributes As MSXML2.IXMLDOMNamedNodeMap Dim lstrCountryCode As String Dim lcurRate As Currency Set oDoc = New MSXML2.DOMDocument oDoc.async = False oDoc.validateOnParse = False fSuccess = oDoc.Load("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") ' ' If anything went wrong, quit now. If Not fSuccess Then GoTo Exit_TranslateXMLCurr End If Set oRoot = oDoc.documentElement Set oCube = oRoot.ChildNodes(2).ChildNodes(0) Set oChildren = oCube.ChildNodes For Each oChild In oChildren Set oAttributes = oChild.Attributes With oAttributes lstrCountryCode = .Item(0).nodeTypedValue 'Get the country code lcurRate = .Item(1).nodeTypedValue 'Get the current rate colCountryCodes.Add lstrCountryCode colRates.Add lcurRate, lstrCountryCode End With Next oChild Exit_TranslateXMLCurr: Exit Function Err_TranslateXMLCurr: MsgBox Err.Description, , "Error in Function basXML.TranslateXMLCurr" Resume Exit_TranslateXMLCurr Resume 0 '.FOR TROUBLESHOOTING End Function '********************* 'End here '********************* Prints in the following manner: USD : 1.3265 JPY : 155.34 CYP : 0.5781 CZK : 27.880 DKK : 7.4534 EEK : 15.6466 GBP : 0.67280 HUF : 253.48 LTL : 3.4528 LVL : 0.6973 MTL : 0.4293 PLN : 3.8008 SEK : 9.0407 SIT : 239.68 SKK : 34.775 CHF : 1.5951 ISK : 91.76 NOK : 8.1520 BGN : 1.9558 HRK : 7.3579 RON : 3.4247 RUB : 34.7980 TRY : 1.8919 AUD : 1.6811 CAD : 1.5273 CNY : 10.3819 HKD : 10.3094 IDR : 12031.36 KRW : 1223.76 MYR : 4.7018 NZD : 1.9172 PHP : 65.536 SGD : 2.0421 THB : 46.783 ZAR : 9.2630 Enjoy. Perhaps we could put this code up on the web site as an extreme example of bad programming practice in general as well as an intro of how to use the XML object, and a currency converter (at least for mostly euro currencies). I found it fascinating that given a XML feed, I could just suck it in and go. Of course the "going" was a tough slog never having seen the xml object before... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav From jwcolby at colbyconsulting.com Wed Dec 13 12:13:59 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 13:13:59 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <000001c71ee2$76e24150$657aa8c0@m6805> BTW, I found enough in this link to get the XML converter working. http://msdn2.microsoft.com/en-us/library/aa163921(office.10).aspx John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav From Gustav at cactus.dk Wed Dec 13 12:25:15 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 19:25:15 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John Great! I have been looking for something like this several times without having the time to explore it. I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> Gustav, Thanks for pointing me to the XML feed. From markamatte at hotmail.com Wed Dec 13 12:29:14 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 18:29:14 +0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: I just checked HELP in A97 and A2K and could find no reference to vbNewLine in A2K. I found it in HELP A97. I tested and can use in both. I can't test past 97. Below is the help from 97...Hope it helps. Not sure why the or here(vbNewLine Chr(13) + Chr(10) or Chr(13)) Thanks, Mark A. Matte The following constants are defined in the Visual Basic for Applications type library and can be used anywhere in your code in place of the actual values: Constant Equivalent Description vbCrLf Chr(13) + Chr(10) Carriage return?linefeed combination vbCr Chr(13) Carriage return character vbLf Chr(10) Linefeed character vbNewLine Chr(13) + Chr(10) or Chr(13) Platform-specific new line character; whichever is appropriate for current platform vbNullChar Chr(0) Character having value 0 vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures vbTab Chr(9) Tab character vbBack Chr(8) Backspace character vbFormFeed Chr(12) Not useful in Microsoft Windows vbVerticalTab Chr(11) Not useful in Microsoft Windows >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf >Date: Wed, 13 Dec 2006 08:52:26 -0800 > >I don't recall it before XP, Susan. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >Sent: Wednesday, December 13, 2006 8:40 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > >I don't suppose anyone knows -- off the top of their head -- when >vbNewLine showed up in Access? I'm going to check the ms library, but I >usually can't find that kind of information. > >Susan H. > >Hi Susan > >That's what is dangerous. One day you may need it elsewhere and you may >be hosed. > >To conclude: Using vbNewLine is the safe way as it is easy to remember >and performs correctly in any Windows environment. >However, in SQL it is not recognized and you have to fall back to >Chr(13) & >Chr(10) for a new line. If that bothers you (not you, the SQL >programmer) because it messes up the SQL, create a tiny function which >is easy to remember and understand: > >Public Function NewLine() As String > NewLine = vbNewLine >End Function > >and use that in your SQL. > >/gustav > > >>> ssharkins at setel.com 13-12-2006 00:00 >>> >I'm just dealing with message text in a message box. :) > >Susan H. > > >Hi Susan > >I meant that no matter what you type, Access will try to display it >correctly. > >However, if you construct a string with the various constants and assign >this to a, say, textbox, you'll for the wrong constants meet the funny >small boxes instead of new lines. Try it. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: >12/5/2006 > > >-- >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 _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From DWUTKA at marlow.com Wed Dec 13 12:46:03 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Dec 2006 12:46:03 -0600 Subject: [AccessD] pull data from web page Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AF55@marlow_main2.marlow.ii-vi.net> I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.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 Chester_Kaup at kindermorgan.com Wed Dec 13 13:02:05 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 13:02:05 -0600 Subject: [AccessD] For next loop - using date criteria Message-ID: I am trying to use date criteria in a for next loop but loop never increments. Loop works if a hard code in a step but with variable. What might I be missing? Code below. StartDate = #11/1/1948# EndDate = #11/1/2006# LoopStart = CLng(StartDate) LoopEnd = CLng(EndDate) For I = LoopStart To LoopEnd Step DaysinMonth Debug.Print CVDate(I) DaysinMonth = DaysInMonth2(CVDate(I)) + 1 Next I End Function Public Static Function DaysInMonth2(D As Date) As Integer ' ' Returns the number of days in a month ' Requires a date argument, since February can change if it's a leap year ' Lets Access figure it out ' If VarType(D) <> 7 Then DaysInMonth2 = Null Else DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - DateSerial(Year(D), Month(D), 1) End If End Function Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cfoust at infostatsystems.com Wed Dec 13 13:03:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Dec 2006 11:03:09 -0800 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: It's OK, Gustav. You're welcome to make fun of my memory. ;o} I suppose I just never bothered with vbNewLine when vbCrLf always worked for me. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Hi Susan Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) /gustav >>> ssharkins at setel.com 13-12-2006 17:40 >>> I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Dec 13 13:34:06 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 19:34:06 +0000 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Chester, I think its because when you use STEP...the variable right after that determins for the rest of the loop how many, or number you are going to step...since you calculate it after the fact(starting with null) you loop takes your first date...adds nothing to it...then loops again. I think this is why your not looping. Hope it helps, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From markamatte at hotmail.com Wed Dec 13 13:35:30 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 19:35:30 +0000 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk From Chester_Kaup at kindermorgan.com Wed Dec 13 13:48:10 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 13:48:10 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: That is a start. Added the following line after loop end. Now it just increments 30 every time instead of value of DaysinMonth DaysinMonth = DaysInMonth2(StartDate) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Chester, I think its because when you use STEP...the variable right after that determins for the rest of the loop how many, or number you are going to step...since you calculate it after the fact(starting with null) you loop takes your first date...adds nothing to it...then loops again. I think this is why your not looping. Hope it helps, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Dec 13 13:52:14 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 13:52:14 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first day of one month to the first day of the next month. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ /spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Dec 13 14:08:58 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 20:08:58 +0000 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Chester, Here is a quick stab at that. Probably not the best...but I think it works. Thanks, Mark A. Matte Dim LoopDate LoopDate = StartDate Do While LoopDate < #11/1/06# 'For I = LoopStart To LoopEnd Step DaysInMonth Debug.Print CVDate(LoopDate) DaysInMonth = DaysInMonth2(CVDate(LoopDate)) + 1 LoopDate = LoopDate + DaysInMonth - 1 Loop >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:52:14 -0600 > >I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first >day of one month to the first day of the next month. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, December 13, 2006 1:36 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] For next loop - using date criteria > >Also, > >If I may ask...what are you trying to accomplish? > >Thanks, > >Mark > > > >From: "Kaup, Chester" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: [AccessD] For next loop - using date criteria > >Date: Wed, 13 Dec 2006 13:02:05 -0600 > > > >I am trying to use date criteria in a for next loop but loop never > >increments. Loop works if a hard code in a step but with variable. What > >might I be missing? Code below. > > > > > > > >StartDate = #11/1/1948# > > > >EndDate = #11/1/2006# > > > >LoopStart = CLng(StartDate) > > > >LoopEnd = CLng(EndDate) > > > > > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > > > Debug.Print CVDate(I) > > > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > > > >Next I > > > > > > > > > > > >End Function > > > > > > > >Public Static Function DaysInMonth2(D As Date) As Integer > > > >' > > > >' Returns the number of days in a month > > > >' Requires a date argument, since February can change if it's a leap > >year > > > >' Lets Access figure it out > > > >' > > > > If VarType(D) <> 7 Then > > > > DaysInMonth2 = Null > > > > Else > > > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - > >DateSerial(Year(D), Month(D), 1) > > > > End If > > > >End Function > > > > > > > > > > > >Chester Kaup > > > >Engineering Technician > > > >Kinder Morgan CO2 Company, LLP > > > >Office (432) 688-3797 > > > >FAX (432) 688-3799 > > > > > > > > > > > >No trees were killed in the sending of this message. However a large > >number of electrons were terribly inconvenienced. > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Share your latest news with your friends with the Windows Live Spaces >friends module. >http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ >/spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk > >-- >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 _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From ssharkins at setel.com Wed Dec 13 14:29:05 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 15:29:05 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <00b201c71ef5$5b9cc510$b6b82ad1@SUSANONE> Where'd you get that? I didn't find a think of ms's site about versions. Susan H. Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) From markamatte at hotmail.com Wed Dec 13 14:49:50 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 20:49:50 +0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <00b201c71ef5$5b9cc510$b6b82ad1@SUSANONE> Message-ID: I found the same thing in the A97 Help. >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf >Date: Wed, 13 Dec 2006 15:29:05 -0500 > >Where'd you get that? I didn't find a think of ms's site about versions. > >Susan H. > >Not commenting Charlotte's memory, these constants were all introduced in >Access 97: > >vbCrLf Chr(13) + Chr(10) >vbCr Chr(13) >vbLf Chr(10) >vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) >vbNullChar Chr(0) >vbNullString >vbTab Chr(9) >vbBack Chr(8) > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From ssharkins at setel.com Wed Dec 13 14:55:00 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 15:55:00 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <00ca01c71ef8$f533e4d0$b6b82ad1@SUSANONE> I don't have 97 installed anymore. ;( 2003 Help turned up squat -- thinks vbNewLine doesn't even exist I guess! I did find it in a list of constants finally, but with no reference to version compatiability -- of course, they usually don't include that in any documentation, which I think they should. Susan H. I found the same thing in the A97 Help. From ssharkins at setel.com Wed Dec 13 15:01:33 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 16:01:33 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> Message-ID: <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns an error. :( Susan H. I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) From cfoust at infostatsystems.com Wed Dec 13 15:09:45 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Dec 2006 13:09:45 -0800 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Again, to what purpose? If you just want to step from the first to the first, just use DateAdd and add a month to the latest date using an Do Until loop and testing for a date > the end of the desired range. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 13, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For next loop - using date criteria I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first day of one month to the first day of the next month. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ /spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -- 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 Chester_Kaup at kindermorgan.com Wed Dec 13 15:44:14 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 15:44:14 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Good idea. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, December 13, 2006 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For next loop - using date criteria Again, to what purpose? If you just want to step from the first to the first, just use DateAdd and add a month to the latest date using an Do Until loop and testing for a date > the end of the desired range. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 13, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For next loop - using date criteria I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first day of one month to the first day of the next month. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ /spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -- 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 Wed Dec 13 16:01:57 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 13 Dec 2006 17:01:57 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> References: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> Message-ID: On 12/13/06, Susan Harkins wrote: > Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns > an error. :( Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) -- 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 ssharkins at setel.com Wed Dec 13 17:21:48 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 18:21:48 -0500 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <00e801c71f0d$773052c0$b6b82ad1@SUSANONE> That would explain it -- I figured I was seeing cached files when a refresh returned an error -- waiting patiently. :) Susan H. Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) From Jim.Hale at FleetPride.com Wed Dec 13 17:23:05 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 13 Dec 2006 17:23:05 -0600 Subject: [AccessD] DBA web site update Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE170@corp-es01.fleetpride.com> same here http://www.databaseadvisors.com/ returns "No web site is configured at this address." -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: Wednesday, December 13, 2006 4:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update On 12/13/06, Susan Harkins wrote: > Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns > an error. :( Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darrend at nimble.com.au Wed Dec 13 18:15:55 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 14 Dec 2006 11:15:55 +1100 Subject: [AccessD] pull data from web page In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160AF55@marlow_main2.marlow.ii-vi.net> Message-ID: <001201c71f15$0a45a860$101b910a@DENZILLAP> Genius -Outstanding This is one of those things that can be nicely incorporated into anything Many thanks for sharing Drew Darren ------------------ T: 0424 696 433 -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Thursday, 14 December 2006 5:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.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 darrend at nimble.com.au Wed Dec 13 18:15:55 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 14 Dec 2006 11:15:55 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE170@corp-es01.fleetpride.com> Message-ID: <001101c71f15$0a1d38d0$101b910a@DENZILLAP> When I try (from Oz) I get an Error 404 message Darren ------------------ T: 0424 696 433 -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at FleetPride.com] Sent: Thursday, 14 December 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update same here http://www.databaseadvisors.com/ returns "No web site is configured at this address." -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: Wednesday, December 13, 2006 4:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update On 12/13/06, Susan Harkins wrote: > Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns > an error. :( Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Dec 13 20:56:42 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 13 Dec 2006 18:56:42 -0800 Subject: [AccessD] DBA web site update In-Reply-To: <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> Message-ID: <0JA8005FBTET7RC0@l-daemon> Hi Susan: The fellows at Korksoft, our ISP have been mucking with things. An email has been sent off so we shall see. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, December 13, 2006 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns an error. :( Susan H. I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Dec 13 23:24:22 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 14 Dec 2006 10:54:22 +0530 Subject: [AccessD] For next loop - using date criteria References: Message-ID: <00c301c71f40$3a2304d0$cb2b177d@pcadt> Chester, You won't need a separate function for getting DaysInMonth. Self contained sample subroutine as given below, should do. Best wishes, A.D.Tejpal --------------- ================================ Sub LoopFirstOfMonths(ByVal DtStart As Date, _ ByVal DtEnd As Date) Dim Dte As Date Dte = DtStart Do While Dte <= DtEnd Debug.Print Dte Dte = DateAdd("m", 1, Dte) Loop End Sub ================================ ----- Original Message ----- From: Kaup, Chester To: Access Developers discussion and problem solving Sent: Thursday, December 14, 2006 00:32 Subject: [AccessD] For next loop - using date criteria I am trying to use date criteria in a for next loop but loop never increments. Loop works if a hard code in a step but with variable. What might I be missing? Code below. StartDate = #11/1/1948# EndDate = #11/1/2006# LoopStart = CLng(StartDate) LoopEnd = CLng(EndDate) For I = LoopStart To LoopEnd Step DaysinMonth Debug.Print CVDate(I) DaysinMonth = DaysInMonth2(CVDate(I)) + 1 Next I End Function Public Static Function DaysInMonth2(D As Date) As Integer ' ' Returns the number of days in a month ' Requires a date argument, since February can change if it's a leap year ' Lets Access figure it out ' If VarType(D) <> 7 Then DaysInMonth2 = Null Else DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - DateSerial(Year(D), Month(D), 1) End If End Function Chester Kaup From Gustav at cactus.dk Thu Dec 14 02:29:33 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Dec 2006 09:29:33 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan So did I. In a few seconds. But my copy is localized so I cut the explanation but Mark provided that in English. In A2003 a search will reveal no(!) results. You have to follow this unbelievable route: Open Help and select - Microsoft Office Help - Contents - Microsoft Visual Basic Documentation - Visual Basic Language Reference - Constants - Miscellaneous Constants Once again: Never delete the old on-line help files. /gustav >>> markamatte at hotmail.com 13-12-2006 21:49 >>> I found the same thing in the A97 Help. >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf >Date: Wed, 13 Dec 2006 15:29:05 -0500 > >Where'd you get that? I didn't find a think of ms's site about versions. > >Susan H. > >Not commenting Charlotte's memory, these constants were all introduced in >Access 97: > >vbCrLf Chr(13) + Chr(10) >vbCr Chr(13) >vbLf Chr(10) >vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) >vbNullChar Chr(0) >vbNullString >vbTab Chr(9) >vbBack Chr(8) From Gustav at cactus.dk Thu Dec 14 02:34:13 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Dec 2006 09:34:13 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Charlotte Well, I had the same feeling. It has always worked, except in Access 2.0. But to be sure I looked up the Access 95 on-line help and it does not mention these constants while Access 97 on-line help does. /gustav >>> cfoust at infostatsystems.com 13-12-2006 20:03 >>> It's OK, Gustav. You're welcome to make fun of my memory. ;o} I suppose I just never bothered with vbNewLine when vbCrLf always worked for me. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Hi Susan Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) /gustav From rl_stewart at highstream.net Thu Dec 14 06:43:20 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 14 Dec 2006 06:43:20 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: References: Message-ID: <200612141248.kBECm8q10264@databaseadvisors.com> So here is the code you should be using... Public Sub DateIncrementer() Dim StartDate As Date Dim EndDate As Date Dim I As Date StartDate = #11/1/1948# EndDate = #11/1/2006# Debug.Print StartDate Do Until StartDate >= EndDate StartDate = DateAdd("m", 1, StartDate) Debug.Print StartDate Loop End Sub I think I used to do some work with Kinder Morgan also. Where are you located? At 06:16 PM 12/13/2006, you wrote: >Date: Wed, 13 Dec 2006 13:09:45 -0800 >From: "Charlotte Foust" >Subject: Re: [AccessD] For next loop - using date criteria >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Again, to what purpose? If you just want to step from the first to the >first, just use DateAdd and add a month to the latest date using an Do >Until loop and testing for a date > the end of the desired range. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester >Sent: Wednesday, December 13, 2006 11:52 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] For next loop - using date criteria > >I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first >day of one month to the first day of the next month. From EdTesiny at oasas.state.ny.us Thu Dec 14 09:00:57 2006 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 14 Dec 2006 10:00:57 -0500 Subject: [AccessD] DBA web site update Message-ID: Things seem normal today Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: Wednesday, December 13, 2006 9:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Hi Susan: > > The fellows at Korksoft, our ISP have been mucking with > things. An email has > been sent off so we shall see. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, December 13, 2006 1:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Databaseadvisors.com pulls up the old one. > www.databaseadvisors.com returns > an error. :( > > Susan H. > > I concur, the website looks great! Darren, I finally got to > see what you > look like! LOL > > For a little list history (relatively recent, I think I'm > still a newbie... > ), Darren is responsible for getting me on the list, he > hunted me down > from my sample app the 'minicalendar'. (Man I need to dust that thing > off....) > > > -- > 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 Thu Dec 14 09:36:17 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 14 Dec 2006 07:36:17 -0800 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <0JA900GX2SKPJLI0@l-daemon> Hi All: There is still a bunch of rebuilding going on our site as we speak. The entire site was misplaced by our hosts. Fortunately they had a backup from July. As I have had nothing to do from 5 on this morning I have been able to upgrade manually. Everything should be working but I will have to out of here by 8:30 PCST so there may be loose ends. Thank you for your patience. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Thursday, December 14, 2006 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Things seem normal today Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: Wednesday, December 13, 2006 9:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Hi Susan: > > The fellows at Korksoft, our ISP have been mucking with > things. An email has > been sent off so we shall see. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, December 13, 2006 1:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Databaseadvisors.com pulls up the old one. > www.databaseadvisors.com returns > an error. :( > > Susan H. > > I concur, the website looks great! Darren, I finally got to > see what you > look like! LOL > > For a little list history (relatively recent, I think I'm > still a newbie... > ), Darren is responsible for getting me on the list, he > hunted me down > from my sample app the 'minicalendar'. (Man I need to dust that thing > off....) > > > -- > 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 ssharkins at setel.com Thu Dec 14 09:44:11 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 14 Dec 2006 10:44:11 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA900GX2SKPJLI0@l-daemon> Message-ID: <003d01c71f96$b41f63e0$e4b82ad1@SUSANONE> Well, I guess I'm just confused. I don't see anything different. The conversation sounded as though the site has been redesigned and I'm not seeing that. Susan H. There is still a bunch of rebuilding going on our site as we speak. The entire site was misplaced by our hosts. Fortunately they had a backup from July. As I have had nothing to do from 5 on this morning I have been able to upgrade manually. Everything should be working but I will have to out of here by 8:30 PCST so there may be loose ends. Thank you for your patience. From reuben at gfconsultants.com Thu Dec 14 09:44:15 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 10:44:15 -0500 Subject: [AccessD] Export data from query to Excel Message-ID: I can't get anything from the archives right now... Anyone got a nice routine for exporting data from a query to an excel spreadsheet? I have a query that I will change the criteria in to get the specific results I need. I then want to run a routine to export that data to a new worksheet. The query structure will always be the same - just different data. So all I need is a way to export the data while allowing me to create the worksheet name at the time of the export. I have to do this about 150 times so automation would be nice. Thanks. Reuben Cummings GFC, LLC 812.523.1017 From Jim.Hale at FleetPride.com Thu Dec 14 10:19:11 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 10:19:11 -0600 Subject: [AccessD] Export data from query to Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE173@corp-es01.fleetpride.com> Here is a method from a Excel class I wrote. This assumes an instance of Excel exists (AppXcel) and uses two functions (SheetExists and RangeNameExists)which I can send if you don't have them. If a range name is supplied it will paste to the range. If no range is supplied it will clear the sheet and paste starting in cell A2 (I usually have labels in row 1). If blPaste is true it doesn't clear the worksheet but pastes the recortset at the bottom of the previous paste. This allows multiple queries to be pasted one after the other to the same sheet. HTH Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 9:44 AM To: AccessD Subject: [AccessD] Export data from query to Excel I can't get anything from the archives right now... Anyone got a nice routine for exporting data from a query to an excel spreadsheet? I have a query that I will change the criteria in to get the specific results I need. I then want to run a routine to export that data to a new worksheet. The query structure will always be the same - just different data. So all I need is a way to export the data while allowing me to create the worksheet name at the time of the export. I have to do this about 150 times so automation would be nice. Thanks. Reuben Cummings GFC, LLC 812.523.1017 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From carbonnb at gmail.com Thu Dec 14 10:28:46 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 14 Dec 2006 11:28:46 -0500 Subject: [AccessD] Archives was (Re: Export data from query to Excel) Message-ID: On 12/14/06, Reuben Cummings wrote: > I can't get anything from the archives right now... What isn't working? Did you try going directly to the archives at http://databaseadvisors.com/pipermail/accessd/ -- 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 reuben at gfconsultants.com Thu Dec 14 11:00:23 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 12:00:23 -0500 Subject: [AccessD] Export data from query to Excel In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE173@corp-es01.fleetpride.com> Message-ID: Thanks, Jim. I would like to have SheetExists and rangeNameExists. This is something that will benefit me greatly if I keep even half to work I have now in this field. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim > Sent: Thursday, December 14, 2006 11:19 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Export data from query to Excel > > > Here is a method from a Excel class I wrote. This assumes an instance of > Excel exists (AppXcel) and uses two functions (SheetExists and > RangeNameExists)which I can send if you don't have them. If a > range name is > supplied it will paste to the range. If no range is supplied it will clear > the sheet and paste starting in cell A2 (I usually have labels in > row 1). If > blPaste is true it doesn't clear the worksheet but pastes the recortset at > the bottom of the previous paste. This allows multiple queries to > be pasted > one after the other to the same sheet. HTH > Jim Hale > > Public Function PasteRecSetExcel(strSheetName As String, _ > rstData As Recordset, Optional blPaste As Boolean = False, Optional > strWSRange As String) As Boolean > > Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, > blRange As Boolean > On Error GoTo PROC_ERR > blSheet = SheetExists(strSheetName) > blRange = RangeNameExists(strWSRange) > If strWSRange = "" Then blRange = True > If rstData.RecordCount = 0 Then > MsgBox rstData.Name & " is empty. There are no records to paste ", _ > vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ > "Empty Recordset" > PasteRecSetExcel = False > ElseIf blSheet = False Then > MsgBox strSheetName & " doesn't exist.", _ > vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ > "Non-existent Sheet" > PasteRecSetExcel = False > ElseIf blRange = False Then > MsgBox strWSRange & " is not a valid range name. No data was > pasted.", _ > vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ > "Range does not exist" > PasteRecSetExcel = False > Else > 'Load Data into Excel > Set wksUpl = appXcel.Worksheets(strSheetName) > If strWSRange = "" Then 'if range name exists use different > paste method > If blPaste = True Then > 'true means find first empty cell before pasting the recordset > y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) > wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData > Else > 'false means clear th sheet and paste the new data > beginning in > A2 > wksUpl.Range("A2:IV65536").ClearContents > wksUpl.Range("A2").CopyFromRecordset rstData > End If > Else > wksUpl.Range(strWSRange).ClearContents > wksUpl.Range(strWSRange).CopyFromRecordset rstData > End If > PasteRecSetExcel = True > End If > PROC_EXIT: > If (rstData Is Nothing) = False Then Set rstData = Nothing > If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing > Exit Function > > PROC_ERR: > PasteRecSetExcel = False > If Err.Number = 1004 Then > MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not > exist.", , _ > "PasteRecSetExcel Method" > Else > MsgBox "UseExcel.Class Error: " & Err.Number & ". " & > Err.Description, , _ > "PasteRecSetExcel Method" > End If > Resume PROC_EXIT > > End Function > -----Original Message----- > From: Reuben Cummings [mailto:reuben at gfconsultants.com] > Sent: Thursday, December 14, 2006 9:44 AM > To: AccessD > Subject: [AccessD] Export data from query to Excel > > > I can't get anything from the archives right now... > > Anyone got a nice routine for exporting data from a query to an excel > spreadsheet? > > I have a query that I will change the criteria in to get the specific > results I need. I then want to run a routine to export that data to a new > worksheet. The query structure will always be the same - just different > data. > > So all I need is a way to export the data while allowing me to create the > worksheet name at the time of the export. I have to do this > about 150 times > so automation would be nice. > > Thanks. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From reuben at gfconsultants.com Thu Dec 14 11:00:22 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 12:00:22 -0500 Subject: [AccessD] Archives was (Re: Export data from query to Excel) In-Reply-To: Message-ID: Try either route to the archives from the home page. The link you provided below worked. I also couldn't get to Drew's archive - it said his server wasn't availble. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, December 14, 2006 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Archives was (Re: Export data from query to Excel) > > > On 12/14/06, Reuben Cummings wrote: > > I can't get anything from the archives right now... > > What isn't working? > > Did you try going directly to the archives at > http://databaseadvisors.com/pipermail/accessd/ > > > -- > 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!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From reuben at gfconsultants.com Thu Dec 14 11:10:35 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 12:10:35 -0500 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 From carbonnb at gmail.com Thu Dec 14 11:14:45 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 14 Dec 2006 12:14:45 -0500 Subject: [AccessD] Archives was (Re: Export data from query to Excel) In-Reply-To: References: Message-ID: On 12/14/06, Reuben Cummings wrote: > Try either route to the archives from the home page. The link you provided > below worked. > > I also couldn't get to Drew's archive - it said his server wasn't availble. Thanks. Jim and I'll look into why the search page isn't working. Can't say anything about Drew's archive. -- 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 DWUTKA at marlow.com Thu Dec 14 11:17:04 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 14 Dec 2006 11:17:04 -0600 Subject: [AccessD] Archives was (Re: Export data from query to Excel) Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160B0AA@marlow_main2.marlow.ii-vi.net> Yeah, mines offline still. That may change in the near future, but I cannot say more then that. Drew -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archives was (Re: Export data from query to Excel) Try either route to the archives from the home page. The link you provided below worked. I also couldn't get to Drew's archive - it said his server wasn't availble. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, December 14, 2006 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Archives was (Re: Export data from query to Excel) > > > On 12/14/06, Reuben Cummings wrote: > > I can't get anything from the archives right now... > > What isn't working? > > Did you try going directly to the archives at > http://databaseadvisors.com/pipermail/accessd/ > > > -- > 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!" > -- > 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 Jim.Hale at FleetPride.com Thu Dec 14 11:35:06 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 11:35:06 -0600 Subject: [AccessD] Export data from query to Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE174@corp-es01.fleetpride.com> Here they are Jim Hale Private Function RangeNameExists(nname) As Boolean ' Returns TRUE if the range name exists Dim n As Excel.Name RangeNameExists = False For Each n In appXcel.ActiveWorkbook.Names If UCase(n.Name) = UCase(nname) Then RangeNameExists = True Exit Function End If Next n Set n = Nothing End Function Private Function SheetExists(sname) As Boolean ' Returns TRUE if sheet exists in the active workbook Dim obj As Object On Error Resume Next Set obj = appXcel.ActiveWorkbook.Sheets(sname) If Err = 0 Then SheetExists = True _ Else SheetExists = False Set obj = Nothing End Function -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export data from query to Excel Thanks, Jim. I would like to have SheetExists and rangeNameExists. This is something that will benefit me greatly if I keep even half to work I have now in this field. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Dec 14 11:57:23 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 11:57:23 -0600 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE175@corp-es01.fleetpride.com> Play with this, it may give you some ideas. It puts a sum formula at the bottom of a variable column of numbers starting at e5. Jim Hale -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:11 AM To: AccessD Subject: [AccessD] OT - Specifying Excel Ranges I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Dec 14 11:58:53 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 11:58:53 -0600 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE176@corp-es01.fleetpride.com> Play with this, it may give you some ideas. It puts a sum formula at the bottom of a variable column of numbers starting at e5. Jim Hale Function test() Dim rng As Range, i As Integer, strAddressBottom As String, strAddressTop As String Set rng = Range("e5") strAddressTop = rng.Address For i = 1 To 25 If rng.Offset(i, 0).Value = "" Then strAddressBottom = rng.Offset(i - 1, 0).Cells.Address rng.Offset(i, 0).Formula = "=sum(" & strAddressTop & ":" & strAddressBottom & ")" GoTo The_End End If Next The_End: Set rng = Nothing End Function -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:11 AM To: AccessD Subject: [AccessD] OT - Specifying Excel Ranges I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Dec 14 12:09:26 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 12:09:26 -0600 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> Check out the indirect function. For example =AVERAGE(INDIRECT(A5):INDIRECT(A6)) where cell A5 has "C4" and cell A6 has "C7" (ie, text but without the quotes) works the same as =AVERAGE(C4:C7). A5 and A6 can then be changed to whatever cell numbers you need. Jim Hale -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:11 AM To: AccessD Subject: [AccessD] OT - Specifying Excel Ranges I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From reuben at gfconsultants.com Thu Dec 14 13:27:39 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 14:27:39 -0500 Subject: [AccessD] OT - Specifying Excel Ranges In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> Message-ID: Thanks, Jim. Those are perfect. The INDIRECT is perfect for my current situation, but I'm going to file the other for future reference. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim > Sent: Thursday, December 14, 2006 1:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT - Specifying Excel Ranges > > > Check out the indirect function. For example > =AVERAGE(INDIRECT(A5):INDIRECT(A6)) where cell A5 has "C4" and cell A6 has > "C7" (ie, text but without the quotes) works the same as =AVERAGE(C4:C7). > A5 and A6 can then be changed to whatever cell numbers you need. > Jim Hale > > -----Original Message----- > From: Reuben Cummings [mailto:reuben at gfconsultants.com] > Sent: Thursday, December 14, 2006 11:11 AM > To: AccessD > Subject: [AccessD] OT - Specifying Excel Ranges > > > I have a case where I need to change the number of rows in Excel formulas > quickly. The problem there are about 8 formulas per 'group' of > numbers that > I will have to change everytime I need to change the number of > rows. Going > into and changing 8 formulas is a pain. > > What I would like to is create the formula in one cell and in two other > cells specify the upper row limit and lower row limit. > > For example, I want Average(C2:C10). However, rather than > specifying C2 or > C10 I want to put 2 and 10 in two other cells and let the formula > reference > those cells in order to get that range. If I change it to 4 and 7 my new > formula would now be average(C4:C7) (at least that's how it would > calculate). Then another formula would automatically change from > median(D2:D10) to median(D4:D7) > > This would allow me change the 2 or 10 only one time, but it would change > all 8 formulas in the group. > > Any ideas? > > Thanks. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Kwilliamson at RTKL.com Thu Dec 14 14:08:55 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 14 Dec 2006 15:08:55 -0500 Subject: [AccessD] Excel Tip of the Day In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE175@corp-es01.fleetpride.com> Message-ID: Just ran across this...don't know if anyone else knew of it. When you want to have static cell references....so you want to put "$"s around the cell reference...such as: $C$1.......just click on the cell reference (in your formula)....and click F4. It automatically puts BOTH $'s around the reference. I never knew that before...so I am passing that on. Very handy! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From martyconnelly at shaw.ca Thu Dec 14 14:23:33 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 14 Dec 2006 12:23:33 -0800 Subject: [AccessD] pull data from web page In-Reply-To: References: Message-ID: <4581B2C5.7040402@shaw.ca> Here is some code to read that xml ECB rate file Note the xpath syntax is not perfect as the xml file contains namespaces. This means you would qualify the element name via the namespace [germes:Envelope] I haven't done a lot of work with multiple namespaces so I can't figure out the direct method of the XPath statement either that or something is odd with the file. Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US dollar Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Gustav Brock wrote: >Hi John > >Great! I have been looking for something like this several times without having the time to explore it. >I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). > >One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> >>>> >>>> >Gustav, > >Thanks for pointing me to the XML feed. > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Thu Dec 14 15:54:12 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 15 Dec 2006 07:54:12 +1000 Subject: [AccessD] OT - Specifying Excel Ranges In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> Message-ID: <4581C804.28240.12B1AF02@stuart.lexacorp.com.pg> On 14 Dec 2006 at 12:09, Hale, Jim wrote: > Check out the indirect function. For example > =AVERAGE(INDIRECT(A5):INDIRECT(A6)) where cell A5 has "C4" and cell A6 has > "C7" (ie, text but without the quotes) works the same as =AVERAGE(C4:C7). > A5 and A6 can then be changed to whatever cell numbers you need. Jim Hale Indirect is very powerful, you can make the original problem even simpler and only haver to change a single number when the size of the range changes with something like: =SUM(C4:INDIRECT("C" & A1 + 3)) Then you just need to store the number of values in A1. If the value of A1 is "4", this is the same as =SUM(C4:C7), -- Stuart From darrend at nimble.com.au Thu Dec 14 18:10:43 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 15 Dec 2006 11:10:43 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <0JA900GX2SKPJLI0@l-daemon> Message-ID: <00d001c71fdd$79eb0f70$101b910a@DENZILLAP> Well done team Thanks for all the effort Jim and the others - well done Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, 15 December 2006 2:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Hi All: There is still a bunch of rebuilding going on our site as we speak. The entire site was misplaced by our hosts. Fortunately they had a backup from July. As I have had nothing to do from 5 on this morning I have been able to upgrade manually. Everything should be working but I will have to out of here by 8:30 PCST so there may be loose ends. Thank you for your patience. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Thursday, December 14, 2006 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Things seem normal today Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: Wednesday, December 13, 2006 9:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Hi Susan: > > The fellows at Korksoft, our ISP have been mucking with > things. An email has > been sent off so we shall see. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, December 13, 2006 1:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Databaseadvisors.com pulls up the old one. > www.databaseadvisors.com returns > an error. :( > > Susan H. > > I concur, the website looks great! Darren, I finally got to > see what you > look like! LOL > > For a little list history (relatively recent, I think I'm > still a newbie... > ), Darren is responsible for getting me on the list, he > hunted me down > from my sample app the 'minicalendar'. (Man I need to dust that thing > off....) > > > -- > 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 developer at ultradnt.com Thu Dec 14 20:41:20 2006 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 14 Dec 2006 21:41:20 -0500 Subject: [AccessD] Excel Tip of the Day In-Reply-To: Message-ID: <00fd01c71ff2$840204e0$0200a8c0@ULTRADNT> This is a great tip, and to add to it, F4 is actually a 4-way toggle. Keep pressing it and it cycles through: $c$1, then you'll get c$1, then $c1, then plain old c1 again. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, December 14, 2006 3:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Tip of the Day Just ran across this...don't know if anyone else knew of it. When you want to have static cell references....so you want to put "$"s around the cell reference...such as: $C$1.......just click on the cell reference (in your formula)....and click F4. It automatically puts BOTH $'s around the reference. I never knew that before...so I am passing that on. Very handy! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 15 08:09:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 15 Dec 2006 09:09:34 -0500 Subject: [AccessD] Registry Mechanic Message-ID: <001401c72052$a7f1d780$657aa8c0@m6805> Has anyone noticed that the purchase of Registry Mechanic includes (in very fine print) that is a "subscription" to the software, that lasts one year, and that it will automatically bill your credit card when the "subscription" is up? This is a PROGRAM, not an antivirus definition or something. Annoying! So does anyone recommend a registry cleaner that doesn't try to clean my bank account while it is at it? John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Dec 15 09:55:50 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Dec 2006 07:55:50 -0800 Subject: [AccessD] Registry Mechanic In-Reply-To: <001401c72052$a7f1d780$657aa8c0@m6805> Message-ID: I like Registry Booster, from Uniblue. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 15, 2006 6:10 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Registry Mechanic Has anyone noticed that the purchase of Registry Mechanic includes (in very fine print) that is a "subscription" to the software, that lasts one year, and that it will automatically bill your credit card when the "subscription" is up? This is a PROGRAM, not an antivirus definition or something. Annoying! So does anyone recommend a registry cleaner that doesn't try to clean my bank account while it is at it? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 15 11:43:33 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 15 Dec 2006 12:43:33 -0500 Subject: [AccessD] PGP automation Message-ID: <002a01c72070$8b8602b0$657aa8c0@m6805> I just got off the phone with PGP's ONLY rep for the SDK for automating PGP. The price for "if it's going to run on a server (and use more than one key) is $7,500!!! $995 for the developer's SDK where it will talk to a licensed copy of PGP. So.... is anyone out there using (automating) PGP? Is anyone out there using the open source version and automating that? John W. Colby Colby Consulting www.ColbyConsulting.com From ewaldt at gdls.com Fri Dec 15 12:22:20 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Fri, 15 Dec 2006 13:22:20 -0500 Subject: [AccessD] Excel tip of the day In-Reply-To: Message-ID: Keith, Actually, F4 cycles from completely static, to static row only, to static column only, to all dynamic, and then continues to through the cycle again. You can use it when first entering a cell reference (either by point-and-click or type it in), but you can also use it by clicking (or arrowing) into any cell reference within a formula. Also, if you have a whole range selected (e.g., e4:e20), it works on both ends of it. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems Just ran across this...don't know if anyone else knew of it. When you want to have static cell references....so you want to put "$"s around the cell reference...such as: $C$1.......just click on the cell reference (in your formula)....and click F4. It automatically puts BOTH $'s around the reference. I never knew that before...so I am passing that on. Very handy! Regards, Keith E. Williamson This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From martyconnelly at shaw.ca Fri Dec 15 13:00:24 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 15 Dec 2006 11:00:24 -0800 Subject: [AccessD] OT Friday Humour In-Reply-To: <002a01c72070$8b8602b0$657aa8c0@m6805> References: <002a01c72070$8b8602b0$657aa8c0@m6805> Message-ID: <4582F0C8.5040106@shaw.ca> MSDN Wiki Goes Live MSDN Wiki going live is likely "the most important thing that Microsoft has done for developer documentation since the invention of .chm files," according to Scott Swigart, our .NET Briefing columnist who has written several books on .NET. "With MSDN Wiki, you can add directly to the online Microsoft documents." To find out more, check out Scott Swigart's "Tech Blender" Blog at http://lists.sqlmag.com/t?ctl=43BCB:7E311 or http://msdn2.microsoft.com/en-us/library/2x7h1hfk(VS.80).aspx -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Dec 15 13:10:18 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Dec 2006 20:10:18 +0100 Subject: [AccessD] OT Friday Humour Message-ID: Hi Marty > MSDN Wiki going live is likely "the most important thing that Microsoft > has done for developer documentation since the invention of .chm files," A line appear to have been dropped: "as you know have to write it yourself." /gustav >>> martyconnelly at shaw.ca 15-12-2006 20:00 >>> MSDN Wiki Goes Live MSDN Wiki going live is likely "the most important thing that Microsoft has done for developer documentation since the invention of .chm files," according to Scott Swigart, our .NET Briefing columnist who has written several books on .NET. "With MSDN Wiki, you can add directly to the online Microsoft documents." To find out more, check out Scott Swigart's "Tech Blender" Blog at http://lists.sqlmag.com/t?ctl=43BCB:7E311 or http://msdn2.microsoft.com/en-us/library/2x7h1hfk(VS.80).aspx -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Fri Dec 15 15:58:02 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 16 Dec 2006 07:58:02 +1000 Subject: [AccessD] OT Friday Humour In-Reply-To: <4582F0C8.5040106@shaw.ca> References: <002a01c72070$8b8602b0$657aa8c0@m6805>, <4582F0C8.5040106@shaw.ca> Message-ID: <45831A6A.12172.17DB8564@stuart.lexacorp.com.pg> On 15 Dec 2006 at 11:00, MartyConnelly wrote: > MSDN Wiki Goes Live > MSDN Wiki going live is likely "the most important thing that Microsoft > has done for developer documentation since the invention of .chm files," The most important thing since the invention of .chm files is the way the MS have totally broken them with recent security updates so that you can't use them over a network. -- Stuart From ksklos at comcast.net Sat Dec 16 08:22:25 2006 From: ksklos at comcast.net (ksklos at comcast.net) Date: Sat, 16 Dec 2006 14:22:25 +0000 Subject: [AccessD] Complicated join Message-ID: <121620061422.20086.45840121000C490300004E7622007637049C0104059C05@comcast.net> We are a SAS shop and it isn't very often because of what we do that I get the chance to show Access's colors. However, the latest project has been great for this. It is a perfect project where using a relational database has been faster. However, I have run into a problem I hop someone can help me with. First the data is in Excel. The two tables need to be matched by course number. In one table (tblCourses) all the course numbers are 7 characters long. Some are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth character in the last instance indicates if the course is a lab (L), a combination course (C) or a college level class (1-0). The other table (tblMajors) came from a different office and has 7 characters also but the 4th character does not always correspond to what is in tblCourses. This is not critical as long as the first three and the laste 3 match. So I figured that I would create a new field that had just the first 3 and the last thre e and join the tables on that field. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. From ssharkins at setel.com Sat Dec 16 08:53:21 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 16 Dec 2006 09:53:21 -0500 Subject: [AccessD] Complicated join In-Reply-To: <121620061422.20086.45840121000C490300004E7622007637049C0104059C05@comcast.net> Message-ID: <002401c72121$f06f4590$4db82ad1@SUSANONE> I'd create a new field for both by parsing just the six characters you need, then join on that field. Susan H. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From shamil at users.mns.ru Fri Dec 15 16:39:53 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 16 Dec 2006 01:39:53 +0300 Subject: [AccessD] PGP automation In-Reply-To: <002a01c72070$8b8602b0$657aa8c0@m6805> Message-ID: <001b01c72099$f03552a0$6401a8c0@nant> Hi John, Have a look at this blog note with sample code: http://cephas.net/blog/2004/09/03/pgp-decryption-using-c/ titled "PGP Decryption using C#". It should work for you I think and it's free. I wish I saved you some bucks :) -- Shamil P.S. PGP can be freeware even if used on server side, isn't it? - http://www.pgpi.org/ P.P.S. If you need just RSA encryption/decryption then I think you can write some code using .NET Framework's System.Security.Cryptography. Here is one sample: http://www.codeproject.com/vb/net/Digital_Signatures.asp (.NET Framework redistributable is free) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 15, 2006 8:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] PGP automation I just got off the phone with PGP's ONLY rep for the SDK for automating PGP. The price for "if it's going to run on a server (and use more than one key) is $7,500!!! $995 for the developer's SDK where it will talk to a licensed copy of PGP. So.... is anyone out there using (automating) PGP? Is anyone out there using the open source version and automating that? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 16 14:46:26 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 16 Dec 2006 15:46:26 -0500 Subject: [AccessD] dhcp stuff Message-ID: <001501c72153$420d2b70$657aa8c0@m6805> I am trying to get my router (DL-624) to be the DHCP server (which it has always been) and to assign static addresses to my various computers. I have discovered the mac addresses, built up the list of statically assigned mac / ip address sets etc. One of my machines has two 1gb NICs. For come reason, one of those NICs ends up being assigned a Dynamic address even though the router has a mac / ip pair in the static assignment table and it is enabled. I have double checked everything. The NIC that windows claims is the second port is the culprit. If I go into the properties inside of windows and specifically tell it to use a given address (statically assigned inside of Windows) it does take that address, but if I tell it to dynamically acquire an address it gets the dynamic address that the router assigns. The router, at this instant, has TWO IP addresses for this NIC - a statically assigned (now matching both in the router table and in Windows) and a dynamically assigned address by the router. If I try (for example) to remote desktop into the dynamically assigned address the attempt fails, which makes sense because the actual port (mac address) is statically assigned (in windows and the router) to a different address. I am wondering why the router dynamically assigns an address to that MAC even though there is an entry in the static address table for that MAC, and in fact I have told Windows to statically assign an address to that NIC to match that static address assigned by the router. In essence, I can now remote desktop in (from inside of my network) to either nic on that machine, at the "statically assigned" ip addresses, and cannot remote desktop to the "dynamically assigned" ip address for the offending mac, so I know now which addresses are valid. But why the dynamic assignment which is in fact not used by the machine? I sure wish I understood this stuff better. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Dec 16 15:08:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 16 Dec 2006 16:08:06 -0500 Subject: [AccessD] PGP automation In-Reply-To: <001b01c72099$f03552a0$6401a8c0@nant> Message-ID: <001f01c72156$48f07250$657aa8c0@m6805> Thanks Shamil. I "hope" I saved you some bucks. A wish is generally something you desire but don't really expect to happen. I wish I had a Mercedes, I wish my mom would call, I wish I could afford a vacation, I wish America would stop provoking hatred in the Muslim world. Hope is something you desire as well, but might actually expect to see. I hope I helped you, I hope your daughter can go to school in America, I hope the republicans lose the election, I hope my son like his new bike. Kind of a small but important different in usage. And then you have lyrics like "We wish you a merry Christmas". Hmmmmmm....... Languages can be tough to pin down sometimes. Anyway, thanks for the pointer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, December 15, 2006 5:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PGP automation Hi John, Have a look at this blog note with sample code: http://cephas.net/blog/2004/09/03/pgp-decryption-using-c/ titled "PGP Decryption using C#". It should work for you I think and it's free. I wish I saved you some bucks :) -- Shamil P.S. PGP can be freeware even if used on server side, isn't it? - http://www.pgpi.org/ P.P.S. If you need just RSA encryption/decryption then I think you can write some code using .NET Framework's System.Security.Cryptography. Here is one sample: http://www.codeproject.com/vb/net/Digital_Signatures.asp (.NET Framework redistributable is free) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 15, 2006 8:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] PGP automation I just got off the phone with PGP's ONLY rep for the SDK for automating PGP. The price for "if it's going to run on a server (and use more than one key) is $7,500!!! $995 for the developer's SDK where it will talk to a licensed copy of PGP. So.... is anyone out there using (automating) PGP? Is anyone out there using the open source version and automating that? John W. Colby Colby Consulting www.ColbyConsulting.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 wdhindman at dejpolsystems.com Sat Dec 16 16:23:43 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 16 Dec 2006 17:23:43 -0500 Subject: [AccessD] PGP automation References: <001f01c72156$48f07250$657aa8c0@m6805> Message-ID: <000b01c72160$d95ff4f0$4158eb44@50NM721> ...no politics here JC ...take it to OT, eh. William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 16, 2006 4:08 PM Subject: Re: [AccessD] PGP automation > Thanks Shamil. > > I "hope" I saved you some bucks. > > A wish is generally something you desire but don't really expect to > happen. > I wish I had a Mercedes, I wish my mom would call, I wish I could afford a > vacation, I wish America would stop provoking hatred in the Muslim world. > > Hope is something you desire as well, but might actually expect to see. > > I hope I helped you, I hope your daughter can go to school in America, I > hope the republicans lose the election, I hope my son like his new bike. > > Kind of a small but important different in usage. > > And then you have lyrics like "We wish you a merry Christmas". > Hmmmmmm....... > > Languages can be tough to pin down sometimes. > > Anyway, thanks for the pointer. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, December 15, 2006 5:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] PGP automation > > Hi John, > > Have a look at this blog note with sample code: > > http://cephas.net/blog/2004/09/03/pgp-decryption-using-c/ > > titled "PGP Decryption using C#". > > It should work for you I think and it's free. > > I wish I saved you some bucks :) > > -- > Shamil > > P.S. PGP can be freeware even if used on server side, isn't it? - > http://www.pgpi.org/ > > P.P.S. If you need just RSA encryption/decryption then I think you can > write > some code using .NET Framework's System.Security.Cryptography. Here is one > sample: http://www.codeproject.com/vb/net/Digital_Signatures.asp (.NET > Framework redistributable is free) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Friday, December 15, 2006 8:44 PM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] PGP automation > > I just got off the phone with PGP's ONLY rep for the SDK for automating > PGP. > The price for "if it's going to run on a server (and use more than one > key) > is $7,500!!! $995 for the developer's SDK where it will talk to a > licensed > copy of PGP. > > So.... is anyone out there using (automating) PGP? > > Is anyone out there using the open source version and automating that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 Sat Dec 16 16:39:25 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 17 Dec 2006 08:39:25 +1000 Subject: [AccessD] dhcp stuff In-Reply-To: <001501c72153$420d2b70$657aa8c0@m6805> References: <001501c72153$420d2b70$657aa8c0@m6805> Message-ID: <4584759D.12323.1D27BE23@stuart.lexacorp.com.pg> Why use two NICs in the machine on the same network? That is likely to cause problems with ARP resolution and routing for a start. . Normally, you'd only use them both if the workstation needed to be on two different networks simultaneously. On 16 Dec 2006 at 15:46, JWColby wrote: > I am trying to get my router (DL-624) to be the DHCP server (which it has > always been) and to assign static addresses to my various computers. I have > discovered the mac addresses, built up the list of statically assigned mac / > ip address sets etc. One of my machines has two 1gb NICs. For come reason, > one of those NICs ends up being assigned a Dynamic address even though the > router has a mac / ip pair in the static assignment table and it is enabled. > I have double checked everything. > > The NIC that windows claims is the second port is the culprit. If I go into > the properties inside of windows and specifically tell it to use a given > address (statically assigned inside of Windows) it does take that address, > but if I tell it to dynamically acquire an address it gets the dynamic > address that the router assigns. > > The router, at this instant, has TWO IP addresses for this NIC - a > statically assigned (now matching both in the router table and in Windows) > and a dynamically assigned address by the router. If I try (for example) to > remote desktop into the dynamically assigned address the attempt fails, > which makes sense because the actual port (mac address) is statically > assigned (in windows and the router) to a different address. > > I am wondering why the router dynamically assigns an address to that MAC > even though there is an entry in the static address table for that MAC, and > in fact I have told Windows to statically assign an address to that NIC to > match that static address assigned by the router. > > In essence, I can now remote desktop in (from inside of my network) to > either nic on that machine, at the "statically assigned" ip addresses, and > cannot remote desktop to the "dynamically assigned" ip address for the > offending mac, so I know now which addresses are valid. But why the dynamic > assignment which is in fact not used by the machine? > > I sure wish I understood this stuff better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From stuart at lexacorp.com.pg Sat Dec 16 16:54:29 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 17 Dec 2006 08:54:29 +1000 Subject: [AccessD] dhcp stuff In-Reply-To: <001501c72153$420d2b70$657aa8c0@m6805> References: <001501c72153$420d2b70$657aa8c0@m6805> Message-ID: <45847925.19696.1D35880C@stuart.lexacorp.com.pg> Here's Microsoft's take on this one. Basically - don't do it. On 16 Dec 2006 at 15:46, JWColby wrote: > I am trying to get my router (DL-624) to be the DHCP server (which it has > always been) and to assign static addresses to my various computers. I have > discovered the mac addresses, built up the list of statically assigned mac / > ip address sets etc. One of my machines has two 1gb NICs. For come reason, > one of those NICs ends up being assigned a Dynamic address even though the > router has a mac / ip pair in the static assignment table and it is enabled. > I have double checked everything. > > The NIC that windows claims is the second port is the culprit. If I go into > the properties inside of windows and specifically tell it to use a given > address (statically assigned inside of Windows) it does take that address, > but if I tell it to dynamically acquire an address it gets the dynamic > address that the router assigns. > > The router, at this instant, has TWO IP addresses for this NIC - a > statically assigned (now matching both in the router table and in Windows) > and a dynamically assigned address by the router. If I try (for example) to > remote desktop into the dynamically assigned address the attempt fails, > which makes sense because the actual port (mac address) is statically > assigned (in windows and the router) to a different address. > > I am wondering why the router dynamically assigns an address to that MAC > even though there is an entry in the static address table for that MAC, and > in fact I have told Windows to statically assign an address to that NIC to > match that static address assigned by the router. > > In essence, I can now remote desktop in (from inside of my network) to > either nic on that machine, at the "statically assigned" ip addresses, and > cannot remote desktop to the "dynamically assigned" ip address for the > offending mac, so I know now which addresses are valid. But why the dynamic > assignment which is in fact not used by the machine? > > I sure wish I understood this stuff better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From shamil at users.mns.ru Sat Dec 16 19:09:37 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 17 Dec 2006 04:09:37 +0300 Subject: [AccessD] PGP automation In-Reply-To: <001f01c72156$48f07250$657aa8c0@m6805> Message-ID: <000201c72178$05ddc2c0$6501a8c0@nant> Hi John, Thank you for the English lesson - may I argue? :) "I wish I saved you some bucks." means here in Russia nearly the same as "I hope I saved you some bucks" but "I wish" is more expressive than formal and weak "I hope" IMO. "I wish I had saved you some bucks." - that would mean here something, which can't happen in reality because it happened already - usage of past perfect tense shows that; when past tense is used as in "I wish I saved..." then an event can happen in the future and the one who uses "I wish" expresses strong desire for this event to happen ... Well, maybe this is a special Russian dialect of English, which I used :) Maybe this is even just my interpretation. To be certain this time: "I do hope that the sample I referred will save you a lot of bucks" :) Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 17, 2006 12:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PGP automation Thanks Shamil. I "hope" I saved you some bucks. A wish is generally something you desire but don't really expect to happen. I wish I had a Mercedes, I wish my mom would call, I wish I could afford a vacation, I wish America would stop provoking hatred in the Muslim world. Hope is something you desire as well, but might actually expect to see. I hope I helped you, I hope your daughter can go to school in America, I hope the republicans lose the election, I hope my son like his new bike. Kind of a small but important different in usage. And then you have lyrics like "We wish you a merry Christmas". Hmmmmmm....... Languages can be tough to pin down sometimes. Anyway, thanks for the pointer. John W. Colby Colby Consulting www.ColbyConsulting.com <<< tail skipped >>> From artful at rogers.com Sat Dec 16 21:39:58 2006 From: artful at rogers.com (artful at rogers.com) Date: Sat, 16 Dec 2006 19:39:58 -0800 (PST) Subject: [AccessD] PGP automation Message-ID: <20061217033958.14782.qmail@web88210.mail.re2.yahoo.com> Wow. Shamil, you are an expert parser of the English language. The correct phrasing would have been, unambiguously: "I regret that I did not save you some units of currency." I wish, I hope, I regret, I promise, I pray, I hope... they are all equally foolish prefixes to sentences, and they all mean nothing more than "um", which is another meaningless expression commonly used as the first word of a sentence in English. Another example is "like" as in "So I was like sooooo interested in like the subject of this like email." Such words function either as marks of idiocy or as punctuation marks, similar to the diamond in a baseball park. Some other English idiosyncrasies: If it were up to me, there would be five diamonds in a baseball park. Buffalo buffalo Buffalo buffalo Buffalo buffalo. (I fear t hat I have given the resolution away with my capitalization, but if not, then the foregoing sentence is both syntactically and semantically correct, and is a legitimate sentence in English. I cannot promise the same in Russian, but it might be fun to run it through one of those translation algorithms.) Always a pleasure to play with language! My Dutch is very shaky, but I can pronounce two of the most difficult words vacuum cleaner and the name of a small town on the coast that the Dutch used to detect German spies in WW2. I had to practice both words hundreds of times to get them right. The name of the town took way longer than the name of the vacuum ckeaner! Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Saturday, December 16, 2006 8:09:37 PM Subject: Re: [AccessD] PGP automation Hi John, Thank you for the English lesson - may I argue? :) "I wish I saved you some bucks." means here in Russia nearly the same as "I hope I saved you some bucks" but "I wish" is more expressive than formal and weak "I hope" IMO. "I wish I had saved you some bucks." - that would mean here something, which can't happen in reality because it happened already - usage of past perfect tense shows that; when past tense is used as in "I wish I saved..." then an event can happen in the future and the one who uses "I wish" expresses strong desire for this event to happen ... Well, maybe this is a special Russian dialect of English, which I used :) Maybe this is even just my interpretation. To be certain this time: "I do hope that the sample I referred will save you a lot of bucks" :) Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 17, 2006 12:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PGP automation Thanks Shamil. I "hope" I saved you some bucks. A wish is generally something you desire but don't really expect to happen. I wish I had a Mercedes, I wish my mom would call, I wish I could afford a vacation, I wish America would stop provoking hatred in the Muslim world. Hope is something you desire as well, but might actually expect to see. I hope I helped you, I hope your daughter can go to school in America, I hope the republicans lose the election, I hope my son like his new bike. Kind of a small but important different in usage. And then you have lyrics like "We wish you a merry Christmas". Hmmmmmm....... Languages can be tough to pin down sometimes. Anyway, thanks for the pointer. John W. Colby Colby Consulting www.ColbyConsulting.com <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 17 02:09:12 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 17 Dec 2006 18:09:12 +1000 Subject: [AccessD] dhcp stuff In-Reply-To: <45847925.19696.1D35880C@stuart.lexacorp.com.pg> References: <001501c72153$420d2b70$657aa8c0@m6805>, <45847925.19696.1D35880C@stuart.lexacorp.com.pg> Message-ID: <4584FB28.25390.1F3160F5@stuart.lexacorp.com.pg> Oops, forgot the URL http://support.microsoft.com/kb/175767 On 17 Dec 2006 at 8:54, Stuart McLachlan wrote: > Here's Microsoft's take on this one. Basically - don't do it. > > On 16 Dec 2006 at 15:46, JWColby wrote: > > > I am trying to get my router (DL-624) to be the DHCP server (which it has > > always been) and to assign static addresses to my various computers. I > > have discovered the mac addresses, built up the list of statically > > assigned mac / ip address sets etc. One of my machines has two 1gb NICs. -- Stuart From artful at rogers.com Sun Dec 17 05:36:14 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 17 Dec 2006 03:36:14 -0800 (PST) Subject: [AccessD] SQL and Vista Message-ID: <20061217113614.30910.qmail@web88211.mail.re2.yahoo.com> According to this story (http://money.cnn.com/2006/12/14/magazines/business2/microsoft_vista.biz2/index.htm), SQL Server won't run on Vista at least until MS serves up a patch. Has anyone independently verified that the content of this story is true? Unfortunately I cannot verify it since I don't yet have a copy of Vista other than the beta. Arthur From stuart at lexacorp.com.pg Sun Dec 17 08:41:11 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Dec 2006 00:41:11 +1000 Subject: [AccessD] SQL and Vista In-Reply-To: <20061217113614.30910.qmail@web88211.mail.re2.yahoo.com> References: <20061217113614.30910.qmail@web88211.mail.re2.yahoo.com> Message-ID: <45855707.3067.20983E28@stuart.lexacorp.com.pg> On 17 Dec 2006 at 3:36, artful at rogers.com wrote: > According to this story > (http://money.cnn.com/2006/12/14/magazines/business2/microsoft_vista.biz2/in > dex.htm), SQL Server won't run on Vista at least until MS serves up a patch. > > Has anyone independently verified that the content of this story is true? > Unfortunately I cannot verify it since I don't yet have a copy of Vista > other than the beta. Microsft says that SQL Server isn't supported until SP2. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx "In an effort to provide customers with more secure products, Microsoft Windows Server "Longhorn" and Microsoft Windows Vista will only support SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available." At this stage they have released SP2 Community Technology Preview (CTP) but there is no indication of when the actual SP2 will be available. http://support.microsoft.com/kb/913089 -- Stuart From gustav at cactus.dk Sun Dec 17 13:57:35 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Dec 2006 20:57:35 +0100 Subject: [AccessD] Complicated join Message-ID: Hi Susan For such cases I create a select query for each table which just returns all records but with the modified key. Here, something like this: SELECT Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, * FROM tblCourses and SELECT Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, * FROM tblMajor Then you can join and filter etc. as you would for any other table using the cleaned ID fields - except for updates, of course. /gustav >>> ksklos at comcast.net 16-12-06 15:22 >>> We are a SAS shop and it isn't very often because of what we do that I get the chance to show Access's colors. However, the latest project has been great for this. It is a perfect project where using a relational database has been faster. However, I have run into a problem I hop someone can help me with. First the data is in Excel. The two tables need to be matched by course number. In one table (tblCourses) all the course numbers are 7 characters long. Some are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth character in the last instance indicates if the course is a lab (L), a combination course (C) or a college level class (1-0). The other table (tblMajors) came from a different office and has 7 characters also but the 4th character does not always correspond to what is in tblCourses. This is not critical as long as the first three and the laste 3 match. So I figured that I would create a new field that had just the first 3 and the la! st thre e and join the tables on that field. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. From prosoft6 at hotmail.com Sun Dec 17 17:18:44 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sun, 17 Dec 2006 18:18:44 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: <001501c72153$420d2b70$657aa8c0@m6805> Message-ID: Do you have the router set to NAT with DHCP enabled? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From ksklos at comcast.net Sun Dec 17 17:48:28 2006 From: ksklos at comcast.net (ksklos at comcast.net) Date: Sun, 17 Dec 2006 23:48:28 +0000 Subject: [AccessD] Complicated join Message-ID: <121720062348.22750.4585D74C000D6E42000058DE22070206539C0104059C05@comcast.net> That what I was thinking, Susan. But how do I isolate the records with three letters at the beginning from the records with 7 numbers or 1 character at the beginning and 6 numbers? -------------- Original message -------------- From: "Susan Harkins" > I'd create a new field for both by parsing just the six characters you need, > then join on that field. > > Susan H. > > Here is the rub. Most of the entries in the courses fields match because > they are 7 numbers or they both have the character+6 numbers combination. > There are approximately 1800 records that need to be matched with the 3/3 > combination. How do I isolate just those records that need to be matched > using the 3/3 combination? Here is an example: tblCourses: SPN1101, > SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is > understandable. I can send more examples if needed. Thanks. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ksklos at comcast.net Sun Dec 17 17:50:49 2006 From: ksklos at comcast.net (ksklos at comcast.net) Date: Sun, 17 Dec 2006 23:50:49 +0000 Subject: [AccessD] Complicated join Message-ID: <121720062350.25643.4585D7D90000BD660000642B22070206539C0104059C05@comcast.net> OK, Gustav. This is good once I isolate the records that have 3 characters at the beginning of the field from the others. Any idea how to do that? -------------- Original message -------------- From: "Gustav Brock" > Hi Susan > > For such cases I create a select query for each table which just returns all > records but with the modified key. > > Here, something like this: > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblCourses > > and > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblMajor > > Then you can join and filter etc. as you would for any other table using the > cleaned ID fields - except for updates, of course. > > /gustav > > > >>> ksklos at comcast.net 16-12-06 15:22 >>> > We are a SAS shop and it isn't very often because of what we do that I get the > chance to show Access's colors. However, the latest project has been great for > this. It is a perfect project where using a relational database has been > faster. However, I have run into a problem I hop someone can help me with. > First the data is in Excel. The two tables need to be matched by course number. > In one table (tblCourses) all the course numbers are 7 characters long. Some > are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth > character in the last instance indicates if the course is a lab (L), a > combination course (C) or a college level class (1-0). The other table > (tblMajors) came from a different office and has 7 characters also but the 4th > character does not always correspond to what is in tblCourses. This is not > critical as long as the first three and the laste 3 match. So I figured that I > would create a new field that had just the first 3 and the la! > st thre > e and join the tables on that field. Here is the rub. Most of the entries in > the courses fields match because they are 7 numbers or they both have the > character+6 numbers combination. There are approximately 1800 records that need > to be matched with the 3/3 combination. How do I isolate just those records > that need to be matched using the 3/3 combination? Here is an example: > tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I > hope this is understandable. I can send more examples if needed. Thanks. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Dec 17 18:07:21 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 17 Dec 2006 19:07:21 -0500 Subject: [AccessD] Complicated join In-Reply-To: <121720062348.22750.4585D74C000D6E42000058DE22070206539C0104059C05@comcast.net> Message-ID: <001e01c72238$7d9b2120$06b82ad1@SUSANONE> So, this isn't as simple as concatenating the first 3 characters and the last 3 characters? Susan H. That what I was thinking, Susan. But how do I isolate the records with three letters at the beginning from the records with 7 numbers or 1 character at the beginning and 6 numbers? From jwcolby at colbyconsulting.com Sun Dec 17 19:29:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 17 Dec 2006 20:29:34 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: Message-ID: <002501c72243$f9ceeeb0$657aa8c0@m6805> Yep. It has always acted as the DHCP Server. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Sunday, December 17, 2006 6:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] dhcp stuff Do you have the router set to NAT with DHCP enabled? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gordons2 at pacbell.net Sun Dec 17 19:46:14 2006 From: gordons2 at pacbell.net (gordons2) Date: Sun, 17 Dec 2006 17:46:14 -0800 Subject: [AccessD] Seasons Greatings Message-ID: <00a401c72246$4e407250$0200a8c0@Home1> Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com From jwcolby at colbyconsulting.com Sun Dec 17 20:13:28 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 17 Dec 2006 21:13:28 -0500 Subject: [AccessD] Seasons Greatings In-Reply-To: <00a401c72246$4e407250$0200a8c0@Home1> Message-ID: <002c01c7224a$1c23a1d0$657aa8c0@m6805> Well buddy, I thought we'd lost you. Seasons greetings back at ya. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gordons2 Sent: Sunday, December 17, 2006 8:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Seasons Greatings Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com From darrend at nimble.com.au Sun Dec 17 21:32:23 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 18 Dec 2006 14:32:23 +1100 Subject: [AccessD] A2000: Run from Command line Message-ID: <002b01c72255$2414b590$101b910a@DENZILLAP> Hi All >From a form - I am building a string that I want to 'send' to a command line then I want the string to 'execute' from that command line So - Building the string is no big deal and I have done that Once I have built the string though - how do I then get it to execute from a command line? EG Final String may look like this (It's running an in house Ruby Program BTW - but that all works fine - no issues) C:\cool_ruby_app.rb -t TA -a sqlserver -h CoolServer -d CooldB -u username -p PW_HERE -i 10075 If I open a command line (START|RUN|CMD) from the Root folder of the C:\ Drive and manually type the above line it all works cool and I get what I expect to get How do I just get it to the command line in the first place and then get it to run? Rather than type this line each time to produce what I want to produce - I want to set up a loop (that works too by the way) and output each line of the loop to a command line Make sense? Many thanks in advance DD From stuart at lexacorp.com.pg Sun Dec 17 22:30:14 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Dec 2006 14:30:14 +1000 Subject: [AccessD] A2000: Run from Command line In-Reply-To: <002b01c72255$2414b590$101b910a@DENZILLAP> References: <002b01c72255$2414b590$101b910a@DENZILLAP> Message-ID: <45861956.19735.2EEFED2@stuart.lexacorp.com.pg> On 18 Dec 2006 at 14:32, Darren DICK wrote: > Hi All > > >From a form - I am building a string that I want to 'send' to a command > >line > then I want the string to 'execute' from that command line > > So - Building the string is no big deal and I have done that > > Once I have built the string though - how do I then get it to execute from a > command line? > >From VBA Help: Shell Function Runs an executable program and returns a Variant (Double) representing the program's task ID if successful, otherwise it returns zero. Syntax Shell(pathname[,windowstyle]) The Shell function syntax has these named arguments: Part Description pathname Required; Variant (String). Name of the program to execute and any required arguments or command-line switches; may include directory or folder and drive. On the Macintosh, you can use the MacID function to specify an application's signature instead of its name. The following example uses the signature for Microsoft Word: Shell MacID("MSWD") windowstyle Optional. Variant (Integer) corresponding to the style of the window in which the program is to be run. If windowstyle is omitted, the program is started minimized with focus. On the Macintosh (System 7.0 or later), windowstyle only determines whether or not the application gets the focus when it is run. The windowstyle named argument has these values: Constant Value Description vbHide 0 Window is hidden and focus is passed to the hidden window. The vbHide constant is not applicable on Macintosh platforms. vbNormalFocus 1 Window has focus and is restored to its original size and position. vbMinimizedFocus 2 Window is displayed as an icon with focus. vbMaximizedFocus 3 Window is maximized with focus. vbNormalNoFocus 4 Window is restored to its most recent size and position. The currently active window remains active. vbMinimizedNoFocus 6 Window is displayed as an icon. The currently active window remains active. Remarks If the Shell function successfully executes the named file, it returns the task ID of the started program. The task ID is a unique number that identifies the running program. If the Shell function can't start the named program, an error occurs. On the Macintosh, vbNormalFocus, vbMinimizedFocus, and vbMaximizedFocus all place the application in the foreground; vbHide, vbNoFocus, vbMinimizeFocus all place the application in the background. Note By default, the Shell function runs other programs asynchronously. This means that a program started with Shell might not finish executing before the statements following the Shell function are executed. -- Stuart From Gustav at cactus.dk Mon Dec 18 02:18:44 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Dec 2006 09:18:44 +0100 Subject: [AccessD] Complicated join Message-ID: Hi Susan That could be done this way: SELECT Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, * FROM tblCourses WHERE NOT IsNumeric(Left(CourseNo, 3)) /gustav >>> ksklos at comcast.net 18-12-2006 00:50 >>> OK, Gustav. This is good once I isolate the records that have 3 characters at the beginning of the field from the others. Any idea how to do that? -------------- Original message -------------- From: "Gustav Brock" > Hi Susan > > For such cases I create a select query for each table which just returns all > records but with the modified key. > > Here, something like this: > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblCourses > > and > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblMajor > > Then you can join and filter etc. as you would for any other table using the > cleaned ID fields - except for updates, of course. > > /gustav > > > >>> ksklos at comcast.net 16-12-06 15:22 >>> > We are a SAS shop and it isn't very often because of what we do that I get the > chance to show Access's colors. However, the latest project has been great for > this. It is a perfect project where using a relational database has been > faster. However, I have run into a problem I hop someone can help me with. > First the data is in Excel. The two tables need to be matched by course number. > In one table (tblCourses) all the course numbers are 7 characters long. Some > are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth > character in the last instance indicates if the course is a lab (L), a > combination course (C) or a college level class (1-0). The other table > (tblMajors) came from a different office and has 7 characters also but the 4th > character does not always correspond to what is in tblCourses. This is not > critical as long as the first three and the laste 3 match. So I figured that I > would create a new field that had just the first 3 and the la! > st thre > e and join the tables on that field. Here is the rub. Most of the entries in > the courses fields match because they are 7 numbers or they both have the > character+6 numbers combination. There are approximately 1800 records that need > to be matched with the 3/3 combination. How do I isolate just those records > that need to be matched using the 3/3 combination? Here is an example: > tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I > hope this is understandable. I can send more examples if needed. Thanks. > > -- > 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 Mon Dec 18 03:45:20 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Dec 2006 10:45:20 +0100 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Message-ID: Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /gustav From Erwin.Craps at ithelps.eu Mon Dec 18 06:14:41 2006 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Mon, 18 Dec 2006 13:14:41 +0100 Subject: [AccessD] slow database after update Mcafee Security Shield 11 Message-ID: <430E80531228BA4497C5EB1A7BA786B0023CF2@stekelbes.ithelps.local> One of my application at a customer site is running terrybly slow after an McAfee Security Shield 11 update. Closing a form (most used), that saves severall records when closing, freeses for +/ 60 seconds. Disabling the Virusscanner let the app running at normal speed again again, closing the form just takes 1 second instead of 60. I turned of "Scan all files" but this does not help, further more I don't seem to find a Excluded file type anymore in Mcafee, so I cant exclude MDB's. No luck finding a solution at McAfee KB but I see some other users complaining about slowness since this update. Does anybody has a solution for this, the scanner is now off, in the espectation McAfee will release an update soon. Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From jimdettman at verizon.net Mon Dec 18 07:27:03 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 18 Dec 2006 08:27:03 -0500 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 In-Reply-To: Message-ID: <014c01c722a8$356107b0$8abea8c0@XPS> Watch out for any mapped drives that may be unavailable. If they are, doing anything in an open dialog slows it down considerably. This one always sneaks up on me as I do a lot of remote work. I'll map a drive, forget about it, then latter try to do something and the drive is not available. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 18, 2006 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Dec 18 07:47:35 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 18 Dec 2006 08:47:35 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: <4584FB28.25390.1F3160F5@stuart.lexacorp.com.pg> Message-ID: <003c01c722ab$13cc3310$657aa8c0@m6805> Thanks Stuart for that link. My question really had to do with the router rather than the machine, although perhaps not. I do not know how any of this works, however my assumption was that if the router was set up to assign IP addresses (the DHCP Server) and it had a table of static assignments which included both NICs on that machine, then it would TELL each NIC what IP it had to use. I suppose if the router did indeed TELL both NICs what IP address to use, and it told them to use the addresses in the static table, and one of the NICs later came back and TOLD the router "I am using this address" then perhaps the router would log that under "dynamically assigned". Of course I haven't a clue how it really works, that is truly a WAG. In the end, everything is working. I was trying to get remote desktop working on several of my machines on my network. In order to do that, the router has to do port forwarding. In order to do that it has to know at all times what IP address a given machine will be at, and so I went into the router and created entries in the Static IP table for all the NICs on all the machines. In general that worked, except that on the lone machine that has two NICs, one of the NICs ended up having an IP address in the Dynamic IP address table in the Router, IN ADDITION TO the static address, and was in fact using the Dynamic address. In order to force that NIC to use the STATIC address assigned in the Router, I went into properties for that NIC and assigned it that STATIC address in the properties in Windows. Now the NIC does indeed use the Static address assigned by the router, if only because I ordered Windows to do so in the properties for that NIC in Windows. Having all of that straightened out, I then did the port forwarding and remote desktop magically started working again. As for following Microsoft's recommendations on this and disabling one of the NICs, I probably will, although if the IP addresses are Static and the port never fails it probably doesn't matter. NVIDIA is trying to lead the world into using dual NICs and having the ability to "prioritize" packets sent through the two NICs. Applications can be specifically assigned to use a specific NIC, and then if there is data to be sent on both NICs, one gets priority. The idea is simple, the reality is less so. If I could make it work, I could do things like use one of my machines to do Skye and upload data to my client. Assign Skye to the high priority channel and file transfers to the lower priority channel. Then Skye packets (going out) would have higher priority and people on the other end of a Skye call would hear a higher quality signal if I happened to be doing uploads at the same time. Whether I will ever really use that is another question, especially considering the resistance to such stuff from the OS vendor. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 17, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] dhcp stuff Oops, forgot the URL http://support.microsoft.com/kb/175767 From mikedorism at verizon.net Mon Dec 18 08:01:18 2006 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 18 Dec 2006 09:01:18 -0500 Subject: [AccessD] A2000: Run from Command line In-Reply-To: <002b01c72255$2414b590$101b910a@DENZILLAP> Message-ID: <000401c722ac$fdc9d250$2f01a8c0@Kermit> Use the Shell function to execute the string you built. Doris Manning Database Administrator Hargrove Inc. From Gustav at cactus.dk Mon Dec 18 08:04:36 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Dec 2006 15:04:36 +0100 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Message-ID: Hi Jim Thanks! That was it! I knew it was something simple. I had mapped drive L: to an external Linux box which has been detached for a while. Oh my. Now I can save my Visio drawings and Access databases without looking for new mail while the dialog browser catches up. Thanks again. /gustav >>> jimdettman at verizon.net 18-12-2006 14:27 >>> Watch out for any mapped drives that may be unavailable. If they are, doing anything in an open dialog slows it down considerably. This one always sneaks up on me as I do a lot of remote work. I'll map a drive, forget about it, then latter try to do something and the drive is not available. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 18, 2006 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /gustav From jwcolby at colbyconsulting.com Mon Dec 18 08:11:54 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 18 Dec 2006 09:11:54 -0500 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 In-Reply-To: <014c01c722a8$356107b0$8abea8c0@XPS> Message-ID: <004001c722ae$794a12e0$657aa8c0@m6805> Yep! I have batch files that set up the connection and map the drive. A matching batch file unmaps the drive and drops the connection. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, December 18, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Very slow browsing with open dialog in Access 2003 Watch out for any mapped drives that may be unavailable. If they are, doing anything in an open dialog slows it down considerably. This one always sneaks up on me as I do a lot of remote work. I'll map a drive, forget about it, then latter try to do something and the drive is not available. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 18, 2006 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /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 john at winhaven.net Mon Dec 18 09:21:33 2006 From: john at winhaven.net (John Bartow) Date: Mon, 18 Dec 2006 09:21:33 -0600 Subject: [AccessD] slow database after update Mcafee Security Shield 11 In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0023CF2@stekelbes.ithelps.local> Message-ID: <02cd01c722b8$34d06d30$1402a8c0@ScuzzPaq> Erwin, I just removed McAfee from a customer's PC last week because it was running so slowly. I suggest you do the same (at least temporarily and install CA's 30 day trial while waiting for an update. http://home3.ca.com/subscriptcenter/TrialReg.aspx?lang=en-US&pid=PA HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Monday, December 18, 2006 6:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] slow database after update Mcafee Security Shield 11 One of my application at a customer site is running terrybly slow after an McAfee Security Shield 11 update. Closing a form (most used), that saves severall records when closing, freeses for +/ 60 seconds. Disabling the Virusscanner let the app running at normal speed again again, closing the form just takes 1 second instead of 60. I turned of "Scan all files" but this does not help, further more I don't seem to find a Excluded file type anymore in Mcafee, so I cant exclude MDB's. No luck finding a solution at McAfee KB but I see some other users complaining about slowness since this update. Does anybody has a solution for this, the scanner is now off, in the espectation McAfee will release an update soon. Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.22/590 - Release Date: 12/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.22/590 - Release Date: 12/16/2006 From markamatte at hotmail.com Mon Dec 18 10:32:51 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 18 Dec 2006 16:32:51 +0000 Subject: [AccessD] DBA wesite In-Reply-To: <02cd01c722b8$34d06d30$1402a8c0@ScuzzPaq> Message-ID: Hello All, I am trying to search the archives and I get the following error when I click search: "The page you are looking for cannot be displayed because the page address is incorrect. " I wasn't sure who to tell. Thanks, Mark A. Matte _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From EdTesiny at oasas.state.ny.us Mon Dec 18 10:45:41 2006 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 18 Dec 2006 11:45:41 -0500 Subject: [AccessD] DBA wesite Message-ID: Mark, Try this link http://databaseadvisors.com/pipermail/accessd/ Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: Monday, December 18, 2006 11:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DBA wesite > > Hello All, > > I am trying to search the archives and I get the following > error when I > click search: > > "The page you are looking for cannot be displayed because the > page address > is incorrect. " > > I wasn't sure who to tell. > > Thanks, > > Mark A. Matte > > _________________________________________________________________ > Visit MSN Holiday Challenge for your chance to win up to > $50,000 in Holiday > cash from MSN today! > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&loc ale=en-us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Mon Dec 18 10:46:50 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 18 Dec 2006 11:46:50 -0500 Subject: [AccessD] DBA wesite In-Reply-To: References: <02cd01c722b8$34d06d30$1402a8c0@ScuzzPaq> Message-ID: On 12/18/06, Mark A Matte wrote: > Hello All, > > I am trying to search the archives and I get the following error when I > click search: > > "The page you are looking for cannot be displayed because the page address > is incorrect. " > > I wasn't sure who to tell. Which archive were you searching? Drew's or DBAs? If it is DBAs and you are searching from http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but I'll let Jim know. I see what the problem is. If it's Drew's archive you are trying to search, then his have been off-line for a while. In the mean time, goto the actual archive http://databaseadvisors.com/pipermail/accessd/ and you can search from there. -- 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 Jim.Hale at FleetPride.com Mon Dec 18 10:49:47 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 18 Dec 2006 10:49:47 -0600 Subject: [AccessD] A2000: Run from Command line Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE17D@corp-es01.fleetpride.com> Here is an example of a function to create a cmd and batch file and execute them from inside Access. HTH Jim Hale Function Batfile(strfile As String, strUser As String) As Boolean Dim intFileno As Integer, strBatfile As String, strCmdfile As String Dim intFileno2 As Integer, varAns As Variant, varTime As Date strBatfile = "C:\glrunaje.bat" strCmdfile = "C:\glrunaje.cmd" On Error Resume Next Kill strBatfile Kill strCmdfile On Error GoTo PROC_ERR 'create bat file intFileno = FreeFile Open strBatfile For Output As intFileno Print #intFileno, "ftp -s:" & strCmdfile Close #intFileno 'create cmd file intFileno2 = FreeFile Open strCmdfile For Output As intFileno2 Print #intFileno2, "open FP825ppd" Print #intFileno2, "FTPUSxxx" Print #intFileno2, "FTP4SRP5" Print #intFileno2, "put " & strfile & " download/glupload." & strUser Print #intFileno2, "Quit" Close #intFileno2 If strfile = "" Or strUser = "" Then MsgBox "the Upload file name or User name is incorrect. The file was not uploaded" Batfile = False Else varAns = Shell(strBatfile) 'run bat file to load prn file to AS400 Batfile = True End If PROC_EXIT: Exit Function PROC_ERR: MsgBox Err.Description Batfile = False Resume PROC_EXIT End Function -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Sunday, December 17, 2006 10:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2000: Run from Command line On 18 Dec 2006 at 14:32, Darren DICK wrote: > Hi All > > >From a form - I am building a string that I want to 'send' to a command > >line > then I want the string to 'execute' from that command line > > So - Building the string is no big deal and I have done that > > Once I have built the string though - how do I then get it to execute from a > command line? > *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Mon Dec 18 11:10:21 2006 From: john at winhaven.net (John Bartow) Date: Mon, 18 Dec 2006 11:10:21 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq> Dear accessd at databaseadvisors.com, Isn?t access-d a great list? We?re the kind of community that actually works?we get the technical help we need free, and without the ego trappings that you?ll suffer from on other lists. I know that I find the list invaluable, and there are several others?industry leaders?that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book?s Acknowledgements section: ?Thanks? to the AccessD folks for all their great advice and help over the years. If someone on that list can?t solve your problem, it can?t be solved.? And she?s right. That has been my experience with the list for the last seven years. The list isn?t a miracle of internet magic though. It costs money to run the site and lists. So, I?ll be blunt, I?m asking for donations, both large and small so we can keep this great resource going. (Membership isn?t tied to donations. The AccessD community is free.) It?s a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you?re like me, that saves me money. And, just importantly, think of the times you?ve helped someone else. If you?d like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you?d rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you?d rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 From markamatte at hotmail.com Mon Dec 18 11:46:13 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 18 Dec 2006 17:46:13 +0000 Subject: [AccessD] DBA wesite In-Reply-To: Message-ID: Bryan, Its this one: >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. The Search button sends me to: http://www.databaseadvisors.com/mailman/mmsearch/accessd ...and this gives the error > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] DBA wesite >Date: Mon, 18 Dec 2006 11:46:50 -0500 > >On 12/18/06, Mark A Matte wrote: > > Hello All, > > > > I am trying to search the archives and I get the following error when I > > click search: > > > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " > > > > I wasn't sure who to tell. > >Which archive were you searching? Drew's or DBAs? > >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. > >If it's Drew's archive you are trying to search, then his have been >off-line for a while. > >In the mean time, goto the actual archive >http://databaseadvisors.com/pipermail/accessd/ and you can search from >there. > >-- >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!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it! http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=200601&tcode=wlmtagline From martyconnelly at shaw.ca Mon Dec 18 12:24:55 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 18 Dec 2006 10:24:55 -0800 Subject: [AccessD] A2000: Run from Command line In-Reply-To: <000401c722ac$fdc9d250$2f01a8c0@Kermit> References: <000401c722ac$fdc9d250$2f01a8c0@Kermit> Message-ID: <4586DCF7.1020807@shaw.ca> Don't forget to put quotes around path names if it has spaces in the name strShell =" "Shell ""c:\windows\notepad.exe""" Doris Manning wrote: >Use the Shell function to execute the string you built. > >Doris Manning >Database Administrator >Hargrove Inc. > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Mon Dec 18 12:37:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 18 Dec 2006 13:37:25 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq> Message-ID: <005801c722d3$90bce1d0$657aa8c0@m6805> I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Dec 18 12:50:31 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 18 Dec 2006 18:50:31 -0000 Subject: [AccessD] Database Advisors lists References: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: I will arrange to have a percentage of the book royalities as a chapter contains code from AccessD Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Mon 18/12/2006 18:37 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Dec 18 13:21:35 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 18 Dec 2006 14:21:35 -0500 Subject: [AccessD] Database Advisors lists References: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: <00bc01c722d9$bccc1f10$0302a8c0@default> This is an excellent idea. Being listed on Access-D / DatabaseAdvisors is not only an honor, it's a smart investment in advertising. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, December 18, 2006 1:37 PM Subject: Re: [AccessD] Database Advisors lists >I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I can > afford $120 a year to support Database Advisors, and I certainly receive > far > more than that in benefits each year, just in emergency answers to > questions > I need answered "right now". I have been a member of this list since > summer > of 1997 and I can say without hesitation I would not be where I am today > without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run > the > site and lists. So, I'll be blunt, I'm asking for donations, both large > and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, > that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com > for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face > for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database > Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 Dec 18 14:14:53 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 18 Dec 2006 12:14:53 -0800 Subject: [AccessD] dhcp stuff In-Reply-To: <003c01c722ab$13cc3310$657aa8c0@m6805> Message-ID: <0JAH0093ZK4IVM20@l-daemon> Just a quick note... without reading through all the text and considering that this issue may have already been commented on: If the server has its own DNS/DHCP setup then the Router's auto-assignment feature must be turned off. (Discovered that the hard way.) HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 5:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dhcp stuff Thanks Stuart for that link. My question really had to do with the router rather than the machine, although perhaps not. I do not know how any of this works, however my assumption was that if the router was set up to assign IP addresses (the DHCP Server) and it had a table of static assignments which included both NICs on that machine, then it would TELL each NIC what IP it had to use. I suppose if the router did indeed TELL both NICs what IP address to use, and it told them to use the addresses in the static table, and one of the NICs later came back and TOLD the router "I am using this address" then perhaps the router would log that under "dynamically assigned". Of course I haven't a clue how it really works, that is truly a WAG. In the end, everything is working. I was trying to get remote desktop working on several of my machines on my network. In order to do that, the router has to do port forwarding. In order to do that it has to know at all times what IP address a given machine will be at, and so I went into the router and created entries in the Static IP table for all the NICs on all the machines. In general that worked, except that on the lone machine that has two NICs, one of the NICs ended up having an IP address in the Dynamic IP address table in the Router, IN ADDITION TO the static address, and was in fact using the Dynamic address. In order to force that NIC to use the STATIC address assigned in the Router, I went into properties for that NIC and assigned it that STATIC address in the properties in Windows. Now the NIC does indeed use the Static address assigned by the router, if only because I ordered Windows to do so in the properties for that NIC in Windows. Having all of that straightened out, I then did the port forwarding and remote desktop magically started working again. As for following Microsoft's recommendations on this and disabling one of the NICs, I probably will, although if the IP addresses are Static and the port never fails it probably doesn't matter. NVIDIA is trying to lead the world into using dual NICs and having the ability to "prioritize" packets sent through the two NICs. Applications can be specifically assigned to use a specific NIC, and then if there is data to be sent on both NICs, one gets priority. The idea is simple, the reality is less so. If I could make it work, I could do things like use one of my machines to do Skye and upload data to my client. Assign Skye to the high priority channel and file transfers to the lower priority channel. Then Skye packets (going out) would have higher priority and people on the other end of a Skye call would hear a higher quality signal if I happened to be doing uploads at the same time. Whether I will ever really use that is another question, especially considering the resistance to such stuff from the OS vendor. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 17, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] dhcp stuff Oops, forgot the URL http://support.microsoft.com/kb/175767 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 18 14:18:19 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 18 Dec 2006 12:18:19 -0800 Subject: [AccessD] DBA wesite In-Reply-To: Message-ID: <0JAH002Y3KA9HP20@l-daemon> Hi Mark: It has been fixed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, December 18, 2006 9:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DBA wesite Bryan, Its this one: >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. The Search button sends me to: http://www.databaseadvisors.com/mailman/mmsearch/accessd ...and this gives the error > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] DBA wesite >Date: Mon, 18 Dec 2006 11:46:50 -0500 > >On 12/18/06, Mark A Matte wrote: > > Hello All, > > > > I am trying to search the archives and I get the following error when I > > click search: > > > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " > > > > I wasn't sure who to tell. > >Which archive were you searching? Drew's or DBAs? > >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. > >If it's Drew's archive you are trying to search, then his have been >off-line for a while. > >In the mean time, goto the actual archive >http://databaseadvisors.com/pipermail/accessd/ and you can search from >there. > >-- >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!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it! http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=200601&tc ode=wlmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Dec 18 14:24:31 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 18 Dec 2006 14:24:31 -0600 Subject: [AccessD] Complicated join Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160B3E3@marlow_main2.marlow.ii-vi.net> You could do this with a subquery. I just posted an example of how to do this a few days ago. Should be in the archives. Use the subqueries in the WHERE clause to create your 'join'. Drew -----Original Message----- From: ksklos at comcast.net [mailto:ksklos at comcast.net] Sent: Saturday, December 16, 2006 8:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Complicated join We are a SAS shop and it isn't very often because of what we do that I get the chance to show Access's colors. However, the latest project has been great for this. It is a perfect project where using a relational database has been faster. However, I have run into a problem I hop someone can help me with. First the data is in Excel. The two tables need to be matched by course number. In one table (tblCourses) all the course numbers are 7 characters long. Some are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth character in the last instance indicates if the course is a lab (L), a combination course (C) or a college level class (1-0). The other table (tblMajors) came from a different office and has 7 characters also but the 4th character does not always correspond to what is in tblCourses. This is not critical as long as the first three and the laste 3 match. So I figured that I would create a new field that had just the first 3 and the la! st thre e and join the tables on that field. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gordons2 at pacbell.net Mon Dec 18 17:39:01 2006 From: gordons2 at pacbell.net (Gordon Stubbs) Date: Mon, 18 Dec 2006 15:39:01 -0800 (PST) Subject: [AccessD] Seasons Greatings In-Reply-To: <002c01c7224a$1c23a1d0$657aa8c0@m6805> Message-ID: <139530.79896.qm@web81415.mail.mud.yahoo.com> Havent lost me, just been extreemly busy. I've hardly had a chance to even look at email. I still glance at the AccessD email whenever possible. JWColby wrote: Well buddy, I thought we'd lost you. Seasons greetings back at ya. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gordons2 Sent: Sunday, December 17, 2006 8:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Seasons Greatings Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Dec 19 01:19:55 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 18 Dec 2006 23:19:55 -0800 Subject: [AccessD] Info Digital Signatures In-Reply-To: <0JAH0093ZK4IVM20@l-daemon> References: <0JAH0093ZK4IVM20@l-daemon> Message-ID: <4587929B.10805@shaw.ca> Maybe this will help with previous questions. Here are 3 free chapters from a e-book on digital signatures, requires registration. Explains certificate caches and hashing techniques etc. http://www.windowsitpro.com/ebooks/index.cfm?fuseaction=ebook&ebid=df37ad7a-df1f-4739-85f9-f1b7cd258749&code=1220emailannc Understanding and Leveraging Code Signing Technologies Author: Jan De Clercq This explains the difference between dll signing and MS VBA code signing techniques for digital certificates. See starting around page 29 Chapter 2: Microsoft code signing for Macros -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Tue Dec 19 04:22:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Dec 2006 11:22:03 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi Drew Thanks for this example, works great! A note related to internationalization. This line needs a mod like this: strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & Str(intValue) Always use Str() to convert decimals to SQL strings and the like. /gustav >>> DWUTKA at marlow.com 13-12-2006 19:46 >>> I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Tue Dec 19 04:40:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Dec 2006 11:40:03 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John That's nice! It also works in Access 97. I like your idea with the collection. As for the updating of this, you could use Time or even Timer. That would allow you to use the function in a query with a single update only while you in every other case would have an update for each call. Much appreciated. /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> Gustav, Thanks for pointing me to the XML feed. The following function will load the url http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml into an XML document, then burrow down into the xml document until it reaches the cube node, then prints the attributes of that node (country code and rate) and finally, returns the rate for the country passed in. I make no claim that this is the most efficient XML parsing code in the world as I did the whole thing in a few hours, never having seen XML code before, but it does work. Copy and paste the following code into a module and save as basXMLRates. WATCH FOR LINE WRAPS IN THE CODE AND FIX THEM. Then from the debug window type: ?GetCurr() You will get back the USD rate relative to the Euro. Obviously you can change the default to some other country Type in ?GetCurr(,true) to print all the rates in the debug window as well as the selected rate at the end Type in ?GetCurr("JPY") to get the Japanese yen without the debug print. To get the USD expressed in YEN type in ?getcurr("usd") / getcurr("JPY") Etc. '********************* 'Start here '********************* Option Compare Database Option Explicit ' 'This function uses static collections to hold the country codes and their associated rates 'I do this so that if the function is called more than once in a given day, the second and 'subsequent times don't have to go to the web to get the rates ' 'Obviously I am not handling rate updates at a given time of day. That is up to you. ' Function GetCurr(Optional strCountryCode As String = "USD", Optional blnPrint As Boolean = False) As Currency On Error GoTo Err_GetCurr Static colRates As Collection Static colCountryCodes As Collection Static dte As Date Dim intCnt As Integer Dim lstrCountryCode As String Dim lcurRate As Currency If dte <> Date Then 'Check to see if this function was run today' dte = Date Set colRates = New Collection 'If not then initialize the collections again Set colCountryCodes = New Collection TranslateXMLCurr colCountryCodes, colRates 'and go get the rates for the day End If ' 'If a debug.print was requested ' If blnPrint Then 'iterate through the country code cilletion getting the country codes For intCnt = 1 To colCountryCodes.Count lstrCountryCode = colCountryCodes.Item(intCnt) lcurRate = colRates.Item(intCnt) 'use that to get the rate for that country Debug.Print lstrCountryCode & " : " & lcurRate 'print both in a string to the debug window Next intCnt End If On Error Resume Next 'If the country code passed in is bogus, ignore the error ' 'And pass back the requested rate ' GetCurr = colRates(strCountryCode) Exit_GetCurr: On Error Resume Next Exit Function Err_GetCurr: MsgBox Err.Description, , "Error in Function basXML.GetCurr" Resume Exit_GetCurr Resume 0 '.FOR TROUBLESHOOTING End Function ' 'This function looks up rates off of a web site and loads the country codes and rates into two collections ' Function TranslateXMLCurr(colCountryCodes As Collection, colRates As Collection) As Currency On Error GoTo Err_TranslateXMLCurr Dim fSuccess As Boolean Dim oDoc As MSXML2.DOMDocument Dim oRoot As MSXML2.IXMLDOMNode Dim oCube As MSXML2.IXMLDOMNode Dim oChild As MSXML2.IXMLDOMNode Dim oChildren As MSXML2.IXMLDOMNodeList Dim oAttributes As MSXML2.IXMLDOMNamedNodeMap Dim lstrCountryCode As String Dim lcurRate As Currency Set oDoc = New MSXML2.DOMDocument oDoc.async = False oDoc.validateOnParse = False fSuccess = oDoc.Load("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") ' ' If anything went wrong, quit now. If Not fSuccess Then GoTo Exit_TranslateXMLCurr End If Set oRoot = oDoc.documentElement Set oCube = oRoot.ChildNodes(2).ChildNodes(0) Set oChildren = oCube.ChildNodes For Each oChild In oChildren Set oAttributes = oChild.Attributes With oAttributes lstrCountryCode = .Item(0).nodeTypedValue 'Get the country code lcurRate = .Item(1).nodeTypedValue 'Get the current rate colCountryCodes.Add lstrCountryCode colRates.Add lcurRate, lstrCountryCode End With Next oChild Exit_TranslateXMLCurr: Exit Function Err_TranslateXMLCurr: MsgBox Err.Description, , "Error in Function basXML.TranslateXMLCurr" Resume Exit_TranslateXMLCurr Resume 0 '.FOR TROUBLESHOOTING End Function '********************* 'End here '********************* Prints in the following manner: USD : 1.3265 JPY : 155.34 CYP : 0.5781 CZK : 27.880 DKK : 7.4534 EEK : 15.6466 GBP : 0.67280 HUF : 253.48 LTL : 3.4528 LVL : 0.6973 MTL : 0.4293 PLN : 3.8008 SEK : 9.0407 SIT : 239.68 SKK : 34.775 CHF : 1.5951 ISK : 91.76 NOK : 8.1520 BGN : 1.9558 HRK : 7.3579 RON : 3.4247 RUB : 34.7980 TRY : 1.8919 AUD : 1.6811 CAD : 1.5273 CNY : 10.3819 HKD : 10.3094 IDR : 12031.36 KRW : 1223.76 MYR : 4.7018 NZD : 1.9172 PHP : 65.536 SGD : 2.0421 THB : 46.783 ZAR : 9.2630 Enjoy. Perhaps we could put this code up on the web site as an extreme example of bad programming practice in general as well as an intro of how to use the XML object, and a currency converter (at least for mostly euro currencies). I found it fascinating that given a XML feed, I could just suck it in and go. Of course the "going" was a tough slog never having seen the xml object before... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav From Gustav at cactus.dk Tue Dec 19 04:42:11 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Dec 2006 11:42:11 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi Marty Excellent! Thanks Marty. All you need to do is a copy/paste, add the reference to MS XML 4, and remove this line (myrs is not used): ' Dim myrs As ADODB.Recordset It is very fast too, and it even works in Access 97: USD rate 1.3095 JPY rate 154.34 CYP rate 0.5781 CZK rate 27.700 DKK rate 7.4537 EEK rate 15.6466 GBP rate 0.67155 HUF rate 252.93 LTL rate 3.4528 LVL rate 0.6974 MTL rate 0.4293 PLN rate 3.7968 SEK rate 9.0555 SIT rate 239.66 SKK rate 34.839 CHF rate 1.5993 ISK rate 90.06 NOK rate 8.1410 BGN rate 1.9558 HRK rate 7.3655 RON rate 3.4185 RUB rate 34.5660 TRY rate 1.8663 AUD rate 1.6779 CAD rate 1.5114 CNY rate 10.2406 HKD rate 10.1800 IDR rate 11899.43 KRW rate 1214.10 MYR rate 4.6553 NZD rate 1.8997 PHP rate 64.604 SGD rate 2.0230 THB rate 47.022 ZAR rate 9.1727 /gustav >>> martyconnelly at shaw.ca 14-12-2006 21:23 >>> Here is some code to read that xml ECB rate file Note the xpath syntax is not perfect as the xml file contains namespaces. This means you would qualify the element name via the namespace [germes:Envelope] I haven't done a lot of work with multiple namespaces so I can't figure out the direct method of the XPath statement either that or something is odd with the file. Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US dollar Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Gustav Brock wrote: >Hi John > >Great! I have been looking for something like this several times without having the time to explore it. >I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). > >One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> >>>> >>>> >Gustav, > >Thanks for pointing me to the XML feed. > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 19 06:47:30 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 07:47:30 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <003401c7236b$da09d9e0$657aa8c0@m6805> I was particularly intrigued by the fact that the XML object could just load the xml file right off the internet without having to go through explorer. Things are getting better. I look for the day that all tabular data is available this way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 19, 2006 5:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi Marty Excellent! Thanks Marty. All you need to do is a copy/paste, add the reference to MS XML 4, and remove this line (myrs is not used): ' Dim myrs As ADODB.Recordset It is very fast too, and it even works in Access 97: USD rate 1.3095 JPY rate 154.34 CYP rate 0.5781 CZK rate 27.700 DKK rate 7.4537 EEK rate 15.6466 GBP rate 0.67155 HUF rate 252.93 LTL rate 3.4528 LVL rate 0.6974 MTL rate 0.4293 PLN rate 3.7968 SEK rate 9.0555 SIT rate 239.66 SKK rate 34.839 CHF rate 1.5993 ISK rate 90.06 NOK rate 8.1410 BGN rate 1.9558 HRK rate 7.3655 RON rate 3.4185 RUB rate 34.5660 TRY rate 1.8663 AUD rate 1.6779 CAD rate 1.5114 CNY rate 10.2406 HKD rate 10.1800 IDR rate 11899.43 KRW rate 1214.10 MYR rate 4.6553 NZD rate 1.8997 PHP rate 64.604 SGD rate 2.0230 THB rate 47.022 ZAR rate 9.1727 /gustav >>> martyconnelly at shaw.ca 14-12-2006 21:23 >>> Here is some code to read that xml ECB rate file Note the xpath syntax is not perfect as the xml file contains namespaces. This means you would qualify the element name via the namespace [germes:Envelope] I haven't done a lot of work with multiple namespaces so I can't figure out the direct method of the XPath statement either that or something is odd with the file. Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US dollar Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Gustav Brock wrote: >Hi John > >Great! I have been looking for something like this several times without having the time to explore it. >I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). > >One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> >>>> >>>> >Gustav, > >Thanks for pointing me to the XML feed. > > > > -- Marty Connelly Victoria, B.C. Canada -- 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 colbyconsulting.com Tue Dec 19 06:49:16 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 07:49:16 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <003501c7236c$182ad990$657aa8c0@m6805> This one is particularly valuable to me as it demonstrates how to pass the parameters to the web page and get the value back. I often have a need for this technique. Nice. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 19, 2006 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi Drew Thanks for this example, works great! A note related to internationalization. This line needs a mod like this: strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & Str(intValue) Always use Str() to convert decimals to SQL strings and the like. /gustav >>> DWUTKA at marlow.com 13-12-2006 19:46 >>> I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 19 06:51:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 07:51:14 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <003601c7236c$5f080630$657aa8c0@m6805> Gustav, I tried to do this using a custom variable type (user defined type) which I then filled with country code and rate, and store the custom type in the collection. Unfortunately I got a runtime error, something about the custom type having to be declared public in a public module. I think that it had to be out in a DIFFERENT module. At any rate I just said screw it, get it done. So I ended up with two collections instead of one. Things never go quite as planned and I needed to get on with real (paying) work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 19, 2006 5:40 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John That's nice! It also works in Access 97. I like your idea with the collection. As for the updating of this, you could use Time or even Timer. That would allow you to use the function in a query with a single update only while you in every other case would have an update for each call. Much appreciated. /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> Gustav, Thanks for pointing me to the XML feed. The following function will load the url http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml into an XML document, then burrow down into the xml document until it reaches the cube node, then prints the attributes of that node (country code and rate) and finally, returns the rate for the country passed in. I make no claim that this is the most efficient XML parsing code in the world as I did the whole thing in a few hours, never having seen XML code before, but it does work. Copy and paste the following code into a module and save as basXMLRates. WATCH FOR LINE WRAPS IN THE CODE AND FIX THEM. Then from the debug window type: ?GetCurr() You will get back the USD rate relative to the Euro. Obviously you can change the default to some other country Type in ?GetCurr(,true) to print all the rates in the debug window as well as the selected rate at the end Type in ?GetCurr("JPY") to get the Japanese yen without the debug print. To get the USD expressed in YEN type in ?getcurr("usd") / getcurr("JPY") Etc. '********************* 'Start here '********************* Option Compare Database Option Explicit ' 'This function uses static collections to hold the country codes and their associated rates 'I do this so that if the function is called more than once in a given day, the second and 'subsequent times don't have to go to the web to get the rates ' 'Obviously I am not handling rate updates at a given time of day. That is up to you. ' Function GetCurr(Optional strCountryCode As String = "USD", Optional blnPrint As Boolean = False) As Currency On Error GoTo Err_GetCurr Static colRates As Collection Static colCountryCodes As Collection Static dte As Date Dim intCnt As Integer Dim lstrCountryCode As String Dim lcurRate As Currency If dte <> Date Then 'Check to see if this function was run today' dte = Date Set colRates = New Collection 'If not then initialize the collections again Set colCountryCodes = New Collection TranslateXMLCurr colCountryCodes, colRates 'and go get the rates for the day End If ' 'If a debug.print was requested ' If blnPrint Then 'iterate through the country code cilletion getting the country codes For intCnt = 1 To colCountryCodes.Count lstrCountryCode = colCountryCodes.Item(intCnt) lcurRate = colRates.Item(intCnt) 'use that to get the rate for that country Debug.Print lstrCountryCode & " : " & lcurRate 'print both in a string to the debug window Next intCnt End If On Error Resume Next 'If the country code passed in is bogus, ignore the error ' 'And pass back the requested rate ' GetCurr = colRates(strCountryCode) Exit_GetCurr: On Error Resume Next Exit Function Err_GetCurr: MsgBox Err.Description, , "Error in Function basXML.GetCurr" Resume Exit_GetCurr Resume 0 '.FOR TROUBLESHOOTING End Function ' 'This function looks up rates off of a web site and loads the country codes and rates into two collections ' Function TranslateXMLCurr(colCountryCodes As Collection, colRates As Collection) As Currency On Error GoTo Err_TranslateXMLCurr Dim fSuccess As Boolean Dim oDoc As MSXML2.DOMDocument Dim oRoot As MSXML2.IXMLDOMNode Dim oCube As MSXML2.IXMLDOMNode Dim oChild As MSXML2.IXMLDOMNode Dim oChildren As MSXML2.IXMLDOMNodeList Dim oAttributes As MSXML2.IXMLDOMNamedNodeMap Dim lstrCountryCode As String Dim lcurRate As Currency Set oDoc = New MSXML2.DOMDocument oDoc.async = False oDoc.validateOnParse = False fSuccess = oDoc.Load("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") ' ' If anything went wrong, quit now. If Not fSuccess Then GoTo Exit_TranslateXMLCurr End If Set oRoot = oDoc.documentElement Set oCube = oRoot.ChildNodes(2).ChildNodes(0) Set oChildren = oCube.ChildNodes For Each oChild In oChildren Set oAttributes = oChild.Attributes With oAttributes lstrCountryCode = .Item(0).nodeTypedValue 'Get the country code lcurRate = .Item(1).nodeTypedValue 'Get the current rate colCountryCodes.Add lstrCountryCode colRates.Add lcurRate, lstrCountryCode End With Next oChild Exit_TranslateXMLCurr: Exit Function Err_TranslateXMLCurr: MsgBox Err.Description, , "Error in Function basXML.TranslateXMLCurr" Resume Exit_TranslateXMLCurr Resume 0 '.FOR TROUBLESHOOTING End Function '********************* 'End here '********************* Prints in the following manner: USD : 1.3265 JPY : 155.34 CYP : 0.5781 CZK : 27.880 DKK : 7.4534 EEK : 15.6466 GBP : 0.67280 HUF : 253.48 LTL : 3.4528 LVL : 0.6973 MTL : 0.4293 PLN : 3.8008 SEK : 9.0407 SIT : 239.68 SKK : 34.775 CHF : 1.5951 ISK : 91.76 NOK : 8.1520 BGN : 1.9558 HRK : 7.3579 RON : 3.4247 RUB : 34.7980 TRY : 1.8919 AUD : 1.6811 CAD : 1.5273 CNY : 10.3819 HKD : 10.3094 IDR : 12031.36 KRW : 1223.76 MYR : 4.7018 NZD : 1.9172 PHP : 65.536 SGD : 2.0421 THB : 46.783 ZAR : 9.2630 Enjoy. Perhaps we could put this code up on the web site as an extreme example of bad programming practice in general as well as an intro of how to use the XML object, and a currency converter (at least for mostly euro currencies). I found it fascinating that given a XML feed, I could just suck it in and go. Of course the "going" was a tough slog never having seen the xml object before... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 19 07:41:29 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 08:41:29 -0500 Subject: [AccessD] Seasons Greatings In-Reply-To: <00a401c72246$4e407250$0200a8c0@Home1> Message-ID: Same to you!! :)))))))))))) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gordons2 Sent: Sunday, December 17, 2006 8:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Seasons Greatings Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com From jwcolby at colbyconsulting.com Tue Dec 19 08:22:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 09:22:34 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: <0JAH0093ZK4IVM20@l-daemon> Message-ID: <003c01c72379$20eb3950$657aa8c0@m6805> Jim, I do not have any computer being the dhcp server simply because I did not want to depend on a machine for that function, it might be down for repair etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, December 18, 2006 3:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dhcp stuff Just a quick note... without reading through all the text and considering that this issue may have already been commented on: If the server has its own DNS/DHCP setup then the Router's auto-assignment feature must be turned off. (Discovered that the hard way.) HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 5:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dhcp stuff Thanks Stuart for that link. My question really had to do with the router rather than the machine, although perhaps not. I do not know how any of this works, however my assumption was that if the router was set up to assign IP addresses (the DHCP Server) and it had a table of static assignments which included both NICs on that machine, then it would TELL each NIC what IP it had to use. I suppose if the router did indeed TELL both NICs what IP address to use, and it told them to use the addresses in the static table, and one of the NICs later came back and TOLD the router "I am using this address" then perhaps the router would log that under "dynamically assigned". Of course I haven't a clue how it really works, that is truly a WAG. In the end, everything is working. I was trying to get remote desktop working on several of my machines on my network. In order to do that, the router has to do port forwarding. In order to do that it has to know at all times what IP address a given machine will be at, and so I went into the router and created entries in the Static IP table for all the NICs on all the machines. In general that worked, except that on the lone machine that has two NICs, one of the NICs ended up having an IP address in the Dynamic IP address table in the Router, IN ADDITION TO the static address, and was in fact using the Dynamic address. In order to force that NIC to use the STATIC address assigned in the Router, I went into properties for that NIC and assigned it that STATIC address in the properties in Windows. Now the NIC does indeed use the Static address assigned by the router, if only because I ordered Windows to do so in the properties for that NIC in Windows. Having all of that straightened out, I then did the port forwarding and remote desktop magically started working again. As for following Microsoft's recommendations on this and disabling one of the NICs, I probably will, although if the IP addresses are Static and the port never fails it probably doesn't matter. NVIDIA is trying to lead the world into using dual NICs and having the ability to "prioritize" packets sent through the two NICs. Applications can be specifically assigned to use a specific NIC, and then if there is data to be sent on both NICs, one gets priority. The idea is simple, the reality is less so. If I could make it work, I could do things like use one of my machines to do Skye and upload data to my client. Assign Skye to the high priority channel and file transfers to the lower priority channel. Then Skye packets (going out) would have higher priority and people on the other end of a Skye call would hear a higher quality signal if I happened to be doing uploads at the same time. Whether I will ever really use that is another question, especially considering the resistance to such stuff from the OS vendor. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 17, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] dhcp stuff Oops, forgot the URL http://support.microsoft.com/kb/175767 -- 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 Tue Dec 19 10:54:16 2006 From: john at winhaven.net (John Bartow) Date: Tue, 19 Dec 2006 10:54:16 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From andy at minstersystems.co.uk Tue Dec 19 11:57:14 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Dec 2006 17:57:14 -0000 Subject: [AccessD] Database Advisors lists In-Reply-To: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <010401c72397$1d687f90$16648552@minster33c3r25> Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Tue Dec 19 12:08:37 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 13:08:37 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <001b01c72398$b5840dc0$657aa8c0@m6805> ROTFL. Good job. I am setting up paypal now to my new bank accounts here in North Carolina and then I will be paying up. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Dec 19 12:28:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 10:28:14 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: I see you, John. Now I just have to figure out how to remit it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Dec 19 12:50:41 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 19 Dec 2006 18:50:41 +0000 Subject: [AccessD] Database Advisors lists Message-ID: Hello All, You know I love this place...but mine will have to wait for my tax return(should have mentioned before I did my holiday shopping...lol). I'll do the Corporate...even though I'm not a Company or Corporation. The $$ are far less valuable than the help, advice, and even guidance I've received from this list over the years. So I'm on the delayed list...but on the list none the less!! Thanks, Mark A. Matte >From: "Andy Lacey" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Database Advisors lists >Date: Tue, 19 Dec 2006 17:57:14 -0000 > >Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >there - time to cough up. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: 19 December 2006 16:54 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > > > JC, > > I accept your challenge. And I up the bid to a double John > > dare for the rest of the consultants. > > > > John R. Bartow > > WinHaven Consulting > > www.winhaven.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 12:37 PM > > > > I challenge all of the other consultants on this list to join > > me in Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big > > company but I can afford $120 a year to support Database > > Advisors, and I certainly receive far more than that in > > benefits each year, just in emergency answers to questions I > > need answered "right now". I have been a member of this list > > since summer of 1997 and I can say without hesitation I would > > not be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > > Date: 12/19/2006 > > > > > > -- > > 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 _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From mwp.reid at qub.ac.uk Tue Dec 19 12:51:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 18:51:25 -0000 Subject: [AccessD] Unbound forms References: Message-ID: For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Kwilliamson at RTKL.com Tue Dec 19 13:01:28 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 14:01:28 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: You can send checks, if you prefer. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I see you, John. Now I just have to figure out how to remit it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://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 Kwilliamson at RTKL.com Tue Dec 19 13:02:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 14:02:15 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: Same here. It will have to wait until after the home purchase, in early January. But on the list, as well. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, December 19, 2006 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Hello All, You know I love this place...but mine will have to wait for my tax return(should have mentioned before I did my holiday shopping...lol). I'll do the Corporate...even though I'm not a Company or Corporation. The $$ are far less valuable than the help, advice, and even guidance I've received from this list over the years. So I'm on the delayed list...but on the list none the less!! Thanks, Mark A. Matte >From: "Andy Lacey" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Database Advisors lists >Date: Tue, 19 Dec 2006 17:57:14 -0000 > >Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >there - time to cough up. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: 19 December 2006 16:54 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > > > JC, > > I accept your challenge. And I up the bid to a double John > > dare for the rest of the consultants. > > > > John R. Bartow > > WinHaven Consulting > > www.winhaven.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 12:37 PM > > > > I challenge all of the other consultants on this list to join > > me in Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big > > company but I can afford $120 a year to support Database > > Advisors, and I certainly receive far more than that in > > benefits each year, just in emergency answers to questions I > > need answered "right now". I have been a member of this list > > since summer of 1997 and I can say without hesitation I would > > not be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > > Date: 12/19/2006 > > > > > > -- > > 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 _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Dec 19 13:13:49 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 19 Dec 2006 11:13:49 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <0JAJ007Q9BYOY0Q0@l-daemon> Hi Martin: I am not sure what you are asking but I will assume that it is just the easy part. First unlock all the fields, place focus on the first field, turn off the record movement options (or any other option that will allow movement off this record) and change the edit button to a Save button. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From cfoust at infostatsystems.com Tue Dec 19 13:35:46 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 11:35:46 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From cfoust at infostatsystems.com Tue Dec 19 13:36:29 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 11:36:29 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: No, that's all right. I used PayPal, I just had to follow the right link to get there. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 19, 2006 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists You can send checks, if you prefer. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I see you, John. Now I just have to figure out how to remit it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://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 bchacc at san.rr.com Tue Dec 19 13:47:11 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 19 Dec 2006 11:47:11 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <004601c723a6$7a10c090$6601a8c0@HAL9005> Martin: Do you still have a copy of Bar Tracks? Ben specified that kind of feature on the unbound forms - click edit to unlock all the fields. IIRC. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 1:45 PM From jwcolby at colbyconsulting.com Tue Dec 19 14:04:46 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 15:04:46 -0500 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <002601c723a9$017ccdb0$657aa8c0@m6805> ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Tue Dec 19 14:21:29 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 20:21:29 -0000 Subject: [AccessD] Unbound forms References: <002601c723a9$017ccdb0$657aa8c0@m6805> Message-ID: Have to finish the lessons at some point in the new year JC. (<: Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Tue 19/12/2006 20:04 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound forms ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 mwp.reid at qub.ac.uk Tue Dec 19 14:21:57 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 20:21:57 -0000 Subject: [AccessD] Unbound forms References: <002601c723a9$017ccdb0$657aa8c0@m6805> Message-ID: Oh happy to reuse an example John VBG Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Tue 19/12/2006 20:04 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound forms ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 askolits at ot.com Tue Dec 19 14:28:54 2006 From: askolits at ot.com (John Skolits) Date: Tue, 19 Dec 2006 15:28:54 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <010401c72397$1d687f90$16648552@minster33c3r25> Message-ID: <00c701c723ac$507e4cb0$800101df@officexp> OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 bchacc at san.rr.com Tue Dec 19 15:07:22 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 19 Dec 2006 13:07:22 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <00c701c723ac$507e4cb0$800101df@officexp> Message-ID: <001701c723b1$adcff8a0$6601a8c0@HAL9005> I accept your challenge JC and I accept the Bartow double-John-dare. $250 sent yesterday. Do I hear $300? Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, December 19, 2006 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 2006/12/18 ?U?? 01:45 From jwcolby at colbyconsulting.com Tue Dec 19 15:08:56 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 16:08:56 -0500 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <003201c723b1$e64d07e0$657aa8c0@m6805> Well, the only problem is that I do not normally do unbound unless there is a direct requirement. I think that Drew might have some examples though, or perhaps Charlotte. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Oh happy to reuse an example John VBG Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Tue 19/12/2006 20:04 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound forms ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte From mwp.reid at qub.ac.uk Tue Dec 19 15:07:09 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 21:07:09 -0000 Subject: [AccessD] Database Advisors lists References: <00c701c723ac$507e4cb0$800101df@officexp> Message-ID: Well we get 4% of whatever the book makes. Apress will do the paperwork. I have no idea how that will work. Is that enough?? So thanks to all who give permission re their code for the "Code you can Steal" chapter. Christmas etc so I cant make a cash donation myself at the moment but if the book does well the list should do OK I think. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of John Skolits Sent: Tue 19/12/2006 20:28 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com From jwcolby at colbyconsulting.com Tue Dec 19 15:10:12 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 16:10:12 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <001701c723b1$adcff8a0$6601a8c0@HAL9005> Message-ID: <003301c723b2$133f12c0$657aa8c0@m6805> Woaaa, good job! Thanks Rocky! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 19, 2006 4:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I accept your challenge JC and I accept the Bartow double-John-dare. $250 sent yesterday. Do I hear $300? Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, December 19, 2006 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John dare for > the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 2006/12/18 ?U?? 01:45 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Dec 19 15:15:18 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 19 Dec 2006 15:15:18 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Tue Dec 19 15:16:55 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 19 Dec 2006 15:16:55 -0600 Subject: [AccessD] Unbound forms Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FEF6@marlow_main2.marlow.ii-vi.net> More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From stuart at lexacorp.com.pg Tue Dec 19 15:20:18 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 07:20:18 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: References: <005801c722d3$90bce1d0$657aa8c0@m6805>, Message-ID: <45885792.26284.271F424@stuart.lexacorp.com.pg> Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a member of > this list since summer of 1997 and I can say without hesitation I would not > be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find the > list invaluable, and there are several others-industry leaders-that agree > with me. Two of our members, Susan Harkins and Martin Reid, published a Jet > SQL book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart From cfoust at infostatsystems.com Tue Dec 19 15:30:52 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 13:30:52 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: Why bother to lock fields on an unbound form? Does the Edit button do something special? If you must, just cycle through the controls and for that particular type of control, set its Locked property to true. Without using a separate class, you can still build collections of controls types and step through the collections setting the property to true or false. A quick and dirty alternative would be to put a transparent control over the form and use code to make it "visible" when you want the data controls unavailable. Not knowing what exactly you intend to demonstrate, I can't make really useful suggestions. I do have a few demos on Roger's Access site that use unbound forms, but I don't think any of them lock the controls. http://www.rogersaccesslibrary.com/OtherLibraries.asp#Foust,Charlotte Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From garykjos at gmail.com Tue Dec 19 15:30:58 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 19 Dec 2006 15:30:58 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> Message-ID: You will be e-mailed a receipt. GK On 12/19/06, Hale, Jim wrote: > If I can get a receipt I'm good to go $120. Keith? > Jim Hale > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Tuesday, December 19, 2006 2:29 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > OK, I did my part with $120.00. Been on and off the list since about the > fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Tuesday, December 19, 2006 12:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out > there - time to cough up. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: 19 December 2006 16:54 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > > > JC, > > I accept your challenge. And I up the bid to a double John > > dare for the rest of the consultants. > > > > John R. Bartow > > WinHaven Consulting > > www.winhaven.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 12:37 PM > > > > I challenge all of the other consultants on this list to join > > me in Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big > > company but I can afford $120 a year to support Database > > Advisors, and I certainly receive far more than that in > > benefits each year, just in emergency answers to questions I > > need answered "right now". I have been a member of this list > > since summer of 1997 and I can say without hesitation I would > > not be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > > Date: 12/19/2006 > > > > > > -- > > 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 > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > 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 cfoust at infostatsystems.com Tue Dec 19 15:38:57 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 13:38:57 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <45885792.26284.271F424@stuart.lexacorp.com.pg> Message-ID: Does that mean you never get bothered by PayPal phishing emails?? ;o} Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 1:20 PM To: Access Developers discussion and problem solving Cc: treasurer at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find > the list invaluable, and there are several others-industry > leaders-that agree with me. Two of our members, Susan Harkins and > Martin Reid, published a Jet SQL book together in 2002, and this is > what appears in the book's Acknowledgements section: "Thanks. to the > AccessD folks for all their great advice and help over the years. If > someone on that list can't solve your problem, it can't be solved." > And she's right. That has been my experience with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to > run the site and lists. So, I'll be blunt, I'm asking for donations, > both large and small so we can keep this great resource going. > (Membership isn't tied to donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you > find people, from all over the globe, prepared to help you solve your > technical problems? Have you ever had a thread save you time? If > you're like me, that saves me money. And, just importantly, think of > the times you've helped someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvi > so rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" > and click [Make a Donation]. If you'd rather send a check through > regular mail, please contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.c > om for mailing instructions. (Please include "donation" in the subject > line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type > face for one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type > face for one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadviso > rs .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 19 15:45:32 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 16:45:32 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> Message-ID: RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 19, 2006 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 19 15:47:44 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 16:47:44 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <45885792.26284.271F424@stuart.lexacorp.com.pg> Message-ID: Personal check is fine. Simply mail. That way, we don't get charged the transaction fee (as with PayPal.) I only ask that anyone sending a check, email me first....so I know it is on its way....and can inquire if I never receive it. :) Mail Address: Database Advisors, Inc. c/o Keith Williamson 450-B Franklin Street Havre de Grace, MD 21078 Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 4:20 PM To: Access Developers discussion and problem solving Cc: treasurer at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a member of > this list since summer of 1997 and I can say without hesitation I would not > be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find the > list invaluable, and there are several others-industry leaders-that agree > with me. Two of our members, Susan Harkins and Martin Reid, published a Jet > SQL book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Tue Dec 19 15:42:21 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 21:42:21 -0000 Subject: [AccessD] Unbound forms References: <17724746D360394AA3BFE5B8D40A9C1B0171FEF6@marlow_main2.marlow.ii-vi.net> Message-ID: Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Dec 19 15:47:48 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 13:47:48 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: But, gee, it doesn't say that it's a donation or anything like that on the PayPal receipt. It looks like I bought dba support!! Nothing about tax deductible. I mean, it IS isn't it? ;o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 19, 2006 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 19, 2006 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John dare for > the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 Jim.Hale at FleetPride.com Tue Dec 19 15:54:35 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 19 Dec 2006 15:54:35 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18F@corp-es01.fleetpride.com> I will do it through paypal. This will allow me to run it through the expense acct- Payables is anal about receipts. BTW from a business justification standpoint I am paying $100+ for my Smart Access subscription. It is not very hard to show the boss that access to instant expert consulting help is easily worth more. Just food for thought for anyone else who wants to get the company to pony up. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 19, 2006 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Kwilliamson at RTKL.com Tue Dec 19 16:07:22 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 17:07:22 -0500 Subject: [AccessD] Speaking of Unbound Forms Message-ID: I have a form, with a very complex (and time consuming query) as the datasource. What I am trying to do is add a couple fields in the form header, to allow the user (me) to input Period, Year, Entity.....then click a button to populate the form for only those records. This way, I don't have to sit through the query calculation for all records. So....not being the expert that you guys are, I added the unbound text boxes, and deleted the original RecordSource property. I then modified that same RecordSource to select "where" the fields equal the values in the text boxes, and added to the click event, for a button: me.RecordSource =SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = Me.EntityTag And [qryWeeklyTimesheetVarianceSummary].[Month] = Me.MonthTag And [qryWeeklyTimesheetVarianceSummary].[Year] = Me.YearTag GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; Unfortunately, when I then open the form, enter info for YearTag, PeriodTag, and EntityTag (the unbound text boxes)...and click the button....I get a "Compile Error Syntax Error." Could someone stear me into the right direction? What am I doing wrong? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From kp at sdsonline.net Tue Dec 19 16:13:31 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 09:13:31 +1100 Subject: [AccessD] Database Advisors lists References: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <007701c723ba$ebe4ad30$6401a8c0@office> Done Kath Pelletti ----- Original Message ----- From: John Bartow To: 'Access Developers discussion and problem solving' Sent: Wednesday, December 20, 2006 3:54 AM Subject: Re: [AccessD] Database Advisors lists JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Dec 19 16:19:24 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 19 Dec 2006 16:19:24 -0600 Subject: [AccessD] Unbound forms Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FF21@marlow_main2.marlow.ii-vi.net> What's the purpose of locking the controls? In an unbound form, nothing is going to change in the tables unless you provide that route. Locking the controls is like putting a padlock on a wall. If you are using an unbound form for data entry/modification, you should be using a data class/collection in the background. You are in complete control of when the data gets changed. What's the real goal here Martin, why have an edit/save button instead of just a save? Personally, I use bound forms for most data entry things, if I'm using an Access front end. If I use unbound forms, it's because I want to control what's being done, so I can alert other things if necessary. With a data entry form, you could have a 'auto save' feature, where if it's one, changes are saved just like a bound form, if it's off, it prompts to save the data, or you could even hold all the changes in the classes/collection, and save in a batch process. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Dec 19 16:27:38 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 Dec 2006 14:27:38 -0800 (PST) Subject: [AccessD] Is this legit? Message-ID: <20061219222738.35948.qmail@web33102.mail.mud.yahoo.com> I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn?t access-d a great list? We?re the kind of community that actually works?we get the technical help we need free, and without the ego trappings that you?ll suffer from on other lists. I know that I find the list invaluable, and there are several others?industry leaders?that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book?s Acknowledgements section: ?Thanks? to the AccessD folks for all their great advice and help over the years. If someone on that list can?t solve your problem, it can?t be solved.? And she?s right. That has been my experience with the list for the last seven years. The list isn?t a miracle of internet magic though. It costs money to run the site and lists. So, I?ll be blunt, I?m asking for donations, both large and small so we can keep this great resource going. (Membership isn?t tied to donations. The AccessD community is free.) It?s a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you?re like me, that saves me money. And, just importantly, think of the times you?ve helped someone else. If you?d like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/"; and click [Make a Donation]. If you?d rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you?d rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/"; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From paul.baumann at rtctech.com Tue Dec 19 16:26:00 2006 From: paul.baumann at rtctech.com (Paul Baumann) Date: Tue, 19 Dec 2006 16:26:00 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <002901c723bc$aa0c8700$6465a8c0@scrptrkr.local> You don't hear from me too often, but I sure appreciate the list. I will be sending in my contribution. Paul Paul O. Baumann RTC Technologies, Inc. Tel. 262-925-1300 Fax 262-925-1299 Email: paulb at rtctech.com -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, December 19, 2006 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From stuart at lexacorp.com.pg Tue Dec 19 16:33:25 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 08:33:25 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: References: <45885792.26284.271F424@stuart.lexacorp.com.pg>, Message-ID: <458868B5.20604.2B4E1EE@stuart.lexacorp.com.pg> Drawn on a PNG bank? I'd like to see you try and negotiate it with your bank :-) On 19 Dec 2006 at 16:47, Keith Williamson wrote: > Personal check is fine. Simply mail. That way, we don't get charged > the transaction fee (as with PayPal.) > > I only ask that anyone sending a check, email me first....so I know it > is on its way....and can inquire if I never receive it. > > :) > > Mail Address: > > Database Advisors, Inc. > c/o Keith Williamson > 450-B Franklin Street > Havre de Grace, MD 21078 > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, December 19, 2006 4:20 PM > To: Access Developers discussion and problem solving > Cc: treasurer at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Me too. Bl**dy PayPal won't even accept a credit card payment off me. > They don't even acknowledge that Papua New Guinea exists. > > Can I use Western Union? > > On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > > > I see you, John. Now I just have to figure out how to remit it. > > > > Charlotte > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > I challenge all of the other consultants on this list to join me in > > Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big company but I can > > afford $120 a year to support Database Advisors, and I certainly receive > > far more than that in benefits each year, just in emergency answers to > > questions I need answered "right now". I have been a > member of > > this list since summer of 1997 and I can say without hesitation I > would not > > be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com > > Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists > > > > Dear accessd at databaseadvisors.com, > > > > Isn't access-d a great list? We're the kind of community that actually > > works-we get the technical help we need free, and without the ego > > trappings that you'll suffer from on other lists. I know that I find > the > > list invaluable, and there are several others-industry leaders-that > agree > > with me. Two of our members, Susan Harkins and Martin Reid, published > a Jet > > SQL book together in 2002, and this is what appears in the book's > > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > > advice and help over the years. If someone on that list can't solve > your > > problem, it can't be solved." And she's right. That has been my > experience > > with the list for the last seven years. > > > > > > > > The list isn't a miracle of internet magic though. It costs money to > run the > > site and lists. So, I'll be blunt, I'm asking for donations, both > large and > > small so we can keep this great resource going. (Membership isn't tied > to > > donations. The AccessD community is free.) > > > > > > > > It's a small sacrifice considering what you get! Where else can you > find > > people, from all over the globe, prepared to help you solve your > technical > > problems? Have you ever had a thread save you time? If you're like me, > that > > saves me money. And, just importantly, think of the times you've > helped > > someone else. > > > > > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > > > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > > [Make a Donation]. If you'd rather send a check through regular mail, > please > contact HYPERLINK > > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > > mailing instructions. (Please include "donation" in the subject line.) > > > > > > > > > Donations will be listed on the web site as follows: > > > > > > > > -Major/Corporate Sponsors: $120 or more > > > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > > Sponsors Support page in large type face for one month for each $10 > > donated > > > > PLUS Major/Corporate Sponsors may* place their logo with a link to > > their web site on the DBA page of their choice for the same period of > > time. > > > > > > > > -Friends of DBA: $120 to $60 > > > > Friends may* appear on our DBA Friends Support page in large type > face for > > one month for each $10 donated. > > > > > > > > -DBA Donors: $60 or less > > > > Donors may* appear on our DBA Donors Support page in normal type > face for > > one month for each $10 donated. > > > > > > > > *If you'd rather not be listed on the website, let us know and we'll > > keep your donation anonymous. > > > > > > > > Thank you for considering a donation to DBA, John Bartow, President > > Database Advisors, Inc. > > Email: HYPERLINK > > > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > > \nhttp://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 > > -- > Stuart > > > -- > 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 -- Stuart From prodevmg at yahoo.com Tue Dec 19 16:48:58 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 Dec 2006 14:48:58 -0800 (PST) Subject: [AccessD] Is this legit? Message-ID: <20061219224858.57212.qmail@web33111.mail.mud.yahoo.com> Ok, disregard my email about the being real. I see the other post. Why can't I get to the contribution page. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Tuesday, December 19, 2006 4:27:38 PM Subject: [AccessD] Is this legit? I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn?t access-d a great list? We?re the kind of community that actually works?we get the technical help we need free, and without the ego trappings that you?ll suffer from on other lists. I know that I find the list invaluable, and there are several others?industry leaders?that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book?s Acknowledgements section: ?Thanks? to the AccessD folks for all their great advice and help over the years. If someone on that list can?t solve your problem, it can?t be solved.? And she?s right. That has been my experience with the list for the last seven years. The list isn?t a miracle of internet magic though. It costs money to run the site and lists. So, I?ll be blunt, I?m asking for donations, both large and small so we can keep this great resource going. (Membership isn?t tied to donations. The AccessD community is free.) It?s a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you?re like me, that saves me money. And, just importantly, think of the times you?ve helped someone else. If you?d like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/";; and click [Make a Donation]. If you?d rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you?d rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/";; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ssharkins at setel.com Tue Dec 19 17:43:57 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 19 Dec 2006 18:43:57 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <000f01c723c7$8f235530$cb34fad1@SUSANONE> Martin, you can't donate your royalties from your book! That's just not right Martin -- you'd own us! ;) I think I'm going to make small donations on a regular basis. At the end of the year, it mounts up. Susan H. Well we get 4% of whatever the book makes. Apress will do the paperwork. I have no idea how that will work. Is that enough?? So thanks to all who give permission re their code for the "Code you can Steal" chapter. Christmas etc so I cant make a cash donation myself at the moment but if the book does well the list should do OK I think. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of John Skolits Sent: Tue 19/12/2006 20:28 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From kp at sdsonline.net Tue Dec 19 17:55:07 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 10:55:07 +1100 Subject: [AccessD] HELP - Access 2003 margins Message-ID: <000b01c723c9$1d40c090$6401a8c0@office> This is truly driving me mad - Windows XP Pro, Access 2003. I have upgraded an app which used to be 2000 to 2003.I notice that the margins have been changed when I imported those objects (lots of swearing here...) When I open one of the reports, I can change the left, right, top and bottom margins in design view and save. BUT when I next open the report and print preview it, they will default to a minimum size of 4 mm for left,right and 6 for top/bottom, and when I go back into them in design view, those minimum margin sizes have overwritten mine. The reports are set to default printer, and this is the same default printer I use for the 2000 app. For the moment this means that I have no control over the margins at all. Is there a setting I can change somewhere to prevent this? If so I can't find it? ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From cfoust at infostatsystems.com Tue Dec 19 18:01:53 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 16:01:53 -0800 Subject: [AccessD] Is this legit? In-Reply-To: <20061219224858.57212.qmail@web33111.mail.mud.yahoo.com> Message-ID: Check the link. You may need to copy and paste it in your browser. I had to do that because of wraps and the way it came through wrapped and enclosed in HYPERLINK " blocks. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, December 19, 2006 2:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is this legit? Ok, disregard my email about the being real. I see the other post. Why can't I get to the contribution page. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Tuesday, December 19, 2006 4:27:38 PM Subject: [AccessD] Is this legit? I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks... to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/";; and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/";; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Dec 19 18:20:57 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 Dec 2006 16:20:57 -0800 (PST) Subject: [AccessD] Is this legit? Message-ID: <20061220002057.75946.qmail@web33102.mail.mud.yahoo.com> Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, December 19, 2006 6:01:53 PM Subject: Re: [AccessD] Is this legit? Check the link. You may need to copy and paste it in your browser. I had to do that because of wraps and the way it came through wrapped and enclosed in HYPERLINK " blocks. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, December 19, 2006 2:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is this legit? Ok, disregard my email about the being real. I see the other post. Why can't I get to the contribution page. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Tuesday, December 19, 2006 4:27:38 PM Subject: [AccessD] Is this legit? I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks... to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/";;; and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/";;; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From garykjos at gmail.com Tue Dec 19 19:04:40 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 19 Dec 2006 19:04:40 -0600 Subject: [AccessD] HELP - Access 2003 margins In-Reply-To: <000b01c723c9$1d40c090$6401a8c0@office> References: <000b01c723c9$1d40c090$6401a8c0@office> Message-ID: Is that one of the by product things that get fouled up as part of the Name Autocorrect option thing?? Tools/Options/General tab - uncheck all three things under Name Autocorrect heading in middle right of that bad boy. GK On 12/19/06, Kath Pelletti wrote: > This is truly driving me mad - Windows XP Pro, Access 2003. > > I have upgraded an app which used to be 2000 to 2003.I notice that the margins have been changed when I imported those objects (lots of swearing here...) > > When I open one of the reports, I can change the left, right, top and bottom margins in design view and save. BUT when I next open the report and print preview it, they will default to a minimum size of 4 mm for left,right and 6 for top/bottom, and when I go back into them in design view, those minimum margin sizes have overwritten mine. > > The reports are set to default printer, and this is the same default printer I use for the 2000 app. For the moment this means that I have no control over the margins at all. > > Is there a setting I can change somewhere to prevent this? If so I can't find it? > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.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 developer at ultradnt.com Tue Dec 19 19:43:07 2006 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 19 Dec 2006 20:43:07 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq> Message-ID: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 -- 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 Dec 19 19:53:45 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 11:53:45 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> References: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq>, <004d01c723d8$36212b40$0200a8c0@ULTRADNT> Message-ID: <458897A9.22501.36C4E4A@stuart.lexacorp.com.pg> I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart From joeget at vgernet.net Tue Dec 19 20:11:36 2006 From: joeget at vgernet.net (John Eget) Date: Tue, 19 Dec 2006 21:11:36 -0500 Subject: [AccessD] Database Advisors lists References: Message-ID: <004b01c723dc$310d7010$e9c2f63f@JOHN> I am not a consultant just an occasional developer to make my co-workers work life easier but will surely signup for the immediate help that individuals have given me. So where do I sign up and with whom? It has been well worth it John Eget a humble department of defense worker ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Tuesday, December 19, 2006 2:02 PM Subject: Re: [AccessD] Database Advisors lists > Same here. It will have to wait until after the home purchase, in early > January. But on the list, as well. > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, December 19, 2006 1:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Hello All, > > You know I love this place...but mine will have to wait for my tax > return(should have mentioned before I did my holiday shopping...lol). > I'll > do the Corporate...even though I'm not a Company or Corporation. The $$ > are > far less valuable than the help, advice, and even guidance I've received > > from this list over the years. > > So I'm on the delayed list...but on the list none the less!! > > Thanks, > > Mark A. Matte > > >>From: "Andy Lacey" >>Reply-To: Access Developers discussion and problem >>solving >>To: "'Access Developers discussion and problem >>solving'" >>Subject: Re: [AccessD] Database Advisors lists >>Date: Tue, 19 Dec 2006 17:57:14 -0000 >> >>Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >>there - time to cough up. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > Bartow >> > Sent: 19 December 2006 16:54 >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] Database Advisors lists >> > >> > >> > JC, >> > I accept your challenge. And I up the bid to a double John >> > dare for the rest of the consultants. >> > >> > John R. Bartow >> > WinHaven Consulting >> > www.winhaven.net >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> > Sent: Monday, December 18, 2006 12:37 PM >> > >> > I challenge all of the other consultants on this list to join >> > me in Supporting Database Advisors. >> > >> > I am going to do the Corporate Sponsor. I am not a big >> > company but I can afford $120 a year to support Database >> > Advisors, and I certainly receive far more than that in >> > benefits each year, just in emergency answers to questions I >> > need answered "right now". I have been a member of this list >> > since summer of 1997 and I can say without hesitation I would >> > not be where I am today without you folks. >> > >> > Please join me in any way you are able. >> > >> > TIA, >> > >> > John W. Colby >> > Colby Consulting >> > www.ColbyConsulting.com >> > >> > -- >> > No virus found in this outgoing message. >> > Checked by AVG Free Edition. >> > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release >> > Date: 12/19/2006 >> > >> > >> > -- >> > 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 > > _________________________________________________________________ > Visit MSN Holiday Challenge for your chance to win up to $50,000 in > Holiday > cash from MSN today! > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us > > -- > 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 ssharkins at setel.com Tue Dec 19 20:49:29 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 19 Dec 2006 21:49:29 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> Message-ID: <002201c723e1$78e70bd0$cb34fad1@SUSANONE> Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? From kp at sdsonline.net Tue Dec 19 22:25:28 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 15:25:28 +1100 Subject: [AccessD] HELP - Access 2003 margins References: <000b01c723c9$1d40c090$6401a8c0@office> Message-ID: <001501c723ee$e1dca1b0$6401a8c0@office> Really? I'll try it out..... ----- Original Message ----- From: Gary Kjos To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:04 PM Subject: Re: [AccessD] HELP - Access 2003 margins Is that one of the by product things that get fouled up as part of the Name Autocorrect option thing?? Tools/Options/General tab - uncheck all three things under Name Autocorrect heading in middle right of that bad boy. GK On 12/19/06, Kath Pelletti wrote: > This is truly driving me mad - Windows XP Pro, Access 2003. > > I have upgraded an app which used to be 2000 to 2003.I notice that the margins have been changed when I imported those objects (lots of swearing here...) > > When I open one of the reports, I can change the left, right, top and bottom margins in design view and save. BUT when I next open the report and print preview it, they will default to a minimum size of 4 mm for left,right and 6 for top/bottom, and when I go back into them in design view, those minimum margin sizes have overwritten mine. > > The reports are set to default printer, and this is the same default printer I use for the 2000 app. For the moment this means that I have no control over the margins at all. > > Is there a setting I can change somewhere to prevent this? If so I can't find it? > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.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 kp at sdsonline.net Tue Dec 19 22:27:40 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 15:27:40 +1100 Subject: [AccessD] Database Advisors lists References: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq>, <004d01c723d8$36212b40$0200a8c0@ULTRADNT> <458897A9.22501.36C4E4A@stuart.lexacorp.com.pg> Message-ID: <002601c723ef$30a93560$6401a8c0@office> I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Dec 19 23:14:38 2006 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 19 Dec 2006 21:14:38 -0800 (PST) Subject: [AccessD] Refresh subform? Message-ID: <20061220051439.39303.qmail@web31614.mail.mud.yahoo.com> Hi Group, I need to refresh a subform but I cannot get it to work....duh. The form is very simpel. In the main form I've got 2 buttons: Import Delete The button import imports data into a table tStaging The button delete deletes all data from the table tStaging. The subform displays the records in tStaging. The subform is NOT linked to the main form (so not via an ID field or anything else). The forms name is fImport. The subforms name is fsubVLAMStaging. I've tried several things: in the subforms OnCurrent event [fsubVLAMStaging].Requery => Nothing in the subforms OnCurrent event me.Requery => Nothing in the form fImport in the OnClick event of the buttons me.[fsubVLAMStaging].Requery?!?! Shouldn't be to hard I thought... Anybody got a clue? TIA! Regards Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From john at winhaven.net Wed Dec 20 00:14:14 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 00:14:14 -0600 Subject: [AccessD] Is this legit? In-Reply-To: <20061219222738.35948.qmail@web33102.mail.mud.yahoo.com> Message-ID: <135301c723fe$13072850$1402a8c0@ScuzzPaq> Lonnie (and everyone else), Sorry about that. I sent that email in HTML format and our software strips everything and makes it plain text. That effectively doubles each hyperlink and in the case of the donation link it put them together in a nonsensical manner. The link should have been presented as: http://www.databaseadvisors.com/donations.asp John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From bchacc at san.rr.com Wed Dec 20 00:56:37 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 19 Dec 2006 22:56:37 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <002601c723ef$30a93560$6401a8c0@office> Message-ID: <008201c72403$feb560f0$6601a8c0@HAL9005> I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From andy at minstersystems.co.uk Wed Dec 20 01:33:43 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Dec 2006 07:33:43 -0000 Subject: [AccessD] Database Advisors lists In-Reply-To: <004b01c723dc$310d7010$e9c2f63f@JOHN> Message-ID: <00c201c72409$2dd88a60$93ba0c54@minster33c3r25> To signup John just go to www.databaseadvisors.com and click on the Donations link on the left. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget > Sent: 20 December 2006 02:12 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > I am not a consultant just an occasional developer to make my > co-workers > work life easier but will surely signup for the immediate help that > individuals have given me. > > So where do I sign up and with whom? It has been well worth it > > John Eget > a humble department of defense worker > > ----- Original Message ----- > From: "Keith Williamson" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, December 19, 2006 2:02 PM > Subject: Re: [AccessD] Database Advisors lists > > > > Same here. It will have to wait until after the home purchase, in > > early January. But on the list, as well. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > Matte > > Sent: Tuesday, December 19, 2006 1:51 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Database Advisors lists > > > > Hello All, > > > > You know I love this place...but mine will have to wait for my tax > > return(should have mentioned before I did my holiday > shopping...lol). > > I'll do the Corporate...even though I'm not a Company or > Corporation. > > The $$ are > > far less valuable than the help, advice, and even guidance > I've received > > > > from this list over the years. > > > > So I'm on the delayed list...but on the list none the less!! > > > > Thanks, > > > > Mark A. Matte > > > > > >>From: "Andy Lacey" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: "'Access Developers discussion and problem > >>solving'" > >>Subject: Re: [AccessD] Database Advisors lists > >>Date: Tue, 19 Dec 2006 17:57:14 -0000 > >> > >>Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers > >>out there - time to cough up. > >> > >>-- Andy Lacey > >>http://www.minstersystems.co.uk > >> > >> > -----Original Message----- > >> > From: accessd-bounces at databaseadvisors.com > >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > Bartow > >> > Sent: 19 December 2006 16:54 > >> > To: 'Access Developers discussion and problem solving' > >> > Subject: Re: [AccessD] Database Advisors lists > >> > > >> > > >> > JC, > >> > I accept your challenge. And I up the bid to a double > John dare for > >> > the rest of the consultants. > >> > > >> > John R. Bartow > >> > WinHaven Consulting > >> > www.winhaven.net > >> > > >> > -----Original Message----- > >> > From: accessd-bounces at databaseadvisors.com > >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of JWColby > >> > Sent: Monday, December 18, 2006 12:37 PM > >> > > >> > I challenge all of the other consultants on this list to > join me in > >> > Supporting Database Advisors. > >> > > >> > I am going to do the Corporate Sponsor. I am not a big > company but > >> > I can afford $120 a year to support Database Advisors, and I > >> > certainly receive far more than that in benefits each > year, just in > >> > emergency answers to questions I need answered "right > now". I have > >> > been a member of this list since summer of 1997 and I can say > >> > without hesitation I would not be where I am today without you > >> > folks. > >> > > >> > Please join me in any way you are able. > >> > > >> > TIA, > >> > > >> > John W. Colby > >> > Colby Consulting > >> > www.ColbyConsulting.com > >> > > >> > -- > >> > No virus found in this outgoing message. > >> > Checked by AVG Free Edition. > >> > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > >> > Date: 12/19/2006 > >> > > >> > > >> > -- > >> > 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 > > > > _________________________________________________________________ > > Visit MSN Holiday Challenge for your chance to win up to $50,000 in > > Holiday cash from MSN today! > > > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&loc ale=en-us > > -- > 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 andy at minstersystems.co.uk Wed Dec 20 01:36:31 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Dec 2006 07:36:31 -0000 Subject: [AccessD] Refresh subform? In-Reply-To: <20061220051439.39303.qmail@web31614.mail.mud.yahoo.com> Message-ID: <00c301c72409$9323efe0$93ba0c54@minster33c3r25> Sander >From the main form try Me!fsubVLAMStaging.Form.Requery but fsubVLAMStaging MUST be the name of the subform control NOT the subform's actual form name. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: 20 December 2006 05:15 > To: Acces User Group > Subject: [AccessD] Refresh subform? > > > Hi Group, > > I need to refresh a subform but I cannot get it to > work....duh. The form is very simpel. In the main form I've > got 2 buttons: > Import > Delete > > The button import imports data into a table tStaging > The button delete deletes all data from the table tStaging. > > The subform displays the records in tStaging. > The subform is NOT linked to the main form (so not via an ID > field or anything else). > > The forms name is fImport. > The subforms name is fsubVLAMStaging. > > I've tried several things: > in the subforms OnCurrent event [fsubVLAMStaging].Requery => > Nothing in the subforms OnCurrent event me.Requery => Nothing > in the form fImport in the OnClick event of the buttons > me.[fsubVLAMStaging].Requery?!?! > > > Shouldn't be to hard I thought... > Anybody got a clue? > > TIA! > Regards > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Wed Dec 20 01:53:49 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 01:53:49 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <008201c72403$feb560f0$6601a8c0@HAL9005> Message-ID: <014901c7240b$fe2f2050$1402a8c0@ScuzzPaq> One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 20 01:59:51 2006 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 19 Dec 2006 23:59:51 -0800 (PST) Subject: [AccessD] Refresh subform? SOLVED! Message-ID: <20061220075951.87825.qmail@web31604.mail.mud.yahoo.com> Thnx Andy! .Form. did the trick! ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 8:36:31 AM Subject: Re: [AccessD] Refresh subform? Sander >From the main form try Me!fsubVLAMStaging.Form.Requery but fsubVLAMStaging MUST be the name of the subform control NOT the subform's actual form name. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: 20 December 2006 05:15 > To: Acces User Group > Subject: [AccessD] Refresh subform? > > > Hi Group, > > I need to refresh a subform but I cannot get it to > work....duh. The form is very simpel. In the main form I've > got 2 buttons: > Import > Delete > > The button import imports data into a table tStaging > The button delete deletes all data from the table tStaging. > > The subform displays the records in tStaging. > The subform is NOT linked to the main form (so not via an ID > field or anything else). > > The forms name is fImport. > The subforms name is fsubVLAMStaging. > > I've tried several things: > in the subforms OnCurrent event [fsubVLAMStaging].Requery => > Nothing in the subforms OnCurrent event me.Requery => Nothing > in the form fImport in the OnClick event of the buttons > me.[fsubVLAMStaging].Requery?!?! > > > Shouldn't be to hard I thought... > Anybody got a clue? > > TIA! > Regards > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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.databas ________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From andy at minstersystems.co.uk Wed Dec 20 02:19:04 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Dec 2006 08:19:04 -0000 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <00e801c7240f$82ff3060$93ba0c54@minster33c3r25> Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that > enough?? So thanks to all who give permission re their code > for the "Code you can Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the > moment but if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list > since about the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > From jwcolby at colbyconsulting.com Wed Dec 20 02:52:37 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:52:37 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> Message-ID: <002001c72414$33ec0480$657aa8c0@m6805> LOL, now be gentle. We all know that no one on this list even has an Ego, never mind letting it get in the way of gently but firmly letting the list know that I AM ALWAYS RIGHT. Ohhhh.... Uhhhhh... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Tuesday, December 19, 2006 8:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 -- 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 colbyconsulting.com Wed Dec 20 02:54:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:54:29 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <002201c723e1$78e70bd0$cb34fad1@SUSANONE> Message-ID: <002101c72414$7636b0b0$657aa8c0@m6805> >but there's no one on this list saying, "My way or the highway" like you find on others. At least now that the great PK debate is settled and everyone agrees that it's MY WAY. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, December 19, 2006 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 20 02:55:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:55:57 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004b01c723dc$310d7010$e9c2f63f@JOHN> Message-ID: <002201c72414$aafb72e0$657aa8c0@m6805> John, Basically this is just a funding drive. You can just send a check to Keith or there is a place to use PayPal. http://www.databaseadvisors.com/donations.asp Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Tuesday, December 19, 2006 9:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I am not a consultant just an occasional developer to make my co-workers work life easier but will surely signup for the immediate help that individuals have given me. So where do I sign up and with whom? It has been well worth it John Eget a humble department of defense worker ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Tuesday, December 19, 2006 2:02 PM Subject: Re: [AccessD] Database Advisors lists > Same here. It will have to wait until after the home purchase, in early > January. But on the list, as well. > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, December 19, 2006 1:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Hello All, > > You know I love this place...but mine will have to wait for my tax > return(should have mentioned before I did my holiday shopping...lol). > I'll > do the Corporate...even though I'm not a Company or Corporation. The $$ > are > far less valuable than the help, advice, and even guidance I've received > > from this list over the years. > > So I'm on the delayed list...but on the list none the less!! > > Thanks, > > Mark A. Matte > > >>From: "Andy Lacey" >>Reply-To: Access Developers discussion and problem >>solving >>To: "'Access Developers discussion and problem >>solving'" >>Subject: Re: [AccessD] Database Advisors lists >>Date: Tue, 19 Dec 2006 17:57:14 -0000 >> >>Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >>there - time to cough up. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > Bartow >> > Sent: 19 December 2006 16:54 >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] Database Advisors lists >> > >> > >> > JC, >> > I accept your challenge. And I up the bid to a double John >> > dare for the rest of the consultants. >> > >> > John R. Bartow >> > WinHaven Consulting >> > www.winhaven.net >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> > Sent: Monday, December 18, 2006 12:37 PM >> > >> > I challenge all of the other consultants on this list to join >> > me in Supporting Database Advisors. >> > >> > I am going to do the Corporate Sponsor. I am not a big >> > company but I can afford $120 a year to support Database >> > Advisors, and I certainly receive far more than that in >> > benefits each year, just in emergency answers to questions I >> > need answered "right now". I have been a member of this list >> > since summer of 1997 and I can say without hesitation I would >> > not be where I am today without you folks. >> > >> > Please join me in any way you are able. >> > >> > TIA, >> > >> > John W. Colby >> > Colby Consulting >> > www.ColbyConsulting.com >> > >> > -- >> > No virus found in this outgoing message. >> > Checked by AVG Free Edition. >> > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release >> > Date: 12/19/2006 >> > >> > >> > -- >> > 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 > > _________________________________________________________________ > Visit MSN Holiday Challenge for your chance to win up to $50,000 in > Holiday > cash from MSN today! > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us > > -- > 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 colbyconsulting.com Wed Dec 20 02:57:43 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:57:43 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <008201c72403$feb560f0$6601a8c0@HAL9005> Message-ID: <002301c72414$e9adb610$657aa8c0@m6805> IIRC we hired a hit man to break his legs. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Dec 20 03:19:04 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 20 Dec 2006 09:19:04 -0000 Subject: [AccessD] Unbound forms References: <17724746D360394AA3BFE5B8D40A9C1B0171FF21@marlow_main2.marlow.ii-vi.net> Message-ID: Hi Drew Its realy just a demo of the technique more than anything else. The chapter is on DAO and I need to cover most things. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 22:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms What's the purpose of locking the controls? In an unbound form, nothing is going to change in the tables unless you provide that route. Locking the controls is like putting a padlock on a wall. If you are using an unbound form for data entry/modification, you should be using a data class/collection in the background. You are in complete control of when the data gets changed. What's the real goal here Martin, why have an edit/save button instead of just a save? Personally, I use bound forms for most data entry things, if I'm using an Access front end. If I use unbound forms, it's because I want to control what's being done, so I can alert other things if necessary. With a data entry form, you could have a 'auto save' feature, where if it's one, changes are saved just like a bound form, if it's off, it prompts to save the data, or you could even hold all the changes in the classes/collection, and save in a batch process. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 mwp.reid at qub.ac.uk Wed Dec 20 03:21:50 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 20 Dec 2006 09:21:50 -0000 Subject: [AccessD] Database Advisors lists References: <00e801c7240f$82ff3060$93ba0c54@minster33c3r25> Message-ID: Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that > enough?? So thanks to all who give permission re their code > for the "Code you can Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the > moment but if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list > since about the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 20 04:01:06 2006 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 20 Dec 2006 02:01:06 -0800 (PST) Subject: [AccessD] Query => values not in... Message-ID: <20061220100107.74120.qmail@web31605.mail.mud.yahoo.com> Hi group, i've got 2 tables Customers Staging Both have fields: street no city zipcode I need the following results: Get all records from table Staging where (street, no, city, zipcode) not in (select street, no, city, zipcode from Customers) So if the combination of "street, no, city, zipcode" in the table staging is not in the table Customers I want to see that record/ those records How do I do this in Access SQL??? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From stuart at lexacorp.com.pg Wed Dec 20 04:37:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 20:37:07 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: <002301c72414$e9adb610$657aa8c0@m6805> References: <008201c72403$feb560f0$6601a8c0@HAL9005>, <002301c72414$e9adb610$657aa8c0@m6805> Message-ID: <45891253.3599.BC852B@stuart.lexacorp.com.pg> Naah - we colbyized him - 20,000ft without a parachute :-) On 20 Dec 2006 at 3:57, JWColby wrote: > IIRC we hired a hit man to break his legs. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access Developers > discussion and problem solving' Subject: Re: [AccessD] Database Advisors > lists > > I seem to recall a couple years back someone came on the list - a real jerk > - with a real bad attitude and dissing people. We drove him off somehow. > Did we pull his list access - ban him from the list? I can't remember. > Anybody remember that incident? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion > and problem solving Subject: Re: [AccessD] Database Advisors lists > > I agree - some lists I tried this year were pretty unbelievable...... > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Wednesday, December 20, 2006 12:53 PM > Subject: Re: [AccessD] Database Advisors lists > > > I won't - this is certainly one of the more civilised lists. Signal to > noise ratio is waaaaay above the average. > > On 19 Dec 2006 at 20:43, Steve Conklin wrote: > > > No one has yet challenged this line: > > >>>>>>>> and without the ego trappings that you'll suffer from on other > > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Monday, December 18, 2006 12:10 PM > To: > accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: > [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > > Isn't access-d a great list? We're the kind of community that actually > > works-we get the technical help we need free, and without the ego > trappings > > that you'll suffer from on other lists. I know that I find the list > > invaluable, and there are several others-industry leaders-that agree > with > > me. Two of our members, Susan Harkins and Martin Reid, published a Jet > SQL > > book together in 2002, and this is what appears in the book's > > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > > advice and help over the years. If someone on that list can't solve your > > problem, it can't be solved." And she's right. That has been my > experience > > with the list for the last seven years. > > > > > > > > The list isn't a miracle of internet magic though. It costs money to run > the > > site and lists. So, I'll be blunt, I'm asking for donations, both large > and > > small so we can keep this great resource going. (Membership isn't tied > to > > donations. The AccessD community is free.) > > > > > > > > It's a small sacrifice considering what you get! Where else can you find > > people, from all over the globe, prepared to help you solve your > technical > > problems? Have you ever had a thread save you time? If you're like me, > that > > saves me money. And, just importantly, think of the times you've helped > > someone else. > > > > If you'd like to donate using a credit card or > PayPal, visit HYPERLINK > > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make > > a Donation]. If you'd rather send a check through regular mail, please > > contact HYPERLINK > > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com > for > > mailing instructions. (Please include "donation" in the subject line.) > > > > > Donations will be listed on the web site as follows: > > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors > may* appear on our DBA Major/Corporate > Sponsors > > Support page in large type face for one month for each $10 donated > > > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their > > web site on the DBA page of their choice for the same period of time. > > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA > Friends Support page in large type face > for > > one month for each $10 donated. > > > > > > > > -DBA Donors: $60 or less > > > > Donors may* appear on our DBA Donors Support page in normal type face > for > > one month for each $10 donated. > > > > > > > > *If you'd rather not be listed on the website, let us know and we'll > keep > > your donation anonymous. > > > > > > > > Thank you for considering a donation to DBA, John Bartow, President > Database > > Advisors, Inc. Email: HYPERLINK > > > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > > Website: HYPERLINK "http://www.databaseadvisors.com/" > > \nhttp://www.databaseadvisors.com > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: > 12/18/2006 > > > > -- > > 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 > > -- > Stuart > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 > 1:17 PM > > > -- > 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 -- Stuart From stuart at lexacorp.com.pg Wed Dec 20 04:37:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 20:37:07 +1000 Subject: [AccessD] Query => values not in... In-Reply-To: <20061220100107.74120.qmail@web31605.mail.mud.yahoo.com> References: <20061220100107.74120.qmail@web31605.mail.mud.yahoo.com> Message-ID: <45891253.27626.BC8579@stuart.lexacorp.com.pg> Do a left join on the four fields and select where the right field is null. Select * from staging s left join customers c on s.street = c.street, s.no = c.no, s.city = c.city, s.zipcode = c.zipcode where c.street is null On 20 Dec 2006 at 2:01, Sad Der wrote: > Hi group, > > i've got 2 tables > Customers > Staging > > Both have fields: > street > no > city > zipcode > > I need the following results: > Get all records from table Staging where (street, no, city, zipcode) not in > (select street, no, city, zipcode from Customers) > > So if the combination of "street, no, city, zipcode" in the table staging is > not in the table Customers I want to see that record/ those records How do I > do this in Access SQL??? > > TIA > > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From jwcolby at colbyconsulting.com Wed Dec 20 04:37:26 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 05:37:26 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <003201c72422$d83023b0$657aa8c0@m6805> >I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 20 05:03:16 2006 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 20 Dec 2006 03:03:16 -0800 (PST) Subject: [AccessD] Query => values not in... Message-ID: <20061220110316.44233.qmail@web31601.mail.mud.yahoo.com> Stuart, I believe this will return all records from staging and the records from Customer where the fields match and Customer.Street = NULL. I need all records from staging that are not in Customer. Eg: records in Staging: street no A 1 B 2 records in Customer: street no A 1 B 3 I need the query to return: B,2 Because this record isn't in Customer. Hope this clarifies things. Regards, Sander ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 11:37:07 AM Subject: Re: [AccessD] Query => values not in... Do a left join on the four fields and select where the right field is null. Select * from staging s left join customers c on s.street = c.street, s.no = c.no, s.city = c.city, s.zipcode = c.zipcode where c.street is null On 20 Dec 2006 at 2:01, Sad Der wrote: > Hi group, > > i've got 2 tables > Customers > Staging > > Both have fields: > street > no > city > zipcode > > I need the following results: > Get all records from table Staging where (street, no, city, zipcode) not in > (select street, no, city, zipcode from Customers) > > So if the combination of "street, no, city, zipcode" in the table staging is > not in the table Customers I want to see that record/ those records How do I > do this in Access SQL??? > > TIA > > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the be t spam protection around http://mail.yahoo.com From jwcolby at colbyconsulting.com Wed Dec 20 05:33:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 06:33:06 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <45891253.3599.BC852B@stuart.lexacorp.com.pg> Message-ID: <003a01c7242a$9f1aab60$657aa8c0@m6805> ROTFL. The sad part is that the phrase came from an article I read back in the 90s, where the then dictator of Chile (I believe) was fighting the Shining Path guerrillas, and allegedly ordered members to be "disappeared", again allegedly by taking them a couple of hundred miles out over the Pacific Ocean and pushing them out of an airplane - 20,000 feet, without a parachute. And I have no doubt whatsoever that it did indeed happen. Man's inhumanity to man. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, December 20, 2006 5:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Naah - we colbyized him - 20,000ft without a parachute :-) On 20 Dec 2006 at 3:57, JWColby wrote: > IIRC we hired a hit man to break his legs. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Database Advisors lists > > I seem to recall a couple years back someone came on the list - a real > jerk > - with a real bad attitude and dissing people. We drove him off somehow. > Did we pull his list access - ban him from the list? I can't remember. > Anybody remember that incident? > > Rocky From mmattys at rochester.rr.com Wed Dec 20 05:40:56 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 20 Dec 2006 06:40:56 -0500 Subject: [AccessD] Database Advisors lists References: <002001c72414$33ec0480$657aa8c0@m6805> Message-ID: <007401c7242b$b7fd1a40$0302a8c0@default> :) The list has moderators and other offices to manage conversations - and egos - gone awry. This, in part, is because the people who got together to bring this list to all of us after the first AccessD went down 'in flames.' I don't know of anyone here (who might be accused of 'having an ego') who isn't willing to publicly declare 'Sorry, I was wrong' and, in all good sense of humor, simply continue on as if walking together with a bunch of friends down the same road you walked with friends from high school. We also love our Friday Humour ... I would hate to wake up one morning to find this list gone!!!! Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, December 20, 2006 3:52 AM Subject: Re: [AccessD] Database Advisors lists > LOL, now be gentle. We all know that no one on this list even has an Ego, > never mind letting it get in the way of gently but firmly letting the list > know that I AM ALWAYS RIGHT. Ohhhh.... Uhhhhh... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin > Sent: Tuesday, December 19, 2006 8:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > No one has yet challenged this line: >>>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? From Kwilliamson at RTKL.com Wed Dec 20 07:43:48 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 08:43:48 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: Aaaahhhhhhhhhh....uuuuummmmmmm.....NO. sorry. Only as a business expense....saaayyyyy..."Marketing." Yeah. That will do it. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists But, gee, it doesn't say that it's a donation or anything like that on the PayPal receipt. It looks like I bought dba support!! Nothing about tax deductible. I mean, it IS isn't it? ;o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 19, 2006 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 19, 2006 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John dare for > the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 Kwilliamson at RTKL.com Wed Dec 20 07:45:12 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 08:45:12 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <458868B5.20604.2B4E1EE@stuart.lexacorp.com.pg> Message-ID: Well....I probably could. But do I get to keep any gains from exchange rate? Any loss would, of course, be on DBA. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 5:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Drawn on a PNG bank? I'd like to see you try and negotiate it with your bank :-) On 19 Dec 2006 at 16:47, Keith Williamson wrote: > Personal check is fine. Simply mail. That way, we don't get charged > the transaction fee (as with PayPal.) > > I only ask that anyone sending a check, email me first....so I know it > is on its way....and can inquire if I never receive it. > > :) > > Mail Address: > > Database Advisors, Inc. > c/o Keith Williamson > 450-B Franklin Street > Havre de Grace, MD 21078 > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, December 19, 2006 4:20 PM > To: Access Developers discussion and problem solving > Cc: treasurer at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Me too. Bl**dy PayPal won't even accept a credit card payment off me. > They don't even acknowledge that Papua New Guinea exists. > > Can I use Western Union? > > On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > > > I see you, John. Now I just have to figure out how to remit it. > > > > Charlotte > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > I challenge all of the other consultants on this list to join me in > > Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big company but I can > > afford $120 a year to support Database Advisors, and I certainly receive > > far more than that in benefits each year, just in emergency answers to > > questions I need answered "right now". I have been a > member of > > this list since summer of 1997 and I can say without hesitation I > would not > > be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com > > Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists > > > > Dear accessd at databaseadvisors.com, > > > > Isn't access-d a great list? We're the kind of community that actually > > works-we get the technical help we need free, and without the ego > > trappings that you'll suffer from on other lists. I know that I find > the > > list invaluable, and there are several others-industry leaders-that > agree > > with me. Two of our members, Susan Harkins and Martin Reid, published > a Jet > > SQL book together in 2002, and this is what appears in the book's > > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > > advice and help over the years. If someone on that list can't solve > your > > problem, it can't be solved." And she's right. That has been my > experience > > with the list for the last seven years. > > > > > > > > The list isn't a miracle of internet magic though. It costs money to > run the > > site and lists. So, I'll be blunt, I'm asking for donations, both > large and > > small so we can keep this great resource going. (Membership isn't tied > to > > donations. The AccessD community is free.) > > > > > > > > It's a small sacrifice considering what you get! Where else can you > find > > people, from all over the globe, prepared to help you solve your > technical > > problems? Have you ever had a thread save you time? If you're like me, > that > > saves me money. And, just importantly, think of the times you've > helped > > someone else. > > > > > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > > > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > > [Make a Donation]. If you'd rather send a check through regular mail, > please > contact HYPERLINK > > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > > mailing instructions. (Please include "donation" in the subject line.) > > > > > > > > > Donations will be listed on the web site as follows: > > > > > > > > -Major/Corporate Sponsors: $120 or more > > > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > > Sponsors Support page in large type face for one month for each $10 > > donated > > > > PLUS Major/Corporate Sponsors may* place their logo with a link to > > their web site on the DBA page of their choice for the same period of > > time. > > > > > > > > -Friends of DBA: $120 to $60 > > > > Friends may* appear on our DBA Friends Support page in large type > face for > > one month for each $10 donated. > > > > > > > > -DBA Donors: $60 or less > > > > Donors may* appear on our DBA Donors Support page in normal type > face for > > one month for each $10 donated. > > > > > > > > *If you'd rather not be listed on the website, let us know and we'll > > keep your donation anonymous. > > > > > > > > Thank you for considering a donation to DBA, John Bartow, President > > Database Advisors, Inc. > > Email: HYPERLINK > > > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > > \nhttp://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 > > -- > Stuart > > > -- > 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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 07:49:57 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 08:49:57 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <003a01c7242a$9f1aab60$657aa8c0@m6805> Message-ID: Inhumane???!! Come on!! At least he gave them a CHANCE. ;) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, December 20, 2006 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL. The sad part is that the phrase came from an article I read back in the 90s, where the then dictator of Chile (I believe) was fighting the Shining Path guerrillas, and allegedly ordered members to be "disappeared", again allegedly by taking them a couple of hundred miles out over the Pacific Ocean and pushing them out of an airplane - 20,000 feet, without a parachute. And I have no doubt whatsoever that it did indeed happen. Man's inhumanity to man. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, December 20, 2006 5:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Naah - we colbyized him - 20,000ft without a parachute :-) On 20 Dec 2006 at 3:57, JWColby wrote: > IIRC we hired a hit man to break his legs. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Database Advisors lists > > I seem to recall a couple years back someone came on the list - a real > jerk > - with a real bad attitude and dissing people. We drove him off somehow. > Did we pull his list access - ban him from the list? I can't remember. > Anybody remember that incident? > > Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 09:05:05 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 10:05:05 -0500 Subject: [AccessD] Unbound Subform Revisited Message-ID: Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From bchacc at san.rr.com Wed Dec 20 09:32:50 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 07:32:50 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <003201c72422$d83023b0$657aa8c0@m6805> Message-ID: <003501c7244c$1bfb0aa0$6601a8c0@HAL9005> Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From bchacc at san.rr.com Wed Dec 20 09:36:35 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 07:36:35 -0800 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: <003601c7244c$a238bbd0$6601a8c0@HAL9005> Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From rl_stewart at highstream.net Wed Dec 20 09:54:35 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 20 Dec 2006 09:54:35 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: References: Message-ID: <200612201555.kBKFtVq09357@databaseadvisors.com> Getting a % of the sales is a whole lot better than what I got when I co-authored a book. I got a whole $660 per chapter for the 2 chapters that I wrote. Teach Yourself Access 97 in 21 Days I wrote the chapters on database design and relationships. (3 and 5) It was the first and last time that those 2 chapters were included in the 21 Days books. Too bad because that is the cornerstone of development. I have been thinking about writing one about SQL Server basics and publishing it as an ebook/PDF myself on my WeBeDb.com site. Anyone interested? Would any of you buy it for say $20 as a subscription where you could keep downloading it and all the updates/changes/additions to it? Robert At 07:31 AM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 08:19:04 -0000 >From: "Andy Lacey" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e801c7240f$82ff3060$93ba0c54 at minster33c3r25> >Content-Type: text/plain; charset="us-ascii" > >Sounds more than generous to me Martin. Well done. Let's all hope the book >sells zillions. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > > Sent: 19 December 2006 21:07 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Database Advisors lists > > > > > > Well we get 4% of whatever the book makes. Apress will do the > > paperwork. I have no idea how that will work. Is that > > enough?? So thanks to all who give permission re their code > > for the "Code you can Steal" chapter. > > > > Christmas etc so I cant make a cash donation myself at the > > moment but if the book does well the list should do OK I think. > > > > Martin > > From rl_stewart at highstream.net Wed Dec 20 09:55:37 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 20 Dec 2006 09:55:37 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: References: Message-ID: <200612201600.kBKG0Uq10659@databaseadvisors.com> As long as it is surrogate keys, I agree :-) At 07:31 AM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 03:54:29 -0500 >From: "JWColby" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <002101c72414$7636b0b0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > > >but there's no one on this list saying, "My way or the highway" like you >find on others. > >At least now that the great PK debate is settled and everyone agrees that >it's MY WAY. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com From Kwilliamson at RTKL.com Wed Dec 20 10:14:18 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 11:14:18 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: <003601c7244c$a238bbd0$6601a8c0@HAL9005> Message-ID: Here is the sql statement: me.form.RecordSource = (SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity];) Me.Form.Requery Anyone? Anyone? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Dec 20 10:19:55 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 10:19:55 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612201555.kBKFtVq09357@databaseadvisors.com> Message-ID: <060e01c72452$b02f3330$1402a8c0@ScuzzPaq> Robert, We request that our list members write articles for DBA to post on DBA's site. You are always welcome to do that, and I strongly encourage you to do so. All of our articles give full credit to the authors. However we ask that you please don't solicit our list members for personal site/gain without the express written permission of the board of directors. Thank you for your cooperation, John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, December 20, 2006 9:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Getting a % of the sales is a whole lot better than what I got when I co-authored a book. I got a whole $660 per chapter for the 2 chapters that I wrote. Teach Yourself Access 97 in 21 Days I wrote the chapters on database design and relationships. (3 and 5) It was the first and last time that those 2 chapters were included in the 21 Days books. Too bad because that is the cornerstone of development. I have been thinking about writing one about SQL Server basics and publishing it as an ebook/PDF myself on my WeBeDb.com site. Anyone interested? Would any of you buy it for say $20 as a subscription where you could keep downloading it and all the updates/changes/additions to it? Robert At 07:31 AM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 08:19:04 -0000 >From: "Andy Lacey" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e801c7240f$82ff3060$93ba0c54 at minster33c3r25> >Content-Type: text/plain; charset="us-ascii" > >Sounds more than generous to me Martin. Well done. Let's all hope the >book sells zillions. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > > Reid > > Sent: 19 December 2006 21:07 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Database Advisors lists > > > > > > Well we get 4% of whatever the book makes. Apress will do the > > paperwork. I have no idea how that will work. Is that enough?? So > > thanks to all who give permission re their code for the "Code you > > can Steal" chapter. > > > > Christmas etc so I cant make a cash donation myself at the moment > > but if the book does well the list should do OK I think. > > > > Martin > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Dec 20 10:25:00 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 10:25:00 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <002201c72414$aafb72e0$657aa8c0@m6805> Message-ID: <061d01c72453$65c60430$1402a8c0@ScuzzPaq> We also accept credit cards - please check out the web page at: http://www.databaseadvisors.com/donations.asp -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, December 20, 2006 2:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists John, Basically this is just a funding drive. You can just send a check to Keith or there is a place to use PayPal. http://www.databaseadvisors.com/donations.asp Thanks. From bchacc at san.rr.com Wed Dec 20 10:32:59 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 08:32:59 -0800 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: <004701c72454$831f2e20$6601a8c0@HAL9005> Keith: Sometimes when I can't spot a problem in a lengthy SQL statement like this I paste it into the SQL view of a new query and then switch to the design view. Sometimes you can spot the problem that way. I would also paste the original record source SQL and the modified SQL into WordPad and eyeball them for differences. The line breaks should occur in roughly the same places so you can start by checking the length of each and the end of each line to find the differences. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Here is the sql statement: me.form.RecordSource = (SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity];) Me.Form.Requery Anyone? Anyone? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From DWUTKA at marlow.com Wed Dec 20 10:45:14 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:45:14 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFCD@marlow_main2.marlow.ii-vi.net> Very true. I know JC and I have had some knock down drag out debates, but I respect his abilities as a developer, always have, and I'm pretty sure he respects mine too. Now, on OT, that's a different story! ;) Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Tuesday, December 19, 2006 8:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 10:51:44 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 11:51:44 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: <004701c72454$831f2e20$6601a8c0@HAL9005> Message-ID: Yeah. That is what is funny. That is how I got the Sql statement in the first place. I had a bound form that worked, and simply copied the recordsource. I used the same recordsource statement in my event for the click button. And when I copy that same sql statement into a new query....it works fine. ?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Sometimes when I can't spot a problem in a lengthy SQL statement like this I paste it into the SQL view of a new query and then switch to the design view. Sometimes you can spot the problem that way. I would also paste the original record source SQL and the modified SQL into WordPad and eyeball them for differences. The line breaks should occur in roughly the same places so you can start by checking the length of each and the end of each line to find the differences. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Here is the sql statement: me.form.RecordSource = (SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity];) Me.Form.Requery Anyone? Anyone? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Dec 20 10:48:53 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:48:53 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFD1@marlow_main2.marlow.ii-vi.net> You are behaving much better now that you have crossed over to the unbound darkside..... ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 2:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >but there's no one on this list saying, "My way or the highway" like you find on others. At least now that the great PK debate is settled and everyone agrees that it's MY WAY. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, December 19, 2006 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- 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 DWUTKA at marlow.com Wed Dec 20 10:51:07 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:51:07 -0600 Subject: [AccessD] Unbound forms Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFD7@marlow_main2.marlow.ii-vi.net> Ah. By the way, I've sent a reply to you on that chapter you sent me, a few weeks ago, when I was in the hospital. But you sent me an email the other day like you didn't get my reply. Basically the chapter you sent me is not my forte, it uses a lot of stuff I don't use. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, December 20, 2006 3:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Hi Drew Its realy just a demo of the technique more than anything else. The chapter is on DAO and I need to cover most things. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 22:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms What's the purpose of locking the controls? In an unbound form, nothing is going to change in the tables unless you provide that route. Locking the controls is like putting a padlock on a wall. If you are using an unbound form for data entry/modification, you should be using a data class/collection in the background. You are in complete control of when the data gets changed. What's the real goal here Martin, why have an edit/save button instead of just a save? Personally, I use bound forms for most data entry things, if I'm using an Access front end. If I use unbound forms, it's because I want to control what's being done, so I can alert other things if necessary. With a data entry form, you could have a 'auto save' feature, where if it's one, changes are saved just like a bound form, if it's off, it prompts to save the data, or you could even hold all the changes in the classes/collection, and save in a batch process. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 DWUTKA at marlow.com Wed Dec 20 10:54:41 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:54:41 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFD9@marlow_main2.marlow.ii-vi.net> 'I love everyone here.... yadda yadda' Drew's deranged.... Thanks JC, I dare ya to join OT. ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 4:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 DWUTKA at marlow.com Wed Dec 20 10:57:25 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:57:25 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFDC@marlow_main2.marlow.ii-vi.net> Honestly never paid much attention to the PK debate, was just a lot of yammering. ;) Drew -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, December 20, 2006 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From garykjos at gmail.com Wed Dec 20 11:00:51 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 20 Dec 2006 11:00:51 -0600 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: References: <004701c72454$831f2e20$6601a8c0@HAL9005> Message-ID: Perhaps you need quotes around the sql string? GK On 12/20/06, Keith Williamson wrote: > Yeah. That is what is funny. That is how I got the Sql statement in > the first place. I had a bound form that worked, and simply copied the > recordsource. I used the same recordsource statement in my event for > the click button. > > And when I copy that same sql statement into a new query....it works > fine. > > ?? > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 11:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Sometimes when I can't spot a problem in a lengthy SQL statement like > this I > paste it into the SQL view of a new query and then switch to the design > view. Sometimes you can spot the problem that way. > > I would also paste the original record source SQL and the modified SQL > into > WordPad and eyeball them for differences. The line breaks should occur > in > roughly the same places so you can start by checking the length of each > and > the end of each line to find the differences. > > HTH > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Here is the sql statement: > > me.form.RecordSource = (SELECT > [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > AS [Total Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > qryWeeklyTimesheetVarianceSummary ON > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > AND > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > ) ON > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > ntity]) AND > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > nth]) AND > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > r]) > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > Me.Form.Requery > > > Anyone? Anyone? > > :) > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Put a debug statement to print the SQL string right before the > me.recordsource = and post it. Someone will see that there's probably a > syntax/punctuation error. > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 7:05 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Unbound Subform Revisited > > Hey Guys, > > > > If I want to change a bound form to an unbound form, am I going about it > correctly if I do the following: > > > > 1) Add (3) unbound text fields for variables in form header; > > 2) Delete Record Source for form; > > 3) Add button to form header; > > 4) Add Event to button, to set form.recordsource = (original sql > statement for record source, deleted in step 2, but also add where > statements for the (3) variables in the unbound text fields) > > > > Shouldn't this run? I keep getting a syntax error on my sql statement, > when I click the button. Even if I change the sql statement to exactly > equal the original recordsource statement....I get the syntax error. > > > > ?? > > > > Thanks, > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > -- Gary Kjos garykjos at gmail.com From markamatte at hotmail.com Wed Dec 20 11:26:07 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 20 Dec 2006 17:26:07 +0000 Subject: [AccessD] Password Generator? Message-ID: Hello All, I was asked to look at an A97 db. At first glance it was apparently created by the addressBook wizard. When I found they paid 2 or 3 grand for it about 6 years ago...kinda made me ill...but anyway. The I noticed some of the forms required a password. I looked at the tables...and sure enough there was tblPassword that had the input mask set to 'Password'...so I switched it...and there were the passwords...so I thought...they were all numbers. I tried the numbers when opening the forms...but no luck. Here is another confusing part...the db opens to Switchboard with the db window minimized...nothing is locked down...its wide open...why a password? Anyway...I went to design view...and what I found...really amazed me. There are about 16 lines of code that takes whatever you type in...does some Asc() some MOD some -+/* and loops through all of these calculations to come up with a number. I then realized that the numbers in the password table actually matched to a word/phrase/number and case sensitive. Since there is a single number that was the result of a list of calculations...I can't think of anyway to figure out what phrase would match the existing numbers. But I can put a phrase in...step through the code...see the resulting number...then go put it in the table. Has anyone seen/done something like this? Even thought this was 'purchased'(consultant came in and built...still makes me ill)....there is no documentation...or information related to who wrote this code...It should be ok to post here? Just curious what approaches others use for security. In and .MDE this would be brilliant in my opinion. Thanks, Mark A. Matte _________________________________________________________________ Experience the magic of the holidays. Talk to Santa on Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us From jwcolby at colbyconsulting.com Wed Dec 20 11:29:22 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 12:29:22 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0171FFD9@marlow_main2.marlow.ii-vi.net> Message-ID: <005a01c7245c$64484ec0$657aa8c0@m6805> LOL, I stay away from there!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, December 20, 2006 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists 'I love everyone here.... yadda yadda' Drew's deranged.... Thanks JC, I dare ya to join OT. ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 4:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >I have made lifelong friends on this list and that above all is more >than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 john at winhaven.net Wed Dec 20 11:31:52 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 11:31:52 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <45885792.26284.271F424@stuart.lexacorp.com.pg> Message-ID: <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> Hi Stuart, Are you really not able to use a credit card? Geez! I have tested this in every way that I know how to. I have the same type of PayPal account set up for my company and I've gotten payments from Korea. I guess I'll have to ask you to be on the DBA funding Committee so you can be our official S. Pacific tester. Want to be on our funding committee? :o) John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 3:20 PM To: Access Developers discussion and problem solving Cc: treasurer at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find > the list invaluable, and there are several others-industry > leaders-that agree with me. Two of our members, Susan Harkins and > Martin Reid, published a Jet SQL book together in 2002, and this is > what appears in the book's Acknowledgements section: "Thanks. to the > AccessD folks for all their great advice and help over the years. If > someone on that list can't solve your problem, it can't be solved." > And she's right. That has been my experience with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to > run the site and lists. So, I'll be blunt, I'm asking for donations, > both large and small so we can keep this great resource going. > (Membership isn't tied to donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you > find people, from all over the globe, prepared to help you solve your > technical problems? Have you ever had a thread save you time? If > you're like me, that saves me money. And, just importantly, think of > the times you've helped someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvi > so rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" > and click [Make a Donation]. If you'd rather send a check through > regular mail, please contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.c > om for mailing instructions. (Please include "donation" in the subject > line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type > face for one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type > face for one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadviso > rs .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From DWUTKA at marlow.com Wed Dec 20 11:36:45 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 11:36:45 -0600 Subject: [AccessD] Password Generator? Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFF7@marlow_main2.marlow.ii-vi.net> Even though Access User Level security is breakable, it's a better approach to securing items then the method you've run into. No need to prompt the user at each form, the form just checks who's logged into the database. In a domain network, you could also just embed code to check the user's NT name. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, December 20, 2006 11:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Password Generator? Hello All, I was asked to look at an A97 db. At first glance it was apparently created by the addressBook wizard. When I found they paid 2 or 3 grand for it about 6 years ago...kinda made me ill...but anyway. The I noticed some of the forms required a password. I looked at the tables...and sure enough there was tblPassword that had the input mask set to 'Password'...so I switched it...and there were the passwords...so I thought...they were all numbers. I tried the numbers when opening the forms...but no luck. Here is another confusing part...the db opens to Switchboard with the db window minimized...nothing is locked down...its wide open...why a password? Anyway...I went to design view...and what I found...really amazed me. There are about 16 lines of code that takes whatever you type in...does some Asc() some MOD some -+/* and loops through all of these calculations to come up with a number. I then realized that the numbers in the password table actually matched to a word/phrase/number and case sensitive. Since there is a single number that was the result of a list of calculations...I can't think of anyway to figure out what phrase would match the existing numbers. But I can put a phrase in...step through the code...see the resulting number...then go put it in the table. Has anyone seen/done something like this? Even thought this was 'purchased'(consultant came in and built...still makes me ill)....there is no documentation...or information related to who wrote this code...It should be ok to post here? Just curious what approaches others use for security. In and .MDE this would be brilliant in my opinion. Thanks, Mark A. Matte _________________________________________________________________ Experience the magic of the holidays. Talk to Santa on Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://ima gine-windowslive.com/minisites/santabot/default.aspx?locale=en-us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Dec 20 11:40:54 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 11:40:54 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFFB@marlow_main2.marlow.ii-vi.net> Probably a smart idea, it's not for the faint of heart! ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists LOL, I stay away from there!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, December 20, 2006 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists 'I love everyone here.... yadda yadda' Drew's deranged.... Thanks JC, I dare ya to join OT. ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 4:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >I have made lifelong friends on this list and that above all is more >than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 markamatte at hotmail.com Wed Dec 20 11:52:21 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 20 Dec 2006 17:52:21 +0000 Subject: [AccessD] Password Generator? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0171FFF7@marlow_main2.marlow.ii-vi.net> Message-ID: Just found it with google...so here is the code. Public Function KeyCode(Password As String) As Long 'This function will produce a unique key for the 'string that is passed as the Password. Dim I As Integer Dim Hold As Long For I = 1 To Len(Password) Select Case (Asc(Left(Password, 1)) * I) Mod 4 Case Is = 0 Hold = Hold + (Asc(Mid(Password, I, 1)) * I) Case Is = 1 Hold = Hold - (Asc(Mid(Password, I, 1)) * I) Case Is = 2 Hold = Hold + (Asc(Mid(Password, I, 1)) * _ (I - Asc(Mid(Password, I, 1)))) Case Is = 3 Hold = Hold - (Asc(Mid(Password, I, 1)) * _ (I + Len(Password))) End Select Next I KeyCode = Hold End Function >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Password Generator? >Date: Wed, 20 Dec 2006 11:36:45 -0600 > >Even though Access User Level security is breakable, it's a better approach >to securing items then the method you've run into. No need to prompt the >user at each form, the form just checks who's logged into the database. > >In a domain network, you could also just embed code to check the user's NT >name. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, December 20, 2006 11:26 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Password Generator? > >Hello All, > >I was asked to look at an A97 db. At first glance it was apparently >created > >by the addressBook wizard. When I found they paid 2 or 3 grand for it about >6 years ago...kinda made me ill...but anyway. The I noticed some of the >forms required a password. I looked at the tables...and sure enough there >was tblPassword that had the input mask set to 'Password'...so I switched >it...and there were the passwords...so I thought...they were all numbers. >I > >tried the numbers when opening the forms...but no luck. > >Here is another confusing part...the db opens to Switchboard with the db >window minimized...nothing is locked down...its wide open...why a password? > >Anyway...I went to design view...and what I found...really amazed me. >There > >are about 16 lines of code that takes whatever you type in...does some >Asc() > >some MOD some -+/* and loops through all of these calculations to come up >with a number. I then realized that the numbers in the password table >actually matched to a word/phrase/number and case sensitive. > >Since there is a single number that was the result of a list of >calculations...I can't think of anyway to figure out what phrase would >match > >the existing numbers. But I can put a phrase in...step through the >code...see the resulting number...then go put it in the table. > >Has anyone seen/done something like this? > >Even thought this was 'purchased'(consultant came in and built...still >makes > >me ill)....there is no documentation...or information related to who wrote >this code...It should be ok to post here? > >Just curious what approaches others use for security. In and .MDE this >would be brilliant in my opinion. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Experience the magic of the holidays. Talk to Santa on Messenger. >http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://ima >gine-windowslive.com/minisites/santabot/default.aspx?locale=en-us > >-- >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 _________________________________________________________________ Experience the magic of the holidays. Talk to Santa on Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us From Gustav at cactus.dk Wed Dec 20 11:53:29 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Dec 2006 18:53:29 +0100 Subject: [AccessD] Password Generator? Message-ID: Hi Mark That could be an MD5 hash - you may call it a one-way encryption: http://databaseadvisors.com/pipermail/accessd/2003-September/014024.html /gustav >>> markamatte at hotmail.com 20-12-2006 18:26 >>> Hello All, I was asked to look at an A97 db. At first glance it was apparently created by the addressBook wizard. When I found they paid 2 or 3 grand for it about 6 years ago...kinda made me ill...but anyway. The I noticed some of the forms required a password. I looked at the tables...and sure enough there was tblPassword that had the input mask set to 'Password'...so I switched it...and there were the passwords...so I thought...they were all numbers. I tried the numbers when opening the forms...but no luck. Here is another confusing part...the db opens to Switchboard with the db window minimized...nothing is locked down...its wide open...why a password? Anyway...I went to design view...and what I found...really amazed me. There are about 16 lines of code that takes whatever you type in...does some Asc() some MOD some -+/* and loops through all of these calculations to come up with a number. I then realized that the numbers in the password table actually matched to a word/phrase/number and case sensitive. Since there is a single number that was the result of a list of calculations...I can't think of anyway to figure out what phrase would match the existing numbers. But I can put a phrase in...step through the code...see the resulting number...then go put it in the table. Has anyone seen/done something like this? Even thought this was 'purchased'(consultant came in and built...still makes me ill)....there is no documentation...or information related to who wrote this code...It should be ok to post here? Just curious what approaches others use for security. In and .MDE this would be brilliant in my opinion. Thanks, Mark A. Matte From shamil at users.mns.ru Wed Dec 20 12:01:36 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 20 Dec 2006 21:01:36 +0300 Subject: [AccessD] Database Advisors lists In-Reply-To: <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> Message-ID: <000301c72460$e4377ad0$6401a8c0@nant> John, Paypal is closed for Russian citizens too. (I can use my credit cards with Amazon etc.) That's funny - one of the founders of PayPal is Russian by nationality AFAIHH... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, December 20, 2006 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Stuart, Are you really not able to use a credit card? Geez! I have tested this in every way that I know how to. I have the same type of PayPal account set up for my company and I've gotten payments from Korea. I guess I'll have to ask you to be on the DBA funding Committee so you can be our official S. Pacific tester. Want to be on our funding committee? :o) John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com <<< tail skipped >>> From john at winhaven.net Wed Dec 20 12:22:12 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 12:22:12 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <000301c72460$e4377ad0$6401a8c0@nant> Message-ID: <069c01c72463$c52e8130$1402a8c0@ScuzzPaq> Hi Shamil, Is there an alternative that you know of that we can use to accept Russian and PNG transactions? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, December 20, 2006 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists John, Paypal is closed for Russian citizens too. (I can use my credit cards with Amazon etc.) That's funny - one of the founders of PayPal is Russian by nationality AFAIHH... -- Shamil From Kwilliamson at RTKL.com Wed Dec 20 12:35:17 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 13:35:17 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: Okay...this is getting more bizarre. I keep pasting the sql statement into the VB window....and it keeps automatically putting the statement on (4) lines....with and end quote at the back of the first line (that line only). I can't get rid of the quote....nor will it let me try to put the entire statement on one line. grrrrrrrrrrr Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Perhaps you need quotes around the sql string? GK On 12/20/06, Keith Williamson wrote: > Yeah. That is what is funny. That is how I got the Sql statement in > the first place. I had a bound form that worked, and simply copied the > recordsource. I used the same recordsource statement in my event for > the click button. > > And when I copy that same sql statement into a new query....it works > fine. > > ?? > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 11:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Sometimes when I can't spot a problem in a lengthy SQL statement like > this I > paste it into the SQL view of a new query and then switch to the design > view. Sometimes you can spot the problem that way. > > I would also paste the original record source SQL and the modified SQL > into > WordPad and eyeball them for differences. The line breaks should occur > in > roughly the same places so you can start by checking the length of each > and > the end of each line to find the differences. > > HTH > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Here is the sql statement: > > me.form.RecordSource = (SELECT > [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > AS [Total Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > qryWeeklyTimesheetVarianceSummary ON > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > AND > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > ) ON > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > ntity]) AND > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > nth]) AND > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > r]) > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > Me.Form.Requery > > > Anyone? Anyone? > > :) > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Put a debug statement to print the SQL string right before the > me.recordsource = and post it. Someone will see that there's probably a > syntax/punctuation error. > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 7:05 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Unbound Subform Revisited > > Hey Guys, > > > > If I want to change a bound form to an unbound form, am I going about it > correctly if I do the following: > > > > 1) Add (3) unbound text fields for variables in form header; > > 2) Delete Record Source for form; > > 3) Add button to form header; > > 4) Add Event to button, to set form.recordsource = (original sql > statement for record source, deleted in step 2, but also add where > statements for the (3) variables in the unbound text fields) > > > > Shouldn't this run? I keep getting a syntax error on my sql statement, > when I click the button. Even if I change the sql statement to exactly > equal the original recordsource statement....I get the syntax error. > > > > ?? > > > > Thanks, > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > -- 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 garykjos at gmail.com Wed Dec 20 12:51:08 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 20 Dec 2006 12:51:08 -0600 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: References: Message-ID: There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK On 12/20/06, Keith Williamson wrote: > Okay...this is getting more bizarre. I keep pasting the sql statement > into the VB window....and it keeps automatically putting the statement > on (4) lines....with and end quote at the back of the first line (that > line only). I can't get rid of the quote....nor will it let me try to > put the entire statement on one line. > > > grrrrrrrrrrr > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Wednesday, December 20, 2006 12:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Perhaps you need quotes around the sql string? > > GK > > On 12/20/06, Keith Williamson wrote: > > Yeah. That is what is funny. That is how I got the Sql statement in > > the first place. I had a bound form that worked, and simply copied > the > > recordsource. I used the same recordsource statement in my event for > > the click button. > > > > And when I copy that same sql statement into a new query....it works > > fine. > > > > ?? > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 11:33 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Sometimes when I can't spot a problem in a lengthy SQL statement like > > this I > > paste it into the SQL view of a new query and then switch to the > design > > view. Sometimes you can spot the problem that way. > > > > I would also paste the original record source SQL and the modified SQL > > into > > WordPad and eyeball them for differences. The line breaks should > occur > > in > > roughly the same places so you can start by checking the length of > each > > and > > the end of each line to find the differences. > > > > HTH > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 8:14 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Here is the sql statement: > > > > me.form.RecordSource = (SELECT > > [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity], > > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > > Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > > AS [OT2 Standard Cost], > Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > > AS [Total Standard Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > > qryWeeklyTimesheetVarianceSummary ON > > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) > AND > > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > > AND > > > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > > ) ON > > > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > > ntity]) AND > > > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > > nth]) AND > > > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > > r]) > > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > > > Me.Form.Requery > > > > > > Anyone? Anyone? > > > > :) > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Put a debug statement to print the SQL string right before the > > me.recordsource = and post it. Someone will see that there's probably > a > > syntax/punctuation error. > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 7:05 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Unbound Subform Revisited > > > > Hey Guys, > > > > > > > > If I want to change a bound form to an unbound form, am I going about > it > > correctly if I do the following: > > > > > > > > 1) Add (3) unbound text fields for variables in form header; > > > > 2) Delete Record Source for form; > > > > 3) Add button to form header; > > > > 4) Add Event to button, to set form.recordsource = (original sql > > statement for record source, deleted in step 2, but also add where > > statements for the (3) variables in the unbound text fields) > > > > > > > > Shouldn't this run? I keep getting a syntax error on my sql > statement, > > when I click the button. Even if I change the sql statement to > exactly > > equal the original recordsource statement....I get the syntax error. > > > > > > > > ?? > > > > > > > > Thanks, > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > > -- > Gary Kjos > garykjos at gmail.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 > -- Gary Kjos garykjos at gmail.com From shamil at users.mns.ru Wed Dec 20 12:43:18 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 20 Dec 2006 21:43:18 +0300 Subject: [AccessD] Database Advisors lists In-Reply-To: <069c01c72463$c52e8130$1402a8c0@ScuzzPaq> Message-ID: <000e01c72466$b7d2ad10$6401a8c0@nant> Hi John, That could be electronic banking using SWIFT if AccessD has a bank account where money could be sent via SWIFT or that could be Western Union for cash transfer: for the latter somebody's name and address there is needed - both money transfer methods are rather expensive when transferring small sums... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, December 20, 2006 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Shamil, Is there an alternative that you know of that we can use to accept Russian and PNG transactions? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, December 20, 2006 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists John, Paypal is closed for Russian citizens too. (I can use my credit cards with Amazon etc.) That's funny - one of the founders of PayPal is Russian by nationality AFAIHH... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 13:10:40 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 14:10:40 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: ooooooooooooOOOOOOOOOOOO!!!!! Thanks!!! I'll give that a try!! :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK On 12/20/06, Keith Williamson wrote: > Okay...this is getting more bizarre. I keep pasting the sql statement > into the VB window....and it keeps automatically putting the statement > on (4) lines....with and end quote at the back of the first line (that > line only). I can't get rid of the quote....nor will it let me try to > put the entire statement on one line. > > > grrrrrrrrrrr > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Wednesday, December 20, 2006 12:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Perhaps you need quotes around the sql string? > > GK > > On 12/20/06, Keith Williamson wrote: > > Yeah. That is what is funny. That is how I got the Sql statement in > > the first place. I had a bound form that worked, and simply copied > the > > recordsource. I used the same recordsource statement in my event for > > the click button. > > > > And when I copy that same sql statement into a new query....it works > > fine. > > > > ?? > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 11:33 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Sometimes when I can't spot a problem in a lengthy SQL statement like > > this I > > paste it into the SQL view of a new query and then switch to the > design > > view. Sometimes you can spot the problem that way. > > > > I would also paste the original record source SQL and the modified SQL > > into > > WordPad and eyeball them for differences. The line breaks should > occur > > in > > roughly the same places so you can start by checking the length of > each > > and > > the end of each line to find the differences. > > > > HTH > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 8:14 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Here is the sql statement: > > > > me.form.RecordSource = (SELECT > > [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity], > > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > > Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > > AS [OT2 Standard Cost], > Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > > AS [Total Standard Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > > qryWeeklyTimesheetVarianceSummary ON > > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) > AND > > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > > AND > > > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > > ) ON > > > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > > ntity]) AND > > > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > > nth]) AND > > > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > > r]) > > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > > > Me.Form.Requery > > > > > > Anyone? Anyone? > > > > :) > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Put a debug statement to print the SQL string right before the > > me.recordsource = and post it. Someone will see that there's probably > a > > syntax/punctuation error. > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 7:05 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Unbound Subform Revisited > > > > Hey Guys, > > > > > > > > If I want to change a bound form to an unbound form, am I going about > it > > correctly if I do the following: > > > > > > > > 1) Add (3) unbound text fields for variables in form header; > > > > 2) Delete Record Source for form; > > > > 3) Add button to form header; > > > > 4) Add Event to button, to set form.recordsource = (original sql > > statement for record source, deleted in step 2, but also add where > > statements for the (3) variables in the unbound text fields) > > > > > > > > Shouldn't this run? I keep getting a syntax error on my sql > statement, > > when I click the button. Even if I change the sql statement to > exactly > > equal the original recordsource statement....I get the syntax error. > > > > > > > > ?? > > > > > > > > Thanks, > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > > -- > Gary Kjos > garykjos at gmail.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 > -- 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 john at winhaven.net Wed Dec 20 13:10:06 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 13:10:06 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <000e01c72466$b7d2ad10$6401a8c0@nant> Message-ID: <06f001c7246a$7681f470$1402a8c0@ScuzzPaq> Thanks Shamil, I'll look into them further and post here if we get a service that will work for everyone. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, December 20, 2006 12:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi John, That could be electronic banking using SWIFT if AccessD has a bank account where money could be sent via SWIFT or that could be Western Union for cash transfer: for the latter somebody's name and address there is needed - both money transfer methods are rather expensive when transferring small sums... -- Shamil From Jim.Hale at FleetPride.com Wed Dec 20 14:40:46 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 20 Dec 2006 14:40:46 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE194@corp-es01.fleetpride.com> I got what I needed. The automated credit card process worked great. :-) Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 19, 2006 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Kwilliamson at RTKL.com Wed Dec 20 14:56:30 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 15:56:30 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE194@corp-es01.fleetpride.com> Message-ID: Yipeeeeeee!!! No extra work for meeeeeee!!! :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, December 20, 2006 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I got what I needed. The automated credit card process worked great. :-) Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 19, 2006 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 16:59:27 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 17:59:27 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. :( Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK From mmattys at rochester.rr.com Wed Dec 20 17:18:49 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 20 Dec 2006 18:18:49 -0500 Subject: [AccessD] Unbound Subform Revisited References: Message-ID: <012801c7248d$35da0de0$0302a8c0@default> Maybe this will work: strSQL = "SELECT [t1].[Year],[t1].[Month], [t1].[Entity], Sum([t1].[SumOfRegPay]) AS [Reg StandCost], Sum([t1].[SumOfOvtPay]) AS [OTStandard Cost], Sum([t1].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([t1].[ActReg]) AS [Calc Reg Cost], Sum([t1].[ActOvt]) AS [Calc OT Cost], Sum([t1].[ActOvt2]) AS [Calc OT2 Cost], Sum([t1].[actreg]+[t1].[actovt]+[t1].[actovt2]) AS [Total Calc Cost], First([t3].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([t2].[SumOfHrs]) AS FirstOfSumOfHrs, First([t2].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary As t2 RIGHT JOIN (qryPayrollPaid As t3 RIGHT JOIN qryWeeklyTimesheetVarianceSummary As t1 ON ([t3].[Year]=[t1].[Year]) AND ([t3].[Month]=[t1].[Month]) AND ([t3].[Entity]= [t1].[Entity]) ) ON ([t2].[Entity]=[t1].[Entity]) AND ([t2].[Month]= [t1].[Month]) AND ([t2].[Year]=[t1].[Year]) WHERE [t1].[Entity] = '00' And [t1].[Month] = 10 And [t1].[Year] = 2006 GROUP BY [t1].[Year], [t1].[Month], [t1].[Entity]" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Wednesday, December 20, 2006 5:59 PM Subject: Re: [AccessD] Unbound Subform Revisited > Well....I tried that, as follows: > > Dim strSQL As String From stuart at lexacorp.com.pg Wed Dec 20 18:01:43 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 21 Dec 2006 10:01:43 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> References: <45885792.26284.271F424@stuart.lexacorp.com.pg>, <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> Message-ID: <4589CEE7.11380.1F19CA@stuart.lexacorp.com.pg> On 20 Dec 2006 at 11:31, John Bartow wrote: > Hi Stuart, > Are you really not able to use a credit card? Geez! I have tested this in > every way that I know how to. I have the same type of PayPal account set up > for my company and I've gotten payments from Korea. Follow the donations link and look at the list of 103 countries that PayPal has in the selection list for credit card payments. Korea is there, PNG along with 90 other countries isn't. If your country isn't in the list, PayPal won't accept a credit card payment since the country is a required field. How about emailing me the details of a bank account: Bank Name, Branch, BSB Code, Account Number and Name. I can do a direct transfer to any bank account in the world through my bank. -- Stuart From rl_stewart at highstream.net Wed Dec 20 13:20:27 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 20 Dec 2006 13:20:27 -0600 Subject: [AccessD] Articles? In-Reply-To: References: Message-ID: <200612201925.kBKJPOq09467@databaseadvisors.com> John, Okay, I went to the site. I tried to check previous articles so I could see the kind of articles that had been previously written, not to produce a duplicate. And amazingly enough, there is not a menu item for articles. There also does not seem to be any guidelines that I could find. No archive of articles. Can you enlighten me? Robert At 12:00 PM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 10:19:55 -0600 >From: "John Bartow" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <060e01c72452$b02f3330$1402a8c0 at ScuzzPaq> >Content-Type: text/plain; charset="us-ascii" > >Robert, >We request that our list members write articles for DBA to post on DBA's >site. > >You are always welcome to do that, and I strongly encourage you to do so. >All of our articles give full credit to the authors. > >However we ask that you please don't solicit our list members for personal >site/gain without the express written permission of the board of directors. > >Thank you for your cooperation, >John Bartow, President >Database Advisors, Inc. >Email: mailto:president at databaseadvisors.com >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Dec 20 18:18:02 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 16:18:02 -0800 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: <00c501c72495$7ae036f0$6601a8c0@HAL9005> Did you try pasting it into the SQL view of a new query and looking at the design view? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. :( Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From darrend at nimble.com.au Wed Dec 20 18:24:46 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 21 Dec 2006 11:24:46 +1100 Subject: [AccessD] Database Advisors lists In-Reply-To: <4589CEE7.11380.1F19CA@stuart.lexacorp.com.pg> Message-ID: <200612210024.kBL0Ooq02105@databaseadvisors.com> Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) From robert at servicexp.com Wed Dec 20 18:34:59 2006 From: robert at servicexp.com (Robert) Date: Wed, 20 Dec 2006 19:34:59 -0500 Subject: [AccessD] Accepting Credit Cards? In-Reply-To: <200612210024.kBL0Ooq02105@databaseadvisors.com> Message-ID: <000b01c72497$d9f2fb30$6501a8c0@roberts> For those of you who accept credit cards, who are you using and how do the rates compare with others.? I'm looking for a web and phone based solution. Robert From dajomigo at dgsolutions.net.au Wed Dec 20 22:24:18 2006 From: dajomigo at dgsolutions.net.au (David & Joanne Gould) Date: Thu, 21 Dec 2006 15:24:18 +1100 Subject: [AccessD] Query => values not in... In-Reply-To: <20061220110316.44233.qmail@web31601.mail.mud.yahoo.com> References: <20061220110316.44233.qmail@web31601.mail.mud.yahoo.com> Message-ID: <7.0.1.0.2.20061221151757.024213c0@dgsolutions.net.au> Sander If you create two queries: the first lists all the records that are in Staging (you will probably need a concatenated field for street and no - maybe called StreetAddress). The second uses the first query and the Customer table and includes in the criteria of a concatenated field for street and number the following code "Not In (select StreetAddress from qryStagingAddresses) If I understand you correctly, this should work. David At 10:03 PM 20/12/2006, you wrote: >Stuart, > >I believe this will return all records from staging and the records >from Customer where the fields match and Customer.Street = NULL. > >I need all records from staging that are not in Customer. >Eg: >records in Staging: >street no >A 1 >B 2 > >records in Customer: >street no >A 1 >B 3 > >I need the query to return: >B,2 >Because this record isn't in Customer. >Hope this clarifies things. > >Regards, > >Sander > > >----- Original Message ---- >From: Stuart McLachlan >To: Access Developers discussion and problem solving > >Sent: Wednesday, December 20, 2006 11:37:07 AM >Subject: Re: [AccessD] Query => values not in... > > >Do a left join on the four fields and select where the right field is >null. > >Select * >from staging s >left join customers c on >s.street = c.street, >s.no = c.no, >s.city = c.city, >s.zipcode = c.zipcode >where c.street is null > >On 20 Dec 2006 at 2:01, Sad Der wrote: > > > Hi group, > > > > i've got 2 tables > > Customers > > Staging > > > > Both have fields: > > street > > no > > city > > zipcode > > > > I need the following results: > > Get all records from table Staging where (street, no, city, zipcode) not in > > (select street, no, city, zipcode from Customers) > > > > So if the combination of "street, no, city, zipcode" in the table > staging is > > not in the table Customers I want to see that record/ those > records How do I > > do this in Access SQL??? > > > > TIA > > > > Sander > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >-- >Stuart > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the be >t spam protection around >http://mail.yahoo.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Dec 20 23:42:11 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 20 Dec 2006 21:42:11 -0800 Subject: [AccessD] Articles? In-Reply-To: <200612201925.kBKJPOq09467@databaseadvisors.com> Message-ID: <0JAL0013OZRBB6O1@l-daemon> Hi Robert and all: There is a general call out for articles on various Office and other MS products, to make up the next newsletters that will be posted on the DBA site. There are no specific expected criteria within that range. All that is necessary is new subject describing an area of expertise. Check out the document sections for samples: http://www.databaseadvisors.com/newsletters.asp ...and review the section called Author Guidelines at: http://www.databaseadvisors.com/newsletters/authorconventions.asp Do not be concerned if this is your first article as there are a number of people who would be glad to make suggestions and give help. All articles must be reviewed before final posting This format is an excellent opportunity to get exposure and enhance your web presents as well as helping our lists. The DBA site is current under going a number of changes and new features have been planned but a lot of this will be determined by which location the web site finally settles at. Your suggestion should definitely be a top request. Thanks for your comments Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, December 20, 2006 11:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Articles? John, Okay, I went to the site. I tried to check previous articles so I could see the kind of articles that had been previously written, not to produce a duplicate. And amazingly enough, there is not a menu item for articles. There also does not seem to be any guidelines that I could find. No archive of articles. Can you enlighten me? Robert At 12:00 PM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 10:19:55 -0600 >From: "John Bartow" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <060e01c72452$b02f3330$1402a8c0 at ScuzzPaq> >Content-Type: text/plain; charset="us-ascii" > >Robert, >We request that our list members write articles for DBA to post on DBA's >site. > >You are always welcome to do that, and I strongly encourage you to do so. >All of our articles give full credit to the authors. > >However we ask that you please don't solicit our list members for personal >site/gain without the express written permission of the board of directors. > >Thank you for your cooperation, >John Bartow, President >Database Advisors, Inc. >Email: mailto:president at databaseadvisors.com >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 Wed Dec 20 23:43:47 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 20 Dec 2006 21:43:47 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612210024.kBL0Ooq02105@databaseadvisors.com> Message-ID: <0JAL0021RZTZW070@l-daemon> Hi Darren: I will check to see what the issues are. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, December 20, 2006 4:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 21 01:45:34 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 01:45:34 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612210024.kBL0Ooq02105@databaseadvisors.com> Message-ID: <020801c724d4$004c1000$1402a8c0@ScuzzPaq> Hi Darren, Which browser were you using? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, December 20, 2006 6:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Dec 21 02:19:49 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Dec 2006 09:19:49 +0100 Subject: [AccessD] Unbound Subform Revisited Message-ID: Hi Keith This line caught my eye: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And Should read: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = '00' And /gustav >>> Kwilliamson at RTKL.com 20-12-2006 23:59 >>> Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. From Kwilliamson at RTKL.com Thu Dec 21 08:06:21 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 21 Dec 2006 09:06:21 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: Ooh...Thanks! I'll try that. Thanks for the review. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 21, 2006 3:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Unbound Subform Revisited Hi Keith This line caught my eye: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And Should read: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = '00' And /gustav >>> Kwilliamson at RTKL.com 20-12-2006 23:59 >>> Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Dec 21 07:45:48 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 21 Dec 2006 07:45:48 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: References: Message-ID: <200612211349.kBLDnsq12375@databaseadvisors.com> You might also try Moneygram International. For sums up to $500, it is $9.99 for the transfer. I send money to Russia to my fiance that way. I guess that you can send it to the USA the same way. At 01:45 AM 12/21/2006, you wrote: >Date: Wed, 20 Dec 2006 21:43:18 +0300 >From: "Shamil Salakhetdinov" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000e01c72466$b7d2ad10$6401a8c0 at nant> >Content-Type: text/plain; charset="US-ASCII" > >Hi John, > >That could be electronic banking using SWIFT if AccessD has a bank account >where money could be sent via SWIFT or that could be Western Union for cash >transfer: for the latter somebody's name and address there is needed - both >money transfer methods are rather expensive when transferring small sums... > >-- >Shamil From garykjos at gmail.com Thu Dec 21 08:40:02 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Dec 2006 08:40:02 -0600 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: References: Message-ID: Yea Gustav Good Catch! Yes Keith you need to change any embedded double quotes in the SQL to single quotes GK On 12/21/06, Gustav Brock wrote: > Hi Keith > > This line caught my eye: > > "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > > Should read: > > "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = '00' And > > /gustav > > > >>> Kwilliamson at RTKL.com 20-12-2006 23:59 >>> > Well....I tried that, as follows: > > Dim strSQL As String > > strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > AS [Total Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " > + _ > "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > qryWeeklyTimesheetVarianceSummary ON > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > AND > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > ) ON > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > ntity]) AND > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > nth]) AND > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > r]) " + _ > "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ > "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity]; " > > Me.RecordSource = strSQL > > > > > Made no difference. I still got the Syntax Error. > > > -- > 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 cfoust at infostatsystems.com Thu Dec 21 10:13:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 08:13:09 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <003501c7244c$1bfb0aa0$6601a8c0@HAL9005> Message-ID: Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From john at winhaven.net Thu Dec 21 10:15:50 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 10:15:50 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612211349.kBLDnsq12375@databaseadvisors.com> Message-ID: <03cf01c7251b$48495a60$1402a8c0@ScuzzPaq> Thanks, I'll check that out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, December 21, 2006 7:46 AM You might also try Moneygram International. For sums up to $500, it is $9.99 for the transfer. I send money to Russia to my fiance that way. I guess that you can send it to the USA the same way. From cfoust at infostatsystems.com Thu Dec 21 10:17:24 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 08:17:24 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <002101c72414$7636b0b0$657aa8c0@m6805> Message-ID: HAH!! We'll see about that! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, December 20, 2006 12:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >but there's no one on this list saying, "My way or the highway" like >you find on others. At least now that the great PK debate is settled and everyone agrees that it's MY WAY. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, December 19, 2006 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- 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 cfoust at infostatsystems.com Thu Dec 21 10:20:29 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 08:20:29 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <014901c7240b$fe2f2050$1402a8c0@ScuzzPaq> Message-ID: I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 Thu Dec 21 10:52:08 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 10:52:08 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <03f701c72520$68ccc560$1402a8c0@ScuzzPaq> No, not Woody's, I wouldn't do that to the good people over there! :o) I have a list of Access lists that I used to be involved with where people apparently give advice for their ego's sake alone rather than doing it to help out a fellow developer and getting warm & fuzzy for doing so (like the folks on our lists) Eww, didn't need to put that image in my mind ;o) I really have always gotten the impression from folks here that they genuinely like to help others. Of course one can get a bit of a self image boost from doing so but I don't see the attitude here that makes that a priority. The debates we have aren't necessarily about ego - they're about educating. The advice on the other lists wasn't bad advice just rude and arrogant. I would post the same question to all of the lists sometimes just to see the difference in response and attitude. I used to have nicknames for my lists so my wife would know which I was talking about. The mean list, the snob list, the nice list. Can you guess which one was the nice list? I used to be on Woody's (I may even still be subscribed?) but the forum format doesn't work out for very good. Is Helen still doing the job there? Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 DWUTKA at marlow.com Thu Dec 21 10:58:38 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 21 Dec 2006 10:58:38 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B01720152@marlow_main2.marlow.ii-vi.net> You don't think OT is a nice list? Traitor! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, December 21, 2006 10:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists No, not Woody's, I wouldn't do that to the good people over there! :o) I have a list of Access lists that I used to be involved with where people apparently give advice for their ego's sake alone rather than doing it to help out a fellow developer and getting warm & fuzzy for doing so (like the folks on our lists) Eww, didn't need to put that image in my mind ;o) I really have always gotten the impression from folks here that they genuinely like to help others. Of course one can get a bit of a self image boost from doing so but I don't see the attitude here that makes that a priority. The debates we have aren't necessarily about ego - they're about educating. The advice on the other lists wasn't bad advice just rude and arrogant. I would post the same question to all of the lists sometimes just to see the difference in response and attitude. I used to have nicknames for my lists so my wife would know which I was talking about. The mean list, the snob list, the nice list. Can you guess which one was the nice list? I used to be on Woody's (I may even still be subscribed?) but the forum format doesn't work out for very good. Is Helen still doing the job there? Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 john at winhaven.net Thu Dec 21 11:12:34 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 11:12:34 -0600 Subject: [AccessD] dba-OT (was: Database Advisors lists) In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B01720152@marlow_main2.marlow.ii-vi.net> Message-ID: <041901c72523$35e3e7c0$1402a8c0@ScuzzPaq> That was in reference to some of the other terms in my previous message :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka You don't think OT is a nice list? Traitor! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) From DWUTKA at marlow.com Thu Dec 21 11:36:50 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 21 Dec 2006 11:36:50 -0600 Subject: [AccessD] dba-OT (was: Database Advisors lists) Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0172016E@marlow_main2.marlow.ii-vi.net> Ok, you're forgiven! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, December 21, 2006 11:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dba-OT (was: Database Advisors lists) That was in reference to some of the other terms in my previous message :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka You don't think OT is a nice list? Traitor! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Dec 21 11:49:04 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 09:49:04 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <03f701c72520$68ccc560$1402a8c0@ScuzzPaq> Message-ID: Thank you for that noble deed, kind sir. No, Helen (like Woody himself) is off doing books and newsletters. We have a wonderful Dutch developer who must have 10 fingers on each hand the way he answers questions as soon as they're asked. Plus a huge body of members who answer questions in the other forums. Woody's is primarily oriented toward Windows/Office, but we wander afield a bit. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 21, 2006 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists No, not Woody's, I wouldn't do that to the good people over there! :o) I have a list of Access lists that I used to be involved with where people apparently give advice for their ego's sake alone rather than doing it to help out a fellow developer and getting warm & fuzzy for doing so (like the folks on our lists) Eww, didn't need to put that image in my mind ;o) I really have always gotten the impression from folks here that they genuinely like to help others. Of course one can get a bit of a self image boost from doing so but I don't see the attitude here that makes that a priority. The debates we have aren't necessarily about ego - they're about educating. The advice on the other lists wasn't bad advice just rude and arrogant. I would post the same question to all of the lists sometimes just to see the difference in response and attitude. I used to have nicknames for my lists so my wife would know which I was talking about. The mean list, the snob list, the nice list. Can you guess which one was the nice list? I used to be on Woody's (I may even still be subscribed?) but the forum format doesn't work out for very good. Is Helen still doing the job there? Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 Thu Dec 21 15:51:59 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 21 Dec 2006 13:51:59 -0800 Subject: [AccessD] Completely OT In-Reply-To: Message-ID: <0JAN003EP8NJL0L0@l-daemon> OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim From bchacc at san.rr.com Thu Dec 21 16:54:04 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 21 Dec 2006 14:54:04 -0800 Subject: [AccessD] Completely OT In-Reply-To: <0JAN003EP8NJL0L0@l-daemon> Message-ID: <004d01c72552$ea4ded30$6901a8c0@HAL9005> It's a DVD and not a CD? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 1:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely OT OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From accessd at shaw.ca Thu Dec 21 18:32:19 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 21 Dec 2006 16:32:19 -0800 Subject: [AccessD] Completely OT In-Reply-To: <004d01c72552$ea4ded30$6901a8c0@HAL9005> Message-ID: <0JAN00751G2SBQD0@l-daemon> Hi Rocky: Well, I stand corrected. There are only two MS packages that I have never worked with... Millennium and XP Home Edition and I can now knock one more off the list. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, December 21, 2006 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Completely OT It's a DVD and not a CD? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 1:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely OT OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Dec 21 18:45:45 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 21 Dec 2006 16:45:45 -0800 Subject: [AccessD] Completely OT In-Reply-To: <0JAN00751G2SBQD0@l-daemon> Message-ID: <005701c72562$845febd0$6901a8c0@HAL9005> I just had the unfortunate occasion to work with an ME laptop. Ran like a stuck pig. I wiped it and put W2K on it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 4:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Completely OT Hi Rocky: Well, I stand corrected. There are only two MS packages that I have never worked with... Millennium and XP Home Edition and I can now knock one more off the list. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, December 21, 2006 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Completely OT It's a DVD and not a CD? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 1:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely OT OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From darrend at nimble.com.au Thu Dec 21 19:03:35 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 22 Dec 2006 12:03:35 +1100 Subject: [AccessD] Database Advisors lists In-Reply-To: <020801c724d4$004c1000$1402a8c0@ScuzzPaq> Message-ID: <200612220103.kBM13dq30866@databaseadvisors.com> IE Darren ------------------ T: 0424 696 433 -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, 21 December 2006 6:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Darren, Which browser were you using? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, December 20, 2006 6:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) -- 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 mwp.reid at qub.ac.uk Fri Dec 22 07:09:38 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 13:09:38 -0000 Subject: [AccessD] Unbound Again References: Message-ID: Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From bchacc at san.rr.com Fri Dec 22 07:42:04 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 22 Dec 2006 05:42:04 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <001101c725ce$f7cc71d0$6901a8c0@HAL9005> Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From mwp.reid at qub.ac.uk Fri Dec 22 08:27:55 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 14:27:55 -0000 Subject: [AccessD] Unbound Again References: <001101c725ce$f7cc71d0$6901a8c0@HAL9005> Message-ID: Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 22 08:39:31 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 09:39:31 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <003c01c725d6$fed3a220$1501a8c0@m6805> The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 22 08:45:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 09:45:14 -0500 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <003d01c725d7$cb8a8e00$1501a8c0@m6805> Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From bchacc at san.rr.com Fri Dec 22 08:51:44 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 22 Dec 2006 06:51:44 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <001d01c725d8$b30f5a80$6901a8c0@HAL9005> Let me know if I can help. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From mwp.reid at qub.ac.uk Fri Dec 22 09:08:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 15:08:25 -0000 Subject: [AccessD] Unbound Again References: <001d01c725d8$b30f5a80$6901a8c0@HAL9005> Message-ID: Actually was going to ask you to read it over before I send it in. Almost finished it now. Will do a section on Locking re JCs email for information only and a few exampels and thats it done. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 14:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Let me know if I can help. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Dec 22 09:23:21 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 Dec 2006 09:23:21 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <29665297.1166798673942.JavaMail.root@sniper62> Message-ID: <002b01c725dd$1dfe6580$0200a8c0@danwaters> Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 bchacc at san.rr.com Fri Dec 22 09:24:30 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 22 Dec 2006 07:24:30 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <002401c725dd$47401290$6901a8c0@HAL9005> Send it over when ready. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Actually was going to ask you to read it over before I send it in. Almost finished it now. Will do a section on Locking re JCs email for information only and a few exampels and thats it done. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 14:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Let me know if I can help. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From jwcolby at colbyconsulting.com Fri Dec 22 10:03:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 11:03:45 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <002b01c725dd$1dfe6580$0200a8c0@danwaters> Message-ID: <004c01c725e2$c2e45910$1501a8c0@m6805> ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 Fri Dec 22 10:07:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 08:07:37 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <0JAO0045CNDIPP80@l-daemon> Hi Martin: First: the field's property 'text' and 'value' contents will be different if there has been any change in the field. Second: the content of the current record, in the recordset, used to populate the form will have differences. Third: The 'dirty' property will be set if there are any values changes in the form. One or all of these can be checked. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From jwcolby at colbyconsulting.com Fri Dec 22 10:09:30 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 11:09:30 -0500 Subject: [AccessD] #Error Message-ID: <004d01c725e3$906a7bd0$1501a8c0@m6805> I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Fri Dec 22 10:24:40 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 Dec 2006 10:24:40 -0600 Subject: [AccessD] #Error In-Reply-To: <3665957.1166804253764.JavaMail.root@sniper31> Message-ID: <003a01c725e5$b165b640$0200a8c0@danwaters> Could you first create a query for the SQL Server linked table which will only select record with data? Then do the outer join? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 10:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Dec 22 10:28:28 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 22 Dec 2006 16:28:28 +0000 Subject: [AccessD] #Error In-Reply-To: <004d01c725e3$906a7bd0$1501a8c0@m6805> Message-ID: John, Is the query you are building, or the subqueries, performing a calculation on the field in which you receive #error? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] #Error >Date: Fri, 22 Dec 2006 11:09:30 -0500 > >I am building up a query from subqueries. One of the subqueries comes from >a SQL Server view, linked to Access. When I do an outer join on that >subquery, I get #error in the fields for that subquery in any record where >there is no data coming from the SQL Server linked table. > >Has anyone ever seen this before? It looks similar to cases where you link >to a spreadsheet and the data type changes down the table. > >It is ugly and I do not want to (can't really) send this out. The end >result will be a text file sent to a bank or insurance company for >automatic >import into their database. I have never found a way to turn that #error >thing into any type of data that could be replaced with something else. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden Globes has it all. http://tv.msn.com/tv/globes2007/ From jimdettman at verizon.net Fri Dec 22 10:38:59 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 22 Dec 2006 11:38:59 -0500 Subject: [AccessD] #Error In-Reply-To: <004d01c725e3$906a7bd0$1501a8c0@m6805> Message-ID: <004f01c725e7$af0238e0$8abea8c0@XPS> John, Define the column using the function below. You can have it return whatever you want. Jim. Function AvoidError(n As Variant) On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = 0 Resume Next End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Dec 22 10:37:25 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 10:37:25 -0600 Subject: [AccessD] Unbound Again Message-ID: <17724746D360394AA3BFE5B8D40A9C1B01720254@marlow_main2.marlow.ii-vi.net> Depends how you have the background setup. If you are using a class/collection structure, you can build the class so that it is self monitoring for changes. It also depends if you want to monitor for changes, or if you just save when the user presses save. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 7:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From accessd at shaw.ca Fri Dec 22 10:48:14 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 08:48:14 -0800 Subject: [AccessD] Unbound Again In-Reply-To: <003d01c725d7$cb8a8e00$1501a8c0@m6805> Message-ID: <0JAO00BFZP97KL71@l-daemon> Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 10:50:05 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 16:50:05 -0000 Subject: [AccessD] Unbound Again References: <17724746D360394AA3BFE5B8D40A9C1B01720254@marlow_main2.marlow.ii-vi.net> Message-ID: Just out of interest and the reader would find it very informative dont suppose you have such a self aware class laying about. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Fri 22/12/2006 16:37 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Depends how you have the background setup. If you are using a class/collection structure, you can build the class so that it is self monitoring for changes. It also depends if you want to monitor for changes, or if you just save when the user presses save. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 7:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 11:08:14 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 17:08:14 -0000 Subject: [AccessD] Unbound Again References: <0JAO00BFZP97KL71@l-daemon> Message-ID: I am thinking that locking is the key to working unbound. All the other stuff is nice and easy really. Add, Edit, Delete etc is very much standard stuff. Its the locking that will catch many people out. Maybe I should write up a bit on that for this section. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Lawrence Sent: Fri 22/12/2006 16:48 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 DWUTKA at marlow.com Fri Dec 22 11:18:27 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 11:18:27 -0600 Subject: [AccessD] Unbound Again Message-ID: <17724746D360394AA3BFE5B8D40A9C1B01720267@marlow_main2.marlow.ii-vi.net> All my classes are self-aware! ;) just kidding. Honestly Martin, JC pointed out that a bound form locks records, which is the easiest way to ensure people aren't working over each other. In VB, it's much easier to create a self-aware class, because you can create control arrays on the fly, so hooking a control to a class property isn't much of a chore. If you are going completely unbound for data entry, you have to look at the usage. In a single user environment, no problem. In a multi-user environment, you have to create some sort of data checking method. Lot's of ways to do that, but it's complicated, and the bound method should be used. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Just out of interest and the reader would find it very informative dont suppose you have such a self aware class laying about. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Fri 22/12/2006 16:37 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Depends how you have the background setup. If you are using a class/collection structure, you can build the class so that it is self monitoring for changes. It also depends if you want to monitor for changes, or if you just save when the user presses save. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 7:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Dec 22 11:28:52 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 22 Dec 2006 09:28:52 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: I assume you mean record locking, not control locking, Martin. I've done it with ADO but I can't remember ever bothering with DAO. When ADO first came in with Access 2000, you couldn't bind a form to an ADO recordset and make it editable, so you had to use unbound forms and I learned. If you're dealing with DAO, one alternative is a bound unbound form, where the form has a bound recordset, but the controls are unbound. That allows you to lock the record and still use unbound controls. It takes more work though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again I am thinking that locking is the key to working unbound. All the other stuff is nice and easy really. Add, Edit, Delete etc is very much standard stuff. Its the locking that will catch many people out. Maybe I should write up a bit on that for this section. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Lawrence Sent: Fri 22/12/2006 16:48 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 colbyconsulting.com Fri Dec 22 11:30:47 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:30:47 -0500 Subject: [AccessD] #Error In-Reply-To: <004f01c725e7$af0238e0$8abea8c0@XPS> Message-ID: <005501c725ee$ebb9b950$1501a8c0@m6805> Hey, I like that. I ended up trapping the error inside of the function that builds up the file, but with this function of yours, I could do so right in the query that is returning the error. Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, December 22, 2006 11:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] #Error John, Define the column using the function below. You can have it return whatever you want. Jim. Function AvoidError(n As Variant) On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = 0 Resume Next End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.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 cfoust at infostatsystems.com Fri Dec 22 11:31:01 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 22 Dec 2006 09:31:01 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <004c01c725e2$c2e45910$1501a8c0@m6805> Message-ID: Well, it IS Friday! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 jwcolby at colbyconsulting.com Fri Dec 22 11:35:11 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:35:11 -0500 Subject: [AccessD] #Error In-Reply-To: Message-ID: <005601c725ef$88dbb4e0$1501a8c0@m6805> You know what, it is. I pull the data into a base query, and in that base query I run the values through ccur(), cdate() etc. and I also alias the fields (which causes no errors I think). That base query I then pass up to another query where I filter on the data. The odd point is that the base runs and the filtered query runs. Only when outer joined in the next level does the #error appear. I have seen weird anomalies like this before though, where something back in a subquery causes this kind of #error to suddenly appear. Jim's error finder function should work great though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 22, 2006 11:28 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] #Error John, Is the query you are building, or the subqueries, performing a calculation on the field in which you receive #error? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] #Error >Date: Fri, 22 Dec 2006 11:09:30 -0500 > >I am building up a query from subqueries. One of the subqueries comes >from a SQL Server view, linked to Access. When I do an outer join on >that subquery, I get #error in the fields for that subquery in any >record where there is no data coming from the SQL Server linked table. > >Has anyone ever seen this before? It looks similar to cases where you >link to a spreadsheet and the data type changes down the table. > >It is ugly and I do not want to (can't really) send this out. The end >result will be a text file sent to a bank or insurance company for >automatic import into their database. I have never found a way to turn >that #error thing into any type of data that could be replaced with >something else. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden >Globes has it all. http://tv.msn.com/tv/globes2007/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 22 11:35:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:35:29 -0500 Subject: [AccessD] #Error In-Reply-To: <003a01c725e5$b165b640$0200a8c0@danwaters> Message-ID: <005701c725ef$93b7b490$1501a8c0@m6805> In fact I am doing this. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 11:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] #Error Could you first create a query for the SQL Server linked table which will only select record with data? Then do the outer join? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 10:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.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 mwp.reid at qub.ac.uk Fri Dec 22 11:44:29 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 17:44:29 -0000 Subject: [AccessD] Unbound Again References: Message-ID: Thanks folks Actually I am thinking of adding this dicussion into the chapter. I find it interesting as well. I dont know enough about classes yet to take this on and I dont have time at the moment as this one needs to be done this evening. If anyone objects to me adding part of the conversation into the chpater drop me a line of list. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 22/12/2006 17:28 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again I assume you mean record locking, not control locking, Martin. I've done it with ADO but I can't remember ever bothering with DAO. When ADO first came in with Access 2000, you couldn't bind a form to an ADO recordset and make it editable, so you had to use unbound forms and I learned. If you're dealing with DAO, one alternative is a bound unbound form, where the form has a bound recordset, but the controls are unbound. That allows you to lock the record and still use unbound controls. It takes more work though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again I am thinking that locking is the key to working unbound. All the other stuff is nice and easy really. Add, Edit, Delete etc is very much standard stuff. Its the locking that will catch many people out. Maybe I should write up a bit on that for this section. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Lawrence Sent: Fri 22/12/2006 16:48 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 colbyconsulting.com Fri Dec 22 11:45:58 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:45:58 -0500 Subject: [AccessD] #Error In-Reply-To: <004f01c725e7$af0238e0$8abea8c0@XPS> Message-ID: <005801c725f1$0ac7a2b0$1501a8c0@m6805> I decided to do the following. Function AvoidError(n As Variant, Optional varRetOnError As Variant = "") On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = varRetOnError Resume Next End Function I then placed that in the query that wqas displaying #error and in fact it never even bothered to call the function, it simply reported #error. In my case I can use the function anyway, but use it in my function that builds up the output file. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, December 22, 2006 11:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] #Error John, Define the column using the function below. You can have it return whatever you want. Jim. Function AvoidError(n As Variant) On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = 0 Resume Next End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.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 sgsax at ksu.edu Fri Dec 22 11:47:38 2006 From: sgsax at ksu.edu (Seth Galitzer) Date: Fri, 22 Dec 2006 11:47:38 -0600 Subject: [AccessD] fantastic article Message-ID: <458C1A3A.80901@ksu.edu> Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn?t a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax From DWUTKA at marlow.com Fri Dec 22 12:07:03 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 12:07:03 -0600 Subject: [AccessD] fantastic article Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0172027A@marlow_main2.marlow.ii-vi.net> Great article Seth, thanks for sharing! Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Friday, December 22, 2006 11:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 12:10:56 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 18:10:56 -0000 Subject: [AccessD] fantastic article References: <458C1A3A.80901@ksu.edu> Message-ID: Hi Seth Great to see your still about and well Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Kwilliamson at RTKL.com Fri Dec 22 12:19:21 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 22 Dec 2006 13:19:21 -0500 Subject: [AccessD] fantastic article In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0172027A@marlow_main2.marlow.ii-vi.net> Message-ID: Good to see your name again!! :) Merry Holidays, everybody! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, December 22, 2006 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] fantastic article Great article Seth, thanks for sharing! Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Friday, December 22, 2006 11:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- 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 colbyconsulting.com Fri Dec 22 12:56:19 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 13:56:19 -0500 Subject: [AccessD] Unbound Again In-Reply-To: <0JAO00BFZP97KL71@l-daemon> Message-ID: <007701c725fa$deb84b20$1501a8c0@m6805> Just for the record... >Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. This statement is very misleading since even in versions that supposedly allow locking to the row level, they don't always and unambiguously. And the rules for how to force locking to the row level are ambiguous. And in all cases AFAICT, if the first user in the database is not locking to the row level, no one else can either. So all in all, "locking to the row level" is almost useless in real life. AFAICT, YMMV, etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 22, 2006 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 colbyconsulting.com Fri Dec 22 12:58:31 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 13:58:31 -0500 Subject: [AccessD] fantastic article In-Reply-To: <458C1A3A.80901@ksu.edu> Message-ID: <007801c725fb$2cf5e540$1501a8c0@m6805> OMG a ghost from the distant past. Happy Holidays Seth. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Friday, December 22, 2006 12:48 PM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 13:08:09 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 19:08:09 -0000 Subject: [AccessD] Happy Christmas References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: To everyone and a peaceful New Year Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From garykjos at gmail.com Fri Dec 22 13:38:12 2006 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 22 Dec 2006 13:38:12 -0600 Subject: [AccessD] Happy Christmas In-Reply-To: References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Fri Dec 22 14:41:56 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 22 Dec 2006 15:41:56 -0500 Subject: [AccessD] Happy Christmas In-Reply-To: Message-ID: HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- 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 DWUTKA at marlow.com Fri Dec 22 14:43:28 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 14:43:28 -0600 Subject: [AccessD] Happy Christmas Message-ID: <17724746D360394AA3BFE5B8D40A9C1B017202B5@marlow_main2.marlow.ii-vi.net> Sole time? Does that involve a dance floor? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.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 reuben at gfconsultants.com Fri Dec 22 15:11:30 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 22 Dec 2006 16:11:30 -0500 Subject: [AccessD] OT - Crystal Reports Message-ID: Can Crystal Reports create a report in any format? For example, I need sales data for all of 2004 and 2005 from a county. I would like it in Excel (or a text file) so that I an end up with an Access db so that I can link it to my data. Can Crystal Reports create Excel or text files? Thanks. Merry Christmas, Everyone!! Reuben Cummings GFC, LLC 812.523.1017 From Kwilliamson at RTKL.com Fri Dec 22 15:22:51 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 22 Dec 2006 16:22:51 -0500 Subject: [AccessD] Happy Christmas In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B017202B5@marlow_main2.marlow.ii-vi.net> Message-ID: That would be SOUL. I don't have one of those.....or so my Christian friends tell me. :) Well...maybe there IS one...but it isn't mine. lol Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, December 22, 2006 3:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Sole time? Does that involve a dance floor? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.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 DWUTKA at marlow.com Fri Dec 22 15:24:20 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 15:24:20 -0600 Subject: [AccessD] Happy Christmas Message-ID: <17724746D360394AA3BFE5B8D40A9C1B017202C6@marlow_main2.marlow.ii-vi.net> No, sole, the bottom of a shoe, or the surface placed upon a dance floor. ;) Soul just helps to dance better! ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 3:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas That would be SOUL. I don't have one of those.....or so my Christian friends tell me. :) Well...maybe there IS one...but it isn't mine. lol Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, December 22, 2006 3:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Sole time? Does that involve a dance floor? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.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 Fri Dec 22 16:20:12 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 14:20:12 -0800 Subject: [AccessD] OT Friday In-Reply-To: <005601c725ef$88dbb4e0$1501a8c0@m6805> Message-ID: <0JAP00M1H4MFZV61@l-daemon> OT Friday Hi All: Here is a link to a 10 year old PC (http://www.uti.com/~thekeep/dusty_pc.jpg) that someone sent me the address to this morning... and they think 10 years is old why the back office has old junk twice as old... or did until senior management said 'Get rid of it.' Jim PS Did anyone notice that there was a good bit of RAM shown. From BarbaraRyan at cox.net Fri Dec 22 13:29:20 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 22 Dec 2006 17:29:20 -0200 Subject: [AccessD] Happy Christmas References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: <00c601c725ff$7aa413d0$0a00a8c0@PCRURI35> Merry Christmas to all of you...Thanks for all that you do ....always so willing to help....always so kind....you seem just like family!.....Barb ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Friday, December 22, 2006 5:38 PM Subject: Re: [AccessD] Happy Christmas > Weird. How bout you just leave it on then ;-) > > Merry Christmas to you to Martin! And everyone else too of course. > > GK > > On 12/22/06, Martin Reid wrote: >> To everyone and a peaceful New Year >> >> Thats me til after Christmas Day. Tricia will kill me if I turn PC on >> after tomorrow. >> >> Martin >> >> Martin WP Reid >> Training and Assessment Unit >> Riddle Hall >> Belfast >> >> tel: 02890 974477 >> >> > > -- > 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 martyconnelly at shaw.ca Fri Dec 22 16:34:20 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 22 Dec 2006 14:34:20 -0800 Subject: [AccessD] Happy Christmas In-Reply-To: References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: <458C5D6C.1050106@shaw.ca> Wot? Did they close all the workhouses in Belfast? Martin Reid wrote: >To everyone and a peaceful New Year > >Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Dec 22 16:39:31 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 14:39:31 -0800 Subject: [AccessD] fantastic article In-Reply-To: <458C1A3A.80901@ksu.edu> Message-ID: <0JAP000W15INQZ40@l-daemon> Hi Seth: It is good to hear from you again. Would you mind updating you bio as it seems to be slightly dated? http://www.databaseadvisors.com/newsletters/bio_pages/bio_seth.asp Thanks for the article as it is timely when so many pundits are expounding on MS Access's timely death... or near death. Many of us on the list straddle the dark side every day. One thing is for sure that the List will morph as the technology expands. Have a great holiday. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Friday, December 22, 2006 9:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 22 16:52:01 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 14:52:01 -0800 Subject: [AccessD] Unbound Again In-Reply-To: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: <0JAP006PX63GOTW0@l-daemon> An additional note... It would not matter whether the default record-locking could lock a specific record or only lock down to a section of records an appropriately designed manual locking system would/could ignore those issues. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 10:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Just for the record... >Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. This statement is very misleading since even in versions that supposedly allow locking to the row level, they don't always and unambiguously. And the rules for how to force locking to the row level are ambiguous. And in all cases AFAICT, if the first user in the database is not locking to the row level, no one else can either. So all in all, "locking to the row level" is almost useless in real life. AFAICT, YMMV, etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 22, 2006 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 Fri Dec 22 17:00:44 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 15:00:44 -0800 Subject: [AccessD] Happy Christmas In-Reply-To: Message-ID: <0JAP00C5E6I0FEJ0@l-daemon> Wow that must be nice. Around this nerdy family everyone uses computers... During the break I just get to work on my families' web sites and computers. ...but it is eat, drink and code. Have a great Christmas break Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 11:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Happy Christmas To everyone and a peaceful New Year Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From randall.anthony at cox.net Fri Dec 22 19:21:13 2006 From: randall.anthony at cox.net (Randall Anthony) Date: Fri, 22 Dec 2006 20:21:13 -0500 Subject: [AccessD] OT - Crystal Reports In-Reply-To: Message-ID: <002401c72630$a2a73020$bcccfe18@DF2PJY11> Depending on the version of CR, when you create the report, it will display an export button similar to Word's version of exporting to whatever you would like. I'm not in the office right now to verify, but check it out. HTH. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Friday, December 22, 2006 4:12 PM To: AccessD Subject: [AccessD] OT - Crystal Reports Can Crystal Reports create a report in any format? For example, I need sales data for all of 2004 and 2005 from a county. I would like it in Excel (or a text file) so that I an end up with an Access db so that I can link it to my data. Can Crystal Reports create Excel or text files? Thanks. Merry Christmas, Everyone!! Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Dec 22 20:08:21 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 22 Dec 2006 21:08:21 -0500 Subject: [AccessD] OT Friday References: <0JAP00M1H4MFZV61@l-daemon> Message-ID: <00ad01c72637$38cec440$4798eb44@50NM721> ...lol ...that "good bit of RAM" looks suspiciously like 64 or 128mb to me :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, December 22, 2006 5:20 PM Subject: [AccessD] OT Friday > OT Friday > > Hi All: > > Here is a link to a 10 year old PC > (http://www.uti.com/~thekeep/dusty_pc.jpg) that someone sent me the > address > to this morning... and they think 10 years is old why the back office has > old junk twice as old... or did until senior management said 'Get rid of > it.' > > Jim > > PS Did anyone notice that there was a good bit of RAM shown. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Dec 22 20:56:51 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 18:56:51 -0800 Subject: [AccessD] OT Friday In-Reply-To: <00ad01c72637$38cec440$4798eb44@50NM721> Message-ID: <0JAP006BYHFIXA11@l-daemon> Hi William: There is a box in the back room that has 64MB of RAM on it. It is not because it can physically not accept more it is that mother-board would not know what to do with any more. This NT rocket use to be the server for the whole office and the most powerful thing money could buy (about $3000.00). Today, it would be difficult to boot it with KNOPPIX Linux. Have a good Christmas break... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, December 22, 2006 6:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday ...lol ...that "good bit of RAM" looks suspiciously like 64 or 128mb to me :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, December 22, 2006 5:20 PM Subject: [AccessD] OT Friday > OT Friday > > Hi All: > > Here is a link to a 10 year old PC > (http://www.uti.com/~thekeep/dusty_pc.jpg) that someone sent me the > address > to this morning... and they think 10 years is old why the back office has > old junk twice as old... or did until senior management said 'Get rid of > it.' > > Jim > > PS Did anyone notice that there was a good bit of RAM shown. > > -- > 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 artful at rogers.com Fri Dec 22 21:08:44 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 22 Dec 2006 19:08:44 -0800 (PST) Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. Message-ID: <20061223030844.56052.qmail@web88214.mail.re2.yahoo.com> I confess my age. I turned 59 about a month ago. I started out in 1982 using a Commodore 64 to which I had access once a week. The first program I wrote was a game of craps. It could accept 4 players and side bets in every direction. There was something very good about having to print out the source and not be able to modify it for a week. It caused one to think very carefully about one's revisions. In these modern instant-compile IDEs, that is gone. One simply writes code and clicks the right arrow to see if compiles correctly (not the same as Is it correct). I wouldn't wish the old days on young graduates, but there is something important that is gone: reading one's listings and deducing the flaws and not being able to adjust the code for a week, which causes one to rethink and revise and rethink and revise. Back in the old days, we had a term, "Cowboy coders". This meant code and load, no standards, load and go. Some of these people were fabulously brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell Freeland, Robert di Falco and some others that I knew personally). Brian and Rob were exceptional in their devotion to documentation, and no slight upon the others, but they were much more interested in getting it done than documenting it. One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it was machine-specific, but yes, it was way way faster than any Windows equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing with somewhat smaller problems back then (tables with only 5M rows rather that 100M rows), but we made do and it worked. It's fun to work on that old DOS 6.22 box now and then. Clipper was a fabulous program and I made a living using it and writing about it for about a decade. I benchmark it against modern things like Access or SQL 2005 and it holds its head proudly. I realize that the market has moved elsewhere, but to dismiss these previous achievements is equivalent to saying there is no value in Vivaldi or Bach. Only a complete idiot would say that. A. From dwaters at usinternet.com Fri Dec 22 21:30:54 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 Dec 2006 21:30:54 -0600 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets Message-ID: <007f01c72642$c0db6810$0200a8c0@danwaters> MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters From accessd at shaw.ca Fri Dec 22 22:28:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 20:28:58 -0800 Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. In-Reply-To: <20061223030844.56052.qmail@web88214.mail.re2.yahoo.com> Message-ID: <0JAP00FR6LP1XO40@l-daemon> OT: The speed at which code is now expected to be produced, tested and shipped to market is the real issue. So many of my fellow coders; find themselves continually being prompted to produce more, better and faster. There seems to be little concern about the tightness, documentation or strict classes/top down modular. A number of years ago clients were just happy to get operational code and at the prices they had to pay they expected and got top quality work. Now the emphasis is on speed and price and as long as its functions that is acceptable. I think MS is culpable for much of the current atmosphere. They are excellent salespeople and they have sold the general public that by 'buying-up' they can get complex solutions with no more than some drags and drops and few quick hacks. Now we are being expected to live up to that dream. Still on OT Friday mode: Art gallery Curator to an artist: Great news; all your paintings have sold! The show is completely sold out!! Interestingly, the lady who bought them all says she is your doctor. ... You may be 59 but I am slowly gaining on you. Have a good Christmas all Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 22, 2006 7:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. I confess my age. I turned 59 about a month ago. I started out in 1982 using a Commodore 64 to which I had access once a week. The first program I wrote was a game of craps. It could accept 4 players and side bets in every direction. There was something very good about having to print out the source and not be able to modify it for a week. It caused one to think very carefully about one's revisions. In these modern instant-compile IDEs, that is gone. One simply writes code and clicks the right arrow to see if compiles correctly (not the same as Is it correct). I wouldn't wish the old days on young graduates, but there is something important that is gone: reading one's listings and deducing the flaws and not being able to adjust the code for a week, which causes one to rethink and revise and rethink and revise. Back in the old days, we had a term, "Cowboy coders". This meant code and load, no standards, load and go. Some of these people were fabulously brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell Freeland, Robert di Falco and some others that I knew personally). Brian and Rob were exceptional in their devotion to documentation, and no slight upon the others, but they were much more interested in getting it done than documenting it. One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it was machine-specific, but yes, it was way way faster than any Windows equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing with somewhat smaller problems back then (tables with only 5M rows rather that 100M rows), but we made do and it worked. It's fun to work on that old DOS 6.22 box now and then. Clipper was a fabulous program and I made a living using it and writing about it for about a decade. I benchmark it against modern things like Access or SQL 2005 and it holds its head proudly. I realize that the market has moved elsewhere, but to dismiss these previous achievements is equivalent to saying there is no value in Vivaldi or Bach. Only a complete idiot would say that. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 22 22:50:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 20:50:37 -0800 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <007f01c72642$c0db6810$0200a8c0@danwaters> Message-ID: <0JAP00CIIMP3W120@l-daemon> Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 7:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Fri Dec 22 22:51:19 2006 From: askolits at ot.com (John Skolits) Date: Fri, 22 Dec 2006 23:51:19 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004c01c725e2$c2e45910$1501a8c0@m6805> Message-ID: <016101c7264d$fffdaa20$800101df@officexp> I can't believe you guys are conjuring up this whole PK debate again! Wasn't that back on the 90's? :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 mikedorism at verizon.net Sat Dec 23 00:03:11 2006 From: mikedorism at verizon.net (Doris Manning) Date: Sat, 23 Dec 2006 01:03:11 -0500 Subject: [AccessD] OT - Crystal Reports In-Reply-To: Message-ID: <000001c72658$072e7090$2f01a8c0@Kermit> Crystal Reports can output in Word, PDF, and Excel format. Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Friday, December 22, 2006 4:12 PM To: AccessD Subject: [AccessD] OT - Crystal Reports Can Crystal Reports create a report in any format? For example, I need sales data for all of 2004 and 2005 from a county. I would like it in Excel (or a text file) so that I an end up with an Access db so that I can link it to my data. Can Crystal Reports create Excel or text files? Thanks. Merry Christmas, Everyone!! Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Sat Dec 23 06:47:04 2006 From: accessd666 at yahoo.com (Sad Der) Date: Sat, 23 Dec 2006 04:47:04 -0800 (PST) Subject: [AccessD] link subform to subform Message-ID: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com> Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Sat Dec 23 07:28:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Dec 2006 14:28:32 +0100 Subject: [AccessD] link subform to subform Message-ID: Hi Sander Include subform2 as a subform in subform1 (?) ... /gustav >>> accessd666 at yahoo.com 23-12-2006 13:47 >>> Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander From bchacc at san.rr.com Sat Dec 23 07:37:36 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 23 Dec 2006 05:37:36 -0800 Subject: [AccessD] link subform to subform In-Reply-To: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com> Message-ID: <001401c72697$829c7f80$6901a8c0@HAL9005> Sander: If you can't make subform2 a Subform of subform1 then I would requery subform2 in the Current event of Subform 1. Either make the record source of Subform 2 have a WHERE clause pointing to some value in Subform 1, or us Me.Filter on subform2 HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Saturday, December 23, 2006 4:47 AM To: Acces User Group Subject: [AccessD] link subform to subform Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/598 - Release Date: 12/22/2006 3:22 PM From Gustav at cactus.dk Sat Dec 23 08:00:06 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Dec 2006 15:00:06 +0100 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on Message-ID: Hi all, a follow-up warning My colleague asked me to direct your attention to the fact that "Windows Server 2003 Web Edition" carries a ridiculous limitation for how much ram it will handle of 2 GB. This has caused it to be nicknamed among pros as "Windows Personal Server 2003 Web Edition". More seriously, this means that "Windows Server 2003 Web Edition" may be a perfect OS to run inside a virtual machine (client), while the limitation renders it useless for most applications for _hosting_ virtual machines. In fact, you may even need an expensive enterprise license for Windows Server 2003 for the host which, of course, forces one to look at Linux as the OS for the host. I just counted. It's hard to believe, but this is my 9th Christmas joining the list, so: Merry Christmas to all! /gustav >>> Gustav at cactus.dk 02-11-2006 16:44 >>> Hi John I didn't catch your original post, but installing SBS is not "just to do it". Microsoft has training courses in nothing else than this discipline. That said, I'm sure you could handle it following some of the guides around and good advice but at a cost of many hours. However, the install wizard will not know what you want. You have to decide. >From your post it seems like you need only the server OS and SQL Server 2005. That could be established much simpler with "Windows Server 2003 Web Edition" - which is part of your Action Pack - and "SQL Server 2005 Express" which is a free download. For anyone else being tempted by all the fun stuff in SBS, stop for a moment and consider seriously the hard core Web Edition, which really is a piece of cake to install and leaves a totally clean desktop you will love. Also, consider seriously to run this in a virtual machine like the free edition of VMware Virtual Server - which itself runs perfectly on the Web Edition server. For deployment, a license for "Windows Server 2003 Web Edition" is only slightly more than that for WinXP - and no CALs as it is not a file server. /gustav From stuart at lexacorp.com.pg Sat Dec 23 08:11:26 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 24 Dec 2006 00:11:26 +1000 Subject: [AccessD] link subform to subform In-Reply-To: <001401c72697$829c7f80$6901a8c0@HAL9005> References: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com>, <001401c72697$829c7f80$6901a8c0@HAL9005> Message-ID: <458D390E.12656.D75AF37@stuart.lexacorp.com.pg> > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: Saturday, December 23, 2006 4:47 AM > To: Acces User Group > Subject: [AccessD] link subform to subform > > Hi group, > > i've got a form with 2 subforms eg: > Mainform = fParent > Subform1 = fsubParent_Child > Subform2 = fsubChild > > > Subform1 links to mainform. > Subform2 needs to link to subform1 > > Question: > how can i link subform2 to subform1?? Create a text box txtLink on fParent. Set its Visible property to False Set it's ControlSource = fsubParent_Child.Form!txtKey (where txtKey is a text box on fsubParent_child containing the PK of its record source. Set the Link Parent Field of fsubChild = txtLink and its Link Child Field to the FK of its own record source. -- Stuart From garykjos at gmail.com Sat Dec 23 08:40:48 2006 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 23 Dec 2006 08:40:48 -0600 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on In-Reply-To: References: Message-ID: Thank you Gustav. For this and ALL your contributions. Nine years already? Time flys by quickly doesn't it? Have a Merry Christmas and a great new years too! Gary Kjos On 12/23/06, Gustav Brock wrote: > Hi all, a follow-up warning > > My colleague asked me to direct your attention to the fact that "Windows Server 2003 Web Edition" carries a ridiculous limitation for how much ram it will handle of 2 GB. > This has caused it to be nicknamed among pros as "Windows Personal Server 2003 Web Edition". > > More seriously, this means that "Windows Server 2003 Web Edition" may be a perfect OS to run inside a virtual machine (client), while the limitation renders it useless for most applications for _hosting_ virtual machines. In fact, you may even need an expensive enterprise license for Windows Server 2003 for the host which, of course, forces one to look at Linux as the OS for the host. > > I just counted. It's hard to believe, but this is my 9th Christmas joining the list, so: > > Merry Christmas to all! > > /gustav > > >>> Gustav at cactus.dk 02-11-2006 16:44 >>> > Hi John > > I didn't catch your original post, but installing SBS is not "just to do it". Microsoft has training courses in nothing else than this discipline. That said, I'm sure you could handle it following some of the guides around and good advice but at a cost of many hours. > > However, the install wizard will not know what you want. You have to decide. > > >From your post it seems like you need only the server OS and SQL Server 2005. That could be established much simpler with "Windows Server 2003 Web Edition" - which is part of your Action Pack - and "SQL Server 2005 Express" which is a free download. > > For anyone else being tempted by all the fun stuff in SBS, stop for a moment and consider seriously the hard core Web Edition, which really is a piece of cake to install and leaves a totally clean desktop you will love. Also, consider seriously to run this in a virtual machine like the free edition of VMware Virtual Server - which itself runs perfectly on the Web Edition server. For deployment, a license for "Windows Server 2003 Web Edition" is only slightly more than that for WinXP - and no CALs as it is not a file server. > > /gustav > > -- > 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 krosenstiel at comcast.net Sat Dec 23 09:08:09 2006 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Sat, 23 Dec 2006 07:08:09 -0800 Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. In-Reply-To: <20061223030844.56052.qmail@web88214.mail.re2.yahoo.com> Message-ID: <200612231508.kBNF8Dq18324@databaseadvisors.com> I remember noodling around with Clipper. I think I finally tossed out the diskettes a couple of years ago. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 22, 2006 7:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. I confess my age. I turned 59 about a month ago. I started out in 1982 using a Commodore 64 to which I had access once a week. The first program I wrote was a game of craps. It could accept 4 players and side bets in every direction. There was something very good about having to print out the source and not be able to modify it for a week. It caused one to think very carefully about one's revisions. In these modern instant-compile IDEs, that is gone. One simply writes code and clicks the right arrow to see if compiles correctly (not the same as Is it correct). I wouldn't wish the old days on young graduates, but there is something important that is gone: reading one's listings and deducing the flaws and not being able to adjust the code for a week, which causes one to rethink and revise and rethink and revise. Back in the old days, we had a term, "Cowboy coders". This meant code and load, no standards, load and go. Some of these people were fabulously brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell Freeland, Robert di Falco and some others that I knew personally). Brian and Rob were exceptional in their devotion to documentation, and no slight upon the others, but they were much more interested in getting it done than documenting it. One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it was machine-specific, but yes, it was way way faster than any Windows equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing with somewhat smaller problems back then (tables with only 5M rows rather that 100M rows), but we made do and it worked. It's fun to work on that old DOS 6.22 box now and then. Clipper was a fabulous program and I made a living using it and writing about it for about a decade. I benchmark it against modern things like Access or SQL 2005 and it holds its head proudly. I realize that the market has moved elsewhere, but to dismiss these previous achievements is equivalent to saying there is no value in Vivaldi or Bach. Only a complete idiot would say that. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 23 09:14:11 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 10:14:11 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <016101c7264d$fffdaa20$800101df@officexp> Message-ID: <00a801c726a5$006b9ba0$1501a8c0@m6805> It comes around every couple of years. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, December 22, 2006 11:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I can't believe you guys are conjuring up this whole PK debate again! Wasn't that back on the 90's? :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 jwcolby at colbyconsulting.com Sat Dec 23 09:17:20 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 10:17:20 -0500 Subject: [AccessD] link subform to subform In-Reply-To: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com> Message-ID: <00a901c726a5$71983bd0$1501a8c0@m6805> I am assuming that two subforms are both physically in the main form, i.e. one subform is not inside the other subform. The way to do this is to have a control on the main form, whose source data is a control in the one of the child forms. Thus when the child form changes record, the control up on the main form changes. Now link the second subform to that control up in the main form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Saturday, December 23, 2006 7:47 AM To: Acces User Group Subject: [AccessD] link subform to subform Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 23 09:18:07 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 10:18:07 -0500 Subject: [AccessD] link subform to subform In-Reply-To: <458D390E.12656.D75AF37@stuart.lexacorp.com.pg> Message-ID: <00aa01c726a5$8d4d4820$1501a8c0@m6805> That's it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 23, 2006 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] link subform to subform > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: Saturday, December 23, 2006 4:47 AM > To: Acces User Group > Subject: [AccessD] link subform to subform > > Hi group, > > i've got a form with 2 subforms eg: > Mainform = fParent > Subform1 = fsubParent_Child > Subform2 = fsubChild > > > Subform1 links to mainform. > Subform2 needs to link to subform1 > > Question: > how can i link subform2 to subform1?? Create a text box txtLink on fParent. Set its Visible property to False Set it's ControlSource = fsubParent_Child.Form!txtKey (where txtKey is a text box on fsubParent_child containing the PK of its record source. Set the Link Parent Field of fsubChild = txtLink and its Link Child Field to the FK of its own record source. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Dec 23 10:00:48 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 23 Dec 2006 10:00:48 -0600 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <31658281.1166849566568.JavaMail.root@sniper63> Message-ID: <001001c726ab$8404f910$0200a8c0@danwaters> Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters From martyconnelly at shaw.ca Sat Dec 23 11:25:15 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 23 Dec 2006 09:25:15 -0800 Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. In-Reply-To: <0JAP00FR6LP1XO40@l-daemon> References: <0JAP00FR6LP1XO40@l-daemon> Message-ID: <458D667B.7090409@shaw.ca> Having worked for a number of oil firms, I put it down to something attributed to Red Adair an oil well firefighter (in the form, "I can do the job, Good. Fast or Cheap. Pick any two.") Just remember most computer salespeople are out hunting elephants and have no interest in the squirrels, the SMB's. Jim Lawrence wrote: >OT: > > >The speed at which code is now expected to be produced, tested and shipped >to market is the real issue. So many of my fellow coders; find themselves >continually being prompted to produce more, better and faster. There seems >to be little concern about the tightness, documentation or strict >classes/top down modular. > >A number of years ago clients were just happy to get operational code and at >the prices they had to pay they expected and got top quality work. Now the >emphasis is on speed and price and as long as its functions that is >acceptable. I think MS is culpable for much of the current atmosphere. > >They are excellent salespeople and they have sold the general public that by >'buying-up' they can get complex solutions with no more than some drags and >drops and few quick hacks. Now we are being expected to live up to that >dream. > > >Still on OT Friday mode: > >Art gallery Curator to an artist: > >Great news; all your paintings have sold! >The show is completely sold out!! > >Interestingly, the lady who bought them all says she is your doctor. > > >... You may be 59 but I am slowly gaining on you. > > >Have a good Christmas all >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com >Sent: Friday, December 22, 2006 7:09 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, >etc. > >I confess my age. I turned 59 about a month ago. > >I started out in 1982 using a Commodore 64 to which I had access once a >week. The first program I wrote was a game of craps. It could accept 4 >players and side bets in every direction. There was something very good >about having to print out the source and not be able to modify it for a >week. It caused one to think very carefully about one's revisions. > >In these modern instant-compile IDEs, that is gone. One simply writes code >and clicks the right arrow to see if compiles correctly (not the same as Is >it correct). I wouldn't wish the old days on young graduates, but there is >something important that is gone: reading one's listings and deducing the >flaws and not being able to adjust the code for a week, which causes one to >rethink and revise and rethink and revise. > >Back in the old days, we had a term, "Cowboy coders". This meant code and >load, no standards, load and go. Some of these people were fabulously >brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell >Freeland, Robert di Falco and some others that I knew personally). Brian and >Rob were exceptional in their devotion to documentation, and no slight upon >the others, but they were much more interested in getting it done than >documenting it. > >One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it >was machine-specific, but yes, it was way way faster than any Windows >equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing >with somewhat smaller problems back then (tables with only 5M rows rather >that 100M rows), but we made do and it worked. > >It's fun to work on that old DOS 6.22 box now and then. Clipper was a >fabulous program and I made a living using it and writing about it for about >a decade. I benchmark it against modern things like Access or SQL 2005 and >it holds its head proudly. > >I realize that the market has moved elsewhere, but to dismiss these previous >achievements is equivalent to saying there is no value in Vivaldi or Bach. >Only a complete idiot would say that. > >A. > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Sat Dec 23 12:23:59 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 23 Dec 2006 10:23:59 -0800 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <001001c726ab$8404f910$0200a8c0@danwaters> Message-ID: <0JAQ00CUAOCNW141@l-daemon> Hi Dan: I have worked with similar systems but they have only extended province wide. One of the most interesting ones connected to 18 offices. The architecture was created for a number of reasons given a series of limitations and a fixed budget. 1. The MS SQL database only had 12 connection licenses. 2. Some tables had up to .5 million records 3. It had to be very fast. 4. The FE Access 2000. 5. It had to be deployed from a central location. 6. It had to be able to support up to a hundred simultaneous users. 7. A tech would not be on all sites so any pre-configuration was difficult. 8. On some sites the connections were unstable. 1. The first issue that had to be handled was that there were insufficient licenses to have all the users directly connected (bound) at all times. So an unbound structure had to be implemented. 2 and 3. With large volumes of data and the requirements for big reports with 30 to 100 thousand records, data had to be moved quickly. Using ADO-OLE allowed data to stream at about 40,000 records per second over high speed lines. Using pass-through queries were a joke and ODBC connection, among other considerations was still too slow. 4 and 5. That was the best part as the Access presentation manager allowed the creation of full featured forms and excellent reports with no additional applications or expenses. MS Access was of course on every station by default so the application could be downloaded to any location and would run immediately. 6. By using an unbound concept, access to the data could be judiciously controlled. The FE would attach to the server, pull the data and then disconnect again or connect quickly to make adds, updates and deletions. The connection process was so fast that users rarely noticed any delays in service even under heavy load. 7. One of the main problems with ODBC is that the interface required tech support onsite or through the phone to properly install. Though this is one of the best connection methods it is slower than ADO-OLE direct connection. ADO on the other hand is installed and fully operational on all current Window OS computers... no tech support needed. 8. In summary, ADO-OLE, with unbound forms has very fast data transfer, if a connection is lost it can be quick established again, with not corruption or data lost. The only downside is that the initial design requires more work but subsequent support issues are minor. Sorry for the long winded description but I have used these concepts for over 10 years and my clients once their applications are up and running only call me back to add new features.... and to attend Christmas parties. (No, it is not that good but I thought I would throw that in but it has been a good year.) Regards Jim PS It works great with SQL Express but I have not tried building an application with Access 2007; yet. If you need any help just give me a call off-line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, December 23, 2006 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Sat Dec 23 15:49:51 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 23 Dec 2006 22:49:51 +0100 Subject: [AccessD] overflow Message-ID: <000c01c726dc$468461d0$4001a8c0@qmotionfaa3ad9> Hello Group, when using the search function below and when the position of the word that is used in the search-string in field "Plaats" is above 32,767 (memofield), i get an runtime error 6, overflow . I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", but still have the same error. I don't understand why? Pedro Janssen ------------------code------------------------------- Option Compare Database Dim plaats As Integer Private Sub Knop21_Click() If dummy <> "" Then tekstplaats = plaats If tekstplaats = 0 Then tekstplaats = 1 End If INHOUD.SetFocus plaats = INHOUD.SelStart + Len(dummy) + 1 plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) If plaats <> 0 Then INHOUD.SelStart = plaats - 1 INHOUD.SelLength = Len(dummy) Else INHOUD.SelStart = 0 INHOUD.SelLength = 0 End If tekstplaats = plaats Else MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" End If End Sub ------------------/code-------------------------- From gustav at cactus.dk Sat Dec 23 16:47:14 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Dec 2006 23:47:14 +0100 Subject: [AccessD] overflow Message-ID: Hi Pedro The value of SelStart itself is limited to the max. positive value of an Integer. /gustav >>> pedro at plex.nl 23-12-06 22:49 >>> Hello Group, when using the search function below and when the position of the word that is used in the search-string in field "Plaats" is above 32,767 (memofield), i get an runtime error 6, overflow . I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", but still have the same error. I don't understand why? Pedro Janssen ------------------code------------------------------- Option Compare Database Dim plaats As Integer Private Sub Knop21_Click() If dummy <> "" Then tekstplaats = plaats If tekstplaats = 0 Then tekstplaats = 1 End If INHOUD.SetFocus plaats = INHOUD.SelStart + Len(dummy) + 1 plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) If plaats <> 0 Then INHOUD.SelStart = plaats - 1 INHOUD.SelLength = Len(dummy) Else INHOUD.SelStart = 0 INHOUD.SelLength = 0 End If tekstplaats = plaats Else MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" End If End Sub ------------------/code-------------------------- -- From pedro at plex.nl Sat Dec 23 17:00:47 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 24 Dec 2006 00:00:47 +0100 Subject: [AccessD] overflow References: Message-ID: <000c01c726e6$31228d30$4001a8c0@qmotionfaa3ad9> Hello Gustav, i didn't know that. Can i use something else for this, or work around. Otherwise i have to use an other search function. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, December 23, 2006 11:47 PM Subject: Re: [AccessD] overflow > Hi Pedro > > The value of SelStart itself is limited to the max. positive value of an > Integer. > > /gustav > >>>> pedro at plex.nl 23-12-06 22:49 >>> > Hello Group, > > when using the search function below and when the position of the word > that is used in the search-string in field "Plaats" is above 32,767 > (memofield), i get an runtime error 6, overflow . > I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", > but still have the same error. I don't understand why? > > Pedro Janssen > > > > ------------------code------------------------------- > Option Compare Database > Dim plaats As Integer > > Private Sub Knop21_Click() > > If dummy <> "" Then > tekstplaats = plaats > If tekstplaats = 0 Then > tekstplaats = 1 > End If > INHOUD.SetFocus > > plaats = INHOUD.SelStart + Len(dummy) + 1 > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) > If plaats <> 0 Then > INHOUD.SelStart = plaats - 1 > INHOUD.SelLength = Len(dummy) > Else > INHOUD.SelStart = 0 > INHOUD.SelLength = 0 > End If > tekstplaats = plaats > Else > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" > End If > > End Sub > > ------------------/code-------------------------- > -- > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sat Dec 23 17:16:05 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 24 Dec 2006 00:16:05 +0100 Subject: [AccessD] overflow Message-ID: Hi Pedro You could read in the memo field in chunks of 32K until a match or the last chunk is read. That should be fine, if all you need is to display a match. If you wish to edit the text, the plot thickens ... /gustav >>> pedro at plex.nl 24-12-06 0:00 >>> Hello Gustav, i didn't know that. Can i use something else for this, or work around. Otherwise i have to use an other search function. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, December 23, 2006 11:47 PM Subject: Re: [AccessD] overflow > Hi Pedro > > The value of SelStart itself is limited to the max. positive value of an > Integer. > > /gustav > >>>> pedro at plex.nl 23-12-06 22:49 >>> > Hello Group, > > when using the search function below and when the position of the word > that is used in the search-string in field "Plaats" is above 32,767 > (memofield), i get an runtime error 6, overflow . > I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", > but still have the same error. I don't understand why? > > Pedro Janssen > > > > ------------------code------------------------------- > Option Compare Database > Dim plaats As Integer > > Private Sub Knop21_Click() > > If dummy <> "" Then > tekstplaats = plaats > If tekstplaats = 0 Then > tekstplaats = 1 > End If > INHOUD.SetFocus > > plaats = INHOUD.SelStart + Len(dummy) + 1 > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) > If plaats <> 0 Then > INHOUD.SelStart = plaats - 1 > INHOUD.SelLength = Len(dummy) > Else > INHOUD.SelStart = 0 > INHOUD.SelLength = 0 > End If > tekstplaats = plaats > Else > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" > End If > > End Sub > > ------------------/code-------------------------- > -- From stuart at lexacorp.com.pg Sat Dec 23 17:58:36 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 24 Dec 2006 09:58:36 +1000 Subject: [AccessD] overflow In-Reply-To: References: Message-ID: <458DC2AC.20430.F8F3A6B@stuart.lexacorp.com.pg> Just a WAG, but sInce the maximum size of a textbox is 64K, a negative SelStart may work, so try: If plaats > 32767 then plaats = plaats - 65536 On 24 Dec 2006 at 0:16, Gustav Brock wrote: > Hi Pedro > > You could read in the memo field in chunks of 32K until a match or the last > chunk is read. That should be fine, if all you need is to display a match. > If you wish to edit the text, the plot thickens ... /gustav > > > >>> pedro at plex.nl 24-12-06 0:00 >>> > Hello Gustav, > > i didn't know that. > Can i use something else for this, or work around. > Otherwise i have to use an other search function. > > Pedro > > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, December 23, 2006 11:47 PM > Subject: Re: [AccessD] overflow > > > > Hi Pedro > > > > The value of SelStart itself is limited to the max. positive value of an > > Integer. > > > > /gustav > > > >>>> pedro at plex.nl 23-12-06 22:49 >>> > > Hello Group, > > > > when using the search function below and when the position of the word > > that is used in the search-string in field "Plaats" is above 32,767 > > (memofield), i get an runtime error 6, overflow . I changed in the code: > > "Dim plaats As Integer" to "Dim plaats As Long", but still have the same > > error. I don't understand why? > > > > Pedro Janssen > > > > > > > > ------------------code------------------------------- > > Option Compare Database > > Dim plaats As Integer > > > > Private Sub Knop21_Click() > > > > If dummy <> "" Then > > tekstplaats = plaats > > If tekstplaats = 0 Then > > tekstplaats = 1 > > End If > > INHOUD.SetFocus > > > > plaats = INHOUD.SelStart + Len(dummy) + 1 > > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) > > If plaats <> 0 Then > > INHOUD.SelStart = plaats - 1 > > INHOUD.SelLength = Len(dummy) > > Else > > INHOUD.SelStart = 0 > > INHOUD.SelLength = 0 > > End If > > tekstplaats = plaats > > Else > > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" > > End If > > > > End Sub > > > > ------------------/code-------------------------- > > -- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From jwcolby at colbyconsulting.com Sat Dec 23 21:47:53 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 22:47:53 -0500 Subject: [AccessD] Interesting reading Message-ID: <00d401c7270e$4b3972b0$1501a8c0@m6805> http://www.realworldtech.com/page.cfm?ArticleID=RWT121106171654 &p=1 John W. Colby Colby Consulting www.ColbyConsulting.com From pedro at plex.nl Sun Dec 24 07:11:48 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 24 Dec 2006 14:11:48 +0100 Subject: [AccessD] overflow References: <458DC2AC.20430.F8F3A6B@stuart.lexacorp.com.pg> Message-ID: <001801c7275d$11b14320$4001a8c0@qmotionfaa3ad9> Hello Stuart, i changed the code (see below), but now it isn't working. After clicking the button, nothing happens. The second time clicking the button, the first word of the text is selected, the third time clicking, i get an error: Run-time error 5, invalid procedure call or argument. Pedro ------code---------------- Private Sub cmdSearch_Click() If dummy <> "" Then tekstplaats = plaats If tekstplaats = 0 Then tekstplaats = 1 End If INHOUD.SetFocus plaats = INHOUD.SelStart + Len(dummy) + 1 plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) If plaats > 32767 Then plaats = plaats - 65536 INHOUD.SelLength = Len(dummy) Else INHOUD.SelStart = 0 INHOUD.SelLength = 0 End If tekstplaats = plaats Else MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" End If End Sub -------------/code---------------------- ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 12:58 AM Subject: Re: [AccessD] overflow > Just a WAG, but sInce the maximum size of a textbox is 64K, > a negative SelStart may work, so try: > > If plaats > 32767 then plaats = plaats - 65536 > > > On 24 Dec 2006 at 0:16, Gustav Brock wrote: > >> Hi Pedro >> >> You could read in the memo field in chunks of 32K until a match or the >> last >> chunk is read. That should be fine, if all you need is to display a >> match. >> If you wish to edit the text, the plot thickens ... /gustav >> >> >> >>> pedro at plex.nl 24-12-06 0:00 >>> >> Hello Gustav, >> >> i didn't know that. >> Can i use something else for this, or work around. >> Otherwise i have to use an other search function. >> >> Pedro >> >> >> >> ----- Original Message ----- >> From: "Gustav Brock" >> To: >> Sent: Saturday, December 23, 2006 11:47 PM >> Subject: Re: [AccessD] overflow >> >> >> > Hi Pedro >> > >> > The value of SelStart itself is limited to the max. positive value of >> > an >> > Integer. >> > >> > /gustav >> > >> >>>> pedro at plex.nl 23-12-06 22:49 >>> >> > Hello Group, >> > >> > when using the search function below and when the position of the word >> > that is used in the search-string in field "Plaats" is above 32,767 >> > (memofield), i get an runtime error 6, overflow . I changed in the >> > code: >> > "Dim plaats As Integer" to "Dim plaats As Long", but still have the >> > same >> > error. I don't understand why? >> > >> > Pedro Janssen >> > >> > >> > >> > ------------------code------------------------------- >> > Option Compare Database >> > Dim plaats As Integer >> > >> > Private Sub Knop21_Click() >> > >> > If dummy <> "" Then >> > tekstplaats = plaats >> > If tekstplaats = 0 Then >> > tekstplaats = 1 >> > End If >> > INHOUD.SetFocus >> > >> > plaats = INHOUD.SelStart + Len(dummy) + 1 >> > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) >> > If plaats <> 0 Then >> > INHOUD.SelStart = plaats - 1 >> > INHOUD.SelLength = Len(dummy) >> > Else >> > INHOUD.SelStart = 0 >> > INHOUD.SelLength = 0 >> > End If >> > tekstplaats = plaats >> > Else >> > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" >> > End If >> > >> > End Sub >> > >> > ------------------/code-------------------------- >> > -- >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Sun Dec 24 07:14:32 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 24 Dec 2006 14:14:32 +0100 Subject: [AccessD] overflow References: Message-ID: <001d01c7275d$735e9a50$4001a8c0@qmotionfaa3ad9> Hello Gustav, i don't need to edit so, how can i set the reading in chunks of 32K??? Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, December 24, 2006 12:16 AM Subject: Re: [AccessD] overflow > Hi Pedro > > You could read in the memo field in chunks of 32K until a match or the > last chunk is read. > That should be fine, if all you need is to display a match. If you wish to > edit the text, the plot thickens ... > /gustav > > >>>> pedro at plex.nl 24-12-06 0:00 >>> > Hello Gustav, > > i didn't know that. > Can i use something else for this, or work around. > Otherwise i have to use an other search function. > > Pedro > > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, December 23, 2006 11:47 PM > Subject: Re: [AccessD] overflow > > >> Hi Pedro >> >> The value of SelStart itself is limited to the max. positive value of an >> Integer. >> >> /gustav >> >>>>> pedro at plex.nl 23-12-06 22:49 >>> >> Hello Group, >> >> when using the search function below and when the position of the word >> that is used in the search-string in field "Plaats" is above 32,767 >> (memofield), i get an runtime error 6, overflow . >> I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", >> but still have the same error. I don't understand why? >> >> Pedro Janssen >> >> >> >> ------------------code------------------------------- >> Option Compare Database >> Dim plaats As Integer >> >> Private Sub Knop21_Click() >> >> If dummy <> "" Then >> tekstplaats = plaats >> If tekstplaats = 0 Then >> tekstplaats = 1 >> End If >> INHOUD.SetFocus >> >> plaats = INHOUD.SelStart + Len(dummy) + 1 >> plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) >> If plaats <> 0 Then >> INHOUD.SelStart = plaats - 1 >> INHOUD.SelLength = Len(dummy) >> Else >> INHOUD.SelStart = 0 >> INHOUD.SelLength = 0 >> End If >> tekstplaats = plaats >> Else >> MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" >> End If >> >> End Sub >> >> ------------------/code-------------------------- >> -- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sun Dec 24 08:27:21 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 24 Dec 2006 06:27:21 -0800 Subject: [AccessD] Spanish Translations Message-ID: <000601c72767$a02f7d10$6901a8c0@HAL9005> Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From dwaters at usinternet.com Sun Dec 24 09:34:35 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 24 Dec 2006 09:34:35 -0600 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <20578046.1166898433823.JavaMail.root@sniper41> Message-ID: <003e01c72771$04a3cd60$0200a8c0@danwaters> Hi Jim, I am going to keep your description to demonstrate that a system like this can be developed and used successfully! Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have worked with similar systems but they have only extended province wide. One of the most interesting ones connected to 18 offices. The architecture was created for a number of reasons given a series of limitations and a fixed budget. 1. The MS SQL database only had 12 connection licenses. 2. Some tables had up to .5 million records 3. It had to be very fast. 4. The FE Access 2000. 5. It had to be deployed from a central location. 6. It had to be able to support up to a hundred simultaneous users. 7. A tech would not be on all sites so any pre-configuration was difficult. 8. On some sites the connections were unstable. 1. The first issue that had to be handled was that there were insufficient licenses to have all the users directly connected (bound) at all times. So an unbound structure had to be implemented. 2 and 3. With large volumes of data and the requirements for big reports with 30 to 100 thousand records, data had to be moved quickly. Using ADO-OLE allowed data to stream at about 40,000 records per second over high speed lines. Using pass-through queries were a joke and ODBC connection, among other considerations was still too slow. 4 and 5. That was the best part as the Access presentation manager allowed the creation of full featured forms and excellent reports with no additional applications or expenses. MS Access was of course on every station by default so the application could be downloaded to any location and would run immediately. 6. By using an unbound concept, access to the data could be judiciously controlled. The FE would attach to the server, pull the data and then disconnect again or connect quickly to make adds, updates and deletions. The connection process was so fast that users rarely noticed any delays in service even under heavy load. 7. One of the main problems with ODBC is that the interface required tech support onsite or through the phone to properly install. Though this is one of the best connection methods it is slower than ADO-OLE direct connection. ADO on the other hand is installed and fully operational on all current Window OS computers... no tech support needed. 8. In summary, ADO-OLE, with unbound forms has very fast data transfer, if a connection is lost it can be quick established again, with not corruption or data lost. The only downside is that the initial design requires more work but subsequent support issues are minor. Sorry for the long winded description but I have used these concepts for over 10 years and my clients once their applications are up and running only call me back to add new features.... and to attend Christmas parties. (No, it is not that good but I thought I would throw that in but it has been a good year.) Regards Jim PS It works great with SQL Express but I have not tried building an application with Access 2007; yet. If you need any help just give me a call off-line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, December 23, 2006 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters -- 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 colbyconsulting.com Sun Dec 24 12:42:49 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 24 Dec 2006 13:42:49 -0500 Subject: [AccessD] Interesting reading 2 Message-ID: <00ed01c7278b$508b1ca0$1501a8c0@m6805> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt From accessd at shaw.ca Sun Dec 24 15:35:23 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 24 Dec 2006 13:35:23 -0800 Subject: [AccessD] Interesting reading 2 In-Reply-To: <00ed01c7278b$508b1ca0$1501a8c0@m6805> Message-ID: <0JAS001QRRVJU971@l-daemon> Hi John: That article is down right frightening. If this implementation proceeds as described the ramifications are horrific. I hope this is just the ranting of George Orwellian paranoid...and not a real warning that some truly twisted people going for absolute control. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 24, 2006 10:43 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting reading 2 http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Sun Dec 24 15:39:45 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 24 Dec 2006 16:39:45 -0500 Subject: [AccessD] Interesting reading 2 References: <00ed01c7278b$508b1ca0$1501a8c0@m6805> Message-ID: <002401c727a4$0899de90$0302a8c0@default> A most heroic act by Bill Gates ... A truly philanthropic effort to curb so-called 'free speech' ... Alas, it is merely a sandcastle against the tide. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, December 24, 2006 1:42 PM Subject: [AccessD] Interesting reading 2 > http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Dec 24 16:40:54 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 Dec 2006 17:40:54 -0500 Subject: [AccessD] Interesting reading 2 References: <0JAS001QRRVJU971@l-daemon> Message-ID: <001c01c727ac$92fe8380$4798eb44@50NM721> JC ...seems very xmas you do your best to dump coals here :) ...given the legal ramifications of software provider liability embedded in the successful RIAA suits against the peer to peer networks, I can't imagine MS doing anything else ...doesn't mean I like it or that it will be successful ...but something along these lines is inevitable. ...and the bell tolls for Apple, Sun, and Linux as well ...if you think for a minute that the legal eagles wont force them to adopt similar and compatible measures to avoid extensive liability awards, you're smoking something other than tobacco. ...just wish I knew which way to dodge to avoid my clients becoming collateral damage ...the thing that struck me hardest is that staying with XP isn't a solution :( ...hope you and Mary and the kids enjoy the best xmas yet :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Sunday, December 24, 2006 4:35 PM Subject: Re: [AccessD] Interesting reading 2 > Hi John: > > That article is down right frightening. If this implementation proceeds as > described the ramifications are horrific. I hope this is just the ranting > of > George Orwellian paranoid...and not a real warning that some truly twisted > people going for absolute control. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Sunday, December 24, 2006 10:43 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Interesting reading 2 > > http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt > > -- > 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 Sun Dec 24 17:35:55 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 25 Dec 2006 09:35:55 +1000 Subject: [AccessD] Interesting reading 2 In-Reply-To: <0JAS001QRRVJU971@l-daemon> References: <00ed01c7278b$508b1ca0$1501a8c0@m6805>, <0JAS001QRRVJU971@l-daemon> Message-ID: <458F0EDB.12588.14A0CA72@stuart.lexacorp.com.pg> On 24 Dec 2006 at 13:35, Jim Lawrence wrote: > Hi John: > > That article is down right frightening. If this implementation proceeds as > described the ramifications are horrific. I hope this is just the ranting of > George Orwellian paranoid...and not a real warning that some truly twisted > people going for absolute control. Peter Gutmann describes himself as "Professional Paranoid" but there's no doubting his knowledge in the field. Although he tends to use very emotive language, I'd be hard pressed to argue with his facts. -- Stuart From mmattys at rochester.rr.com Sun Dec 24 17:46:05 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 24 Dec 2006 18:46:05 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon> <001c01c727ac$92fe8380$4798eb44@50NM721> Message-ID: <004901c727b5$aff08d90$0302a8c0@default> http://www.watleyreview.com/2003/093003-1.html "Microsoft has filed 6,324 lawsuits in hundreds of courts around the country targeting anyone who has published what Microsoft considers to be "defamatory material." Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 5:40 PM Subject: Re: [AccessD] Interesting reading 2 > JC > > ...seems very xmas you do your best to dump coals here :) > > ...given the legal ramifications of software provider liability embedded > in > the successful RIAA suits against the peer to peer networks, I can't > imagine > MS doing anything else ...doesn't mean I like it or that it will be > successful ...but something along these lines is inevitable. > > ...and the bell tolls for Apple, Sun, and Linux as well ...if you think > for > a minute that the legal eagles wont force them to adopt similar and > compatible measures to avoid extensive liability awards, you're smoking > something other than tobacco. > > ...just wish I knew which way to dodge to avoid my clients becoming > collateral damage ...the thing that struck me hardest is that staying with > XP isn't a solution :( > > ...hope you and Mary and the kids enjoy the best xmas yet :) > > William Hindman > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, December 24, 2006 4:35 PM > Subject: Re: [AccessD] Interesting reading 2 > > >> Hi John: >> >> That article is down right frightening. If this implementation proceeds >> as >> described the ramifications are horrific. I hope this is just the ranting >> of >> George Orwellian paranoid...and not a real warning that some truly >> twisted >> people going for absolute control. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Sunday, December 24, 2006 10:43 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Interesting reading 2 >> >> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >> >> -- >> 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 wdhindman at dejpolsystems.com Sun Dec 24 22:00:59 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 Dec 2006 23:00:59 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon><001c01c727ac$92fe8380$4798eb44@50NM721> <004901c727b5$aff08d90$0302a8c0@default> Message-ID: <000501c727d9$4a7cd530$4798eb44@50NM721> ...there ought William Hindman ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 6:46 PM Subject: [AccessD] Interesting reading 3 > http://www.watleyreview.com/2003/093003-1.html > > "Microsoft has filed 6,324 lawsuits in hundreds of courts around the > country > targeting anyone who has published what Microsoft considers to be > "defamatory material." > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 5:40 PM > Subject: Re: [AccessD] Interesting reading 2 > > >> JC >> >> ...seems very xmas you do your best to dump coals here :) >> >> ...given the legal ramifications of software provider liability embedded >> in >> the successful RIAA suits against the peer to peer networks, I can't >> imagine >> MS doing anything else ...doesn't mean I like it or that it will be >> successful ...but something along these lines is inevitable. >> >> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think >> for >> a minute that the legal eagles wont force them to adopt similar and >> compatible measures to avoid extensive liability awards, you're smoking >> something other than tobacco. >> >> ...just wish I knew which way to dodge to avoid my clients becoming >> collateral damage ...the thing that struck me hardest is that staying >> with >> XP isn't a solution :( >> >> ...hope you and Mary and the kids enjoy the best xmas yet :) >> >> William Hindman >> >> ----- Original Message ----- >> From: "Jim Lawrence" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, December 24, 2006 4:35 PM >> Subject: Re: [AccessD] Interesting reading 2 >> >> >>> Hi John: >>> >>> That article is down right frightening. If this implementation proceeds >>> as >>> described the ramifications are horrific. I hope this is just the >>> ranting >>> of >>> George Orwellian paranoid...and not a real warning that some truly >>> twisted >>> people going for absolute control. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Sunday, December 24, 2006 10:43 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: [AccessD] Interesting reading 2 >>> >>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >>> >>> -- >>> 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 wdhindman at dejpolsystems.com Sun Dec 24 22:05:00 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 Dec 2006 23:05:00 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon><001c01c727ac$92fe8380$4798eb44@50NM721> <004901c727b5$aff08d90$0302a8c0@default> Message-ID: <000801c727d9$d9a31a80$4798eb44@50NM721> ...there ought to be an open season on all lawyers ...twice as long for tort lawyers ...all year long for government lawyers ...this country is sue crazy :( William Hindman ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 6:46 PM Subject: [AccessD] Interesting reading 3 > http://www.watleyreview.com/2003/093003-1.html > > "Microsoft has filed 6,324 lawsuits in hundreds of courts around the > country > targeting anyone who has published what Microsoft considers to be > "defamatory material." > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 5:40 PM > Subject: Re: [AccessD] Interesting reading 2 > > >> JC >> >> ...seems very xmas you do your best to dump coals here :) >> >> ...given the legal ramifications of software provider liability embedded >> in >> the successful RIAA suits against the peer to peer networks, I can't >> imagine >> MS doing anything else ...doesn't mean I like it or that it will be >> successful ...but something along these lines is inevitable. >> >> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think >> for >> a minute that the legal eagles wont force them to adopt similar and >> compatible measures to avoid extensive liability awards, you're smoking >> something other than tobacco. >> >> ...just wish I knew which way to dodge to avoid my clients becoming >> collateral damage ...the thing that struck me hardest is that staying >> with >> XP isn't a solution :( >> >> ...hope you and Mary and the kids enjoy the best xmas yet :) >> >> William Hindman >> >> ----- Original Message ----- >> From: "Jim Lawrence" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, December 24, 2006 4:35 PM >> Subject: Re: [AccessD] Interesting reading 2 >> >> >>> Hi John: >>> >>> That article is down right frightening. If this implementation proceeds >>> as >>> described the ramifications are horrific. I hope this is just the >>> ranting >>> of >>> George Orwellian paranoid...and not a real warning that some truly >>> twisted >>> people going for absolute control. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Sunday, December 24, 2006 10:43 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: [AccessD] Interesting reading 2 >>> >>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >>> >>> -- >>> 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 mmattys at rochester.rr.com Sun Dec 24 22:11:50 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 24 Dec 2006 23:11:50 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon> <001c01c727ac$92fe8380$4798eb44@50NM721> <004901c727b5$aff08d90$0302a8c0@default> <000801c727d9$d9a31a80$4798eb44@50NM721> Message-ID: <00a601c727da$cea3bee0$0302a8c0@default> None of that website is true, its satire. Spin is a powerful thing. It looks like the truth but it isn't. It almost killed me. (I agree with the thought on lawyers, though) Mattys ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 11:05 PM Subject: Re: [AccessD] Interesting reading 3 > ...there ought to be an open season on all lawyers ...twice as long for > tort > lawyers ...all year long for government lawyers ...this country is sue > crazy > :( > > William Hindman > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 6:46 PM > Subject: [AccessD] Interesting reading 3 > > >> http://www.watleyreview.com/2003/093003-1.html >> >> "Microsoft has filed 6,324 lawsuits in hundreds of courts around the >> country >> targeting anyone who has published what Microsoft considers to be >> "defamatory material." >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "William Hindman" >> To: "Access Developers discussion and problem solving" >> >> Sent: Sunday, December 24, 2006 5:40 PM >> Subject: Re: [AccessD] Interesting reading 2 >> >> >>> JC >>> >>> ...seems very xmas you do your best to dump coals here :) >>> >>> ...given the legal ramifications of software provider liability embedded >>> in >>> the successful RIAA suits against the peer to peer networks, I can't >>> imagine >>> MS doing anything else ...doesn't mean I like it or that it will be >>> successful ...but something along these lines is inevitable. >>> >>> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think >>> for >>> a minute that the legal eagles wont force them to adopt similar and >>> compatible measures to avoid extensive liability awards, you're smoking >>> something other than tobacco. >>> >>> ...just wish I knew which way to dodge to avoid my clients becoming >>> collateral damage ...the thing that struck me hardest is that staying >>> with >>> XP isn't a solution :( >>> >>> ...hope you and Mary and the kids enjoy the best xmas yet :) >>> >>> William Hindman >>> >>> ----- Original Message ----- >>> From: "Jim Lawrence" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Sunday, December 24, 2006 4:35 PM >>> Subject: Re: [AccessD] Interesting reading 2 >>> >>> >>>> Hi John: >>>> >>>> That article is down right frightening. If this implementation proceeds >>>> as >>>> described the ramifications are horrific. I hope this is just the >>>> ranting >>>> of >>>> George Orwellian paranoid...and not a real warning that some truly >>>> twisted >>>> people going for absolute control. >>>> >>>> Jim >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>>> Sent: Sunday, December 24, 2006 10:43 AM >>>> To: 'Access Developers discussion and problem solving' >>>> Subject: [AccessD] Interesting reading 2 >>>> >>>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >>>> >>>> -- >>>> 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 Sun Dec 24 22:18:29 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 25 Dec 2006 14:18:29 +1000 Subject: [AccessD] Interesting reading 3 In-Reply-To: <000801c727d9$d9a31a80$4798eb44@50NM721> References: <0JAS001QRRVJU971@l-daemon>, <000801c727d9$d9a31a80$4798eb44@50NM721> Message-ID: <458F5115.32175.15A37D60@stuart.lexacorp.com.pg> Read the whole article again. Then, if still necessary, look up the definition of satire :-) Also see http://www.watleyreview.com/About.html On 24 Dec 2006 at 23:05, William Hindman wrote: > ...there ought to be an open season on all lawyers ...twice as long for tort > lawyers ...all year long for government lawyers ...this country is sue crazy > :( > > William Hindman > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 6:46 PM > Subject: [AccessD] Interesting reading 3 > > > > http://www.watleyreview.com/2003/093003-1.html > > > > "Microsoft has filed 6,324 lawsuits in hundreds of courts around the > > country targeting anyone who has published what Microsoft considers to be > > "defamatory material." > > > > Michael R. Mattys > > MapPoint & Access Dev > > www.mattysconsulting.com > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Sunday, December 24, 2006 5:40 PM > > Subject: Re: [AccessD] Interesting reading 2 > > > > > >> JC > >> > >> ...seems very xmas you do your best to dump coals here :) > >> > >> ...given the legal ramifications of software provider liability embedded > >> in the successful RIAA suits against the peer to peer networks, I can't > >> imagine MS doing anything else ...doesn't mean I like it or that it will > >> be successful ...but something along these lines is inevitable. > >> > >> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think > >> for a minute that the legal eagles wont force them to adopt similar and > >> compatible measures to avoid extensive liability awards, you're smoking > >> something other than tobacco. > >> > >> ...just wish I knew which way to dodge to avoid my clients becoming > >> collateral damage ...the thing that struck me hardest is that staying > >> with XP isn't a solution :( > >> > >> ...hope you and Mary and the kids enjoy the best xmas yet :) > >> > >> William Hindman > >> > >> ----- Original Message ----- > >> From: "Jim Lawrence" > >> To: "'Access Developers discussion and problem solving'" > >> > >> Sent: Sunday, December 24, 2006 4:35 PM > >> Subject: Re: [AccessD] Interesting reading 2 > >> > >> > >>> Hi John: > >>> > >>> That article is down right frightening. If this implementation proceeds > >>> as described the ramifications are horrific. I hope this is just the > >>> ranting of George Orwellian paranoid...and not a real warning that some > >>> truly twisted people going for absolute control. > >>> > >>> Jim > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > >>> Sent: Sunday, December 24, 2006 10:43 AM > >>> To: 'Access Developers discussion and problem solving' > >>> Subject: [AccessD] Interesting reading 2 > >>> > >>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt > >>> > >>> -- > >>> 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 -- Stuart From artful at rogers.com Sun Dec 24 22:52:00 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 24 Dec 2006 20:52:00 -0800 (PST) Subject: [AccessD] Interesting reading 3 Message-ID: <20061225045200.3251.qmail@web88205.mail.re2.yahoo.com> For a brilliant novel on exactly your conclusion, see my favorite American novelist's "A Frolic of His Own", by William Gaddis. I think he is the best novelist of the 20th century. "A Frolic" has many subplots among which is a guy who sues himself -- and on logically plausible grounds. I won't spoil it, in case you decide to read it. It's a little "difficult" in the sense that Tom Pynchon is, but it's also hysterically funny and a magnificent assault on the lawsuit industry. Merry Christmas. Arthur ----- Original Message ---- From: William Hindman To: Access Developers discussion and problem solving Sent: Sunday, December 24, 2006 11:05:00 PM Subject: Re: [AccessD] Interesting reading 3 ...there ought to be an open season on all lawyers ...twice as long for tort lawyers ...all year long for government lawyers ...this country is sue crazy :( William Hindman From Jim.Hale at FleetPride.com Tue Dec 26 09:18:02 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Dec 2006 09:18:02 -0600 Subject: [AccessD] Spanish Translations Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A0@corp-es01.fleetpride.com> Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Tue Dec 26 10:53:06 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 Dec 2006 08:53:06 -0800 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <001001c726ab$8404f910$0200a8c0@danwaters> Message-ID: I don't think it's a case of "must" any more, although it was in Access 2000. I haven't had occasion to work with ADO in Access since moving to XP and then 2003, so I can't say whether bound forms work right or not. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, December 23, 2006 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters From dwaters at usinternet.com Tue Dec 26 11:02:42 2006 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 Dec 2006 11:02:42 -0600 Subject: [AccessD] Test for Recordset Existence Message-ID: <002f01c7290f$ab029570$0200a8c0@danwaters> During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters From Jim.Hale at FleetPride.com Tue Dec 26 11:23:47 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Dec 2006 11:23:47 -0600 Subject: [AccessD] Test for Recordset Existence Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A2@corp-es01.fleetpride.com> How about this Jim Hale If Not (recset Is Nothing) Then recset.Close: Set recset = Nothing -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, December 26, 2006 11:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Tue Dec 26 11:30:30 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 26 Dec 2006 09:30:30 -0800 Subject: [AccessD] Test for Recordset Existence In-Reply-To: <002f01c7290f$ab029570$0200a8c0@danwaters> Message-ID: <0JAW00BGT5VUWYQ0@l-daemon> Hi Dan: I do not think you can test for all open recordsets. It is the programmer's responsibility to keep track of what is opened or closed. The following code will check to see if a specific recordset is open and close it: If Not MyRecordset Is Nothing Then MyRecordset.Close: Set MyRecordset = Nothing HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, December 26, 2006 9:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Dec 26 11:59:45 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Dec 2006 11:59:45 -0600 Subject: [AccessD] Test for Recordset Existence Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A3@corp-es01.fleetpride.com> something like this will work if you set up your recordsets as array elements. Jim Hale dim recset(1 To 5) As Recordset ....... For x = 1 To 5 If Not (recset(x) Is Nothing) Then recset(x).Close: Set recset(x) = Nothing Next x -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Tuesday, December 26, 2006 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test for Recordset Existence Hi Dan: I do not think you can test for all open recordsets. It is the programmer's responsibility to keep track of what is opened or closed. The following code will check to see if a specific recordset is open and close it: If Not MyRecordset Is Nothing Then MyRecordset.Close: Set MyRecordset = Nothing HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, December 26, 2006 9:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Tue Dec 26 12:06:02 2006 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 Dec 2006 12:06:02 -0600 Subject: [AccessD] Test for Recordset Existence In-Reply-To: <28623093.1167154285839.JavaMail.root@sniper47> Message-ID: <003001c72918$81d0fee0$0200a8c0@danwaters> Jim & Jim! Thanks for the quick response! I'm working again! :-) Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 26, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test for Recordset Existence How about this Jim Hale If Not (recset Is Nothing) Then recset.Close: Set recset = Nothing -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, December 26, 2006 11:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Dec 26 16:23:21 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 26 Dec 2006 14:23:21 -0800 (PST) Subject: [AccessD] Script an Access database? Message-ID: <20061226222321.90209.qmail@web88202.mail.re2.yahoo.com> Is there a built-in or freeware or shareware tool that can script an Access database? By that I mean, generate the create-table statements and the insert statements required to populate the tables. Ideally, the tool would let me choose the tables of interest. What I want is the MS-SQL version of said statements. Normally I would use SSIS to import the data, or alternatively the upsizing wizard. In the former case, it doesn't like something about the database. In the latter case, I'm running into a real oddity (Access 2003) -- if the database is open I get a message that says I cannot run the import/export wizard with any databases open, and if I close the database, the wizard is greyed out. TIA, Arthur From artful at rogers.com Tue Dec 26 16:27:49 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 26 Dec 2006 14:27:49 -0800 (PST) Subject: [AccessD] Script an Access Database Message-ID: <20061226222749.91536.qmail@web88202.mail.re2.yahoo.com> I don't know what changed, but I just ran SSIS again and this time it was successful, so I have solved my immediate problem. Arthur From kp at sdsonline.net Tue Dec 26 17:31:54 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 27 Dec 2006 10:31:54 +1100 Subject: [AccessD] Spanish Translations References: <000601c72767$a02f7d10$6901a8c0@HAL9005> Message-ID: <000c01c72946$082fd330$6501a8c0@office> Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Dec 26 22:33:02 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 26 Dec 2006 22:33:02 -0600 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <000c01c72946$082fd330$6501a8c0@office> Message-ID: <002701c72970$18a3c350$0202fea9@dads> Hi everyone. Has anyone gotten this message, with no body, just Subject and the From: From: drive-bounces at databaseadvisors.com And the subject was: You have been unsubscribed from the Drive mailing list I think it's a spam, and I'm still receiving your posts, so ? Greg From askolits at ot.com Tue Dec 26 22:37:11 2006 From: askolits at ot.com (John Skolits) Date: Tue, 26 Dec 2006 23:37:11 -0500 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <002701c72970$18a3c350$0202fea9@dads> Message-ID: <000001c72970$acce36a0$800101df@officexp> I did not get it -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, December 26, 2006 11:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Has anyone else gotten this? Hi everyone. Has anyone gotten this message, with no body, just Subject and the From: From: drive-bounces at databaseadvisors.com And the subject was: You have been unsubscribed from the Drive mailing list I think it's a spam, and I'm still receiving your posts, so ? Greg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 27 01:31:19 2006 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 26 Dec 2006 23:31:19 -0800 (PST) Subject: [AccessD] link subform to subform Message-ID: <20061227073119.45323.qmail@web31609.mail.mud.yahoo.com> Thnx. That did it. ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Saturday, December 23, 2006 4:17:20 PM Subject: Re: [AccessD] link subform to subform I am assuming that two subforms are both physically in the main form, i.e. one subform is not inside the other subform. The way to do this is to have a control on the main form, whose source data is a control in the one of the child forms. Thus when the child form changes record, the control up on the main form changes. Now link the second subform to that control up in the main form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Saturday, December 23, 2006 7:47 AM To: Acces User Group Subject: [AccessD] link subform to subform Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Wed Dec 27 02:50:18 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Dec 2006 09:50:18 +0100 Subject: [AccessD] GeoNames (was: pull data from web page) Message-ID: Hi John et al And Arthur, didn't you work with look up of regions, cities, and streets? > I look for the day that all tabular data is available this way. Maybe this site can prove useful: http://www.geonames.org The geonames.org geographical database is available for download free of charge under a creative commons attribution license. It contains over eight million geographical names and consists of 6.3 million unique features whereof 2.2 million populated places and 1.8 million alternate names. All features are categorized into one out of nine feature classes and further subcategorized into one out of 645 feature codes. (more statistics ...). The data is accessible free of charge through a number of webservices and a daily database export. Geonames.org is already serving up to over 3 million web service requests per day. The page on how to retrieve data: http://www.geonames.org/export/ I have no idea of the fidelity of the information except that I searched for some places I know. Most were right, but the tiny Rosenborg Castle (Rosenborg Slot) and the Citadel Fort (Kastellet) were both off by some hundred meters. However, you can create an account and do your own corrections which I did. Now the positions are correct. So don't rely too much on attractions and the like. More hard facts like postal codes seem to be correct. /gustav >>> jwcolby at colbyconsulting.com 19-12-2006 13:47 >>> I was particularly intrigued by the fact that the XML object could just load the xml file right off the internet without having to go through explorer. Things are getting better. I look for the day that all tabular data is available this way. From pedro at plex.nl Wed Dec 27 04:18:53 2006 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 27 Dec 2006 11:18:53 +0100 Subject: [AccessD] overflow References: <000c01c726e6$31228d30$4001a8c0@qmotionfaa3ad9> Message-ID: <007601c729a0$69121f50$4001a8c0@qmotionfaa3ad9> Hello Gustav and Stuart, have you received the response to your mail, on my question, by accessd. I ask this because it was Christmas eve, so it could have slipped your attention. Pedro Janssen From Gustav at cactus.dk Wed Dec 27 05:38:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Dec 2006 12:38:32 +0100 Subject: [AccessD] overflow Message-ID: Hi Pedro You could also find the chunk, assign it to an unbound textbox, and then search that textbox: Public Function GetMemoChunk( _ ByVal strMemo As String, _ ByVal strSearch As String) _ As String Const clngChunk As Long = &H8000& Dim lngPos As Long Dim strChunk As String lngPos = InStr(1, strMemo, strSearch, vbTextCompare) If lngPos > 0 Then Debug.Print Int(lngPos / clngChunk) strChunk = Mid(strMemo, 1 + (Int(lngPos / clngChunk) * clngChunk), clngChunk) End If GetMemoChunk = strChunk End Function Then: Set rst = Me.RecordsetClone ' varMemo = rst!BigMemoField.Value If Not IsNull(varMemo) Then strChunk = GetMemoChunk(varMemo, strSearch) If Len(strChunk) = 0 Then ' Search string not found in memo. Else With Me!txtMemoSearch .Value = strChunk ' Perform search in txtMemoSearch textbox to display found string. ' ' Clean up. .Value = Null End With End If End If rst.Close Set rst = Nothing /gustav >>> pedro at plex.nl 24-12-2006 14:14 >>> Hello Gustav, i don't need to edit so, how can i set the reading in chunks of 32K??? Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, December 24, 2006 12:16 AM Subject: Re: [AccessD] overflow > Hi Pedro > > You could read in the memo field in chunks of 32K until a match or the > last chunk is read. > That should be fine, if all you need is to display a match. If you wish to > edit the text, the plot thickens ... > /gustav > > >>>> pedro at plex.nl 24-12-06 0:00 >>> > Hello Gustav, > > i didn't know that. > Can i use something else for this, or work around. > Otherwise i have to use an other search function. > > Pedro > > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, December 23, 2006 11:47 PM > Subject: Re: [AccessD] overflow > > >> Hi Pedro >> >> The value of SelStart itself is limited to the max. positive value of an >> Integer. >> >> /gustav >> >>>>> pedro at plex.nl 23-12-06 22:49 >>> >> Hello Group, >> >> when using the search function below and when the position of the word >> that is used in the search-string in field "Plaats" is above 32,767 >> (memofield), i get an runtime error 6, overflow . >> I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", >> but still have the same error. I don't understand why? >> >> Pedro Janssen >> >> >> >> ------------------code------------------------------- >> Option Compare Database >> Dim plaats As Integer >> >> Private Sub Knop21_Click() >> >> If dummy <> "" Then >> tekstplaats = plaats >> If tekstplaats = 0 Then >> tekstplaats = 1 >> End If >> INHOUD.SetFocus >> >> plaats = INHOUD.SelStart + Len(dummy) + 1 >> plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) >> If plaats <> 0 Then >> INHOUD.SelStart = plaats - 1 >> INHOUD.SelLength = Len(dummy) >> Else >> INHOUD.SelStart = 0 >> INHOUD.SelLength = 0 >> End If >> tekstplaats = plaats >> Else >> MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" >> End If >> >> End Sub >> >> ------------------/code-------------------------- From andy at minstersystems.co.uk Wed Dec 27 05:38:43 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 27 Dec 2006 11:38:43 -0000 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <000001c72970$acce36a0$800101df@officexp> Message-ID: <00e801c729ab$93eda540$ceb10c54@minster33c3r25> Nor me. Just spam I reckon Greg -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Skolits > Sent: 27 December 2006 04:37 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Has anyone else gotten this? > > > I did not get it > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Tuesday, December 26, 2006 11:33 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Has anyone else gotten this? > > > Hi everyone. > > Has anyone gotten this message, with no body, just Subject > and the From: > > From: > drive-bounces at databaseadvisors.com > > And the subject was: > You have been unsubscribed from the Drive mailing list > > I think it's a spam, and I'm still receiving your posts, so ? > > Greg > > > -- > 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 bchacc at san.rr.com Wed Dec 27 08:07:49 2006 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Wed, 27 Dec 2006 09:07:49 -0500 Subject: [AccessD] Spanish Translations Message-ID: <380-220061232714749949@M2W010.mail2web.com> Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From bchacc at san.rr.com Wed Dec 27 08:09:36 2006 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Wed, 27 Dec 2006 09:09:36 -0500 Subject: [AccessD] Spanish Translations Message-ID: <380-22006123271493649@M2W004.mail2web.com> Kath: I may ask you for some of the message boxes, then. Thanks. Rocky Original Message: ----------------- From: Kath Pelletti kp at sdsonline.net Date: Wed, 27 Dec 2006 10:31:54 +1100 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.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 -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From carbonnb at gmail.com Wed Dec 27 08:15:20 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 27 Dec 2006 09:15:20 -0500 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <002701c72970$18a3c350$0202fea9@dads> References: <000c01c72946$082fd330$6501a8c0@office> <002701c72970$18a3c350$0202fea9@dads> Message-ID: On 12/26/06, Greg Smith wrote: > > Hi everyone. > > Has anyone gotten this message, with no body, just Subject and the From: > > From: > drive-bounces at databaseadvisors.com > > And the subject was: > You have been unsubscribed from the Drive mailing list > > I think it's a spam, and I'm still receiving your posts, so ? It's not spam. It's a little burp that the mail server has had over the holidays. I think it had too much egg nog. -- 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 Kwilliamson at RTKL.com Wed Dec 27 09:31:33 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 27 Dec 2006 10:31:33 -0500 Subject: [AccessD] Query Mathematics Message-ID: Hi all, Is it possible to do a "percent of total" calculation within a summary query? I have a query that sums up actual hours worked, by profit center; and then divides this by the standard actual hours in the pay period. This gives me the FTE (full-time equivalents) employees per profit center. I, then, want to take the total FTE of each center, and calculate the percent of all FTE's. Is it possible to do this in the query? Here is the Center FTE expression: CenterFTE: Sum([ActReg])/(First([countoftimewkend])*40) And I'd like to divide the above, by the total of all CenterFTE expressions. I've been doing this in a report, but am trying to get this calculation down to the query level, for ease of exporting into excel. Thanks for any help. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From gwsmith at iowatelecom.net Wed Dec 27 10:00:31 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Wed, 27 Dec 2006 10:00:31 -0600 (CST) Subject: [AccessD] Has anyone else gotten this? In-Reply-To: References: <000c01c72946$082fd330$6501a8c0@office> <002701c72970$18a3c350$0202fea9@dads> Message-ID: <16165.65.118.249.214.1167235231.squirrel@webmail.iowatelecom.net> Ok...thanks Bryan.? It obviously was WRONG since we are having this conversation...:D Greg ? On 12/26/06, Greg Smith wrote: > > Hi everyone. > > Has anyone gotten this message, with no body, just Subject and the From: > > From: > drive-bounces at databaseadvisors.com > > And the subject was: > You have been unsubscribed from the Drive mailing list > > I think it's a spam, and I'm still receiving your posts, so ? It's not spam. It's a little burp that the mail server has had over the holidays. I think it had too much egg nog. -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Wed Dec 27 10:16:27 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 27 Dec 2006 11:16:27 -0500 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <16165.65.118.249.214.1167235231.squirrel@webmail.iowatelecom.net> References: <000c01c72946$082fd330$6501a8c0@office> <002701c72970$18a3c350$0202fea9@dads> <16165.65.118.249.214.1167235231.squirrel@webmail.iowatelecom.net> Message-ID: On 12/27/06, Greg Smith wrote: > Ok...thanks Bryan. It obviously was WRONG since we are having > this conversation...:D Glad to help. Glad I had time to read the list. Gotta love 10 days off work :) -- 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 askolits at ot.com Wed Dec 27 10:24:17 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 11:24:17 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <380-220061232714749949@M2W010.mail2web.com> Message-ID: <000e01c729d3$7801a340$800101df@officexp> Rocky, You may already know about this, but are you using Alex Dybenko language translator program. I sued it quite a few years ago and it was slick. You still have to map translations but you can switch between the languages on the fly. I just visited his website and didn't see the program mentioned. Maybe he gave up on it, but when I used it, it worked really well. His web site is: http://alex.dybenko.com/ John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Wed Dec 27 10:25:02 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 11:25:02 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <380-220061232714749949@M2W010.mail2web.com> Message-ID: <001101c729d3$92c5bfe0$800101df@officexp> Oh, I just found the link to the translation program: http://www.pointltd.com/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szayko at secor.com Wed Dec 27 10:36:31 2006 From: szayko at secor.com (Steve Zayko) Date: Wed, 27 Dec 2006 08:36:31 -0800 Subject: [AccessD] Spanish Translations Message-ID: <5D71EC0BA06F7C41B6088EF70CA4014E0EA2AE@exchangecolo.secor.com> Hey Rocky: I do a lot of engineering work in Central America and have some contacts that I could use to help with some of the smaller technical items. -Z Stephen R. Zayko PE SECOR International Inc 2321 Club Meridian Drive Ste E Okemos, MI 48864 (517) 349-9499 ext 224 (517) 204-5136 (c) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 26, 2006 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.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 Kwilliamson at RTKL.com Wed Dec 27 14:58:01 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 27 Dec 2006 15:58:01 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <000e01c729d3$7801a340$800101df@officexp> Message-ID: Did you Sue them, or Use them? ;)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, December 27, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spanish Translations Rocky, You may already know about this, but are you using Alex Dybenko language translator program. I sued it quite a few years ago and it was slick. You still have to map translations but you can switch between the languages on the fly. I just visited his website and didn't see the program mentioned. Maybe he gave up on it, but when I used it, it worked really well. His web site is: http://alex.dybenko.com/ John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.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 DorisH3 at aol.com Wed Dec 27 15:19:40 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Wed, 27 Dec 2006 16:19:40 EST Subject: [AccessD] question on report Message-ID: I have a report that summarizes and cannot get it to summarize properly. I have a group of volunteers that volunteer their time and each one will work several events and several days in the office. I am keeping track of their hours in a special table...that is TimeIn and TimeOut...each volunteer has a number and the only thing I keep in this table is VolunteerNum, Date, TimeIn, TimeOut and the EventNumber. I have a query, thanks to A.D.Tejpal, that uses the following fields: VolunteerNum, VolunteerNm, TimeIn, TimeOut, DtWorked(using Count in the Totals row), then in the Total row used Expression for the following two fields: ElapsedMinutes: Fn_GetMinutes([TimeInHW],[TimeOutHW]) and ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes([TimeInHW],[TimeOutHW])) along with VB code as follows: Public Function HoursAndMinutes(interval As Variant) As String '*********************************************************************** ' Function HoursAndMinutes(interval As Variant) As String ' Returns time interval formatted as a hours:minutes string '*********************************************************************** Dim totalminutes As Long, totalseconds As Long Dim Hours As Long, Minutes As Long, seconds As Long If IsNull(interval) = True Then Exit Function Hours = Int(CSng(interval * 24)) totalminutes = Int(CSng(interval * 1440)) ' 1440 = 24 hrs * 60 mins Minutes = totalminutes Mod 60 totalseconds = Int(CSng(interval * 86400)) ' 86400 = 1440 * 60 secs seconds = totalseconds Mod 60 If seconds > 30 Then Minutes = Minutes + 1 ' round up the minutes and If Minutes > 59 Then Hours = Hours + 1: Minutes = 0 ' adjust hours HoursAndMinutes = Hours & ":" & Format(Minutes, "00") End Function Public Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed between a starting Date/Time and an ending ' Date/Time formatted as a string that looks like this: ' "10 days, 20 hours, 30 minutes, 40 seconds". '********************************************************************* Dim interval As Double, str As String, days As Variant Dim Hours As String, Minutes As String, seconds As String If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) Hours = Format(interval, "h") Minutes = Format(interval, "n") seconds = Format(interval, "s") ' Days part of the string str = IIf(days = 0, "", _ IIf(days = 1, days & " Day", days & " Days")) str = str & IIf(days = 0, "", _ IIf(Hours & Minutes & seconds <> "000", ", ", " ")) ' Hours part of the string str = str & IIf(Hours = "0", "", _ IIf(Hours = "1", Hours & " Hour", Hours & " Hours")) str = str & IIf(Hours = "0", "", _ IIf(Minutes & seconds <> "00", ", ", " ")) ' Minutes part of the string str = str & IIf(Minutes = "0", "", _ IIf(Minutes = "1", Minutes & " Minute", Minutes & " Minutes")) str = str & IIf(Minutes = "0", "", IIf(seconds <> "0", ", ", " ")) ' Seconds part of the string str = str & IIf(seconds = "0", "", _ IIf(seconds = "1", seconds & " Second", seconds & " Seconds")) ElapsedTimeString = IIf(str = "", "0", str) End Function Public Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed in days between a starting Date/Time and ' an ending Date/Time formatted as a string that looks like this: ' "10 days" or "1 day". '********************************************************************* Dim interval As Double, days As Variant If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) ElapsedDays = IIf(days = 1, days & " Day", days & " Days") End Function Now, in the report I need to summarize each volunteer doing a count of the days worked, summarize the total hours that they worked, then I need to multiply the workmens comp rate($6.15) by the number of hours they worked. Then at the end of the report I have to give a grand total for the hours and grand total for the dollars. I have tried several ways to do the calculation on number of hours worked and workmens comp rate but have had no success. Thanks in advance for any help that comes my way...I appreciate this list that's for sure. Doris From askolits at ot.com Wed Dec 27 15:33:08 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 16:33:08 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: Message-ID: <001a01c729fe$9d9b6f70$6701a8c0@LaptopXP> Oh well, I actually 'used' them but suing them must have been on my mind at the time I suggested it. (I guess.) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 27, 2006 3:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations Did you Sue them, or Use them? ;)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, December 27, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spanish Translations Rocky, You may already know about this, but are you using Alex Dybenko language translator program. I sued it quite a few years ago and it was slick. You still have to map translations but you can switch between the languages on the fly. I just visited his website and didn't see the program mentioned. Maybe he gave up on it, but when I used it, it worked really well. His web site is: http://alex.dybenko.com/ John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.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 martyconnelly at shaw.ca Wed Dec 27 15:47:08 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Dec 2006 13:47:08 -0800 Subject: [AccessD] Spanish Translations In-Reply-To: <001a01c729fe$9d9b6f70$6701a8c0@LaptopXP> References: <001a01c729fe$9d9b6f70$6701a8c0@LaptopXP> Message-ID: <4592E9DC.7040007@shaw.ca> I remember the original program was sold from the Moscow Access User Group site. Michael Kaplan gave it his recommendation and he wrote a book on VB6 Internationalization. John Skolits wrote: >Oh well, I actually 'used' them but suing them must have been on my mind at >the time I suggested it. (I guess.) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Wednesday, December 27, 2006 3:58 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Spanish Translations > >Did you Sue them, or Use them? ;)) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, December 27, 2006 11:24 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Spanish Translations > >Rocky, > >You may already know about this, but are you using Alex Dybenko language >translator program. I sued it quite a few years ago and it was slick. >You >still have to map translations but you can switch between the languages >on >the fly. I just visited his website and didn't see the program >mentioned. >Maybe he gave up on it, but when I used it, it worked really well. > >His web site is: http://alex.dybenko.com/ > >John Skolits > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >bchacc at san.rr.com >Sent: Wednesday, December 27, 2006 9:08 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > >Thanks Jim. That will be really helpful. I'll try not to take >advantage. > >Regards, > >Rocky > > >Original Message: >----------------- >From: Hale, Jim Jim.Hale at fleetpride.com >Date: Tue, 26 Dec 2006 09:18:02 -0600 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > > >Rocky, >My wife's native language is spanish and she has a business background. >She'll be happy to help. Write her at nhale at houston.rr.com > >Regards, >Jim Hale > >-----Original Message----- >From: Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Sunday, December 24, 2006 8:27 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Spanish Translations > > >Dear List: > > > >I am translating my manufacturing software into Spanish with the help of >my >son and a couple of users of the system in Mexico. Is there anyone on >the >list here who speaks Spanish of whom I could ask a few translations of >technical and manufacturing terms? > > > >MTIA, > > > > > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Wed Dec 27 16:02:18 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 27 Dec 2006 16:02:18 -0600 Subject: [AccessD] Query Mathematics Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> Keith, create a query that generates the total you want as the denominator. In the query grid add this query without any join to the other query . Add the field from this summary query to the grid. When you run the query you will see the total from the summary query will appear in every record. This will enable you to create a new field dividing each number by the total. HTH Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Wednesday, December 27, 2006 9:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Query Mathematics Hi all, Is it possible to do a "percent of total" calculation within a summary query? I have a query that sums up actual hours worked, by profit center; and then divides this by the standard actual hours in the pay period. This gives me the FTE (full-time equivalents) employees per profit center. I, then, want to take the total FTE of each center, and calculate the percent of all FTE's. Is it possible to do this in the query? Here is the Center FTE expression: CenterFTE: Sum([ActReg])/(First([countoftimewkend])*40) And I'd like to divide the above, by the total of all CenterFTE expressions. I've been doing this in a report, but am trying to get this calculation down to the query level, for ease of exporting into excel. Thanks for any help. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Wed Dec 27 16:12:19 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Dec 2006 14:12:19 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> Message-ID: <4592EFC3.4070400@shaw.ca> A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada From darrend at nimble.com.au Wed Dec 27 17:09:22 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 28 Dec 2006 10:09:22 +1100 Subject: [AccessD] Bit OT: Restore Network Connections in a batch file Message-ID: <200612272309.kBRN9QR23895@databaseadvisors.com> Hi All I have a batch file that moves files from various places to other places - servers etc But from time to time if I haven't refreshed my Drive letters in the My computer window - by actually double clicking them to see the root folders -then I get all sorts of error messages about not being able to connect to drive such and such or invalid drive spec or just errors in the copy routines What I wanted was a line or two that I could just drop at the top of the batch file that will reconnect to the drives and send usernames and passwords with it without having to remember to open My Computer and double click the drives Is this an easy thing to do? Anyone got any samples / links? Many thanks in advance Darren From stuart at lexacorp.com.pg Wed Dec 27 17:35:08 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 Dec 2006 09:35:08 +1000 Subject: [AccessD] Bit OT: Restore Network Connections in a batch file In-Reply-To: <200612272309.kBRN9QR23895@databaseadvisors.com> References: <200612272309.kBRN9QR23895@databaseadvisors.com> Message-ID: <4593032C.917.2CC5B44@stuart.lexacorp.com.pg> On 28 Dec 2006 at 10:09, Darren DICK wrote: > What I wanted was a line or two that I could just drop at the top of the > batch file that will reconnect to the drives and send usernames and > passwords with it without having to remember to open My Computer and double > click the drives "Net use" Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. net use [devicename | *] [\\computername\sharename[\volume]] [password | *]] [/user:[domainname\]username] [[/delete] | [/persistent:{yes | no}]] net use devicename [/home[password | *]] [/delete:{yes | no}] net use [/persistent:{yes | no}] Parameters none Used without parameters, net use retrieves a list of network connections. devicename Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of device names: disk drives (D: through Z:) and printers (LPT1: through LPT3:). Type an asterisk instead of a specific device name to assign the next available device name. \\computername\sharename Specifies the name of the server and the shared resource. If computername contains blank characters, enclose the entire computer name from the double backslash (\\) to the end of the computer name in quotation marks (" "). The computer name may be from 1 to 15 characters long. \volume Specifies a NetWare volume on the server. You must have Client Service for NetWare (Windows 2000 Professional) or Gateway Service for NetWare (Windows 2000 Server) installed and running to connect to NetWare servers, password Specifies the password needed to access the shared resource. * Produces a prompt for the password. The password is not displayed when you type it at the password prompt. /user Specifies a different user name with which the connection is made. domainname Specifies another domain. For example, net use d:\\server\share /user:admin\mariel connects the user identifier mariel as if the connection were made from the admin domain. If domainname is omitted, the current logged on domain is used. username Specifies the user name with which to log on. /delete Cancels the specified network connection. If the user specifies the connection with an asterisk, all network connections are canceled. /home Connects a user to the home directory. /persistent Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. yes Saves all connections as they are made, and restores them at next logon. no Does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use the /delete switch to remove persistent connections. -- Stuart From askolits at ot.com Wed Dec 27 18:11:04 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 19:11:04 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <4592E9DC.7040007@shaw.ca> Message-ID: <002601c72a14$ae00f7c0$6701a8c0@LaptopXP> Well, I was asked by a customer about translating my app to about 5 different languages. I got Alex's program, customized it a bit and had it finished in a day. They were amazed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, December 27, 2006 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations I remember the original program was sold from the Moscow Access User Group site. Michael Kaplan gave it his recommendation and he wrote a book on VB6 Internationalization. John Skolits wrote: >Oh well, I actually 'used' them but suing them must have been on my mind at >the time I suggested it. (I guess.) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Wednesday, December 27, 2006 3:58 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Spanish Translations > >Did you Sue them, or Use them? ;)) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, December 27, 2006 11:24 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Spanish Translations > >Rocky, > >You may already know about this, but are you using Alex Dybenko language >translator program. I sued it quite a few years ago and it was slick. >You >still have to map translations but you can switch between the languages >on >the fly. I just visited his website and didn't see the program >mentioned. >Maybe he gave up on it, but when I used it, it worked really well. > >His web site is: http://alex.dybenko.com/ > >John Skolits > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >bchacc at san.rr.com >Sent: Wednesday, December 27, 2006 9:08 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > >Thanks Jim. That will be really helpful. I'll try not to take >advantage. > >Regards, > >Rocky > > >Original Message: >----------------- >From: Hale, Jim Jim.Hale at fleetpride.com >Date: Tue, 26 Dec 2006 09:18:02 -0600 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > > >Rocky, >My wife's native language is spanish and she has a business background. >She'll be happy to help. Write her at nhale at houston.rr.com > >Regards, >Jim Hale > >-----Original Message----- >From: Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Sunday, December 24, 2006 8:27 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Spanish Translations > > >Dear List: > > > >I am translating my manufacturing software into Spanish with the help of >my >son and a couple of users of the system in Mexico. Is there anyone on >the >list here who speaks Spanish of whom I could ask a few translations of >technical and manufacturing terms? > > > >MTIA, > > > > > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darrend at nimble.com.au Wed Dec 27 18:33:09 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 28 Dec 2006 11:33:09 +1100 Subject: [AccessD] Bit OT: Restore Network Connections in a batch file In-Reply-To: <4593032C.917.2CC5B44@stuart.lexacorp.com.pg> Message-ID: <200612280033.kBS0XBR14141@databaseadvisors.com> Hi Stuart Brilliant - thanks How's the H3 going? Darren ------------------ T: 0424 696 433 -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, 28 December 2006 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bit OT: Restore Network Connections in a batch file On 28 Dec 2006 at 10:09, Darren DICK wrote: > What I wanted was a line or two that I could just drop at the top of the > batch file that will reconnect to the drives and send usernames and > passwords with it without having to remember to open My Computer and double > click the drives "Net use" Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. net use [devicename | *] [\\computername\sharename[\volume]] [password | *]] [/user:[domainname\]username] [[/delete] | [/persistent:{yes | no}]] net use devicename [/home[password | *]] [/delete:{yes | no}] net use [/persistent:{yes | no}] Parameters none Used without parameters, net use retrieves a list of network connections. devicename Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of device names: disk drives (D: through Z:) and printers (LPT1: through LPT3:). Type an asterisk instead of a specific device name to assign the next available device name. \\computername\sharename Specifies the name of the server and the shared resource. If computername contains blank characters, enclose the entire computer name from the double backslash (\\) to the end of the computer name in quotation marks (" "). The computer name may be from 1 to 15 characters long. \volume Specifies a NetWare volume on the server. You must have Client Service for NetWare (Windows 2000 Professional) or Gateway Service for NetWare (Windows 2000 Server) installed and running to connect to NetWare servers, password Specifies the password needed to access the shared resource. * Produces a prompt for the password. The password is not displayed when you type it at the password prompt. /user Specifies a different user name with which the connection is made. domainname Specifies another domain. For example, net use d:\\server\share /user:admin\mariel connects the user identifier mariel as if the connection were made from the admin domain. If domainname is omitted, the current logged on domain is used. username Specifies the user name with which to log on. /delete Cancels the specified network connection. If the user specifies the connection with an asterisk, all network connections are canceled. /home Connects a user to the home directory. /persistent Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. yes Saves all connections as they are made, and restores them at next logon. no Does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use the /delete switch to remove persistent connections. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From k.williamson5 at verizon.net Wed Dec 27 19:50:26 2006 From: k.williamson5 at verizon.net (Keith Williamson) Date: Wed, 27 Dec 2006 20:50:26 -0500 Subject: [AccessD] Query Mathematics In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> Message-ID: <002001c72a22$91046ef0$650010ac@KeithHome> Cool! Thanks!! I'll give that a try. Regards, Keith -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, December 27, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Mathematics Keith, create a query that generates the total you want as the denominator. In the query grid add this query without any join to the other query . Add the field from this summary query to the grid. When you run the query you will see the total from the summary query will appear in every record. This will enable you to create a new field dividing each number by the total. HTH Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Wednesday, December 27, 2006 9:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Query Mathematics Hi all, Is it possible to do a "percent of total" calculation within a summary query? I have a query that sums up actual hours worked, by profit center; and then divides this by the standard actual hours in the pay period. This gives me the FTE (full-time equivalents) employees per profit center. I, then, want to take the total FTE of each center, and calculate the percent of all FTE's. Is it possible to do this in the query? Here is the Center FTE expression: CenterFTE: Sum([ActReg])/(First([countoftimewkend])*40) And I'd like to divide the above, by the total of all CenterFTE expressions. I've been doing this in a report, but am trying to get this calculation down to the query level, for ease of exporting into excel. Thanks for any help. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Dec 27 20:39:43 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 27 Dec 2006 20:39:43 -0600 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: <002001c72a22$91046ef0$650010ac@KeithHome> Message-ID: <091701c72a29$6f5bee70$026fa8c0@lcmdv8000> Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From ssharkins at setel.com Wed Dec 27 20:54:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 27 Dec 2006 21:54:01 -0500 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: <091701c72a29$6f5bee70$026fa8c0@lcmdv8000> Message-ID: <002e01c72a2b$6e95cd60$e732fad1@SUSANONE> I've seen this work in rare cases. Open Excel and then open the mdb file in Excel (choose All Files from the File Type option). If it works, save the worksheet with the Access data as an xls file. Then, import the data from the xls file back into your database. Susan H. Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.18/585 - Release Date: 12/13/2006 From adtp at airtelbroadband.in Wed Dec 27 23:11:11 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 28 Dec 2006 10:41:11 +0530 Subject: [AccessD] question on report References: Message-ID: <001d01c72a3e$cb6102e0$ba06177d@pcadt> Doris, Apparently, you wish to incorporate some additional features, subsequent to your earlier thread. It would be helpful to have a look at the latest state of your db. If you send a zipped copy of your file along with self contained note, I could look into it. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Thursday, December 28, 2006 02:49 Subject: [AccessD] question on report I have a report that summarizes and cannot get it to summarize properly. I have a group of volunteers that volunteer their time and each one will work several events and several days in the office. I am keeping track of their hours in a special table...that is TimeIn and TimeOut...each volunteer has a number and the only thing I keep in this table is VolunteerNum, Date, TimeIn, TimeOut and the EventNumber. I have a query, thanks to A.D.Tejpal, that uses the following fields: VolunteerNum, VolunteerNm, TimeIn, TimeOut, DtWorked(using Count in the Totals row), then in the Total row used Expression for the following two fields: ElapsedMinutes: Fn_GetMinutes([TimeInHW],[TimeOutHW]) and ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes([TimeInHW],[TimeOutHW])) along with VB code as follows: Public Function HoursAndMinutes(interval As Variant) As String '*********************************************************************** ' Function HoursAndMinutes(interval As Variant) As String ' Returns time interval formatted as a hours:minutes string '*********************************************************************** Dim totalminutes As Long, totalseconds As Long Dim Hours As Long, Minutes As Long, seconds As Long If IsNull(interval) = True Then Exit Function Hours = Int(CSng(interval * 24)) totalminutes = Int(CSng(interval * 1440)) ' 1440 = 24 hrs * 60 mins Minutes = totalminutes Mod 60 totalseconds = Int(CSng(interval * 86400)) ' 86400 = 1440 * 60 secs seconds = totalseconds Mod 60 If seconds > 30 Then Minutes = Minutes + 1 ' round up the minutes and If Minutes > 59 Then Hours = Hours + 1: Minutes = 0 ' adjust hours HoursAndMinutes = Hours & ":" & Format(Minutes, "00") End Function Public Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed between a starting Date/Time and an ending ' Date/Time formatted as a string that looks like this: ' "10 days, 20 hours, 30 minutes, 40 seconds". '********************************************************************* Dim interval As Double, str As String, days As Variant Dim Hours As String, Minutes As String, seconds As String If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) Hours = Format(interval, "h") Minutes = Format(interval, "n") seconds = Format(interval, "s") ' Days part of the string str = IIf(days = 0, "", _ IIf(days = 1, days & " Day", days & " Days")) str = str & IIf(days = 0, "", _ IIf(Hours & Minutes & seconds <> "000", ", ", " ")) ' Hours part of the string str = str & IIf(Hours = "0", "", _ IIf(Hours = "1", Hours & " Hour", Hours & " Hours")) str = str & IIf(Hours = "0", "", _ IIf(Minutes & seconds <> "00", ", ", " ")) ' Minutes part of the string str = str & IIf(Minutes = "0", "", _ IIf(Minutes = "1", Minutes & " Minute", Minutes & " Minutes")) str = str & IIf(Minutes = "0", "", IIf(seconds <> "0", ", ", " ")) ' Seconds part of the string str = str & IIf(seconds = "0", "", _ IIf(seconds = "1", seconds & " Second", seconds & " Seconds")) ElapsedTimeString = IIf(str = "", "0", str) End Function Public Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed in days between a starting Date/Time and ' an ending Date/Time formatted as a string that looks like this: ' "10 days" or "1 day". '********************************************************************* Dim interval As Double, days As Variant If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) ElapsedDays = IIf(days = 1, days & " Day", days & " Days") End Function Now, in the report I need to summarize each volunteer doing a count of the days worked, summarize the total hours that they worked, then I need to multiply the workmens comp rate($6.15) by the number of hours they worked. Then at the end of the report I have to give a grand total for the hours and grand total for the dollars. I have tried several ways to do the calculation on number of hours worked and workmens comp rate but have had no success. Thanks in advance for any help that comes my way...I appreciate this list that's for sure. Doris From artful at rogers.com Wed Dec 27 23:43:04 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 27 Dec 2006 21:43:04 -0800 (PST) Subject: [AccessD] Surrogates vs Natural Message-ID: <20061228054304.70928.qmail@web88214.mail.re2.yahoo.com> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Dec 28 01:18:43 2006 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 27 Dec 2006 23:18:43 -0800 (PST) Subject: [AccessD] Handle quotes (') in strings Message-ID: <20061228071843.51670.qmail@web31603.mail.mud.yahoo.com> Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From accessd at shaw.ca Thu Dec 28 02:22:22 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Dec 2006 00:22:22 -0800 Subject: [AccessD] Handle quotes (') in strings In-Reply-To: <20061228071843.51670.qmail@web31603.mail.mud.yahoo.com> Message-ID: <0JAZ008HM5U3SAM0@l-daemon> Hi Sad: Here is a function that I standardly use in a number of my applications for removing particular strings: Public Function StripInvalidCharacter(ChkText As String, strInvalidCharacter As String) Dim lbPosition As Integer Dim lbLength As Integer lbLength = Len(ChkText) lbPosition = InStr(1, ChkText, strInvalidCharacter) Do While lbPosition > 0 And lbPosition < lbLength ChkText = Left(ChkText, lbPosition - 1) & Mid(ChkText, lbPosition + 1) lbPosition = InStr(lbPosition + 2, ChkText, strInvalidCharacter) Loop StripInvalidCharacter = ChkText End Function The previous code takes the string to be stripped and the string to be removed and then returns a clean string. This routine works with any Access versions. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Wednesday, December 27, 2006 11:19 PM To: Acces User Group Subject: [AccessD] Handle quotes (') in strings Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Dec 28 04:22:28 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 11:22:28 +0100 Subject: [AccessD] DB Corruption, Memo field? Message-ID: Hi Larry Perhaps you could attach the table from a new db. The create a query SELECT TOP n * FROM tblTable ORDER BY ID ASC Narrow n down to return as many records as possible. Now reverse it to pick from the bottom: SELECT TOP n * FROM tblTable ORDER BY ID DESC The combined output from these two queries should retrieve all but the corrupted record(s). /gustav >>> lmrazek at lcm-res.com 28-12-2006 03:39 >>> Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From Gustav at cactus.dk Thu Dec 28 04:44:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 11:44:03 +0100 Subject: [AccessD] Surrogates vs Natural Message-ID: Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Thu Dec 28 04:53:01 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 11:53:01 +0100 Subject: [AccessD] Handle quotes (') in strings Message-ID: Hi Sander Look up Stuart's message of 2006-11-01: Dealing with single quotes and double quotes at the same time You can use Replace() to perform the task. /gustav >>> accessd666 at yahoo.com 28-12-2006 08:18 >>> Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... From ssharkins at setel.com Thu Dec 28 07:43:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 28 Dec 2006 08:43:16 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <000301c72a86$25697140$b234fad1@SUSANONE> There's really nothing wrong with letting the user view the primary key value, just can't let the user change it. I can see a situation where a user might use an AutoNumber primary key value for some kind of paper trail -- auditing purposes for quick lists or something like that. Years ago, I tracked PO's and one of the things the controller forced me to do was to keep a running list of PO numbers and who had them. Now, I could do that using the software, but he insisted on having a hand-written list that I was responsible for. I use an Access database to store all my article/book topics and track payments. I use an AutoNumber pk, which I use to quickly find records. My work orders (internal, just for me) have the pk and when I need to update the record, I just find that record. Now, admittedly, if I had built this for users, I wouldn't force them to do this -- but for me, it's a shortcut. I think I can see users needing to see some kind of identifying value in some cases. You could go to the trouble to create a number for this purpose, but I don't see why you would. In the end, development has evolved beyond the original rules. Yes, they're the foundation of all the decisions we make, but everything changes. Susan H. Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav From bchacc at san.rr.com Thu Dec 28 08:18:50 2006 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Thu, 28 Dec 2006 09:18:50 -0500 Subject: [AccessD] Spanish Translations Message-ID: <380-2200612428141850509@M2W025.mail2web.com> Stephen: Thanks for the offer. I'll definitely take you up on that. At the moment I'm looking for the current term for Burden Percent or Burden Rate. Thanks and regards, Rocky Original Message: ----------------- From: Steve Zayko szayko at secor.com Date: Wed, 27 Dec 2006 08:36:31 -0800 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Hey Rocky: I do a lot of engineering work in Central America and have some contacts that I could use to help with some of the smaller technical items. -Z Stephen R. Zayko PE SECOR International Inc 2321 Club Meridian Drive Ste E Okemos, MI 48864 (517) 349-9499 ext 224 (517) 204-5136 (c) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 26, 2006 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.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 -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From askolits at ot.com Thu Dec 28 08:50:02 2006 From: askolits at ot.com (John Skolits) Date: Thu, 28 Dec 2006 09:50:02 -0500 Subject: [AccessD] Month Control Vs a Calendar control In-Reply-To: <380-2200612428141850509@M2W025.mail2web.com> Message-ID: <001201c72a8f$77f1be50$6701a8c0@LaptopXP> I use the calendar control often, but does anyone have a quick 'Month' control where it displays the months. I can certainly create a custom form and make it a pop-up but didn't know if there was a slick control out there that would return the Month/Year. Thanks, John From dwaters at usinternet.com Thu Dec 28 09:00:51 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 28 Dec 2006 09:00:51 -0600 Subject: [AccessD] Handle quotes (') in strings In-Reply-To: <33406201.1167290889323.JavaMail.root@sniper55> Message-ID: <001901c72a90$f821cb50$0200a8c0@danwaters> Hi Sander, You can use the Replace function. Try this: stgStringVariable = "'s-hertogenbosch" stgSQL = "INSERT INTO tblTest (FieldName)" _ & " VALUES('" & Replace(stgStringVariable, "'", "''") & "')" Docmd.RunSQL stgSQL Dan Waters -----Original Message----- Subject: [AccessD] Handle quotes (') in strings Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Dec 28 09:01:34 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 15:01:34 +0000 Subject: [AccessD] Month Control Vs a Calendar control In-Reply-To: <001201c72a8f$77f1be50$6701a8c0@LaptopXP> Message-ID: John, This may be oversimplifying your problem...but could you use =Format(Date(),"mmm") to get the month and then a + or - button with DateAdd("m", 1, Me!MyDate)...to create your own month display? Hope it helps, Mark A. Matte >From: "John Skolits" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] Month Control Vs a Calendar control >Date: Thu, 28 Dec 2006 09:50:02 -0500 > >I use the calendar control often, but does anyone have a quick 'Month' >control where it displays the months. I can certainly create a custom form >and make it a pop-up but didn't know if there was a slick control out >there >that would return the Month/Year. > >Thanks, > >John > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=football&icid=T001MSN30A0701 From wdhindman at dejpolsystems.com Thu Dec 28 09:29:13 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 10:29:13 -0500 Subject: [AccessD] Month Control Vs a Calendar control References: <001201c72a8f$77f1be50$6701a8c0@LaptopXP> Message-ID: <000b01c72a94$ee67e0a0$5658eb44@50NM721> www.lebans.com William Hindman ----- Original Message ----- From: "John Skolits" To: "'Access Developers discussion and problem solving'" Sent: Thursday, December 28, 2006 9:50 AM Subject: [AccessD] Month Control Vs a Calendar control >I use the calendar control often, but does anyone have a quick 'Month' > control where it displays the months. I can certainly create a custom form > and make it a pop-up but didn't know if there was a slick control out > there > that would return the Month/Year. > > Thanks, > > John > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lmrazek at lcm-res.com Thu Dec 28 10:10:09 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 28 Dec 2006 10:10:09 -0600 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: Message-ID: <09ba01c72a9a$a67d7b00$026fa8c0@lcmdv8000> Thanks Gustav and Susan: No dice on Susan's idea ... Still received the error message and shutdown (in Excel this time! ). Gustav's idea should work (hopefully), since I can browse the records OK up until a certain point. I'll let you know my results. Thanks again! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 4:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DB Corruption, Memo field? Hi Larry Perhaps you could attach the table from a new db. The create a query SELECT TOP n * FROM tblTable ORDER BY ID ASC Narrow n down to return as many records as possible. Now reverse it to pick from the bottom: SELECT TOP n * FROM tblTable ORDER BY ID DESC The combined output from these two queries should retrieve all but the corrupted record(s). /gustav >>> lmrazek at lcm-res.com 28-12-2006 03:39 >>> Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Dec 28 10:43:43 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 16:43:43 +0000 Subject: [AccessD] DB Corruption, Memo field? Message-ID: Larry, Its been awhile since I've dealt with corruption...There was an extensive discussion here, summer '05 I believe, you might find it in the archives. Another method I've used in the past was opening the table in VBA as a recordset(NO sorting) and looping through the records one at a time. I think you can then use LEN() of the memo field(or field that is corrupted) to test for errors/value. At this point you can do 1 of 2 things...or both: 1. Test the LEN() and append the good records and skip the bad. 2. Test the LEN() and skip the GOOD records and append the PK of the bad in a new table(so you can look at the bad later. If you can't get it to work...I would be happy, if you want/can, to take a stab at it. Good Luck, Mark A. Matte P.S...In '05 someone on the list asked me to write an article, or something, about isolating/removing corrupt records. About the same time I ended up having a couple of major surgeries and completely forgot about it until this thread came up. I want to apologize to Someone...but not sure Who. If someone reading this is that Who or Someone, I apologize...and if there is still a want/need for the article, outline, or whatever it was...please let me know. Thanks, Mark A. Matte >From: "Lawrence Mrazek" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] DB Corruption, Memo field? >Date: Thu, 28 Dec 2006 10:10:09 -0600 > >Thanks Gustav and Susan: > >No dice on Susan's idea ... Still received the error message and shutdown >(in Excel this time! ). > >Gustav's idea should work (hopefully), since I can browse the records OK up >until a certain point. I'll let you know my results. > >Thanks again! > >Larry Mrazek >LCM Research, Inc. >www.lcm-res.com >lmrazek at lcm-res.com >ph. 314-432-5886 >mobile: 314-496-1645 > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, December 28, 2006 4:22 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] DB Corruption, Memo field? > >Hi Larry > >Perhaps you could attach the table from a new db. >The create a query > > SELECT TOP n * FROM tblTable > ORDER BY ID ASC > >Narrow n down to return as many records as possible. >Now reverse it to pick from the bottom: > > SELECT TOP n * FROM tblTable > ORDER BY ID DESC > >The combined output from these two queries should retrieve all but the >corrupted record(s). > >/gustav > > >>> lmrazek at lcm-res.com 28-12-2006 03:39 >>> >Hi Folks: > >Using Access XP/2002 > >I'm currently troubleshooting a corruption issue that I think I've narrowed >down to a specific table in my DB (we'll call it tblAnnoyance ), as I >can >import / export every other table in the db without any problems except >"tblAnnoyance". > >Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet >Utility), with no luck ... The compact gets to a certain point and then >Access shuts down. > >I've also tried to browse the table to see if I can find any errors, but >once I get to a certain point, the db shuts down as well. I've found that >if >I delete a memo field in the table (tblAnnoyance) using a copy of the >database, the Access will compact and repair. So I guess the problem is >with >the specific memo field, but I really don't want to have to delete the >field, since I've been having problems copying data from the field as well. > >Any hints as to where I should go from here? > >Larry Mrazek >LCM Research, Inc. >www.lcm-res.com >lmrazek at lcm-res.com >ph. 314-432-5886 >mobile: 314-496-1645 > > >-- >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 _________________________________________________________________ Get FREE Web site and company branded e-mail from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From askolits at ot.com Thu Dec 28 10:47:24 2006 From: askolits at ot.com (John Skolits) Date: Thu, 28 Dec 2006 11:47:24 -0500 Subject: [AccessD] Month Control Vs a Calendar control In-Reply-To: Message-ID: <003f01c72a9f$dceb4000$6701a8c0@LaptopXP> Mark, Sure, I could do that but I was looking for something a bit fancier. William, Thanks. That's what I was looking for! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, December 28, 2006 10:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Month Control Vs a Calendar control John, This may be oversimplifying your problem...but could you use =Format(Date(),"mmm") to get the month and then a + or - button with DateAdd("m", 1, Me!MyDate)...to create your own month display? Hope it helps, Mark A. Matte >From: "John Skolits" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] Month Control Vs a Calendar control >Date: Thu, 28 Dec 2006 09:50:02 -0500 > >I use the calendar control often, but does anyone have a quick 'Month' >control where it displays the months. I can certainly create a custom form >and make it a pop-up but didn't know if there was a slick control out >there >that would return the Month/Year. > >Thanks, > >John > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=football&icid=T001MSN30A0701 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Dec 28 10:49:02 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 28 Dec 2006 11:49:02 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <007901c72aa0$165d84b0$8abea8c0@XPS> Gustav, <<".. never used in queries' resultsets, DRI or anything else that a user does.">> That's the way I understood it as well; not exposed to the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 5:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Dec 28 10:50:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 08:50:09 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." From markamatte at hotmail.com Thu Dec 28 10:56:20 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 16:56:20 +0000 Subject: [AccessD] Searching our archives In-Reply-To: <007901c72aa0$165d84b0$8abea8c0@XPS> Message-ID: Hello All, Can someone explain how searching the AccessD archives work? For example: I search for a key word and it gives me a bunch of results...no dates...but if I open one of the results I have the option to sort by date...when I do this...still no dates shown...but the header states that the results are from 1 month only (not sure how that month is determined). With this how would I isolate something in a specific time frame? Thanks, Mark A. Matte _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden Globes has it all. http://tv.msn.com/tv/globes2007/ From Gustav at cactus.dk Thu Dec 28 11:06:09 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 18:06:09 +0100 Subject: [AccessD] Surrogates vs Natural Message-ID: Hi Charlotte > If not one can see it, how can you use it?? I think he means "you" or the user can't see it; the "system" uses it (for relations between tables). But these discussions remind me of what we here label bodega-talk - endless discussions with no real purpose and with the ends tied together so it can continue forever. /gustav PS: "Bodega" here is not a nice place where people are tasting wine but a sort of low-level pub with lots of smoke and filled with "clever" people. >>> cfoust at infostatsystems.com 28-12-2006 17:50 >>> >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." From jimdettman at verizon.net Thu Dec 28 11:49:58 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 28 Dec 2006 12:49:58 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <008a01c72aa8$9851abb0$8abea8c0@XPS> Charlotte, << If not one can see it, how can you use it??>> I think the point he was trying to make is that since it is not verifiable, a user should not be exposed to it. It doesn't relate to anything. As John has said in the past last time we had this discussion, true surrogates function as a physical pointer. Based on that functionality, why would you show it to the user? But if you use an auto number as a natural key (ie. use it as a Purchase Order Number), then you would want it exposed. A lot of this boils down to semantics and what you consider a "natural" key to be. Is a VIN # on a car natural? Certainly not in the same sense that a fingerprint is for a human. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 28, 2006 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Surrogates vs Natural >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Thu Dec 28 11:59:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 28 Dec 2006 12:59:01 -0500 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: Message-ID: <003601c72aa9$de1b01e0$b234fad1@SUSANONE> P.S...In '05 someone on the list asked me to write an article, or something, about isolating/removing corrupt records. About the same time I ended up having a couple of major surgeries and completely forgot about it until this thread came up. I want to apologize to Someone...but not sure Who. If someone reading this is that Who or Someone, I apologize...and if there is still a want/need for the article, outline, or whatever it was...please let me know. Thanks, Mark A. Matte ========Most likely, that was me. If you're still interested, contact me privately at ssharkins at setel.com. For the whole gang, I'm always interested in solutions that I can write up as articles. Don't wait for me to ask if you think you've got something good that you'd like to share. I can't promise it'll make print, but might as well try -- no guts no glory and all that... ;) Susan H. From cfoust at infostatsystems.com Thu Dec 28 11:59:50 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 09:59:50 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: <008a01c72aa8$9851abb0$8abea8c0@XPS> Message-ID: OK, I never use autonumbers as anything but pointers. They have no other meaning anyhow, and should not. That still leaves me confused by his denunciation of autonumbers as surrogates, since they are certainly not natural. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 28, 2006 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Surrogates vs Natural Charlotte, << If not one can see it, how can you use it??>> I think the point he was trying to make is that since it is not verifiable, a user should not be exposed to it. It doesn't relate to anything. As John has said in the past last time we had this discussion, true surrogates function as a physical pointer. Based on that functionality, why would you show it to the user? But if you use an auto number as a natural key (ie. use it as a Purchase Order Number), then you would want it exposed. A lot of this boils down to semantics and what you consider a "natural" key to be. Is a VIN # on a car natural? Certainly not in the same sense that a fingerprint is for a human. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 28, 2006 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Surrogates vs Natural >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." -- 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 ssharkins at setel.com Thu Dec 28 12:03:49 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 28 Dec 2006 13:03:49 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <003701c72aaa$8768fcc0$b234fad1@SUSANONE> Charlotte, it sounds like he doesn't like surrogates -- that's what I got out of the comment. Susan H. OK, I never use autonumbers as anything but pointers. They have no other meaning anyhow, and should not. That still leaves me confused by his denunciation of autonumbers as surrogates, since they are certainly not natural. From hollisvj at pgdp.usec.com Thu Dec 28 12:39:48 2006 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Thu, 28 Dec 2006 12:39:48 -0600 Subject: [AccessD] Read-Only Tables Message-ID: <703BDA18A87DFA4CB265A86F42E4178D0188B437@c2k3exchange.pgdp.corp.usec.com> Is there a way to let users create their own reports & queries but locking down the tables so they can't change the data? The data needs to be read-only. If you make the database read-only, it grays out 'new' so they can't create the queries or reports. Virginia From artful at rogers.com Thu Dec 28 13:04:50 2006 From: artful at rogers.com (artful at rogers.com) Date: Thu, 28 Dec 2006 11:04:50 -0800 (PST) Subject: [AccessD] Read-Only Tables Message-ID: <20061228190450.16976.qmail@web88205.mail.re2.yahoo.com> I have never tried this so it's just a wag, but how about placing the tables of interest in a read/only db and then the the user queries and reports in another db that is linked to the former? A. ----- Original Message ---- From: "Hollis, Virginia" To: accessD at databaseadvisors.com Sent: Thursday, December 28, 2006 1:39:48 PM Subject: [AccessD] Read-Only Tables Is there a way to let users create their own reports & queries but locking down the tables so they can't change the data? The data needs to be read-only. If you make the database read-only, it grays out 'new' so they can't create the queries or reports. Virginia From newsgrps at dalyn.co.nz Thu Dec 28 13:09:50 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 29 Dec 2006 08:09:50 +1300 Subject: [AccessD] Tab Label Wrap Message-ID: <20061228190735.RDSF17716.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Group, Access XP - Is there an easy way to have the text in a tab label wrap onto two lines? Setting the Tab Fixed Height property increases the height of a tab header, but doesn't cause a wrap. Setting the Fixed Width property just causes the text to cut off either side. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From prodevmg at yahoo.com Thu Dec 28 13:15:51 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 28 Dec 2006 11:15:51 -0800 (PST) Subject: [AccessD] Tab Label Wrap Message-ID: <20061228191551.74267.qmail@web33102.mail.mud.yahoo.com> Nope. The best you can do is set the property of the tab to multiple rows so that if you have a lot of tabs or tabs with long label text then it will create mulitiple rows of tabs to fit on your form. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: David Emerson To: accessd at databaseadvisors.com Sent: Thursday, December 28, 2006 1:09:50 PM Subject: [AccessD] Tab Label Wrap Group, Access XP - Is there an easy way to have the text in a tab label wrap onto two lines? Setting the Tab Fixed Height property increases the height of a tab header, but doesn't cause a wrap. Setting the Fixed Width property just causes the text to cut off either side. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From markamatte at hotmail.com Thu Dec 28 15:37:33 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 21:37:33 +0000 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: <20061228191551.74267.qmail@web33102.mail.mud.yahoo.com> Message-ID: Hello All, I have an OnCurrent event on a subform. Can I call, or cause to fire from the main form. Thanks, Mark A. Matte _________________________________________________________________ Type your favorite song.? Get a customized station.? Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 From wdhindman at dejpolsystems.com Thu Dec 28 15:57:48 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 16:57:48 -0500 Subject: [AccessD] Tab Label Wrap References: <20061228190735.RDSF17716.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <000901c72acb$370d88b0$5658eb44@50NM721> ...no "easy" way I'm aware of unless you use a 3rd party ocx ...but you can use bitmaps sized to the tabs and simulate wrapped text in that way ...www.lebans.com has a sample mdb that demonstrates doing that ...hth William Hindman ----- Original Message ----- From: "David Emerson" To: Sent: Thursday, December 28, 2006 2:09 PM Subject: [AccessD] Tab Label Wrap > Group, > > Access XP - Is there an easy way to have the text in a tab label wrap > onto two lines? Setting the Tab Fixed Height property increases the > height of a tab header, but doesn't cause a wrap. Setting the Fixed > Width property just causes the text to cut off either side. > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dmcafee at pacbell.net Thu Dec 28 16:19:31 2006 From: dmcafee at pacbell.net (David Mcafee) Date: Thu, 28 Dec 2006 14:19:31 -0800 (PST) Subject: [AccessD] DB Corruption, Memo field? Message-ID: <20061228221931.71925.qmail@web80810.mail.mud.yahoo.com> http://rogersaccesslibrary.com/Otherdownload.asp?SampleName='Fix%20Corrupt%20Access%20Database%20v4.5' Some good reading from Jerry Whittle David ----- Original Message ---- From: Lawrence Mrazek To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 6:39:43 PM Subject: [AccessD] DB Corruption, Memo field? Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Dec 28 16:20:35 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 14:20:35 -0800 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: Message-ID: Why not put the operative code in a public routine on the subform and then call it from both the OnCurrent event of the subform and from the main form when you need it? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, December 28, 2006 1:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Call SubForm Event Procedure Hello All, I have an OnCurrent event on a subform. Can I call, or cause to fire from the main form. Thanks, Mark A. Matte _________________________________________________________________ Type your favorite song.? Get a customized station.? Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 From cfoust at infostatsystems.com Thu Dec 28 16:22:40 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 14:22:40 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: <003701c72aaa$8768fcc0$b234fad1@SUSANONE> Message-ID: Yeah, well try working with multi-table joins on multifield surrogate keys and see how handy it is! :o< Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, December 28, 2006 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Surrogates vs Natural Charlotte, it sounds like he doesn't like surrogates -- that's what I got out of the comment. Susan H. OK, I never use autonumbers as anything but pointers. They have no other meaning anyhow, and should not. That still leaves me confused by his denunciation of autonumbers as surrogates, since they are certainly not natural. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 28 16:34:34 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 29 Dec 2006 08:34:34 +1000 Subject: [AccessD] Surrogates vs Natural In-Reply-To: References: <003701c72aaa$8768fcc0$b234fad1@SUSANONE>, Message-ID: <4594467A.3044.7BB456B@stuart.lexacorp.com.pg> ?multifield surrogate keys? I presume you mean "natural". I can't think of any reason to have a multifield surrogate. On 28 Dec 2006 at 14:22, Charlotte Foust wrote: > Yeah, well try working with multi-table joins on multifield surrogate > keys and see how handy it is! :o< -- Stuart From artful at rogers.com Thu Dec 28 17:59:19 2006 From: artful at rogers.com (artful at rogers.com) Date: Thu, 28 Dec 2006 15:59:19 -0800 (PST) Subject: [AccessD] Surrogates vs Natural Message-ID: <20061228235919.91512.qmail@web88208.mail.re2.yahoo.com> AFAIK there is no such thing as a multi-column surrogate key. If I'm wrong, it wouldn't be the first time, but the concept itself makes me dizzy. ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Thursday, December 28, 2006 5:34:34 PM Subject: Re: [AccessD] Surrogates vs Natural ?multifield surrogate keys? I presume you mean "natural". I can't think of any reason to have a multifield surrogate. On 28 Dec 2006 at 14:22, Charlotte Foust wrote: > Yeah, well try working with multi-table joins on multifield surrogate > keys and see how handy it is! :o< -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Dec 28 18:14:39 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 28 Dec 2006 19:14:39 -0500 Subject: [AccessD] Searching our archives In-Reply-To: References: <007901c72aa0$165d84b0$8abea8c0@XPS> Message-ID: On 12/28/06, Mark A Matte wrote: > Hello All, > > Can someone explain how searching the AccessD archives work? For example: I'll do my best. > I search for a key word and it gives me a bunch of results...no dates...but > if I open one of the results I have the option to sort by date...when I do > this...still no dates shown...but the header states that the results are > from 1 month only (not sure how that month is determined). With this how > would I isolate something in a specific time frame? The results that you get are in relevance order assuming that you didn't change the Sort By drop down, iow, the most relevant answers are displayed first. The more stars you get, the more relevant the search results are. IIRC 5 stars is the highest rating. The date (and, thread, subject & author) link at the top are NOT for the search results. They are for the archive in general. When you click the date link it will take you to the index for the month that the post was made in, so if you are looking at a post for Oct 2004 and you click the date link it will take you to the date index for October 2004. Same deal, but different index, for the other links. AFAIK there is no way to limit the search by date, but I'll have a look when I get a chance. Does this help Mark? If not, ask and I'll try and clarify. -- 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 wdhindman at dejpolsystems.com Thu Dec 28 20:32:01 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 21:32:01 -0500 Subject: [AccessD] Searching our archives References: <007901c72aa0$165d84b0$8abea8c0@XPS> Message-ID: <001401c72af1$85f8aba0$5658eb44@50NM721> ...would that the instructions were half so clear where they are needed most, there rather than here ...you'd think his obtusity himself wrote them, eh :) William Hindman ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Thursday, December 28, 2006 7:14 PM Subject: Re: [AccessD] Searching our archives > On 12/28/06, Mark A Matte wrote: >> Hello All, >> >> Can someone explain how searching the AccessD archives work? For >> example: > > I'll do my best. > >> I search for a key word and it gives me a bunch of results...no >> dates...but >> if I open one of the results I have the option to sort by date...when I >> do >> this...still no dates shown...but the header states that the results are >> from 1 month only (not sure how that month is determined). With this how >> would I isolate something in a specific time frame? > > The results that you get are in relevance order assuming that you > didn't change the Sort By drop down, iow, the most relevant answers > are displayed first. The more stars you get, the more relevant the > search results are. IIRC 5 stars is the highest rating. > > The date (and, thread, subject & author) link at the top are NOT for > the search results. They are for the archive in general. When you > click the date link it will take you to the index for the month that > the post was made in, so if you are looking at a post for Oct 2004 and > you click the date link it will take you to the date index for October > 2004. Same deal, but different index, for the other links. > > AFAIK there is no way to limit the search by date, but I'll have a > look when I get a chance. > > Does this help Mark? If not, ask and I'll try and clarify. > > -- > 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!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 28 21:33:01 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 28 Dec 2006 22:33:01 -0500 Subject: [AccessD] Searching our archives In-Reply-To: <001401c72af1$85f8aba0$5658eb44@50NM721> Message-ID: <004901c72afa$0dfb6bc0$ccfbc34b@m6805> Hey, I resemble that remark. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, December 28, 2006 9:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Searching our archives ...would that the instructions were half so clear where they are needed most, there rather than here ...you'd think his obtusity himself wrote them, eh :) William Hindman ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Thursday, December 28, 2006 7:14 PM Subject: Re: [AccessD] Searching our archives > On 12/28/06, Mark A Matte wrote: >> Hello All, >> >> Can someone explain how searching the AccessD archives work? For >> example: > > I'll do my best. > >> I search for a key word and it gives me a bunch of results...no >> dates...but >> if I open one of the results I have the option to sort by date...when I >> do >> this...still no dates shown...but the header states that the results are >> from 1 month only (not sure how that month is determined). With this how >> would I isolate something in a specific time frame? > > The results that you get are in relevance order assuming that you > didn't change the Sort By drop down, iow, the most relevant answers > are displayed first. The more stars you get, the more relevant the > search results are. IIRC 5 stars is the highest rating. > > The date (and, thread, subject & author) link at the top are NOT for > the search results. They are for the archive in general. When you > click the date link it will take you to the index for the month that > the post was made in, so if you are looking at a post for Oct 2004 and > you click the date link it will take you to the date index for October > 2004. Same deal, but different index, for the other links. > > AFAIK there is no way to limit the search by date, but I'll have a > look when I get a chance. > > Does this help Mark? If not, ask and I'll try and clarify. > > -- > 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!" > -- > 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 Thu Dec 28 22:22:58 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 29 Dec 2006 14:22:58 +1000 Subject: [AccessD] Searching our archives In-Reply-To: <004901c72afa$0dfb6bc0$ccfbc34b@m6805> References: <001401c72af1$85f8aba0$5658eb44@50NM721>, <004901c72afa$0dfb6bc0$ccfbc34b@m6805> Message-ID: <45949822.28975.8FA3D3E@stuart.lexacorp.com.pg> We're talking about you, not to you! :-) Cheers Stuart On 28 Dec 2006 at 22:33, JWColby wrote: > Hey, I resemble that remark. ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Thursday, December 28, 2006 9:32 PM To: Access Developers discussion > and problem solving Subject: Re: [AccessD] Searching our archives > > ...would that the instructions were half so clear where they are needed > most, there rather than here ...you'd think his obtusity himself wrote them, > eh :) > > William Hindman > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, December 28, 2006 7:14 PM > Subject: Re: [AccessD] Searching our archives > > > > On 12/28/06, Mark A Matte wrote: > >> Hello All, > >> > >> Can someone explain how searching the AccessD archives work? For > >> example: > > > > I'll do my best. > > > >> I search for a key word and it gives me a bunch of results...no > >> dates...but > >> if I open one of the results I have the option to sort by date...when I > >> do this...still no dates shown...but the header states that the results > >> are from 1 month only (not sure how that month is determined). With this > >> how would I isolate something in a specific time frame? > > > > The results that you get are in relevance order assuming that you > > didn't change the Sort By drop down, iow, the most relevant answers > > are displayed first. The more stars you get, the more relevant the > > search results are. IIRC 5 stars is the highest rating. > > > > The date (and, thread, subject & author) link at the top are NOT for > > the search results. They are for the archive in general. When you > > click the date link it will take you to the index for the month that > > the post was made in, so if you are looking at a post for Oct 2004 and you > > click the date link it will take you to the date index for October 2004. > > Same deal, but different index, for the other links. > > > > AFAIK there is no way to limit the search by date, but I'll have a > > look when I get a chance. > > > > Does this help Mark? If not, ask and I'll try and clarify. > > > > -- > > 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!" > > -- > > 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 wdhindman at dejpolsystems.com Thu Dec 28 22:39:35 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 23:39:35 -0500 Subject: [AccessD] Searching our archives References: <004901c72afa$0dfb6bc0$ccfbc34b@m6805> Message-ID: <000301c72b03$582c8f40$5658eb44@50NM721> ...hey! ...here I was tryin' to be subtle and all that :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, December 28, 2006 10:33 PM Subject: Re: [AccessD] Searching our archives > Hey, I resemble that remark. ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Thursday, December 28, 2006 9:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Searching our archives > > ...would that the instructions were half so clear where they are needed > most, there rather than here ...you'd think his obtusity himself wrote > them, > eh :) > > William Hindman > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, December 28, 2006 7:14 PM > Subject: Re: [AccessD] Searching our archives > > >> On 12/28/06, Mark A Matte wrote: >>> Hello All, >>> >>> Can someone explain how searching the AccessD archives work? For >>> example: >> >> I'll do my best. >> >>> I search for a key word and it gives me a bunch of results...no >>> dates...but >>> if I open one of the results I have the option to sort by date...when I >>> do >>> this...still no dates shown...but the header states that the results are >>> from 1 month only (not sure how that month is determined). With this >>> how >>> would I isolate something in a specific time frame? >> >> The results that you get are in relevance order assuming that you >> didn't change the Sort By drop down, iow, the most relevant answers >> are displayed first. The more stars you get, the more relevant the >> search results are. IIRC 5 stars is the highest rating. >> >> The date (and, thread, subject & author) link at the top are NOT for >> the search results. They are for the archive in general. When you >> click the date link it will take you to the index for the month that >> the post was made in, so if you are looking at a post for Oct 2004 and >> you click the date link it will take you to the date index for October >> 2004. Same deal, but different index, for the other links. >> >> AFAIK there is no way to limit the search by date, but I'll have a >> look when I get a chance. >> >> Does this help Mark? If not, ask and I'll try and clarify. >> >> -- >> 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!" >> -- >> 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 Gustav at cactus.dk Fri Dec 29 04:09:12 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Dec 2006 11:09:12 +0100 Subject: [AccessD] Surrogates vs Natural Message-ID: Hi Stuart and Arthur Well I can, or maybe not ... If you, say, assemble input data from a table from several external databases into one central table. Each table will have an autonumber ID but - as each ID may be represented in several tables - you have to have an additional field in the central table. This field can either be a fixed value for each of the external tables (1, 2, 3 etc.) or - better - an surrogate key identifying the external tables hold in a separate table describing these external tables. For the second method, this field combined with the original ID will be a compound key which represents a surrogate unique ID for the records in the central table. However, you could also regard these fields as simple foreign keys to the original tables. Thus, a new surrogate key had to be added to the central table, a bit like you do when you add a replication ID. This ID could be an autonumber or a GUID. I can see no reason not to follow this last method, except for situations where a new surrogate key is not needed for anything. This could be the case if you just collect data for statistics where you summarize and so on without a need for identifying the single record, or for a central archive of the external tables. /gustav >>> artful at rogers.com 29-12-2006 00:59 >>> AFAIK there is no such thing as a multi-column surrogate key. If I'm wrong, it wouldn't be the first time, but the concept itself makes me dizzy. ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Thursday, December 28, 2006 5:34:34 PM Subject: Re: [AccessD] Surrogates vs Natural ?multifield surrogate keys? I presume you mean "natural". I can't think of any reason to have a multifield surrogate. On 28 Dec 2006 at 14:22, Charlotte Foust wrote: > Yeah, well try working with multi-table joins on multifield surrogate > keys and see how handy it is! :o< -- Stuart From carbonnb at gmail.com Fri Dec 29 07:22:13 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Dec 2006 08:22:13 -0500 Subject: [AccessD] Searching our archives In-Reply-To: <001401c72af1$85f8aba0$5658eb44@50NM721> References: <007901c72aa0$165d84b0$8abea8c0@XPS> <001401c72af1$85f8aba0$5658eb44@50NM721> Message-ID: On 12/28/06, William Hindman wrote: > ...would that the instructions were half so clear where they are needed > most, there rather than here ...you'd think his obtusity himself wrote them, > eh :) So what's unclear and I'll try better, eh? :) -- 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 wdhindman at dejpolsystems.com Fri Dec 29 08:58:24 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 29 Dec 2006 09:58:24 -0500 Subject: [AccessD] Searching our archives References: <007901c72aa0$165d84b0$8abea8c0@XPS><001401c72af1$85f8aba0$5658eb44@50NM721> Message-ID: <000301c72b59$cc43af20$5658eb44@50NM721> ...yours are very clear Bryan ...they just need to be available at the archives rather than here, eh :) William Hindman ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Friday, December 29, 2006 8:22 AM Subject: Re: [AccessD] Searching our archives > On 12/28/06, William Hindman wrote: >> ...would that the instructions were half so clear where they are needed >> most, there rather than here ...you'd think his obtusity himself wrote >> them, >> eh :) > > So what's unclear and I'll try better, eh? :) > > -- > 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!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Fri Dec 29 09:10:14 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Dec 2006 10:10:14 -0500 Subject: [AccessD] Searching our archives In-Reply-To: <000301c72b59$cc43af20$5658eb44@50NM721> References: <007901c72aa0$165d84b0$8abea8c0@XPS> <001401c72af1$85f8aba0$5658eb44@50NM721> <000301c72b59$cc43af20$5658eb44@50NM721> Message-ID: On 12/29/06, William Hindman wrote: > ...yours are very clear Bryan ...they just need to be available at the > archives rather than here, eh :) Ah, OK. -- 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 markamatte at hotmail.com Fri Dec 29 09:25:09 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 15:25:09 +0000 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: Message-ID: Thanks, normally I would...but I would still like to know how to call the event of a subform. Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Thu, 28 Dec 2006 14:20:35 -0800 > >Why not put the operative code in a public routine on the subform and then >call it from both the OnCurrent event of the subform and from the main form >when you need it? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, December 28, 2006 1:38 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Call SubForm Event Procedure > >Hello All, > >I have an OnCurrent event on a subform. Can I call, or cause to fire from >the main form. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Type your favorite song.? Get a customized station.? Try MSN Radio powered >by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series. ?Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 From cfoust at infostatsystems.com Fri Dec 29 10:15:24 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Dec 2006 08:15:24 -0800 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: Message-ID: You can call it only if it is declared public. In that case, you call it like any other method of the subform. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 29, 2006 7:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Call SubForm Event Procedure Thanks, normally I would...but I would still like to know how to call the event of a subform. Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Thu, 28 Dec 2006 14:20:35 -0800 > >Why not put the operative code in a public routine on the subform and >then call it from both the OnCurrent event of the subform and from the >main form when you need it? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, December 28, 2006 1:38 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Call SubForm Event Procedure > >Hello All, > >I have an OnCurrent event on a subform. Can I call, or cause to fire >from the main form. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Type your favorite song.? Get a customized station.? Try MSN Radio >powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series. ?Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 From herringb at charter.net Fri Dec 29 11:36:21 2006 From: herringb at charter.net (Barry G. Herring) Date: Fri, 29 Dec 2006 9:36:21 -0800 Subject: [AccessD] Call SubForm Event Procedure Message-ID: <1076310780.1167413781037.JavaMail.root@fepweb07> Me.subformname.form.nameofprocedure Example: Me.WorkPlanDetailForm.Form.AddMeetingTime Fires a procedure (AddMeetingTime) that runs a sql statement to insert records to database. Barry G. Herring ---- Mark A Matte wrote: ============= Thanks, normally I would...but I would still like to know how to call the event of a subform. Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Thu, 28 Dec 2006 14:20:35 -0800 > >Why not put the operative code in a public routine on the subform and then >call it from both the OnCurrent event of the subform and from the main form >when you need it? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, December 28, 2006 1:38 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Call SubForm Event Procedure > >Hello All, > >I have an OnCurrent event on a subform. Can I call, or cause to fire from >the main form. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Type your favorite song.? Get a customized station.? Try MSN Radio powered >by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series. ?Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 From adtp at airtelbroadband.in Fri Dec 29 11:40:03 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 29 Dec 2006 23:10:03 +0530 Subject: [AccessD] Call SubForm Event Procedure References: Message-ID: <013b01c72b70$7d585160$5f0e65cb@pcadt> Mark, The target procedure in a form or subform, that you wish to call externally should be made public. In sample code given at (A) & (B) below, if CmdMainMaster located on the parent form is clicked, it will execute the click event of CmdSubSlave on the subform. Similarly, if CmdSubMaster located on the subform is clicked, it will execute the click event of CmdMainSlave on the main form. Important: (a) While calling a subform's public subroutine from code in main form's module, use of Form. qualifier is essential. On the other hand, while calling main form's public subroutine from code in subform's module, use of Form. qualifier is to be AVOIDED. (b) Similar precaution is applicable while triggering the events on a form or its subform, via code located in an external form's module, for example (F_Main is the name of main form while SF_Sub is the name of subform control acting as container for the subform): (1) Call main form's public event via code in external form: Forms("F_Main").CmdMainSlave_Click (2) Call subform's public event via code in external form: Forms("F_Main")("SF_Sub").Form.CmdSubSlave_Click My sample db named FormsSubformsReference might also be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Best wishes, A.D.Tejpal --------------- A) Code in main form's module (SF_Sub is the name of subform control acting as container for the subform) ============================ Private Sub CmdMainMaster_Click() Me.SF_Sub.Form.CmdSubSlave_Click End Sub Public Sub CmdMainSlave_Click() MsgBox "CmdMainSlave" End Sub ============================ B) Code in subform's module ============================ Private Sub CmdSubMaster_Click() Me.Parent.CmdMainSlave_Click End Sub Public Sub CmdSubSlave_Click() MsgBox "CmdSubSlave" End Sub ============================ ----- Original Message ----- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 29, 2006 03:07 Subject: [AccessD] Call SubForm Event Procedure Hello All, I have an OnCurrent event on a subform. Can I call, or cause to fire from the main form. Thanks, Mark A. Matte From markamatte at hotmail.com Fri Dec 29 12:04:47 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 18:04:47 +0000 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Thank You All for the feedback. It worked like a charm. Thanks, Mark A. Matte >From: "A.D.TEJPAL" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Fri, 29 Dec 2006 23:10:03 +0530 > >Mark, > > The target procedure in a form or subform, that you wish to call >externally should be made public. > > In sample code given at (A) & (B) below, if CmdMainMaster located on >the parent form is clicked, it will execute the click event of CmdSubSlave >on the subform. Similarly, if CmdSubMaster located on the subform is >clicked, it will execute the click event of CmdMainSlave on the main form. > > Important: > (a) While calling a subform's public subroutine from code in main >form's module, use of Form. qualifier is essential. On the other hand, >while calling main form's public subroutine from code in subform's module, >use of Form. qualifier is to be AVOIDED. > (b) Similar precaution is applicable while triggering the events >on a form or its subform, via code located in an external form's module, >for example (F_Main is the name of main form while SF_Sub is the name of >subform control acting as container for the subform): > (1) Call main form's public event via code in external form: > Forms("F_Main").CmdMainSlave_Click > (2) Call subform's public event via code in external form: > Forms("F_Main")("SF_Sub").Form.CmdSubSlave_Click > > > My sample db named FormsSubformsReference might also be of interest to >you. It is available at Rogers Access Library (other developers library). >Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > >Best wishes, >A.D.Tejpal >--------------- > >A) Code in main form's module >(SF_Sub is the name of subform control >acting as container for the subform) >============================ >Private Sub CmdMainMaster_Click() > Me.SF_Sub.Form.CmdSubSlave_Click >End Sub > >Public Sub CmdMainSlave_Click() > MsgBox "CmdMainSlave" >End Sub >============================ > >B) Code in subform's module >============================ >Private Sub CmdSubMaster_Click() > Me.Parent.CmdMainSlave_Click >End Sub > >Public Sub CmdSubSlave_Click() > MsgBox "CmdSubSlave" >End Sub >============================ > > ----- Original Message ----- > From: Mark A Matte > To: accessd at databaseadvisors.com > Sent: Friday, December 29, 2006 03:07 > Subject: [AccessD] Call SubForm Event Procedure > > > Hello All, > > I have an OnCurrent event on a subform. Can I call, or cause to fire >from the main form. > > Thanks, > > Mark A. Matte >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find sales, coupons, and free shipping, all in one place! ?MSN Shopping Sales & Deals http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639 From markamatte at hotmail.com Fri Dec 29 14:29:36 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 20:29:36 +0000 Subject: [AccessD] (no subject) In-Reply-To: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Hello All, I have a subform (continuous)...it has about 5 fields...3 are editable. I want to 'do something'(generate record in other table about what fields were changed) each time they leave a record. I don't want it to fire each time they edit a field...I would like it to fire when they are done with the entire record. An audit trail of sorts. Any ideas/suggestions? Thanks, Mark A. Matte P.S...I thought I could use the DIRTY property...googled it...didn't find what I needed...but did find a nice article by Susan H. http://articles.techrepublic.com.com/5100-10877-6135056.html _________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From markamatte at hotmail.com Fri Dec 29 14:31:00 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 20:31:00 +0000 Subject: [AccessD] Audit trail A97? In-Reply-To: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Hello All, I have a subform (continuous)...it has about 5 fields...3 are editable. I want to 'do something'(generate record in other table about what fields were changed) each time they leave a record. I don't want it to fire each time they edit a field...I would like it to fire when they are done with the entire record. An audit trail of sorts. Any ideas/suggestions? Thanks, Mark A. Matte P.S...I thought I could use the DIRTY property...googled it...didn't find what I needed...but did find a nice article by Susan H. http://articles.techrepublic.com.com/5100-10877-6135056.html _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG From mikedorism at verizon.net Fri Dec 29 14:55:08 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 29 Dec 2006 15:55:08 -0500 Subject: [AccessD] Audit trail A97? In-Reply-To: Message-ID: <002601c72b8b$a0b4cb00$2f01a8c0@Kermit> Form BeforeUpdate or AfterUpdate event Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 29, 2006 3:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Audit trail A97? Hello All, I have a subform (continuous)...it has about 5 fields...3 are editable. I want to 'do something'(generate record in other table about what fields were changed) each time they leave a record. I don't want it to fire each time they edit a field...I would like it to fire when they are done with the entire record. An audit trail of sorts. Any ideas/suggestions? Thanks, Mark A. Matte P.S...I thought I could use the DIRTY property...googled it...didn't find what I needed...but did find a nice article by Susan H. http://articles.techrepublic.com.com/5100-10877-6135056.html _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e n-US&source=hmemailtaglinenov06&FORM=WLMTAG -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 29 17:21:01 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 29 Dec 2006 15:21:01 -0800 Subject: [AccessD] OT Friday In-Reply-To: <20061228221931.71925.qmail@web80810.mail.mud.yahoo.com> Message-ID: <0JB20068G63NO2V0@l-daemon> OT Friday Hi All: There are now some positive steps in controlling people. Much like an advanced form of MS 'Remote Desktop' or Vista SP4 release 'Remote Desktop'. http://www.infowars.com/articles/science/remote_control_device_control_human s.htm All though in its enfant stages some social interactive potential exists. See a YouTube example: http://www.youtube.com/watch?v=ZlNfBrXYYTc Regards Jim From wdhindman at dejpolsystems.com Fri Dec 29 18:13:17 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 29 Dec 2006 19:13:17 -0500 Subject: [AccessD] Audit trail A97? References: Message-ID: <001101c72ba7$4ecda020$5658eb44@50NM721> http://www.rogersaccesslibrary.com/download3.asp?SampleName=AuditTrail2.mdb ...I used this to build my own version ...hth. William Hindman ----- Original Message ----- From: "Mark A Matte" To: Sent: Friday, December 29, 2006 3:31 PM Subject: [AccessD] Audit trail A97? > Hello All, > > I have a subform (continuous)...it has about 5 fields...3 are editable. I > want to 'do something'(generate record in other table about what fields > were > changed) each time they leave a record. I don't want it to fire each time > they edit a field...I would like it to fire when they are done with the > entire record. An audit trail of sorts. > > Any ideas/suggestions? > > Thanks, > > Mark A. Matte > > P.S...I thought I could use the DIRTY property...googled it...didn't find > what I needed...but did find a nice article by Susan H. > http://articles.techrepublic.com.com/5100-10877-6135056.html > > _________________________________________________________________ > Fixing up the home? Live Search can help > http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Dec 29 23:57:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 30 Dec 2006 00:57:29 -0500 Subject: [AccessD] Classes and development power Message-ID: <000001c72bd7$64c4ca90$0b01a8c0@m6805> As many of you know I am a strong proponent of classes and further, of the organization of classes into an active framework. I just wanted to throw out an example of the power of classes (and frameworks) for the group. I have designed a (bound form) framework for use in building my applications. One of the classes is dclsFrm which is a class for handling the form object. Each form which needs one is provided an instance of this class. This class does many things, but one of the things it does is scan the form looking for controls which have classes. Controls such as text boxes, combos, radio buttons, command buttons each have a class which I have designed, and an instance of these control classes is automatically loaded by the control scanner in dclsFrm. Long ago I realized the concept of dependent objects, and in fact we have seen this subject surface very recently in this forum. A combo changes, and another combo needs to be requeried because it "is dependent upon" the combo that changed. In my dclsCtlCbo (the combo control class) there is a variable for a dependent objects class which I will call mclsDepObj. Private mclsDepObj As clsDepObjs 'dimensions a dependent object class There is a method of dclsCtlCbo which takes a paramArray (a very useful construct) which essentially allows me to feed in as many objects as I wish in one call to the function. I call the function DependentSet. ' 'Many objects can have other objects dependent on it, which need to be requeried 'if the parent object is requeried. I call these "chained" or "dependent" objects. ' 'A combo may be used as a filter for another combo, i.e. it may have a dependent combo 'assigned to it. This function allows the developer to assign an object that is dependent on this one. 'Whenever this object is re-queried (using the re-query function in this class), the dependent 'objects will then be re-queried. ' Public Function DependentSet(ParamArray objs() As Variant) On Error GoTo Err_DependentSet Dim obj As Variant 'if the dependent object class doesn't exist, instantiate it If mclsDepObj Is Nothing Then Set mclsDepObj = New clsDepObjs mclsDepObj.Init Me End If For Each obj In objs() Set mclsDepObj.DependentSet = obj Next obj Exit_DependentSet: On Error Resume Next Exit Function Err_DependentSet: MsgBox err.Description, , "Error in Property Set dclsCtlCbo. DependentSet" Resume Exit_DependentSet Resume 0 '.FOR TROUBLESHOOTING End Function ' Thus by calling clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject I can tell clsMyCbo that there are two "objects" which are dependent on that combo, and if MyCbo changes, go requery all of the dependent objects. I do this in several places for a combo box, for example in the cblClick event (which opens a form for editing the data behind the combo), in AfterUpdate (which changes the value selected in the combo) etc. Private Sub mcbo_AfterUpdate() mclsDepObj.ReQueryDependencies True 'Requery any dependent objects end sub In the case of dclsCtlCbo , I also have a simple Requery method which requeries the associated combo for dclsCtlCbo, and then calls mclsDepObj.requery to requery all of the dependent objects of this combo. In a real life example, I have a form with three combos that are dependent on another combo. In the OnOpen of the form that contains these four combos, I set up the dclsFrm to scan for all controls and load classes for each control. Once the form class has finished loading, I then tell one of the combos that there are three other combos dependent on it. Having done this, whenever that parent combo changes, it triggers a requery of the dependent combos automatically. I can just hear people saying "holy smoke batman, that's a lot of development work just to query a couple of combos. That is true, but consider that once the development work is done I can extend the concept to every other control that can potentially have dependent objects. Once I design the clsDepObj, I can add one to a text box class so that if a text box changes, it can automatically requery any dependent objects it may have. Pretty much all data controls may have dependent objects. Things like radio buttons and check boxes, text boxes, lists, and combos can all have other objects that, if the parent object changes, may need to cause its dependent objects to requery to display different sets of data. Having developed the concept, I can now go into the classes for these other controls, add a mclsDepObj to it and a requery method, and allow that control class to control an entire list of dependent objects. Additionally the dependent objects can be ANYTHING that may need to "depend" on a control, and has a requery method. Real live Access lists and combo, forms, other control classes etc. This is very powerful stuff since I can now look at this as a logical problem, "those objects over there need to requery when this object changes" instead of "how do I program this (again, and again, and again) ".. I simply feed a pointer to the object needing requerying in to the class for the object which is the "parent" in the requery chain. Additionally, this can extend way down a chain. A combo may cause a pair of lists to requery. Those lists may need to cause 3 different combos to requery. Those combos... As long as I know "this object 'depends' on that object, I can just "feed them in" as the form opens, and then the requery always happens, every time. And if some unforeseen circumstance calls for a requery of one of those objects, the class has a requery I can call which causes that specific object to requery, then requeries all of its dependent objects, child, grandchild on down. Automatically. Classes are a powerful thing. Frameworks leverage classes to create a whole new level of functionality. Think about being able to code: clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject, frmSomeDependentForm and have all three of those objects requery automatically if MyCbo changes. That's what I do. John W. Colby Colby Consulting www.ColbyConsulting.com From robert at servicexp.com Sat Dec 30 09:09:16 2006 From: robert at servicexp.com (Robert) Date: Sat, 30 Dec 2006 10:09:16 -0500 Subject: [AccessD] Classes and development power In-Reply-To: <000001c72bd7$64c4ca90$0b01a8c0@m6805> Message-ID: <000301c72c24$79ea9510$6501a8c0@roberts> Nice!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 30, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Classes and development power As many of you know I am a strong proponent of classes and further, of the organization of classes into an active framework. I just wanted to throw out an example of the power of classes (and frameworks) for the group. I have designed a (bound form) framework for use in building my applications. One of the classes is dclsFrm which is a class for handling the form object. Each form which needs one is provided an instance of this class. This class does many things, but one of the things it does is scan the form looking for controls which have classes. Controls such as text boxes, combos, radio buttons, command buttons each have a class which I have designed, and an instance of these control classes is automatically loaded by the control scanner in dclsFrm. Long ago I realized the concept of dependent objects, and in fact we have seen this subject surface very recently in this forum. A combo changes, and another combo needs to be requeried because it "is dependent upon" the combo that changed. In my dclsCtlCbo (the combo control class) there is a variable for a dependent objects class which I will call mclsDepObj. Private mclsDepObj As clsDepObjs 'dimensions a dependent object class There is a method of dclsCtlCbo which takes a paramArray (a very useful construct) which essentially allows me to feed in as many objects as I wish in one call to the function. I call the function DependentSet. ' 'Many objects can have other objects dependent on it, which need to be requeried 'if the parent object is requeried. I call these "chained" or "dependent" objects. ' 'A combo may be used as a filter for another combo, i.e. it may have a dependent combo 'assigned to it. This function allows the developer to assign an object that is dependent on this one. 'Whenever this object is re-queried (using the re-query function in this class), the dependent 'objects will then be re-queried. ' Public Function DependentSet(ParamArray objs() As Variant) On Error GoTo Err_DependentSet Dim obj As Variant 'if the dependent object class doesn't exist, instantiate it If mclsDepObj Is Nothing Then Set mclsDepObj = New clsDepObjs mclsDepObj.Init Me End If For Each obj In objs() Set mclsDepObj.DependentSet = obj Next obj Exit_DependentSet: On Error Resume Next Exit Function Err_DependentSet: MsgBox err.Description, , "Error in Property Set dclsCtlCbo. DependentSet" Resume Exit_DependentSet Resume 0 '.FOR TROUBLESHOOTING End Function ' Thus by calling clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject I can tell clsMyCbo that there are two "objects" which are dependent on that combo, and if MyCbo changes, go requery all of the dependent objects. I do this in several places for a combo box, for example in the cblClick event (which opens a form for editing the data behind the combo), in AfterUpdate (which changes the value selected in the combo) etc. Private Sub mcbo_AfterUpdate() mclsDepObj.ReQueryDependencies True 'Requery any dependent objects end sub In the case of dclsCtlCbo , I also have a simple Requery method which requeries the associated combo for dclsCtlCbo, and then calls mclsDepObj.requery to requery all of the dependent objects of this combo. In a real life example, I have a form with three combos that are dependent on another combo. In the OnOpen of the form that contains these four combos, I set up the dclsFrm to scan for all controls and load classes for each control. Once the form class has finished loading, I then tell one of the combos that there are three other combos dependent on it. Having done this, whenever that parent combo changes, it triggers a requery of the dependent combos automatically. I can just hear people saying "holy smoke batman, that's a lot of development work just to query a couple of combos. That is true, but consider that once the development work is done I can extend the concept to every other control that can potentially have dependent objects. Once I design the clsDepObj, I can add one to a text box class so that if a text box changes, it can automatically requery any dependent objects it may have. Pretty much all data controls may have dependent objects. Things like radio buttons and check boxes, text boxes, lists, and combos can all have other objects that, if the parent object changes, may need to cause its dependent objects to requery to display different sets of data. Having developed the concept, I can now go into the classes for these other controls, add a mclsDepObj to it and a requery method, and allow that control class to control an entire list of dependent objects. Additionally the dependent objects can be ANYTHING that may need to "depend" on a control, and has a requery method. Real live Access lists and combo, forms, other control classes etc. This is very powerful stuff since I can now look at this as a logical problem, "those objects over there need to requery when this object changes" instead of "how do I program this (again, and again, and again) ".. I simply feed a pointer to the object needing requerying in to the class for the object which is the "parent" in the requery chain. Additionally, this can extend way down a chain. A combo may cause a pair of lists to requery. Those lists may need to cause 3 different combos to requery. Those combos... As long as I know "this object 'depends' on that object, I can just "feed them in" as the form opens, and then the requery always happens, every time. And if some unforeseen circumstance calls for a requery of one of those objects, the class has a requery I can call which causes that specific object to requery, then requeries all of its dependent objects, child, grandchild on down. Automatically. Classes are a powerful thing. Frameworks leverage classes to create a whole new level of functionality. Think about being able to code: clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject, frmSomeDependentForm and have all three of those objects requery automatically if MyCbo changes. That's what I do. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Dec 30 09:27:35 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 30 Dec 2006 15:27:35 -0000 Subject: [AccessD] Classes and development power References: <000001c72bd7$64c4ca90$0b01a8c0@m6805> Message-ID: You really need to write that book JC! Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mwp.reid at qub.ac.uk Sat Dec 30 12:59:05 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 30 Dec 2006 18:59:05 -0000 Subject: [AccessD] Save as Text References: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. Martin Public Sub createtemplate() Dim db As Database Dim doc As Document Dim conn As Container Dim strPath As String Dim I As Integer Set db = CurrentDb() strPath = "C:\forms\" 'Export the forms Set conn = db.Containers("Forms") For Each doc In conn.Documents Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " Next doc 'Export the Rreports Set conn = db.Containers("Reports") For Each doc In conn.Documents Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" Next doc Set conn = db.Containers("Modules") For Each doc In conn.Documents Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" Next doc For Each td In db.TableDefs If Left(td.Name, 4) <> "MSys" Then DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True End If Next td For I = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" Next I Set db = Nothing Set conn = Nothing Set doc = Nothing Exit_createtemplate: Exit Sub End Sub Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Gustav at cactus.dk Sat Dec 30 13:54:37 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Dec 2006 20:54:37 +0100 Subject: [AccessD] Save as Text Message-ID: Hi Martin Correct your typo: DoCmd.TransferText , acExportDelim, , td.Name, strPath & "Table " & td.Name & "text", True Don't you use Option Explicit? Highly recommended! /gustav >>> mwp.reid at qub.ac.uk 30-12-2006 19:59 >>> Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. Martin Public Sub createtemplate() Dim db As Database Dim doc As Document Dim conn As Container Dim strPath As String Dim I As Integer Set db = CurrentDb() strPath = "C:\forms\" 'Export the forms Set conn = db.Containers("Forms") For Each doc In conn.Documents Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " Next doc 'Export the Rreports Set conn = db.Containers("Reports") For Each doc In conn.Documents Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" Next doc Set conn = db.Containers("Modules") For Each doc In conn.Documents Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" Next doc For Each td In db.TableDefs If Left(td.Name, 4) <> "MSys" Then DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True End If Next td For I = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" Next I Set db = Nothing Set conn = Nothing Set doc = Nothing Exit_createtemplate: Exit Sub End Sub Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mwp.reid at qub.ac.uk Sat Dec 30 14:38:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 30 Dec 2006 20:38:25 -0000 Subject: [AccessD] Save as Text References: Message-ID: You think i of all people would check typos first! I do its and cut and paste into email. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Gustav Brock Sent: Sat 30/12/2006 19:54 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Save as Text Hi Martin Correct your typo: DoCmd.TransferText , acExportDelim, , td.Name, strPath & "Table " & td.Name & "text", True Don't you use Option Explicit? Highly recommended! /gustav >>> mwp.reid at qub.ac.uk 30-12-2006 19:59 >>> Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. Martin Public Sub createtemplate() Dim db As Database Dim doc As Document Dim conn As Container Dim strPath As String Dim I As Integer Set db = CurrentDb() strPath = "C:\forms\" 'Export the forms Set conn = db.Containers("Forms") For Each doc In conn.Documents Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " Next doc 'Export the Rreports Set conn = db.Containers("Reports") For Each doc In conn.Documents Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" Next doc Set conn = db.Containers("Modules") For Each doc In conn.Documents Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" Next doc For Each td In db.TableDefs If Left(td.Name, 4) <> "MSys" Then DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True End If Next td For I = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" Next I Set db = Nothing Set conn = Nothing Set doc = Nothing Exit_createtemplate: Exit Sub End Sub Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Dec 30 15:15:29 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 30 Dec 2006 13:15:29 -0800 Subject: [AccessD] Save as Text In-Reply-To: References: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: <4596D6F1.1060101@shaw.ca> Saving tables is the one exception to this method instead use the DAP pages method, it is a carryover from the original Access 97 method where it was really undocumented as opposed to just MS undocumented. I got the original hint from Larry Lawson. 'This saves all tables, references, relationships, ' DAP's and command menus to one file. SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" 'Save only once to one file so exit. ' the constant acDataAccessPage doesn't exist in Access 97 ' so use the magic number 6 Also you may not want to save temp Queries so If dbs.QueryDefs(i).Name, 1) <> "~" Then 'remove temp queries from selection 'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 ' you will get saveastext 2487 error. Martin Reid wrote: >Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. > >Martin > > > >Public Sub createtemplate() > > Dim db As Database > Dim doc As Document > Dim conn As Container > Dim strPath As String > Dim I As Integer > Set db = CurrentDb() > strPath = "C:\forms\" > 'Export the forms > Set conn = db.Containers("Forms") > For Each doc In conn.Documents > Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " > Next doc > 'Export the Rreports > Set conn = db.Containers("Reports") > For Each doc In conn.Documents > Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" > Next doc > Set conn = db.Containers("Modules") > For Each doc In conn.Documents > Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" > Next doc >For Each td In db.TableDefs > If Left(td.Name, 4) <> "MSys" Then > DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True > End If >Next td >For I = 0 To dbs.QueryDefs.Count - 1 > Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" >Next I > > Set db = Nothing > Set conn = Nothing > Set doc = Nothing >Exit_createtemplate: > Exit Sub > >End Sub > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.432 / Virus Database: 268.16.0/610 - Release Date: 30/12/2006 2:59 PM > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Dec 30 20:00:18 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 30 Dec 2006 21:00:18 -0500 Subject: [AccessD] Classes and development power In-Reply-To: Message-ID: <001301c72c7f$6ccd4890$0301a8c0@m6805> Martin, The move to North Carolina and then the getting back on my feet financially has completely sucked all of my time. Publishers want schedules, and the last thing I wanted to do is commit to doing it and then not have the time. I will get back on it in the first few months of 2007. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Saturday, December 30, 2006 10:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Classes and development power You really need to write that book JC! Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From bchacc at san.rr.com Sat Dec 30 21:26:06 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 30 Dec 2006 19:26:06 -0800 Subject: [AccessD] Spanish Translations In-Reply-To: <002601c72a14$ae00f7c0$6701a8c0@LaptopXP> Message-ID: <001501c72c8b$688fcf80$0701a8c0@HAL9005> I got the demo and saw that actually it was using the translation service in Word. His program just took care of the export/import. I already had everything in tables so I exported the English to a word doc and used this research-->translate function which I never knew was there. There's still going to be a lot of tweaking because the translations are different lengths than the English so the label and button widths need to be adjusted for every new language. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, December 27, 2006 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spanish Translations Well, I was asked by a customer about translating my app to about 5 different languages. I got Alex's program, customized it a bit and had it finished in a day. They were amazed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, December 27, 2006 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations I remember the original program was sold from the Moscow Access User Group site. Michael Kaplan gave it his recommendation and he wrote a book on VB6 Internationalization. John Skolits wrote: >Oh well, I actually 'used' them but suing them must have been on my mind at >the time I suggested it. (I guess.) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Wednesday, December 27, 2006 3:58 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Spanish Translations > >Did you Sue them, or Use them? ;)) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, December 27, 2006 11:24 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Spanish Translations > >Rocky, > >You may already know about this, but are you using Alex Dybenko language >translator program. I sued it quite a few years ago and it was slick. >You >still have to map translations but you can switch between the languages >on >the fly. I just visited his website and didn't see the program >mentioned. >Maybe he gave up on it, but when I used it, it worked really well. > >His web site is: http://alex.dybenko.com/ > >John Skolits > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >bchacc at san.rr.com >Sent: Wednesday, December 27, 2006 9:08 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > >Thanks Jim. That will be really helpful. I'll try not to take >advantage. > >Regards, > >Rocky > > >Original Message: >----------------- >From: Hale, Jim Jim.Hale at fleetpride.com >Date: Tue, 26 Dec 2006 09:18:02 -0600 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > > >Rocky, >My wife's native language is spanish and she has a business background. >She'll be happy to help. Write her at nhale at houston.rr.com > >Regards, >Jim Hale > >-----Original Message----- >From: Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Sunday, December 24, 2006 8:27 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Spanish Translations > > >Dear List: > > > >I am translating my manufacturing software into Spanish with the help of >my >son and a couple of users of the system in Mexico. Is there anyone on >the >list here who speaks Spanish of whom I could ask a few translations of >technical and manufacturing terms? > > > >MTIA, > > > > > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.29/607 - Release Date: 12/28/2006 12:31 PM From accessd at shaw.ca Sat Dec 30 22:15:53 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 Dec 2006 20:15:53 -0800 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <4596D6F1.1060101@shaw.ca> Message-ID: <0JB4001C4EEYSK00@l-daemon> Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards Jim From jwcolby at colbyconsulting.com Sat Dec 30 22:57:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 30 Dec 2006 23:57:14 -0500 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <0JB4001C4EEYSK00@l-daemon> Message-ID: <001401c72c98$241f9850$0301a8c0@m6805> Jim, I am having my sister-in-law design a "logo" for me and when I get home from this "vacation" I will make the paypal donation (got that set up) and send you the info. Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 30, 2006 11:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Donators added to the DBA site Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sat Dec 30 23:43:37 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 31 Dec 2006 00:43:37 -0500 Subject: [AccessD] Donators added to the DBA site References: <001401c72c98$241f9850$0301a8c0@m6805> Message-ID: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721> ...got to be better than your current one, eh :)))) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 30, 2006 11:57 PM Subject: Re: [AccessD] Donators added to the DBA site > Jim, > > I am having my sister-in-law design a "logo" for me and when I get home > from > this "vacation" I will make the paypal donation (got that set up) and send > you the info. > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, December 30, 2006 11:16 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Donators added to the DBA site > > Hi All: > > The current group of donators have been added to the DBA site. > > http://www.databaseadvisors.com/donations/donor.asp > http://www.databaseadvisors.com/donations/friends.asp > http://www.databaseadvisors.com/donations/corporate.asp > > If you do not see you name of company added or added appropriately please > inform me at your nearest convenience at webmaster at databaseadvisors.com > > Regards > 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 Sun Dec 31 00:31:47 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 Dec 2006 22:31:47 -0800 Subject: [AccessD] Additios to the DBA site In-Reply-To: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721> Message-ID: <0JB40066YKPEQA10@l-daemon> Hi All: I have, with Shamil's help added a Russian translator to the DBA web site. http://www.databaseadvisors.com/index.asp There are a number of translation programs out there which can be used to make a decent translation and some very poor ones... Babel Fish comes to mind. But if there are no other options that will have to do. To that end we need some good free translators that will give us a reasonable to good translation for the following languages: Danish French Chinese Japanese Portuguese Spanish East Indian Etc... Of course if you would like to do a manual super translation I would be glad to help in any way I can........ Regards Jim From stuart at lexacorp.com.pg Sun Dec 31 01:24:42 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 31 Dec 2006 17:24:42 +1000 Subject: [AccessD] Additios to the DBA site In-Reply-To: <0JB40066YKPEQA10@l-daemon> References: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721>, <0JB40066YKPEQA10@l-daemon> Message-ID: <459765BA.18.13ED5568@stuart.lexacorp.com.pg> What language is "East Indian"? Presumably that covers India's 23 official languages, plus Burmese, Thai, Vietnamese, Malay, Tagalog and a few others. On 30 Dec 2006 at 22:31, Jim Lawrence wrote: > Hi All: > > I have, with Shamil's help added a Russian translator to the DBA web site. > http://www.databaseadvisors.com/index.asp > > There are a number of translation programs out there which can be used to > make a decent translation and some very poor ones... Babel Fish comes to > mind. But if there are no other options that will have to do. > > To that end we need some good free translators that will give us a > reasonable to good translation for the following languages: > > Danish > French > Chinese > Japanese > Portuguese > Spanish > East Indian > Etc... > > Of course if you would like to do a manual super translation I would be glad > to help in any way I can........ > > Regards > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From accessd at shaw.ca Sun Dec 31 01:47:41 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 Dec 2006 23:47:41 -0800 Subject: [AccessD] Additios to the DBA site In-Reply-To: <459765BA.18.13ED5568@stuart.lexacorp.com.pg> Message-ID: <0JB400DB6O7VMN20@l-daemon> Hi Stuart: Yes.... did I forget to mention Swahili? Just kidding.... :-) ...but any language translator insights and help would be great. Every time I notice another connection from another part of the planet I keep thinking it would nice to be able to accommodate, at least, some of the main language groups. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 30, 2006 11:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Additios to the DBA site What language is "East Indian"? Presumably that covers India's 23 official languages, plus Burmese, Thai, Vietnamese, Malay, Tagalog and a few others. On 30 Dec 2006 at 22:31, Jim Lawrence wrote: > Hi All: > > I have, with Shamil's help added a Russian translator to the DBA web site. > http://www.databaseadvisors.com/index.asp > > There are a number of translation programs out there which can be used to > make a decent translation and some very poor ones... Babel Fish comes to > mind. But if there are no other options that will have to do. > > To that end we need some good free translators that will give us a > reasonable to good translation for the following languages: > > Danish > French > Chinese > Japanese > Portuguese > Spanish > East Indian > Etc... > > Of course if you would like to do a manual super translation I would be glad > to help in any way I can........ > > Regards > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Dec 31 04:31:57 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 31 Dec 2006 11:31:57 +0100 Subject: [AccessD] Save as Text Message-ID: Hi Marty It is slightly different. I know, because you wrote about it in July 2004 - as a method for creating a backup of tables, queries, and relations in a database file: http://databaseadvisors.com/pipermail/accessd/2004-July/026305.html So the saved file is not a text file but a normal mdb file. /gustav >>> martyconnelly at shaw.ca 30-12-2006 22:15 >>> Saving tables is the one exception to this method instead use the DAP pages method, it is a carryover from the original Access 97 method where it was really undocumented as opposed to just MS undocumented. I got the original hint from Larry Lawson. 'This saves all tables, references, relationships, ' DAP's and command menus to one file. SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" 'Save only once to one file so exit. ' the constant acDataAccessPage doesn't exist in Access 97 ' so use the magic number 6 Also you may not want to save temp Queries so If dbs.QueryDefs(i).Name, 1) <> "~" Then 'remove temp queries from selection 'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 ' you will get saveastext 2487 error. Martin Reid wrote: >Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. > >Martin > > > >Public Sub createtemplate() > > Dim db As Database > Dim doc As Document > Dim conn As Container > Dim strPath As String > Dim I As Integer > Set db = CurrentDb() > strPath = "C:\forms\" > 'Export the forms > Set conn = db.Containers("Forms") > For Each doc In conn.Documents > Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " > Next doc > 'Export the Rreports > Set conn = db.Containers("Reports") > For Each doc In conn.Documents > Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" > Next doc > Set conn = db.Containers("Modules") > For Each doc In conn.Documents > Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" > Next doc >For Each td In db.TableDefs > If Left(td.Name, 4) <> "MSys" Then > DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True > End If >Next td >For I = 0 To dbs.QueryDefs.Count - 1 > Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" >Next I > > Set db = Nothing > Set conn = Nothing > Set doc = Nothing >Exit_createtemplate: > Exit Sub > >End Sub > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 From mwp.reid at qub.ac.uk Sun Dec 31 06:29:05 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 31 Dec 2006 12:29:05 -0000 Subject: [AccessD] Save as Text References: Message-ID: Marty Can you explain a little. I have based the intro on the templates on the save as text stuff. This is the copy edit stage so cant change to much. Oh ny the way Gustav even with the typo fixed the procedure still fails! Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast Saving tables is the one exception to this method instead use the DAP pages method, it is a carryover from the original Access 97 method where it was really undocumented as opposed to just MS undocumented. I got the original hint from Larry Lawson. 'This saves all tables, references, relationships, ' DAP's and command menus to one file. SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" 'Save only once to one file so exit. ' the constant acDataAccessPage doesn't exist in Access 97 ' so use the magic number 6 Also you may not want to save temp Queries so If dbs.QueryDefs(i).Name, 1) <> "~" Then 'remove temp queries from selection 'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 ' you will get saveastext 2487 error. Martin Reid wrote: >Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. > >Martin > > From jwcolby at colbyconsulting.com Sun Dec 31 13:20:43 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 31 Dec 2006 14:20:43 -0500 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721> Message-ID: <000e01c72d10$c7d39f50$657aa8c0@m6805> LOL, ya think? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, December 31, 2006 12:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Donators added to the DBA site ...got to be better than your current one, eh :)))) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 30, 2006 11:57 PM Subject: Re: [AccessD] Donators added to the DBA site > Jim, > > I am having my sister-in-law design a "logo" for me and when I get home > from > this "vacation" I will make the paypal donation (got that set up) and send > you the info. > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, December 30, 2006 11:16 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Donators added to the DBA site > > Hi All: > > The current group of donators have been added to the DBA site. > > http://www.databaseadvisors.com/donations/donor.asp > http://www.databaseadvisors.com/donations/friends.asp > http://www.databaseadvisors.com/donations/corporate.asp > > If you do not see you name of company added or added appropriately please > inform me at your nearest convenience at webmaster at databaseadvisors.com > > Regards > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Dec 31 15:16:54 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 13:16:54 -0800 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <000e01c72d10$c7d39f50$657aa8c0@m6805> Message-ID: <0JB500JIWPOJ6N00@l-daemon> Hi John: If you need any help with the graphics just let me know. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 31, 2006 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Donators added to the DBA site LOL, ya think? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, December 31, 2006 12:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Donators added to the DBA site ...got to be better than your current one, eh :)))) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 30, 2006 11:57 PM Subject: Re: [AccessD] Donators added to the DBA site > Jim, > > I am having my sister-in-law design a "logo" for me and when I get home > from > this "vacation" I will make the paypal donation (got that set up) and send > you the info. > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, December 30, 2006 11:16 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Donators added to the DBA site > > Hi All: > > The current group of donators have been added to the DBA site. > > http://www.databaseadvisors.com/donations/donor.asp > http://www.databaseadvisors.com/donations/friends.asp > http://www.databaseadvisors.com/donations/corporate.asp > > If you do not see you name of company added or added appropriately please > inform me at your nearest convenience at webmaster at databaseadvisors.com > > Regards > 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 > -- 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 Dec 31 17:05:50 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 15:05:50 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <0JB500JIWPOJ6N00@l-daemon> Message-ID: <0JB500FVVUQ31650@l-daemon> Hi All: A group of translations have been added to the DBA web site. From the opening page you can now select amongst: English - we seem to have got that one fairly well done. Russian - It using one of the best English to Russian converter but it could of course be improved. (Once using this translator it is not as easy to jump to another language... not as easy to trick in code.) Chinese - It is from the Babel Fish translator which I have been told is not good and it is supports only one of the major dialects. (Will add another if there is an interest.) French - This uses Babel Fish Translator. German - ditto... Japanese - ditto... Portuguese - ditto... Espana - ditto... To my understanding there are better translation filters out there but it will be up to more capable individuals to bring the options to my attention. ... of course if some brave individual wishes to do an expert translation, I will be more than happy to assist in any way I can. Jim From askolits at ot.com Sun Dec 31 17:21:48 2006 From: askolits at ot.com (John Skolits) Date: Sun, 31 Dec 2006 18:21:48 -0500 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <0JB4001C4EEYSK00@l-daemon> Message-ID: <005101c72d32$7206a000$6501a8c0@LaptopXP> Gee, I made the top of the list! JC, Actually my sister and law did mine. Jim, The one I sent was in color, do I need to send you a new one? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 30, 2006 11:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Donators added to the DBA site Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Dec 31 18:32:26 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Dec 2006 16:32:26 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <0JB500FVVUQ31650@l-daemon> References: <0JB500FVVUQ31650@l-daemon> Message-ID: <4598569A.9090205@shaw.ca> Uh Oh this could be "Lo lightning has struck my postillion" Jim Lawrence wrote: >Hi All: > >A group of translations have been added to the DBA web site. From the >opening page you can now select amongst: > >English - we seem to have got that one fairly well done. >Russian - It using one of the best English to Russian converter but it could >of course be improved. (Once using this translator it is not as easy to jump >to another language... not as easy to trick in code.) >Chinese - It is from the Babel Fish translator which I have been told is not >good and it is supports only one of the major dialects. (Will add another if >there is an interest.) >French - This uses Babel Fish Translator. >German - ditto... >Japanese - ditto... >Portuguese - ditto... >Espana - ditto... > >To my understanding there are better translation filters out there but it >will be up to more capable individuals to bring the options to my attention. >... of course if some brave individual wishes to do an expert translation, I >will be more than happy to assist in any way I can. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Dec 31 18:49:37 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Dec 2006 16:49:37 -0800 Subject: [AccessD] Save as Text In-Reply-To: References: Message-ID: <45985AA1.2090602@shaw.ca> I think Microsoft did it this way in oder to save all DAP's, relationships, references, tables and command menus. It would require a boatload of code to do this in text files. So it just saves them to a basic mdb file with everything else stripped out like forms and queries. It achieves the same result as text file but simpler. You could export the tables as say a csv text file but that has it's own problems dropping formatting to only two decimal places and handling of binary OLE fields. Martin Reid wrote: >Marty > >Can you explain a little. I have based the intro on the templates on the save as text stuff. This is the copy edit stage so cant change to much. > >Oh ny the way Gustav even with the typo fixed the procedure still fails! > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast >Saving tables is the one exception to this method instead use the >DAP pages method, it is a carryover from the original Access 97 method >where it was really undocumented as opposed to just MS undocumented. >I got the original hint from Larry Lawson. > > 'This saves all tables, references, relationships, > ' DAP's and command menus to one file. > > SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" > > 'Save only once to one file so exit. > ' the constant acDataAccessPage doesn't exist in Access 97 > ' so use the magic number 6 > >Also you may not want to save temp Queries so > > If dbs.QueryDefs(i).Name, 1) <> "~" Then > 'remove temp queries from selection > > >'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 > ' you will get saveastext 2487 error. > > >Martin Reid wrote: > > > >>Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. >> >>Martin >> >> >> -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Sun Dec 31 21:02:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 19:02:37 -0800 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <005101c72d32$7206a000$6501a8c0@LaptopXP> Message-ID: <0JB60016H5OPSF11@l-daemon> Hi John: I have been just putting them in alphabetically order... that seems fairest at the moment. Your initial graphic was very big and had to be reduced and sharpened (unsharpen mask) for it to fit and so the graphic would not break down. If you would like you could send another graphic but this time create it with a width no greater than 500 pixels. Less is best... less distortion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Sunday, December 31, 2006 3:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Donators added to the DBA site Gee, I made the top of the list! JC, Actually my sister and law did mine. Jim, The one I sent was in color, do I need to send you a new one? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 30, 2006 11:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Donators added to the DBA site Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards 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 Sun Dec 31 21:16:29 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 19:16:29 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <4598569A.9090205@shaw.ca> Message-ID: <0JB600GIB6BTQB91@l-daemon> Hi Marty ...and your point is???... :-) Try double translating a passage and see if you can even understand what was meant. English: If you're like me, that saves me money. To Chinese and back to English again: If you look like me, that preserves my money. Close within a couple of feet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, December 31, 2006 4:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Translations added to the DBA site Uh Oh this could be "Lo lightning has struck my postillion" Jim Lawrence wrote: >Hi All: > >A group of translations have been added to the DBA web site. From the >opening page you can now select amongst: > >English - we seem to have got that one fairly well done. >Russian - It using one of the best English to Russian converter but it could >of course be improved. (Once using this translator it is not as easy to jump >to another language... not as easy to trick in code.) >Chinese - It is from the Babel Fish translator which I have been told is not >good and it is supports only one of the major dialects. (Will add another if >there is an interest.) >French - This uses Babel Fish Translator. >German - ditto... >Japanese - ditto... >Portuguese - ditto... >Espana - ditto... > >To my understanding there are better translation filters out there but it >will be up to more capable individuals to bring the options to my attention. >... of course if some brave individual wishes to do an expert translation, I >will be more than happy to assist in any way I can. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Dec 31 23:47:28 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Dec 2006 21:47:28 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <0JB600GIB6BTQB91@l-daemon> References: <0JB600GIB6BTQB91@l-daemon> Message-ID: <4598A070.9000700@shaw.ca> Just quoting from Karl Baedeker's The Traveller's Manual of Conversation in Four Languages (1836 ed.) can be found: 'Postilion, stop; we wish to get down; a spoke of one of the wheels is broken.' In an 1886 edition I have found: 'Are the postilions insolent?; the lightning has struck; the coachman is drunk.' You could sense the browsers default language like http:\\www.trigeminal.com Jim Lawrence wrote: >Hi Marty > >...and your point is???... :-) > >Try double translating a passage and see if you can even understand what was >meant. > >English: >If you're like me, that saves me money. > >To Chinese and back to English again: >If you look like me, that preserves my money. > >Close within a couple of feet. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Sunday, December 31, 2006 4:32 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Translations added to the DBA site > >Uh Oh this could be "Lo lightning has struck my postillion" > >Jim Lawrence wrote: > > > >>Hi All: >> >>A group of translations have been added to the DBA web site. From the >>opening page you can now select amongst: >> >>English - we seem to have got that one fairly well done. >>Russian - It using one of the best English to Russian converter but it >> >> >could > > >>of course be improved. (Once using this translator it is not as easy to >> >> >jump > > >>to another language... not as easy to trick in code.) >>Chinese - It is from the Babel Fish translator which I have been told is >> >> >not > > >>good and it is supports only one of the major dialects. (Will add another >> >> >if > > >>there is an interest.) >>French - This uses Babel Fish Translator. >>German - ditto... >>Japanese - ditto... >>Portuguese - ditto... >>Espana - ditto... >> >>To my understanding there are better translation filters out there but it >>will be up to more capable individuals to bring the options to my >> >> >attention. > > >>... of course if some brave individual wishes to do an expert translation, >> >> >I > > >>will be more than happy to assist in any way I can. >> >>Jim >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Dec 1 06:19:35 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Dec 2006 13:19:35 +0100 Subject: [AccessD] OT: Splitting a PDF file Message-ID: Hi Rocky The free pdf toolkit, pdftk, can do this: http://www.accesspdf.com/pdftk/ /gustav >>> bchacc at san.rr.com 01-12-2006 06:10 >>> Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky From bchacc at san.rr.com Fri Dec 1 07:53:22 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 1 Dec 2006 05:53:22 -0800 Subject: [AccessD] OT: Splitting a PDF file In-Reply-To: <004601c71509$33206b00$111b910a@DENZILLAP> Message-ID: <002a01c71550$11136840$6401a8c0@HAL9005> Darren and Gustav: Now I feel really dumb. I have PrimoPDF and that worked just like you suggested. I just never occurred to me that I could print part of a PDF to Primo PDF and get where I was trying to go. Thanks for the heads up. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Thursday, November 30, 2006 9:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Splitting a PDF file Hi Rocky Just a way out suggestion Get PDF995 from PDF995.com (it's a free PDF writer) then 'print' pages 1 - 23 or whatever to the PDF995 'printer' That should create a new 23 page PDF file HTH See ya Darren ------------------ -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, 1 December 2006 4:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Splitting a PDF file Dear List: Is there any way to split up a PDF file without having the full Adobe? Our community planning group has a 128 page doc of which someone would like just the first 23 pages. MTIA Rocky -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.2/560 - Release Date: 11/30/2006 3:41 PM From adtp at airtelbroadband.in Fri Dec 1 08:21:48 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 1 Dec 2006 19:51:48 +0530 Subject: [AccessD] Single and Double Inverted Commas! References: <20061129213936.71003.qmail@web34307.mail.mud.yahoo.com> Message-ID: <003901c71554$2023ed10$5a1965cb@pcadt> Chris, If the problem is not yet resolved, you could try the following. It has been tested at my end: If Len(strInitials) > 0 Then Me.MonTotDBAdmin.ControlSource = _ "=DSum('DCAdminEventTime'," & _ " 'qry" & strInitials & "_Mon')" End If Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 03:09 Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris From accessd at shaw.ca Fri Dec 1 08:45:34 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 01 Dec 2006 06:45:34 -0800 Subject: [AccessD] OT Friday In-Reply-To: <003901c71554$2023ed10$5a1965cb@pcadt> Message-ID: <0J9L00CM4NLETDM1@l-daemon> Hi All: As it is Friday here is a couple of OT links with some very interest reads: http://space.newscientist.com/article.ns?id=mg18524911.600 ...and... http://duggmirror.com/space/Do_humans_explode_in_the_vacuum_of_space/ (The previous link may not be appropriate to younger members of the audience.) Jim From cfoust at infostatsystems.com Fri Dec 1 10:15:59 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Dec 2006 08:15:59 -0800 Subject: [AccessD] OT Friday In-Reply-To: <0J9L00CM4NLETDM1@l-daemon> Message-ID: I subscribe to the print version of New Scientist. Wonderful read! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 01, 2006 6:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT Friday Hi All: As it is Friday here is a couple of OT links with some very interest reads: http://space.newscientist.com/article.ns?id=mg18524911.600 ...and... http://duggmirror.com/space/Do_humans_explode_in_the_vacuum_of_space/ (The previous link may not be appropriate to younger members of the audience.) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Dec 1 14:25:00 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 1 Dec 2006 15:25:00 -0500 Subject: [AccessD] OT Friday References: Message-ID: <006101c71586$c73f16b0$3e3de844@50NM721> ...yes it was ...read it all the way through and then followed a bunch of links until the better half interceded :) William Hindman ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, December 01, 2006 11:15 AM Subject: Re: [AccessD] OT Friday >I subscribe to the print version of New Scientist. Wonderful read! > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Friday, December 01, 2006 6:46 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT Friday > > Hi All: > > As it is Friday here is a couple of OT links with some very interest > reads: > > http://space.newscientist.com/article.ns?id=mg18524911.600 > > ...and... > > http://duggmirror.com/space/Do_humans_explode_in_the_vacuum_of_space/ > (The previous link may not be appropriate to younger members of the > audience.) > > 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 joeget at vgernet.net Sat Dec 2 02:16:59 2006 From: joeget at vgernet.net (John Eget) Date: Sat, 2 Dec 2006 03:16:59 -0500 Subject: [AccessD] Counting a text field Message-ID: <001001c715ea$417cffb0$cdc2f63f@JOHN> I am trying to use one query to count within a series of records how many total items of a field are a Y. So If I have lets say ten records and 4 of a specific field are a Y then one of the outputs of a calculated field would be a numerical 4. Does anyone have an idea how to do this? Thanks John From joeget at vgernet.net Sat Dec 2 02:17:44 2006 From: joeget at vgernet.net (John Eget) Date: Sat, 2 Dec 2006 03:17:44 -0500 Subject: [AccessD] Counting a text field Message-ID: <001c01c715ea$5b65d780$cdc2f63f@JOHN> I am trying to use one query to count within a series of records how many total items of a field are a Y. So If I have lets say ten records and 4 of a specific field are a Y then one of the outputs of a calculated field would be a numerical 4. Does anyone have an idea how to do this? Thanks John From wdhindman at dejpolsystems.com Sat Dec 2 03:26:25 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Dec 2006 04:26:25 -0500 Subject: [AccessD] Counting a text field References: <001c01c715ea$5b65d780$cdc2f63f@JOHN> Message-ID: <007b01c715f3$f0bbbc60$3e3de844@50NM721> ...filtering your query for Y and using the Totals: Count on the pk field should work. William Hindman ----- Original Message ----- From: "John Eget" To: Sent: Saturday, December 02, 2006 3:17 AM Subject: [AccessD] Counting a text field >I am trying to use one query to count within a series of records how many >total items of a field are a Y. So If I have lets say ten records and 4 >of a specific field are a Y then one of the outputs of a calculated field >would be a numerical 4. Does anyone have an idea how to do this? > > Thanks > John > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sat Dec 2 05:05:47 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 02 Dec 2006 21:05:47 +1000 Subject: [AccessD] Counting a text field In-Reply-To: <001c01c715ea$5b65d780$cdc2f63f@JOHN> References: <001c01c715ea$5b65d780$cdc2f63f@JOHN> Message-ID: <45715E0B.23111.2F4A6221@stuart.lexacorp.com.pg> On 2 Dec 2006 at 3:17, John Eget wrote: > I am trying to use one query to count within a series of records how many > total items of a field are a Y. So If I have lets say ten records and 4 of > a specific field are a Y then one of the outputs of a calculated field would > be a numerical 4. Does anyone have an idea how to do this? =Sum(IIf(myField = "Y",1,0)) -- Stuart From cclenright at yahoo.com Sat Dec 2 05:13:39 2006 From: cclenright at yahoo.com (Chris Enright) Date: Sat, 2 Dec 2006 03:13:39 -0800 (PST) Subject: [AccessD] Single and Double Inverted Commas! Message-ID: <238749.62677.qm@web34313.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Thanks AD, But having been told that ControlSources (for controls) can't be set other than in design Mode I solved the problem by appending the data to a temp table and just changing the Record Source. Thanks anyway Chris -------Original Message------- From: A.D.TEJPAL Date: 12/01/06 14:30:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Single and Double Inverted Commas! Chris, If the problem is not yet resolved, you could try the following. It has been tested at my end: If Len(strInitials) > 0 Then Me.MonTotDBAdmin.ControlSource = _ "=DSum('DCAdminEventTime'," & _ " 'qry" & strInitials & "_Mon')" End If Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 03:09 Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris -------Original Message------- From: Gustav Brock Date: 29/11/2006 16:22:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Chris How about a lazy solution: strControlSource = "=DSum('DCAdminEventTime','qryEM_Mon')" Me.MonTotDBAdmin.ControlSource = Replace(strControlSource,"'","""") /gustav >>> cclenright at yahoo.com 29-11-2006 12:14:08 >>> I am getting too old and have been away from programming far too long I never have understood the use of " and ' completely Could someone please correct this for me, Me.MonTotDBAdmin.ControlSource = and what I want it to equal is =DSum("DCAdminEventTime","qryIG_Mon") but with the IG being replaced with strInitials My attempt with strInitials="EM" came out as =DSum('DCAdminEventTime','qryEM_Mon') and wouldn't work Thanks Chris -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From shamil at users.mns.ru Sat Dec 2 05:19:06 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 2 Dec 2006 14:19:06 +0300 Subject: [AccessD] Counting a text field In-Reply-To: <001001c715ea$417cffb0$cdc2f63f@JOHN> Message-ID: <000f01c71603$aec5a590$6401a8c0@nant> John, If you field is called, say, myField and it is of type Text and your table is called myTable then this query should work: SELECT Count(myField) AS CountOfmyField FROM myTable GROUP BY myField HAVING myField = 'Y' -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Saturday, December 02, 2006 11:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] Counting a text field I am trying to use one query to count within a series of records how many total items of a field are a Y. So If I have lets say ten records and 4 of a specific field are a Y then one of the outputs of a calculated field would be a numerical 4. Does anyone have an idea how to do this? Thanks John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Sat Dec 2 08:11:18 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 2 Dec 2006 19:41:18 +0530 Subject: [AccessD] Single and Double Inverted Commas! References: <238749.62677.qm@web34313.mail.mud.yahoo.com> Message-ID: <006801c7161b$ee67da20$f70065cb@pcadt> Chris, Good. Well done! However, it needs to be reiterated that ControlSource for a control on a form can very well be manipulated at run time. Whenever a new value for this property is assigned at run time, it prevails over any value that might have been set in design view. The lifespan of new ControlSource assigned at run time is however limited only to the current run time instance of the form in question. As & when the form is closed, the ControlSource reverts to its original value (if any) that was set at design stage. If the form is opened afresh, without run time interference to ControlSource property, the display will conform to the design setting for ControlSource. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Saturday, December 02, 2006 16:43 Subject: Re: [AccessD] Single and Double Inverted Commas! Thanks AD, But having been told that ControlSources (for controls) can't be set other than in design Mode I solved the problem by appending the data to a temp table and just changing the Record Source. Thanks anyway Chris -------Original Message------- From: A.D.TEJPAL Date: 12/01/06 14:30:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Single and Double Inverted Commas! Chris, If the problem is not yet resolved, you could try the following. It has been tested at my end: If Len(strInitials) > 0 Then Me.MonTotDBAdmin.ControlSource = _ "=DSum('DCAdminEventTime'," & _ " 'qry" & strInitials & "_Mon')" End If Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Chris Enright To: Access Developers discussion and problem solving Sent: Thursday, November 30, 2006 03:09 Subject: Re: [AccessD] Single and Double Inverted Commas! Hi Gustav, I love lazy! Problem is though that there are 42 controls that I want to change depending on the "strInitials" picked up when the name of the member of staff is selected to open the form. What I am looking for is the correct syntax for something like Me.MonTotDBAdmin.ControlSource = "=DSum('DCAdminEventTime','qry" & strInitials & "_Mon')" Which I know is completely wrong but I have forgotten how to use those %$*^"?$ "s and 's but would create =DSum("DCAdminEventTime","qryEM_Mon") if strInitials="EM" Chris From joeget at vgernet.net Sat Dec 2 11:19:50 2006 From: joeget at vgernet.net (John Eget) Date: Sat, 2 Dec 2006 12:19:50 -0500 Subject: [AccessD] Counting a text field References: <001c01c715ea$5b65d780$cdc2f63f@JOHN> <45715E0B.23111.2F4A6221@stuart.lexacorp.com.pg> Message-ID: <001501c71636$167cef40$c6c2f63f@JOHN> Thank you Stuart, it worked perfectly ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Saturday, December 02, 2006 6:05 AM Subject: Re: [AccessD] Counting a text field > On 2 Dec 2006 at 3:17, John Eget wrote: > >> I am trying to use one query to count within a series of records how many >> total items of a field are a Y. So If I have lets say ten records and 4 >> of >> a specific field are a Y then one of the outputs of a calculated field >> would >> be a numerical 4. Does anyone have an idea how to do this? > > =Sum(IIf(myField = "Y",1,0)) > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Dec 2 21:51:40 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 2 Dec 2006 22:51:40 -0500 Subject: [AccessD] Action pack and X64 Message-ID: <000001c7168e$58432130$e1265b05@m6805> Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From ssharkins at setel.com Sun Dec 3 10:07:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 11:07:01 -0500 Subject: [AccessD] Strikeover font in a Memo control Message-ID: <000a01c716f5$12105f90$5c34fad1@SUSANONE> Given the restrictions at the table level, I don't see how you can apply any font, including strikeover, to individual words or characters in a text of memo field. So, even if I could find a rich text control that would allow me to apply it, would Access actually store it that way at the table level? I don't really need a solution, so much, as I'm wondering whether to even pursue a solution -- is it possible to store different font formats at the table level in Access? I don't think it is, but thought I'd ask before passing on this one. Susan H. From mwp.reid at qub.ac.uk Sun Dec 3 10:40:36 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 3 Dec 2006 16:40:36 -0000 Subject: [AccessD] Strikeover font in a Memo control References: <000a01c716f5$12105f90$5c34fad1@SUSANONE> Message-ID: 2007 gives you rich text but not at the table level. Suppose you could do it yourself in some way but would think you would be looking at a programmer of the skill level as Shamil to do it and even then why would you bother? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Sun 03/12/2006 16:07 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Strikeover font in a Memo control Given the restrictions at the table level, I don't see how you can apply any font, including strikeover, to individual words or characters in a text of memo field. So, even if I could find a rich text control that would allow me to apply it, would Access actually store it that way at the table level? I don't really need a solution, so much, as I'm wondering whether to even pursue a solution -- is it possible to store different font formats at the table level in Access? I don't think it is, but thought I'd ask before passing on this one. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Dec 3 10:51:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 11:51:14 -0500 Subject: [AccessD] Strikeover font in a Memo control In-Reply-To: Message-ID: <000601c716fb$3f483e50$d2b62ad1@SUSANONE> If you can't store it, there's no point. That's what I was after. Susan H. 2007 gives you rich text but not at the table level. Suppose you could do it yourself in some way but would think you would be looking at a programmer of the skill level as Shamil to do it and even then why would you bother? From mwp.reid at qub.ac.uk Sun Dec 3 11:27:46 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 3 Dec 2006 17:27:46 -0000 Subject: [AccessD] Strikeover font in a Memo control References: <000601c716fb$3f483e50$d2b62ad1@SUSANONE> Message-ID: Dont think you can but that dosnt mean you cant. I think in 2007 they are actually using HTML and they have to be storing something somewhere. Will have a look and see if I can find out how they are actually doing it but I believe its HTML. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Sun 03/12/2006 16:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Strikeover font in a Memo control If you can't store it, there's no point. That's what I was after. Susan H. 2007 gives you rich text but not at the table level. Suppose you could do it yourself in some way but would think you would be looking at a programmer of the skill level as Shamil to do it and even then why would you bother? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Dec 3 11:42:46 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 3 Dec 2006 12:42:46 -0500 Subject: [AccessD] Strikeover font in a Memo control References: <000a01c716f5$12105f90$5c34fad1@SUSANONE> Message-ID: <002601c71702$729b9200$3e3de844@50NM721> ...I'm not sure what you mean by "store at the table level" ...I use Lebans rich text control in all of my apps now and it stores its data, including font and character, in a memo field in a table in the mdb ...including changing fonts and characteristics from word to word or character to character ...I've never used "strikeover" but its just another font characteristic like "bold" ...if that is what you need try www.lebans.com William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Sunday, December 03, 2006 11:07 AM Subject: [AccessD] Strikeover font in a Memo control > Given the restrictions at the table level, I don't see how you can apply > any > font, including strikeover, to individual words or characters in a text of > memo field. So, even if I could find a rich text control that would allow > me > to apply it, would Access actually store it that way at the table level? > > I don't really need a solution, so much, as I'm wondering whether to even > pursue a solution -- is it possible to store different font formats at the > table level in Access? I don't think it is, but thought I'd ask before > passing on this one. > > Susan H. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at setel.com Sun Dec 3 12:27:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 13:27:14 -0500 Subject: [AccessD] Strikeover font in a Memo control In-Reply-To: <002601c71702$729b9200$3e3de844@50NM721> Message-ID: <002a01c71708$a889aa40$d2b62ad1@SUSANONE> William, if I went this route, I'd have to use my own as it would end up an article and I can't write about someone else's solution like that -- but thank you for the link -- maybe someone else will be interested. Susan H. ...I'm not sure what you mean by "store at the table level" ...I use Lebans rich text control in all of my apps now and it stores its data, including font and character, in a memo field in a table in the mdb ...including changing fonts and characteristics from word to word or character to character ...I've never used "strikeover" but its just another font characteristic like "bold" ...if that is what you need try www.lebans.com From stuart at lexacorp.com.pg Sun Dec 3 16:46:14 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 04 Dec 2006 08:46:14 +1000 Subject: [AccessD] Storing Rich Text In-Reply-To: <00be01c714cc$ce20f9e0$e1265b05@m6805> References: <002401c714c2$65393f50$8abea8c0@XPS>, <00be01c714cc$ce20f9e0$e1265b05@m6805> Message-ID: <4573E056.15480.19CDE34C@stuart.lexacorp.com.pg> Sorry to change the subject, but I just read the previous stuff on this before leaving the house this morning and I can't remember what Subject the messages had. I'm now working from a different machine. Rich Text is just text with formatting instructions (similar to HTML). It can be stored in a text or memo field without any problems. If you have a Rich Text aware control it will display just fine on an Access form or report. I've sent a demo offline to Susan. It contains RTF data pasted into a Memo field from a simple document created in Wordpad. This RTF data displays fine with the standard MS Rich Text Control. The only hard part about working with RTF fields is editing them within your application. You need to be able to select parts of the text in a control on a form and apply attributes to the selection. This is usually done with a lot of code behind a standard MS Rich Text Box control and custom menus or buttons to apply the various attributes to selected text. Lebans example is a good one. From newsgrps at dalyn.co.nz Sun Dec 3 17:04:57 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 04 Dec 2006 12:04:57 +1300 Subject: [AccessD] Combo Box not Autocompleting Message-ID: <20061203230340.MPPD20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Group, I have developed a simple database in Access XP (One table, one form). On the form is a combo box that shows all the records on the form. The bound field is a number (long) When I start entering a number the combo box auto completes it with the first match from the list. When I copy the database to another computer with Access 2003 on it (mu client's computer) the combo box does not auto complete. Entering a full number and pressing the enter key returns an error message "The Text entered is not an item on the list". However, I can scroll down the actual list and select the item. Has anyone come across this and have a fix? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From ssharkins at setel.com Sun Dec 3 17:27:22 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Dec 2006 18:27:22 -0500 Subject: [AccessD] Storing Rich Text In-Reply-To: <4573E056.15480.19CDE34C@stuart.lexacorp.com.pg> Message-ID: <004801c71732$95e8bcd0$d2b62ad1@SUSANONE> I haven't gotten your demo! I look forward to it! Does the demo already have the code behind it for selecting and applying fonts to sections of text? Susan H. Sorry to change the subject, but I just read the previous stuff on this before leaving the house this morning and I can't remember what Subject the messages had. I'm now working from a different machine. Rich Text is just text with formatting instructions (similar to HTML). It can be stored in a text or memo field without any problems. If you have a Rich Text aware control it will display just fine on an Access form or report. I've sent a demo offline to Susan. It contains RTF data pasted into a Memo field from a simple document created in Wordpad. This RTF data displays fine with the standard MS Rich Text Control. The only hard part about working with RTF fields is editing them within your application. You need to be able to select parts of the text in a control on a form and apply attributes to the selection. This is usually done with a lot of code behind a standard MS Rich Text Box control and custom menus or buttons to apply the various attributes to selected text. Lebans example is a good one. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 From stuart at lexacorp.com.pg Sun Dec 3 17:48:32 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 04 Dec 2006 09:48:32 +1000 Subject: [AccessD] Storing Rich Text In-Reply-To: <004801c71732$95e8bcd0$d2b62ad1@SUSANONE> References: <4573E056.15480.19CDE34C@stuart.lexacorp.com.pg>, <004801c71732$95e8bcd0$d2b62ad1@SUSANONE> Message-ID: <4573EEF0.21878.1A06ECBD@stuart.lexacorp.com.pg> On 3 Dec 2006 at 18:27, Susan Harkins wrote: > I haven't gotten your demo! I look forward to it! Sorry, I sent it to harkinsss at bellsouth.net and it bounced. I'll resend it now. > Does the demo already have > the code behind it for selecting and applying fonts to sections of text? > Nope, it's just a simple demo to show that you can store RTF in a memo field and display it with a standard MS Ruich Text control. From bchacc at san.rr.com Sun Dec 3 18:31:57 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 3 Dec 2006 16:31:57 -0800 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061203230340.MPPD20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <006d01c7173b$9b994150$6401a8c0@HAL9005> On the theory that there's some difference in the combo box that you dropped into the original XP mdb and the combo box that you create in A2K3, I wonder what would happen if you deleted the box and re-created it on the A2K3 system? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 03, 2006 3:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] Combo Box not Autocompleting Group, I have developed a simple database in Access XP (One table, one form). On the form is a combo box that shows all the records on the form. The bound field is a number (long) When I start entering a number the combo box auto completes it with the first match from the list. When I copy the database to another computer with Access 2003 on it (mu client's computer) the combo box does not auto complete. Entering a full number and pressing the enter key returns an error message "The Text entered is not an item on the list". However, I can scroll down the actual list and select the item. Has anyone come across this and have a fix? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/565 - Release Date: 12/2/2006 9:39 PM From newsgrps at dalyn.co.nz Sun Dec 3 20:37:42 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 04 Dec 2006 15:37:42 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <006d01c7173b$9b994150$6401a8c0@HAL9005> References: <20061203230340.MPPD20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> <006d01c7173b$9b994150$6401a8c0@HAL9005> Message-ID: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Thank for the reply Rocky, The database wasn't recreated in 2003. I just copied the XP file onto the client's computer. The only thing that needed adjusting was a reference to Microsoft Offic XP Web Components (Not sure what that was there for). I removed the reference in both versions of the database - the XP version still works fine, the 2003 still doesn't. I also tried recreating the combo box direct in the 2003 copy but it behaved the same way (IE no auto complete). David At 4/12/2006, you wrote: >On the theory that there's some difference in the combo box that you dropped >into the original XP mdb and the combo box that you create in A2K3, I wonder >what would happen if you deleted the box and re-created it on the A2K3 >system? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 3:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Combo Box not Autocompleting > >Group, > >I have developed a simple database in Access XP (One table, one >form). On the form is a combo box that shows all the records on the >form. The bound field is a number (long) > >When I start entering a number the combo box auto completes it with >the first match from the list. > >When I copy the database to another computer with Access 2003 on it >(mu client's computer) the combo box does not auto >complete. Entering a full number and pressing the enter key returns >an error message "The Text entered is not an item on the >list". However, I can scroll down the actual list and select the item. > >Has anyone come across this and have a fix? > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand From bchacc at san.rr.com Sun Dec 3 23:06:21 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 3 Dec 2006 21:06:21 -0800 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <009501c71761$f0a7e4f0$6401a8c0@HAL9005> Well, it was a pure shot in the dark. Even a blind squirrel finds a nut once in a while. How about the bound column? Anything out of the ordinary there? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 03, 2006 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo Box not Autocompleting Thank for the reply Rocky, The database wasn't recreated in 2003. I just copied the XP file onto the client's computer. The only thing that needed adjusting was a reference to Microsoft Offic XP Web Components (Not sure what that was there for). I removed the reference in both versions of the database - the XP version still works fine, the 2003 still doesn't. I also tried recreating the combo box direct in the 2003 copy but it behaved the same way (IE no auto complete). David At 4/12/2006, you wrote: >On the theory that there's some difference in the combo box that you dropped >into the original XP mdb and the combo box that you create in A2K3, I wonder >what would happen if you deleted the box and re-created it on the A2K3 >system? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 3:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Combo Box not Autocompleting > >Group, > >I have developed a simple database in Access XP (One table, one >form). On the form is a combo box that shows all the records on the >form. The bound field is a number (long) > >When I start entering a number the combo box auto completes it with >the first match from the list. > >When I copy the database to another computer with Access 2003 on it >(mu client's computer) the combo box does not auto >complete. Entering a full number and pressing the enter key returns >an error message "The Text entered is not an item on the >list". However, I can scroll down the actual list and select the item. > >Has anyone come across this and have a fix? > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM From newsgrps at dalyn.co.nz Sun Dec 3 23:31:55 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 04 Dec 2006 18:31:55 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <009501c71761$f0a7e4f0$6401a8c0@HAL9005> References: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009501c71761$f0a7e4f0$6401a8c0@HAL9005> Message-ID: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Nothing unusual. It is an ID field automatically generated. Because the database is so basic and has a lifespan of about three weeks, the data table is in the same file as the form. The same data was copied to the client machine as on my machine. No records have been added - only some fields edited. David At 4/12/2006, you wrote: >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut >once in a while. > >How about the bound column? Anything out of the ordinary there? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 6:38 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Combo Box not Autocompleting > >Thank for the reply Rocky, > >The database wasn't recreated in 2003. I just copied the XP file >onto the client's computer. > >The only thing that needed adjusting was a reference to Microsoft >Offic XP Web Components (Not sure what that was there for). I >removed the reference in both versions of the database - the XP >version still works fine, the 2003 still doesn't. > >I also tried recreating the combo box direct in the 2003 copy but it >behaved the same way (IE no auto complete). > >David > >At 4/12/2006, you wrote: > >On the theory that there's some difference in the combo box that you >dropped > >into the original XP mdb and the combo box that you create in A2K3, I >wonder > >what would happen if you deleted the box and re-created it on the A2K3 > >system? > > > >Rocky > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 3:05 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Combo Box not Autocompleting > > > >Group, > > > >I have developed a simple database in Access XP (One table, one > >form). On the form is a combo box that shows all the records on the > >form. The bound field is a number (long) > > > >When I start entering a number the combo box auto completes it with > >the first match from the list. > > > >When I copy the database to another computer with Access 2003 on it > >(mu client's computer) the combo box does not auto > >complete. Entering a full number and pressing the enter key returns > >an error message "The Text entered is not an item on the > >list". However, I can scroll down the actual list and select the item. > > > >Has anyone come across this and have a fix? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >4:36 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Dec 3 23:57:07 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 3 Dec 2006 21:57:07 -0800 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <009901c71769$088c8420$6401a8c0@HAL9005> ">I also tried recreating the combo box direct in the 2003 copy but it >behaved the same way (IE no auto complete)." If you create a new form and create a combo box with a different data source does it behave the same way? With the same data source, does it behave the same way? IOW, do all combo boxes in this installation of A2K3 fail on the auto complete? Is Tools-->Options-->General-->Track Name Autocorrect info turned off? Don't see why it should matter but that seems to cause a lot of random problems. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 03, 2006 9:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo Box not Autocompleting Nothing unusual. It is an ID field automatically generated. Because the database is so basic and has a lifespan of about three weeks, the data table is in the same file as the form. The same data was copied to the client machine as on my machine. No records have been added - only some fields edited. David At 4/12/2006, you wrote: >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut >once in a while. > >How about the bound column? Anything out of the ordinary there? > >Rocky > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 6:38 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Combo Box not Autocompleting > >Thank for the reply Rocky, > >The database wasn't recreated in 2003. I just copied the XP file >onto the client's computer. > >The only thing that needed adjusting was a reference to Microsoft >Offic XP Web Components (Not sure what that was there for). I >removed the reference in both versions of the database - the XP >version still works fine, the 2003 still doesn't. > >I also tried recreating the combo box direct in the 2003 copy but it >behaved the same way (IE no auto complete). > >David > >At 4/12/2006, you wrote: > >On the theory that there's some difference in the combo box that you >dropped > >into the original XP mdb and the combo box that you create in A2K3, I >wonder > >what would happen if you deleted the box and re-created it on the A2K3 > >system? > > > >Rocky > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 3:05 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Combo Box not Autocompleting > > > >Group, > > > >I have developed a simple database in Access XP (One table, one > >form). On the form is a combo box that shows all the records on the > >form. The bound field is a number (long) > > > >When I start entering a number the combo box auto completes it with > >the first match from the list. > > > >When I copy the database to another computer with Access 2003 on it > >(mu client's computer) the combo box does not auto > >complete. Entering a full number and pressing the enter key returns > >an error message "The Text entered is not an item on the > >list". However, I can scroll down the actual list and select the item. > > > >Has anyone come across this and have a fix? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >4:36 PM > > >-- >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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM From wdhindman at dejpolsystems.com Mon Dec 4 00:01:17 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 4 Dec 2006 01:01:17 -0500 Subject: [AccessD] Combo Box not Autocompleting References: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz><009501c71761$f0a7e4f0$6401a8c0@HAL9005> <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <000701c71769$9dbe0730$3e3de844@50NM721> ...wags ...is the client's A2k3 a full install or a runtime? ...if full, have you decompiled/compiled on that system? ...if runtime, does the xp version work on your system with the runtime switch set? William Hindman ----- Original Message ----- From: "David Emerson" To: "Access Developers discussion and problem solving" Sent: Monday, December 04, 2006 12:31 AM Subject: Re: [AccessD] Combo Box not Autocompleting > Nothing unusual. It is an ID field automatically generated. Because > the database is so basic and has a lifespan of about three weeks, the > data table is in the same file as the form. The same data was copied > to the client machine as on my machine. No records have been added - > only some fields edited. > > David > > At 4/12/2006, you wrote: >>Well, it was a pure shot in the dark. Even a blind squirrel finds a nut >>once in a while. >> >>How about the bound column? Anything out of the ordinary there? >> >>Rocky >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >>Sent: Sunday, December 03, 2006 6:38 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Combo Box not Autocompleting >> >>Thank for the reply Rocky, >> >>The database wasn't recreated in 2003. I just copied the XP file >>onto the client's computer. >> >>The only thing that needed adjusting was a reference to Microsoft >>Offic XP Web Components (Not sure what that was there for). I >>removed the reference in both versions of the database - the XP >>version still works fine, the 2003 still doesn't. >> >>I also tried recreating the combo box direct in the 2003 copy but it >>behaved the same way (IE no auto complete). >> >>David >> >>At 4/12/2006, you wrote: >> >On the theory that there's some difference in the combo box that you >>dropped >> >into the original XP mdb and the combo box that you create in A2K3, I >>wonder >> >what would happen if you deleted the box and re-created it on the A2K3 >> >system? >> > >> >Rocky >> > >> > >> >-----Original Message----- >> >From: accessd-bounces at databaseadvisors.com >> >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >> >Sent: Sunday, December 03, 2006 3:05 PM >> >To: accessd at databaseadvisors.com >> >Subject: [AccessD] Combo Box not Autocompleting >> > >> >Group, >> > >> >I have developed a simple database in Access XP (One table, one >> >form). On the form is a combo box that shows all the records on the >> >form. The bound field is a number (long) >> > >> >When I start entering a number the combo box auto completes it with >> >the first match from the list. >> > >> >When I copy the database to another computer with Access 2003 on it >> >(mu client's computer) the combo box does not auto >> >complete. Entering a full number and pressing the enter key returns >> >an error message "The Text entered is not an item on the >> >list". However, I can scroll down the actual list and select the item. >> > >> >Has anyone come across this and have a fix? >> > >> >Regards >> > >> >David Emerson >> >Dalyn Software Ltd >> >Wellington, New Zealand >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >>4:36 PM >> >> >>-- >>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 Mon Dec 4 08:12:46 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Dec 2006 09:12:46 -0500 Subject: [AccessD] Action pack and X64 In-Reply-To: <000001c7168e$58432130$e1265b05@m6805> Message-ID: <044e01c717ae$485fe160$8abea8c0@XPS> John, No, it's not in there. I just looked at my few shipments. The big focus is SBS and Office 2007. I've got it through my MSDN Universal though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 02, 2006 10:52 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software issues' Subject: [AccessD] Action pack and X64 Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Dec 4 08:22:47 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 4 Dec 2006 08:22:47 -0600 Subject: [AccessD] Action pack and X64 In-Reply-To: <044e01c717ae$485fe160$8abea8c0@XPS> References: <000001c7168e$58432130$e1265b05@m6805> <044e01c717ae$485fe160$8abea8c0@XPS> Message-ID: I just resubbed on mine and the order confirmation indicated it was 32 bit so perhaps there is a 64 bit version too? GK On 12/4/06, Jim Dettman wrote: > John, > > No, it's not in there. I just looked at my few shipments. The big focus > is SBS and Office 2007. I've got it through my MSDN Universal though. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Saturday, December 02, 2006 10:52 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software > issues' > Subject: [AccessD] Action pack and X64 > > Does anyone know if the action pack contains the X64 versions of 2003 and > SQL Server? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 > -- Gary Kjos garykjos at gmail.com From accessd666 at yahoo.com Mon Dec 4 08:30:53 2006 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 4 Dec 2006 06:30:53 -0800 (PST) Subject: [AccessD] ms-access variant of @@rowcount or rowcount Message-ID: <20061204143054.11858.qmail@web31602.mail.mud.yahoo.com> Hi, in my query i need a field with the rowcount. Let's say i've got a table (t1) with 1 field (Name). This table has 2 values (a & b). I want a query that returns the field and a rowcount e.g.: select name, row_count from t1 Problem: what is the access variant for @@ROWCOUNT?? Regards, Sander ____________________________________________________________________________________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com From stuart at lexacorp.com.pg Mon Dec 4 08:44:08 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Dec 2006 00:44:08 +1000 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: <20061204143054.11858.qmail@web31602.mail.mud.yahoo.com> References: <20061204143054.11858.qmail@web31602.mail.mud.yahoo.com> Message-ID: <45743438.4336.7E2AED6@stuart.lexacorp.com.pg> On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart From accessd666 at yahoo.com Mon Dec 4 08:51:03 2006 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 4 Dec 2006 06:51:03 -0800 (PST) Subject: [AccessD] ms-access variant of @@rowcount or rowcount Message-ID: <20061204145103.14264.qmail@web31607.mail.mud.yahoo.com> No that did not do the trick. That would return: a 1 b 1 What i need is: a 1 b 2 ... ... z 26 Thnx anyway ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Monday, December 4, 2006 3:44:08 PM Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. From ssharkins at setel.com Mon Dec 4 09:04:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 4 Dec 2006 10:04:59 -0500 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: <20061204145103.14264.qmail@web31607.mail.mud.yahoo.com> Message-ID: <002001c717b5$91df04e0$6232fad1@SUSANONE> If you just need the one field and the row count, a Totals query, choose the Count aggregate, would work, wouldn't it -- assuming the data field contained unique values. Susan H. No that did not do the trick. That would return: a 1 b 1 What i need is: a 1 b 2 ... ... z 26 Thnx anyway ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Monday, December 4, 2006 3:44:08 PM Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________ ________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 From Gustav at cactus.dk Mon Dec 4 09:06:01 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Dec 2006 16:06:01 +0100 Subject: [AccessD] ms-access variant of @@rowcount or rowcount Message-ID: Hi Sad Look here: http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035324.html Generating a rownumber field in a query. /gustav >>> accessd666 at yahoo.com 04-12-2006 15:51 >>> No that did not do the trick. That would return: a 1 b 1 What i need is: a 1 b 2 ... ... z 26 From markamatte at hotmail.com Mon Dec 4 10:15:51 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 04 Dec 2006 16:15:51 +0000 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: Message-ID: Something I use...but has a problem keeping the numbers as you scroll is below. I use this in a query that populates a temp table...and the numbers are always correct and sequential...just not good for a display query. 1. put the following in a module: Option Compare Database Option Explicit Global lngTableCounter As Long Function MyAutoCtr(prmAny) 'Trick is to pass a field from the input table(s) so that function called for each record 'otherwise Access thinks that the function will always return the same value and 'only calls it once, and every output record gets the same value MyAutoCtr = lngTableCounter lngTableCounter = lngTableCounter + 1 End Function 2. In your query use the following field: Countfld: MyAutoCtr([fldYourPK]) 3. Everytime you need to rerun this query, the following needs to be executed somewhere(I put it behind the button that launches my query: lngTableCounter = 1 I hope this helps. Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount >Date: Mon, 04 Dec 2006 16:06:01 +0100 > >Hi Sad > >Look here: > >http://databaseadvisors.com/mailman/htdig/accessd/2005-June/035324.html > >Generating a rownumber field in a query. > >/gustav > > >>> accessd666 at yahoo.com 04-12-2006 15:51 >>> >No that did not do the trick. That would return: >a 1 >b 1 > >What i need is: >a 1 >b 2 >... >... >z 26 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Stay up-to-date with your friends through the Windows Live Spaces friends list. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk From reuben at gfconsultants.com Mon Dec 4 10:29:19 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 4 Dec 2006 11:29:19 -0500 Subject: [AccessD] Multiplying Currency with 6 decimals Message-ID: I have an application that allows a unit to import a text file which then shows the TOTAL cash due to a unit. However, the state keeps some and therefore the unit gets a percentage sent to them. The result is how much cash they actually get. No problem so far.... However, the state uses a percentage with 6 decimals. The currency data type is only four decimals. Therefore I can't use currency and now I get an error of several pennies on each calculation. Any suggestions on how to get the accuracy back? Thanks. Reuben Cummings GFC, LLC 812.523.1017 From bchacc at san.rr.com Mon Dec 4 10:38:07 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Mon, 4 Dec 2006 08:38:07 -0800 Subject: [AccessD] Multiplying Currency with 6 decimals In-Reply-To: Message-ID: <004101c717c2$93e3c2a0$6401a8c0@HAL9005> Can you carry the numbers internally as double and only format to currency on the way out to a report? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, December 04, 2006 8:29 AM To: AccessD Subject: [AccessD] Multiplying Currency with 6 decimals I have an application that allows a unit to import a text file which then shows the TOTAL cash due to a unit. However, the state keeps some and therefore the unit gets a percentage sent to them. The result is how much cash they actually get. No problem so far.... However, the state uses a percentage with 6 decimals. The currency data type is only four decimals. Therefore I can't use currency and now I get an error of several pennies on each calculation. Any suggestions on how to get the accuracy back? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM From Gustav at cactus.dk Mon Dec 4 10:44:55 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Dec 2006 17:44:55 +0100 Subject: [AccessD] Multiplying Currency with 6 decimals Message-ID: Hi Reuben Multiply the amount by 100 before the calculation. Divide by 100 when you need the actual amount. It should be noted that in many cases tax authorities do accept minor rounding up or down as that is a part of real life and counting decimal pennies is of so little value that it can be ignored. /gustav >>> reuben at gfconsultants.com 04-12-2006 17:29 >>> I have an application that allows a unit to import a text file which then shows the TOTAL cash due to a unit. However, the state keeps some and therefore the unit gets a percentage sent to them. The result is how much cash they actually get. No problem so far.... However, the state uses a percentage with 6 decimals. The currency data type is only four decimals. Therefore I can't use currency and now I get an error of several pennies on each calculation. Any suggestions on how to get the accuracy back? Thanks. Reuben Cummings GFC, LLC 812.523.1017 From Drawbridge.Jack at ic.gc.ca Mon Dec 4 10:54:28 2006 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 4 Dec 2006 11:54:28 -0500 Subject: [AccessD] ms-access variant of @@rowcount or rowcount In-Reply-To: <45743438.4336.7E2AED6@stuart.lexacorp.com.pg> Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B07B592E8@MSG-MB3.icent.ic.gc.ca> Here's an example we have used in the past. It may be useful. Note : The REQUIREMENT that est_seq in example must have unique values Query: MyRowNum SELECT CCL_EST_NM.est_no, CCL_EST_NM.est_seq, CCL_EST_NM.est_nm, CCL_EST_NM.est_typ, CCL_EST_NM.est_lang, (Select Count (*) FROM [CCL_EST_NM] as Temp WHERE [Temp].[est_seq] < [CCL_EST_NM].[est_seq])+ 1 AS RowNum FROM CCL_EST_NM; REQUIREMENT:::: est_seq is a field within the Table that has unique values in ascending order. The numbers do not have to be contiguous. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, December 4, 2006 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ms-access variant of @@rowcount or rowcount On 4 Dec 2006 at 6:30, Sad Der wrote: > Hi, > > in my query i need a field with the rowcount. > > Let's say i've got a table (t1) with 1 field (Name). > This table has 2 values (a & b). > > I want a query that returns the field and a rowcount e.g.: > select name, row_count > from t1 > > Problem: what is the access variant for @@ROWCOUNT?? Count(*) ?-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Drawbridge.Jack at ic.gc.ca Mon Dec 4 10:59:22 2006 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 4 Dec 2006 11:59:22 -0500 Subject: [AccessD] Recall: ms-access variant of @@rowcount or rowcount Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B07B592F9@MSG-MB3.icent.ic.gc.ca> Drawbridge, Jack: #CIO - BPI would like to recall the message, "[AccessD] ms-access variant of @@rowcount or rowcount". From gwsmith at iowatelecom.net Mon Dec 4 13:54:09 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Mon, 4 Dec 2006 13:54:09 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: References: Message-ID: <31334.65.118.249.214.1165262049.squirrel@webmail.iowatelecom.net> Shamil: Well, thanks!? (to everyone who helped too) for starters.? Actually, it was the 4th example of the sample db that you sent me that I finally got to work.? Yes, the v6 of msxml would work here too, but I had another complication that was making it fail on example #4.? One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access.? Would not create an error, just wouldn't import the data.? DUH on me I guess.? Once I got past that hump, I could extract any attributes within any elements in my XML file.? And it works to any depth of elements, and it works if there are no line breaks (just the whole file being a single string).? So a GIANT thanks is in order.? My only caveat now is that I have to change that keyword (which occurs about 3 times in the file) in the text file BEFORE I try to import it... Thanks again!! Greg From shamil at users.mns.ru Mon Dec 4 14:01:14 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 4 Dec 2006 23:01:14 +0300 Subject: [AccessD] OT: Code39 barcode font Message-ID: <002b01c717de$f3fde5f0$6401a8c0@nant> Hello All, Could you please advise what is the best Code39 barcode TTF font (free or not-free), which you used in your real life projects? I see quite some proposals on Internet but I have very little experience in this area and therefore I'd better use proven suppliers of Code39 barcode TTF fonts... For example - this looks good - http://www.barcode-1.net/pub/russadam/39code.html - but I need narrower barcodes for 24 - 26 pt tall ones... Thank you in advance for any hints and links... -- Shamil From bheid at sc.rr.com Mon Dec 4 14:12:04 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 4 Dec 2006 15:12:04 -0500 Subject: [AccessD] Removal from the list... Message-ID: <000c01c717e0$776724f0$465a1d05@bhxp> Hey, I tried removing my work email address from the AccessD, dba-OT, and the dba-Tech lists (I'm still on here from home). I click on the unsubscribe button on the various web sites and it says that an email confirmation has been sent. But I never receive anything. Anyone know what I am doing wrong or if the unsubscribe thing is not working correctly? Thanks, Bobby From mfisch4 at capex.com.ar Mon Dec 4 14:22:11 2006 From: mfisch4 at capex.com.ar (MF) Date: Mon, 04 Dec 2006 17:22:11 -0300 Subject: [AccessD] Removal from the list... In-Reply-To: <000c01c717e0$776724f0$465a1d05@bhxp> References: <000c01c717e0$776724f0$465a1d05@bhxp> Message-ID: <6.2.3.4.0.20061204172035.029db810@bsas-mail> Aren't your confirmations being stopped by any spam filter? (just an idea, of the top of my head) MF __________________________ At 17:12 04/12/2006, you wrote: >Hey, > >I tried removing my work email address from the AccessD, dba-OT, and the >dba-Tech lists (I'm still on here from home). I click on the unsubscribe >button on the various web sites and it says that an email confirmation has >been sent. But I never receive anything. > >Anyone know what I am doing wrong or if the unsubscribe thing is not working >correctly? > >Thanks, >Bobby From carbonnb at gmail.com Mon Dec 4 14:23:06 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 15:23:06 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: <000c01c717e0$776724f0$465a1d05@bhxp> References: <000c01c717e0$776724f0$465a1d05@bhxp> Message-ID: On 12/4/06, Bobby Heid wrote: > Hey, > > I tried removing my work email address from the AccessD, dba-OT, and the > dba-Tech lists (I'm still on here from home). I click on the unsubscribe > button on the various web sites and it says that an email confirmation has > been sent. But I never receive anything. > > Anyone know what I am doing wrong or if the unsubscribe thing is not working > correctly? Did you have cookies enabled in your web browser? What is your work e-mail and I'll do it manually for you. -- 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 carbonnb at gmail.com Mon Dec 4 14:25:15 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 15:25:15 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: References: <000c01c717e0$776724f0$465a1d05@bhxp> Message-ID: On 12/4/06, Bryan Carbonnell wrote: > On 12/4/06, Bobby Heid wrote: > > Hey, > > > > I tried removing my work email address from the AccessD, dba-OT, and the > > dba-Tech lists (I'm still on here from home). I click on the unsubscribe > > button on the various web sites and it says that an email confirmation has > > been sent. But I never receive anything. > > > > Anyone know what I am doing wrong or if the unsubscribe thing is not working > > correctly? > > Did you have cookies enabled in your web browser? > > What is your work e-mail and I'll do it manually for you. One other thought... check your spam filters. It may have gotten eaten by them. -- 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 newsgrps at dalyn.co.nz Mon Dec 4 14:35:51 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 05 Dec 2006 09:35:51 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <000701c71769$9dbe0730$3e3de844@50NM721> References: <20061204023640.VDMU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009501c71761$f0a7e4f0$6401a8c0@HAL9005> <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <000701c71769$9dbe0730$3e3de844@50NM721> Message-ID: <20061204203649.SKFD29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> The client's laptop is a full version. However, it is a hired one and they seem to have locked down the programs. I am trying to get hold of it so that I can do some tests for myself (so far it has been via giving instructions over the phone). When I get it I will try decompile etc. David At 4/12/2006, you wrote: >...wags ...is the client's A2k3 a full install or a runtime? ...if full, >have you decompiled/compiled on that system? ...if runtime, does the xp >version work on your system with the runtime switch set? > >William Hindman > >----- Original Message ----- >From: "David Emerson" >To: "Access Developers discussion and problem solving" > >Sent: Monday, December 04, 2006 12:31 AM >Subject: Re: [AccessD] Combo Box not Autocompleting > > > > Nothing unusual. It is an ID field automatically generated. Because > > the database is so basic and has a lifespan of about three weeks, the > > data table is in the same file as the form. The same data was copied > > to the client machine as on my machine. No records have been added - > > only some fields edited. > > > > David > > > > At 4/12/2006, you wrote: > >>Well, it was a pure shot in the dark. Even a blind squirrel finds a nut > >>once in a while. > >> > >>How about the bound column? Anything out of the ordinary there? > >> > >>Rocky > >> > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >>Sent: Sunday, December 03, 2006 6:38 PM > >>To: Access Developers discussion and problem solving > >>Subject: Re: [AccessD] Combo Box not Autocompleting > >> > >>Thank for the reply Rocky, > >> > >>The database wasn't recreated in 2003. I just copied the XP file > >>onto the client's computer. > >> > >>The only thing that needed adjusting was a reference to Microsoft > >>Offic XP Web Components (Not sure what that was there for). I > >>removed the reference in both versions of the database - the XP > >>version still works fine, the 2003 still doesn't. > >> > >>I also tried recreating the combo box direct in the 2003 copy but it > >>behaved the same way (IE no auto complete). > >> > >>David > >> > >>At 4/12/2006, you wrote: > >> >On the theory that there's some difference in the combo box that you > >>dropped > >> >into the original XP mdb and the combo box that you create in A2K3, I > >>wonder > >> >what would happen if you deleted the box and re-created it on the A2K3 > >> >system? > >> > > >> >Rocky > >> > > >> > > >> >-----Original Message----- > >> >From: accessd-bounces at databaseadvisors.com > >> >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >> >Sent: Sunday, December 03, 2006 3:05 PM > >> >To: accessd at databaseadvisors.com > >> >Subject: [AccessD] Combo Box not Autocompleting > >> > > >> >Group, > >> > > >> >I have developed a simple database in Access XP (One table, one > >> >form). On the form is a combo box that shows all the records on the > >> >form. The bound field is a number (long) > >> > > >> >When I start entering a number the combo box auto completes it with > >> >the first match from the list. > >> > > >> >When I copy the database to another computer with Access 2003 on it > >> >(mu client's computer) the combo box does not auto > >> >complete. Entering a full number and pressing the enter key returns > >> >an error message "The Text entered is not an item on the > >> >list". However, I can scroll down the actual list and select the item. > >> > > >> >Has anyone come across this and have a fix? > >> > > >> >Regards > >> > > >> >David Emerson > >> >Dalyn Software Ltd > >> >Wellington, New Zealand > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >>-- > >>No virus found in this incoming message. > >>Checked by AVG Free Edition. > >>Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 > >>4:36 PM > >> > >> > >>-- > >>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 newsgrps at dalyn.co.nz Mon Dec 4 14:38:00 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 05 Dec 2006 09:38:00 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <009901c71769$088c8420$6401a8c0@HAL9005> References: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009901c71769$088c8420$6401a8c0@HAL9005> Message-ID: <20061204203654.SKHT29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> Ok, We created a new database, and were able to get it to work using a value list. We also were able to create a new form in the main database and get the value list combo to autocomplete. However, when we replicated the combo box in the new form using the query as the source, the autocomplete didn't work :-( I am trying to get hold of it so that I can do some tests for myself (so far it has been via giving instructions over the phone). David At 4/12/2006, you wrote: >">I also tried recreating the combo box direct in the 2003 copy but it > >behaved the same way (IE no auto complete)." > >If you create a new form and create a combo box with a different data source >does it behave the same way? With the same data source, does it behave the >same way? IOW, do all combo boxes in this installation of A2K3 fail on the >auto complete? > >Is Tools-->Options-->General-->Track Name Autocorrect info turned off? >Don't see why it should matter but that seems to cause a lot of random >problems. > >Rocky > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 03, 2006 9:32 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Combo Box not Autocompleting > >Nothing unusual. It is an ID field automatically generated. Because >the database is so basic and has a lifespan of about three weeks, the >data table is in the same file as the form. The same data was copied >to the client machine as on my machine. No records have been added - >only some fields edited. > >David > >At 4/12/2006, you wrote: > >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut > >once in a while. > > > >How about the bound column? Anything out of the ordinary there? > > > >Rocky > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 6:38 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Combo Box not Autocompleting > > > >Thank for the reply Rocky, > > > >The database wasn't recreated in 2003. I just copied the XP file > >onto the client's computer. > > > >The only thing that needed adjusting was a reference to Microsoft > >Offic XP Web Components (Not sure what that was there for). I > >removed the reference in both versions of the database - the XP > >version still works fine, the 2003 still doesn't. > > > >I also tried recreating the combo box direct in the 2003 copy but it > >behaved the same way (IE no auto complete). > > > >David > > > >At 4/12/2006, you wrote: > > >On the theory that there's some difference in the combo box that you > >dropped > > >into the original XP mdb and the combo box that you create in A2K3, I > >wonder > > >what would happen if you deleted the box and re-created it on the A2K3 > > >system? > > > > > >Rocky > > > > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > >Sent: Sunday, December 03, 2006 3:05 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] Combo Box not Autocompleting > > > > > >Group, > > > > > >I have developed a simple database in Access XP (One table, one > > >form). On the form is a combo box that shows all the records on the > > >form. The bound field is a number (long) > > > > > >When I start entering a number the combo box auto completes it with > > >the first match from the list. > > > > > >When I copy the database to another computer with Access 2003 on it > > >(mu client's computer) the combo box does not auto > > >complete. Entering a full number and pressing the enter key returns > > >an error message "The Text entered is not an item on the > > >list". However, I can scroll down the actual list and select the item. > > > > > >Has anyone come across this and have a fix? > > > > > >Regards > > > > > >David Emerson > > >Dalyn Software Ltd > > >Wellington, New Zealand > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >No virus found in this incoming message. > >Checked by AVG Free Edition. > >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 > >4:36 PM > > > > > >-- > >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 > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 >4:36 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bheid at sc.rr.com Mon Dec 4 14:49:41 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 4 Dec 2006 15:49:41 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: Message-ID: <002001c717e5$b96349b0$465a1d05@bhxp> I did check the filters and did not see anything. My work address is bheid at appdevgrp.com. Thanks! Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, December 04, 2006 3:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Removal from the list... On 12/4/06, Bryan Carbonnell wrote: > On 12/4/06, Bobby Heid wrote: > > Hey, > > > > I tried removing my work email address from the AccessD, dba-OT, and the > > dba-Tech lists (I'm still on here from home). I click on the unsubscribe > > button on the various web sites and it says that an email confirmation has > > been sent. But I never receive anything. > > > > Anyone know what I am doing wrong or if the unsubscribe thing is not working > > correctly? > > Did you have cookies enabled in your web browser? > > What is your work e-mail and I'll do it manually for you. One other thought... check your spam filters. It may have gotten eaten by them. -- Bryan Carbonnell - carbonnb at gmail.com From jimdettman at verizon.net Mon Dec 4 15:02:52 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Dec 2006 16:02:52 -0500 Subject: [AccessD] OT: Code39 barcode font In-Reply-To: <002b01c717de$f3fde5f0$6401a8c0@nant> Message-ID: <053501c717e7$90e0bc00$8abea8c0@XPS> Shamil, While not a font, I have used AbarCode for Access for several projects and like it. No external DLLs, OCX's, etc. Here's a link: http://www.abarcode.net/en/default.asp Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 04, 2006 3:01 PM To: 'Access-D' Subject: [AccessD] OT: Code39 barcode font Hello All, Could you please advise what is the best Code39 barcode TTF font (free or not-free), which you used in your real life projects? I see quite some proposals on Internet but I have very little experience in this area and therefore I'd better use proven suppliers of Code39 barcode TTF fonts... For example - this looks good - http://www.barcode-1.net/pub/russadam/39code.html - but I need narrower barcodes for 24 - 26 pt tall ones... Thank you in advance for any hints and links... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Mon Dec 4 15:26:08 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 16:26:08 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: <002001c717e5$b96349b0$465a1d05@bhxp> References: <002001c717e5$b96349b0$465a1d05@bhxp> Message-ID: On 12/4/06, Bobby Heid wrote: > I did check the filters and did not see anything. My work address is > bheid at appdevgrp.com. Unsubbed from AccessD and OT. You weren't subbed to tech from bheid at appdevgrp.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 bheid at sc.rr.com Mon Dec 4 15:42:42 2006 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 4 Dec 2006 16:42:42 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: Message-ID: <000001c717ed$2196afc0$465a1d05@bhxp> Hmm, I was getting it at work. Maybe that unsub worked? Anyways, thanks for the assist Bryan. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, December 04, 2006 4:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Removal from the list... On 12/4/06, Bobby Heid wrote: > I did check the filters and did not see anything. My work address is > bheid at appdevgrp.com. Unsubbed from AccessD and OT. You weren't subbed to tech from bheid at appdevgrp.com -- Bryan Carbonnell - carbonnb at gmail.com From carbonnb at gmail.com Mon Dec 4 15:51:05 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 4 Dec 2006 16:51:05 -0500 Subject: [AccessD] Removal from the list... In-Reply-To: <000001c717ed$2196afc0$465a1d05@bhxp> References: <000001c717ed$2196afc0$465a1d05@bhxp> Message-ID: On 12/4/06, Bobby Heid wrote: > Hmm, I was getting it at work. Maybe that unsub worked? It looks like you unsubbed from tech last Monday. > Anyways, thanks for the assist Bryan. That's why they pay me the big bucks :) -- 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 jwcolby at colbyconsulting.com Mon Dec 4 16:30:55 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 4 Dec 2006 17:30:55 -0500 Subject: [AccessD] Action pack and X64 In-Reply-To: <044e01c717ae$485fe160$8abea8c0@XPS> Message-ID: <007d01c717f3$dde06170$e1265b05@m6805> Jim, I could not find it in the action pack anywhere either and I don't have the funds for an MSDN subscription John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, December 04, 2006 9:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action pack and X64 John, No, it's not in there. I just looked at my few shipments. The big focus is SBS and Office 2007. I've got it through my MSDN Universal though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 02, 2006 10:52 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software issues' Subject: [AccessD] Action pack and X64 Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.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 kp at sdsonline.net Mon Dec 4 17:06:13 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 5 Dec 2006 10:06:13 +1100 Subject: [AccessD] error 3061 too few parameters 2003 Message-ID: <007401c717f8$cbdfd280$6401a8c0@office> Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From ssharkins at setel.com Mon Dec 4 17:23:05 2006 From: ssharkins at setel.com (Susan Harkins) Date: Mon, 4 Dec 2006 18:23:05 -0500 Subject: [AccessD] error 3061 too few parameters 2003 In-Reply-To: <007401c717f8$cbdfd280$6401a8c0@office> Message-ID: <003601c717fb$276c0810$2d32fad1@SUSANONE> Runs fine for me in 2003. Susan H. Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here From jimdettman at verizon.net Mon Dec 4 18:33:04 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Dec 2006 19:33:04 -0500 Subject: [AccessD] Action pack and X64 In-Reply-To: <007d01c717f3$dde06170$e1265b05@m6805> Message-ID: <001801c71804$ee5aeaa0$8abea8c0@XPS> John, Yeah, the MSDN Universal is a chunk of change. Only way I could make it somewhat palatable was to buy a two year subscription for $2,499. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 04, 2006 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action pack and X64 Jim, I could not find it in the action pack anywhere either and I don't have the funds for an MSDN subscription John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, December 04, 2006 9:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Action pack and X64 John, No, it's not in there. I just looked at my few shipments. The big focus is SBS and Office 2007. I've got it through my MSDN Universal though. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 02, 2006 10:52 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com; 'Discussion of Hardware and Software issues' Subject: [AccessD] Action pack and X64 Does anyone know if the action pack contains the X64 versions of 2003 and SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.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 kp at sdsonline.net Mon Dec 4 18:38:12 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 5 Dec 2006 11:38:12 +1100 Subject: [AccessD] error 3061 too few parameters 2003 References: <003601c717fb$276c0810$2d32fad1@SUSANONE> Message-ID: <007f01c71805$a62bf430$6401a8c0@office> ok - thanks Susan. Must be a red herring. I'll look at the underlying queries Kath ----- Original Message ----- From: Susan Harkins To: 'Access Developers discussion and problem solving' Sent: Tuesday, December 05, 2006 10:23 AM Subject: Re: [AccessD] error 3061 too few parameters 2003 Runs fine for me in 2003. Susan H. Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here -- 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 Dec 4 18:46:19 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Dec 2006 10:46:19 +1000 Subject: [AccessD] error 3061 too few parameters 2003 In-Reply-To: <007401c717f8$cbdfd280$6401a8c0@office> References: <007401c717f8$cbdfd280$6401a8c0@office> Message-ID: <45754DFB.11775.1F623080@stuart.lexacorp.com.pg> On 5 Dec 2006 at 10:06, Kath Pelletti wrote: > Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). ... > strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Does QryHistory_PortfolioMVandIncome contain any criteria that point to a control on a Form? If so, you need to use a work-round such as a static function to pass that parameter to the query rather than a control reference. (Search the archives for "Static function") But then, that shouldn't work in A2K either :-( From kp at sdsonline.net Mon Dec 4 19:04:34 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 5 Dec 2006 12:04:34 +1100 Subject: [AccessD] error 3061 too few parameters 2003 References: <007401c717f8$cbdfd280$6401a8c0@office> <45754DFB.11775.1F623080@stuart.lexacorp.com.pg> Message-ID: <008e01c71809$54b2ba40$6401a8c0@office> Yes - the underlying queries all have some form criteria......not the main query referenced in the code. I've tested all underlying queries and they work in the query window, so it could be, as you say, that I'm not going to get away with that in Access 2003, even though A2K allowed it. I'll do that search Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, December 05, 2006 11:46 AM Subject: Re: [AccessD] error 3061 too few parameters 2003 On 5 Dec 2006 at 10:06, Kath Pelletti wrote: > Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). ... > strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Does QryHistory_PortfolioMVandIncome contain any criteria that point to a control on a Form? If so, you need to use a work-round such as a static function to pass that parameter to the query rather than a control reference. (Search the archives for "Static function") But then, that shouldn't work in A2K either :-( -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Dec 4 21:06:29 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 05 Dec 2006 16:06:29 +1300 Subject: [AccessD] Combo Box not Autocompleting In-Reply-To: <20061204203654.SKHT29801.fep06.xtra.co.nz@Dalyn.dalyn.co.n z> References: <20061204053048.EVVU19621.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> <009901c71769$088c8420$6401a8c0@HAL9005> <20061204203654.SKHT29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20061205030509.KEHN23450.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> Problem solved when I managed to view the client's laptop. They had deleted in error data in a field that was being used as the first visible column of the combo box . This appeared at the top of the list as a blank. Not sure if it was a null value in the field or not, but it prevented the auto complete from working. Once we entered the data back into the field the combo box worked. Thanks everyone for your suggestions. David At 5/12/2006, you wrote: >Ok, We created a new database, and were able to get it to work using >a value list. > >We also were able to create a new form in the main database and get >the value list combo to autocomplete. > >However, when we replicated the combo box in the new form using the >query as the source, the autocomplete didn't work :-( > >I am trying to get hold of it so that I can do some tests for myself >(so far it has been via giving instructions over the phone). > >David > >At 4/12/2006, you wrote: > >">I also tried recreating the combo box direct in the 2003 copy but it > > >behaved the same way (IE no auto complete)." > > > >If you create a new form and create a combo box with a different data source > >does it behave the same way? With the same data source, does it behave the > >same way? IOW, do all combo boxes in this installation of A2K3 fail on the > >auto complete? > > > >Is Tools-->Options-->General-->Track Name Autocorrect info turned off? > >Don't see why it should matter but that seems to cause a lot of random > >problems. > > > >Rocky > > > > > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > >Sent: Sunday, December 03, 2006 9:32 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Combo Box not Autocompleting > > > >Nothing unusual. It is an ID field automatically generated. Because > >the database is so basic and has a lifespan of about three weeks, the > >data table is in the same file as the form. The same data was copied > >to the client machine as on my machine. No records have been added - > >only some fields edited. > > > >David > > > >At 4/12/2006, you wrote: > > >Well, it was a pure shot in the dark. Even a blind squirrel finds a nut > > >once in a while. > > > > > >How about the bound column? Anything out of the ordinary there? > > > > > >Rocky > > > > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > >Sent: Sunday, December 03, 2006 6:38 PM > > >To: Access Developers discussion and problem solving > > >Subject: Re: [AccessD] Combo Box not Autocompleting > > > > > >Thank for the reply Rocky, > > > > > >The database wasn't recreated in 2003. I just copied the XP file > > >onto the client's computer. > > > > > >The only thing that needed adjusting was a reference to Microsoft > > >Offic XP Web Components (Not sure what that was there for). I > > >removed the reference in both versions of the database - the XP > > >version still works fine, the 2003 still doesn't. > > > > > >I also tried recreating the combo box direct in the 2003 copy but it > > >behaved the same way (IE no auto complete). > > > > > >David > > > > > >At 4/12/2006, you wrote: > > > >On the theory that there's some difference in the combo box that you > > >dropped > > > >into the original XP mdb and the combo box that you create in A2K3, I > > >wonder > > > >what would happen if you deleted the box and re-created it on the A2K3 > > > >system? > > > > > > > >Rocky > > > > > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > > >Sent: Sunday, December 03, 2006 3:05 PM > > > >To: accessd at databaseadvisors.com > > > >Subject: [AccessD] Combo Box not Autocompleting > > > > > > > >Group, > > > > > > > >I have developed a simple database in Access XP (One table, one > > > >form). On the form is a combo box that shows all the records on the > > > >form. The bound field is a number (long) > > > > > > > >When I start entering a number the combo box auto completes it with > > > >the first match from the list. > > > > > > > >When I copy the database to another computer with Access 2003 on it > > > >(mu client's computer) the combo box does not auto > > > >complete. Entering a full number and pressing the enter key returns > > > >an error message "The Text entered is not an item on the > > > >list". However, I can scroll down the actual list and select the item. > > > > > > > >Has anyone come across this and have a fix? > > > > > > > >Regards > > > > > > > >David Emerson > > > >Dalyn Software Ltd > > > >Wellington, New Zealand >Website: http://www.databaseadvisors.com From DorisH3 at aol.com Mon Dec 4 22:00:47 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Mon, 4 Dec 2006 23:00:47 EST Subject: [AccessD] Question on hours Message-ID: I have a table that maintains the Volunteer Number, Time In, Time Out, Date Worked. I have put together a report using a query that shows the volunteers name, volunteer number, date worked, time in, time out. On the report I show all of the fields that are contained in the query along with a calculation TimeOut - TimeIn which I named Hours. My report looks like this Name Vol# Date TimeIn TimeOut Hours Alice White 1099 10/1/06 4:00 PM 7:00 PM 3 10/5/06 4:00 PM 7:00 PM 3 10/7/06 4:00 PM 7:00 PM 3 10/10/06 4:00 PM 7:00 PM 3 In the group footer I did a calculation as follows =Sum([Hours]) and in the report footer I did the same. It appears that anything under 24 hours calculates OK, anything over 24 hours is incorrect....can anyone help me...I am a novice at this so I apologize ahead of time. Doris From john at winhaven.net Mon Dec 4 23:56:25 2006 From: john at winhaven.net (John Bartow) Date: Mon, 4 Dec 2006 23:56:25 -0600 Subject: [AccessD] A2k3 Reports - hide duplicates Message-ID: <11f601c71832$199c65e0$1402a8c0@ScuzzPaq> Has anyone else had an issue with Hide Duplicates not working correctly in A2k3? I've recently upgraded an A97 app and so far its about the only issue that's shown up that makes no sense to me. This is a complicated report but given that it worked fine in A97 I would think that its not too complicated. On the second set of the third grouping the hide duplicates hides each occurrence of the field rather than just the duplicates. John B. From andy at minstersystems.co.uk Tue Dec 5 00:33:25 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 5 Dec 2006 06:33:25 -0000 Subject: [AccessD] Question on hours In-Reply-To: Message-ID: <031c01c71837$44ca3940$42f9033e@minster33c3r25> Take a look at the DateDiff function Doris. Try changing your hours calc to DateDiff("h",TimeIn,Timeout) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DorisH3 at aol.com > Sent: 05 December 2006 04:01 > To: accessd at databaseadvisors.com > Subject: [AccessD] Question on hours > > > I have a table that maintains the Volunteer Number, Time In, > Time Out, Date > Worked. I have put together a report using a query that > shows the volunteers > name, volunteer number, date worked, time in, time out. On > the report I > show all of the fields that are contained in the query along > with a calculation > TimeOut - TimeIn which I named Hours. My report looks like this > > Name Vol# Date TimeIn > TimeOut > Hours > Alice White 1099 > 10/1/06 4:00 PM > 7:00 PM > 3 > 10/5/06 4:00 PM > 7:00 PM > 3 > > 10/7/06 4:00 PM 7:00 PM 3 > 10/10/06 4:00 PM > 7:00 PM > 3 > > In the group footer I did a calculation as follows > =Sum([Hours]) and in the > report footer I did the same. > > It appears that anything under 24 hours calculates OK, > anything over 24 > hours is incorrect....can anyone help me...I am a novice at > this so I apologize > ahead of time. > > Doris > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From max at sherman.org.uk Tue Dec 5 01:51:46 2006 From: max at sherman.org.uk (Max Home) Date: Tue, 5 Dec 2006 07:51:46 -0000 Subject: [AccessD] error 3061 too few parameters 2003 In-Reply-To: <007401c717f8$cbdfd280$6401a8c0@office> Message-ID: <001e01c71842$38035880$0100a8c0@Server> Hi Kath, I was getting a similar error on a query. I was going mad trying to figure out what the problem was. It was a simply query but code based on it kept throwing up this error - same as yours below. Eventually (for no other reason than I had tried everything else) I deleted the query and re-created it. Errors disappeared. Same sql code when viewed in Notepad etc. I can only assume that for whatever reason, Access had a compilation bug on this particular query. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, December 04, 2006 11:06 PM To: Access D Normal List Subject: [AccessD] error 3061 too few parameters 2003 Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 5 03:21:06 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 05 Dec 2006 10:21:06 +0100 Subject: [AccessD] XML Import - successful!!!! Message-ID: Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. From gjgiever at myway.com Tue Dec 5 05:32:17 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Tue, 5 Dec 2006 06:32:17 -0500 (EST) Subject: [AccessD] OT: Code39 barcode font Message-ID: <20061205113217.E72EA67696@mprdmxin.myway.com> It depends on what you are doing. I use Avery Design Pro to print the bar codes for my library database. It is free and works well. Find it at: http://www.avery.com/us/Main?action=software.AverySoftwareDetail&catalogcode=WEB01&softwarecode=3200 Gary J. Giever, M.A. Applications Developer ACCMHS --- On Mon 12/04, Shamil Salakhetdinov < shamil at users.mns.ru > wrote: From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru] To: accessd at databaseadvisors.com Date: Mon, 4 Dec 2006 23:01:14 +0300 Subject: [AccessD] OT: Code39 barcode font Hello All,Could you please advise what is the best Code39 barcode TTF font (free ornot-free), which you used in your real life projects?I see quite some proposals on Internet but I have very little experience inthis area and therefore I'd better use proven suppliers of Code39 barcodeTTF fonts...For example - this looks good -http://www.barcode-1.net/pub/russadam/39code.html - but I need narrowerbarcodes for 24 - 26 pt tall ones...Thank you in advance for any hints and links...--Shamil-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From JRojas at tnco-inc.com Tue Dec 5 07:40:48 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 5 Dec 2006 08:40:48 -0500 Subject: [AccessD] Cost Rollup Logic Using Lower Level Code Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDFAF@ex2k3.corp.tnco-inc.com> Hello, I know that at some users on the list have worked on ERP systems, which is why I am posting this question to this group. I created a function that rolls the cost of part numbers using both the production detail of how to make the part as well as the bill of material. This function works great but I noticed in a couple of ERP systems that I have worked with that they use the concept of a "lower level code" to indicate the cost roll sequence. I was wondering if someone could explain how the lower level code is used in a cost roll up and what the outline of a rollup function would look like using the lower level code. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com From bchacc at san.rr.com Tue Dec 5 08:20:53 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 5 Dec 2006 06:20:53 -0800 Subject: [AccessD] Cost Rollup Logic Using Lower Level Code In-Reply-To: <758E92433C4F3740B67BE4DD369AF5772EDFAF@ex2k3.corp.tnco-inc.com> Message-ID: <000901c71878$92f32960$6401a8c0@HAL9005> Joe: >From the APICS dictionary: "LOW LEVEL CODE - Identifies the lowest level in any bill of material at which a particular component may appear. Net requirements for a given component are not calculated until all the gross requirements for that level have been calculated down to that level. Low level codes are normally calculated and maintained automatically by the computer software." I use a level code in my BOM Processor - level zero is the component level - and the levels are assigned during the cost roll up process. So I'm not using the level code in the standard way. I had to design a bit of a different approach to the cost roll-up and MRP calculating algorithm in order to make it fast enough to run on an original IBM PC AT even though it had that huge 10MB hard drive and ran at a blazing 5MHz. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, December 05, 2006 5:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Cost Rollup Logic Using Lower Level Code Hello, I know that at some users on the list have worked on ERP systems, which is why I am posting this question to this group. I created a function that rolls the cost of part numbers using both the production detail of how to make the part as well as the bill of material. This function works great but I noticed in a couple of ERP systems that I have worked with that they use the concept of a "lower level code" to indicate the cost roll sequence. I was wondering if someone could explain how the lower level code is used in a cost roll up and what the outline of a rollup function would look like using the lower level code. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: 12/4/2006 3:20 PM From rl_stewart at highstream.net Tue Dec 5 08:27:37 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 05 Dec 2006 08:27:37 -0600 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: References: Message-ID: <200612051427.kB5ERkq22764@databaseadvisors.com> I need to call a stored procedure via ADO in Access and have control go back to Access immediately instead of it waiting on the stored procedure to execute. Does anyone know how to accomplish this? Robert From garykjos at gmail.com Tue Dec 5 08:37:40 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 Dec 2006 08:37:40 -0600 Subject: [AccessD] Question on hours In-Reply-To: References: Message-ID: Doing math stuff on times is often tricky Doris. Even for old timers like me. Are the Time In and Time Out fields defined as date/dime fields? If they are I think you would be better off calculating your hours value using the DateDiff function as Andy recommended. It has the format; ----------------------------------------------------------------------------------------------- DateDiff(interval, date1, date2[, firstdayofweek[, firstweekofyear]]) ----------------------------------------------------------------------------------------------- according to my Access97 help file. And the interval code for hours is "h". so in the query you would have --------------------------------------------------------- Hours:DateDiff("h",[TimeIn],[TimeOut]) --------------------------------------------------------- You may need to reverse the TimeIn and TimeOut fields. I usually get them in the wrong order the first time I do it. I'm guessing that what might be happening in your current process is that when you get over 24 hours you are actually getting a number of days and a number of hours and you are perhaps only displaying the result in a format that shows hours and so are not seeing the number of days. By switching to use the DateDif to calculate a number of hours at a detail level your sumation will always be in hours with no date value or format getting in the way of your desired result. Doing math on date/time type fields is problematic as access always stores a date with the time even if you don't display it. If you don't specify a date it will default to the beginning date in Access Time which is December 30, 1899. So then when you start doing math on the date/time values, the results have dates in them as well as the times you are expecting. Access date/time fields are intended to represent a POINT IN TIME and not a QUANTITY OF TIME. So when you subtract one from the other you need to get the result expressed in a non-date/time type of field. Hope this helps and I didn't totally confuse you. Good luck getting it to work. Sounds like you are close. GK On 12/4/06, DorisH3 at aol.com wrote: > I have a table that maintains the Volunteer Number, Time In, Time Out, Date > Worked. I have put together a report using a query that shows the volunteers > name, volunteer number, date worked, time in, time out. On the report I > show all of the fields that are contained in the query along with a calculation > TimeOut - TimeIn which I named Hours. My report looks like this > > Name Vol# Date TimeIn TimeOut > Hours > Alice White 1099 > 10/1/06 4:00 PM 7:00 PM > 3 > 10/5/06 4:00 PM 7:00 PM > 3 > > 10/7/06 4:00 PM 7:00 PM 3 > 10/10/06 4:00 PM 7:00 PM > 3 > > In the group footer I did a calculation as follows =Sum([Hours]) and in the > report footer I did the same. > > It appears that anything under 24 hours calculates OK, anything over 24 > hours is incorrect....can anyone help me...I am a novice at this so I apologize > ahead of time. > > Doris > > -- > 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 prodevmg at yahoo.com Tue Dec 5 08:41:52 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) Subject: [AccessD] ADO Stored Procedure Call Message-ID: <20061205144152.19599.qmail@web33103.mail.mud.yahoo.com> I know this sounds simple but could you call your stored proc via a passthough query in your code? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Robert L. Stewart To: accessd at databaseadvisors.com Sent: Tuesday, December 5, 2006 8:27:37 AM Subject: [AccessD] ADO Stored Procedure Call I need to call a stored procedure via ADO in Access and have control go back to Access immediately instead of it waiting on the stored procedure to execute. Does anyone know how to accomplish this? Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From shamil at users.mns.ru Tue Dec 5 09:04:18 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 5 Dec 2006 18:04:18 +0300 Subject: [AccessD] OT: Code39 barcode font In-Reply-To: <053501c717e7$90e0bc00$8abea8c0@XPS> Message-ID: <001001c7187e$a3f7a410$6401a8c0@nant> Thank you for the link Jim. I need a font for VB.NET application - Crystal Reports report. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, December 05, 2006 12:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Code39 barcode font Shamil, While not a font, I have used AbarCode for Access for several projects and like it. No external DLLs, OCX's, etc. Here's a link: http://www.abarcode.net/en/default.asp Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 04, 2006 3:01 PM To: 'Access-D' Subject: [AccessD] OT: Code39 barcode font Hello All, Could you please advise what is the best Code39 barcode TTF font (free or not-free), which you used in your real life projects? I see quite some proposals on Internet but I have very little experience in this area and therefore I'd better use proven suppliers of Code39 barcode TTF fonts... For example - this looks good - http://www.barcode-1.net/pub/russadam/39code.html - but I need narrower barcodes for 24 - 26 pt tall ones... Thank you in advance for any hints and links... -- Shamil -- 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 shamil at users.mns.ru Tue Dec 5 09:04:18 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 5 Dec 2006 18:04:18 +0300 Subject: [AccessD] OT: Code39 barcode font In-Reply-To: <20061205113217.E72EA67696@mprdmxin.myway.com> Message-ID: <000f01c7187e$a3c59790$6401a8c0@nant> Hello Gary, I think I need just a good true type font fro VB.NET/Crystal reports application - does Avery Design Pro has something like that? - I did try to find that quickly using the link you posted here but I didn't find this information... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. Giever Sent: Tuesday, December 05, 2006 2:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Code39 barcode font It depends on what you are doing. I use Avery Design Pro to print the bar codes for my library database. It is free and works well. Find it at: http://www.avery.com/us/Main?action=software.AverySoftwareDetail&catalogcode =WEB01&softwarecode=3200 Gary J. Giever, M.A. Applications Developer ACCMHS --- On Mon 12/04, Shamil Salakhetdinov < shamil at users.mns.ru > wrote: From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru] To: accessd at databaseadvisors.com Date: Mon, 4 Dec 2006 23:01:14 +0300 Subject: [AccessD] OT: Code39 barcode font Hello All,Could you please advise what is the best Code39 barcode TTF font (free ornot-free), which you used in your real life projects?I see quite some proposals on Internet but I have very little experience inthis area and therefore I'd better use proven suppliers of Code39 barcodeTTF fonts...For example - this looks good -http://www.barcode-1.net/pub/russadam/39code.html - but I need narrowerbarcodes for 24 - 26 pt tall ones...Thank you in advance for any hints and links...--Shamil-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo /accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 5 09:19:04 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 5 Dec 2006 10:19:04 -0500 Subject: [AccessD] MDW stuff Message-ID: <00a201c71880$b43919b0$e1265b05@m6805> I have always logged in to my PC at my client's using the administrator username / password. Now that I am no longer physically close to the client, I have to troubleshoot "user problems" as a user instead of just walking to a user's computer and looking at the problem. So I asked the client to set me up a jwcolby user, which they did, but when I try to get into the database I get "database already in use or you don't have permission...". I suspect that a new MDW file was created and my new user is using that, which prevents getting in to the database. According to a KB article: By default, on computers that are running Microsoft Windows 2000, the System.mdw file is created in the user profile in the following path. NOTE: The Application Data folder is a hidden folder. C:\Documents and Settings\\Application Data\Microsoft\Access\System.MDW On my work computer there is no Access directory, and if I search for *.MDW I find them at: C:\Program Files\Common Files\System and C:\Program Files\Microsoft Office\ Office How do I determine which MDW is being used by the administrator user, and then how do I force Access to use that mdw file for the new jwc user? John W. Colby Colby Consulting www.ColbyConsulting.com From john at winhaven.net Tue Dec 5 10:18:25 2006 From: john at winhaven.net (John Bartow) Date: Tue, 5 Dec 2006 10:18:25 -0600 Subject: [AccessD] MDW stuff In-Reply-To: <00a201c71880$b43919b0$e1265b05@m6805> Message-ID: <13ba01c71888$fe4c2350$1402a8c0@ScuzzPaq> Hi JC, You could either join a different Security Workgroup or create a new one. Then, you may want to consider storing your MDW in the folder with your BEDB and have your user's App shortcut add a specific MDW file in the startup options. Here's an example of a shortcut string from my apps: "C:\Program Files\Microsoft Access Runtime\OFFICE11\LaunchAccess.EXE" /excl /runtime /profile "MyApp" /wrkgrp "N:\BEDB_Folder\system.mdw" "C:\Program Files\WinHaven LLC\MyApp.mdb" HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 05, 2006 9:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MDW stuff I have always logged in to my PC at my client's using the administrator username / password. Now that I am no longer physically close to the client, I have to troubleshoot "user problems" as a user instead of just walking to a user's computer and looking at the problem. So I asked the client to set me up a jwcolby user, which they did, but when I try to get into the database I get "database already in use or you don't have permission...". I suspect that a new MDW file was created and my new user is using that, which prevents getting in to the database. According to a KB article: By default, on computers that are running Microsoft Windows 2000, the System.mdw file is created in the user profile in the following path. NOTE: The Application Data folder is a hidden folder. C:\Documents and Settings\\Application Data\Microsoft\Access\System.MDW On my work computer there is no Access directory, and if I search for *.MDW I find them at: C:\Program Files\Common Files\System and C:\Program Files\Microsoft Office\ Office How do I determine which MDW is being used by the administrator user, and then how do I force Access to use that mdw file for the new jwc user? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DorisH3 at aol.com Tue Dec 5 11:03:27 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Tue, 5 Dec 2006 12:03:27 EST Subject: [AccessD] Question on hours again Message-ID: <539.ecb0914.32a7005f@aol.com> Hi GK, Yes, my TimeIn and TimeOut fields are Date/Time fields....I also need to show the minutes along with the hours. The DateDiff function did not work....I set it up this way in my query...Hours:DateDiff("h", [TimeOut], [TimeIn}) then I reversed the TimeOut and TimeIn fields and that showed a minus in front of the number.....what I am wondering if I could do a function that would convert everything over 24 hrs from days to hours and minutes by multiplying by 1440(24 x 60)....what do you think? Doris From adtp at airtelbroadband.in Tue Dec 5 11:42:18 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 5 Dec 2006 23:12:18 +0530 Subject: [AccessD] Question on hours References: Message-ID: <008701c71894$e9d008e0$b90765cb@pcadt> Doris, When only time part is entered in a date/time field, assumed date part for both today and the day after (in fact, all days) becomes the same. Such a situation is not well suited for flat application of DateDiff() function Function named Fn_GetMinutes() as given below, should get you the time elapsed (in minutes). As the result returned by this function is a numerical value, it can be used in any mathematical operation as desired. Incidentally, for converting the elapsed minutes into a string formatted as Hrs:Mins, function Fn_FormatMinutes() as given below, can be used. The result of function Fn_GetMinutes() can be fed into this function, so as to display the time in Hrs:Mins format. (This formatted string is however not meant to be used for any further calculations). Best wishes, A.D.Tejpal Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function ============================== ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Tuesday, December 05, 2006 09:30 Subject: [AccessD] Question on hours I have a table that maintains the Volunteer Number, Time In, Time Out, Date Worked. I have put together a report using a query that shows the volunteers name, volunteer number, date worked, time in, time out. On the report I show all of the fields that are contained in the query along with a calculation TimeOut - TimeIn which I named Hours. My report looks like this Name Vol# Date TimeIn TimeOut Hours Alice White 1099 10/1/06 4:00 PM 7:00 PM 3 10/5/06 4:00 PM 7:00 PM 3 10/7/06 4:00 PM 7:00 PM 3 10/10/06 4:00 PM 7:00 PM 3 In the group footer I did a calculation as follows =Sum([Hours]) and in the report footer I did the same. It appears that anything under 24 hours calculates OK, anything over 24 hours is incorrect....can anyone help me...I am a novice at this so I apologize ahead of time. Doris From gwsmith at iowatelecom.net Tue Dec 5 11:46:30 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 5 Dec 2006 11:46:30 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: References: Message-ID: <29674.65.118.249.214.1165340790.squirrel@webmail.iowatelecom.net> Hi Gustav Well, apparently if you use the word "KEY" within the import code, which will also become a table name, things seem to go adrift. One of the attributes is The structure and syntax within the XML file is not under my control, so I have to live with whatever they send me. And KEY is going to be in there and I have to live with that, so I either modify the file on the fly to change KEY to KEY1 or I have to find out why KEY itself won't work. But it does work, so I've got a solution...just not the nice one yet... :) Greg From:?? "Gustav Brock" ? ? Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. ? From cfoust at infostatsystems.com Tue Dec 5 12:54:10 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Dec 2006 10:54:10 -0800 Subject: [AccessD] XML Import - successful!!!! In-Reply-To: Message-ID: I've seen this kind of thing in .Net working with XML files. It doesn't throw an error, it just can't fill the stream object with any data, so nothing is imported. Putting square brackets around the offending word in the xml might work. We've done that with some success. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 05, 2006 1:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] XML Import - successful!!!! Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Dec 5 13:19:39 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 5 Dec 2006 13:19:39 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: <29674.65.118.249.214.1165340790.squirrel@webmail.iowatelecom.net> References: <29674.65.118.249.214.1165340790.squirrel@webmail.iowatelecom.net> Message-ID: <35623.65.118.249.214.1165346379.squirrel@webmail.iowatelecom.net> Well part of the response, after "attributes is", has vanished...let me try this again, Gustav...: One of the?elements is " ? ? Hi Greg I guess not. How should you have know that? So if certain words are present, an import will fail ... that sounds strange to me. What is the word, by the way? /gustav >>> gwsmith at iowatelecom.net 04-12-2006 20:54 >>> .. I had another complication that was making it fail on example #4. One of the elements in the xml that I was trying to export using, turns out to be a reserved word in Access. Would not create an error, just wouldn't import the data. DUH on me I guess. ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Dec 5 14:01:30 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 05 Dec 2006 14:01:30 -0600 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: References: Message-ID: <200612052005.kB5K5Kq20980@databaseadvisors.com> No, we are running through terminal services and to different databases. It has to go through ADO. I think I found it, but waiting on the boss to do the testing. Asynchronous mode on the connection open in ADO is supposed to allow you to close the connection and the procedure to continue to run. At 12:00 PM 12/5/2006, you wrote: >Message: 3 >Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) >From: Lonnie Johnson >Subject: Re: [AccessD] ADO Stored Procedure Call >To: Access Developers discussion and problem solving > >Message-ID: <20061205144152.19599.qmail at web33103.mail.mud.yahoo.com> >Content-Type: text/plain; charset=ascii > >I know this sounds simple but could you call your stored proc via a >passthough query in your code? > > > > > > > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us From garykjos at gmail.com Tue Dec 5 14:32:23 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 Dec 2006 14:32:23 -0600 Subject: [AccessD] Question on hours again In-Reply-To: <539.ecb0914.32a7005f@aol.com> References: <539.ecb0914.32a7005f@aol.com> Message-ID: Hi Doris, Do the TimeIn and Time out fields include only times or times and dates both? I guess if they didn't contain real dates I might recommend switching them to be jsut a plain text field but then you have to do a lot of editing and validation of the time values entered too. So maybe forget about my questioning that. If you need visibility to minutes level of detail as well as hours perhaps datadiff would still work with the Minutes interval instead of the hours one. To get Minutes from datedif you use an n instead of the h for hours. Can't use m as that means Months. n=minutes. I would then accumulate the minutes with the sum as you have been and then divide the total by 60 to get hours to display in the report. The problem then is just the remaining Minutes that don't divide evenly into 60 and how to display those. There is a MOD function that would do it for that but I wonder if there is an easier way. I guess I would have two fields displaying in the report footers, one for the hours part and one for the minutes part with the hours part something like format((sum(Minutes)\60),'0000') & *:" & format(sum(Minutes) mod 60,"00") But that is just how I might do it. Gary Kjos On 12/5/06, DorisH3 at aol.com wrote: > Hi GK, > > Yes, my TimeIn and TimeOut fields are Date/Time fields....I also need to > show the minutes along with the hours. The DateDiff function did not work....I > set it up this way in my query...Hours:DateDiff("h", [TimeOut], [TimeIn}) > then I reversed the TimeOut and TimeIn fields and that showed a minus in front > of the number.....what I am wondering if I could do a function that would > convert everything over 24 hrs from days to hours and minutes by multiplying by > 1440(24 x 60)....what do you think? > > Doris > -- > 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 Kwilliamson at RTKL.com Tue Dec 5 14:47:52 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 15:47:52 -0500 Subject: [AccessD] HELP!!! Message-ID: This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From Kwilliamson at RTKL.com Tue Dec 5 14:56:02 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 15:56:02 -0500 Subject: [AccessD] HELP!!! In-Reply-To: Message-ID: Never mind. I went to the Menu/Window/Tile Horizontally ....and everything came back. It was like they were all hidden, somehow. Don't know what I accidentally clicked to get it to do that. Grrrrrr! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Dec 5 15:02:47 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 Dec 2006 15:02:47 -0600 Subject: [AccessD] HELP!!! In-Reply-To: References: Message-ID: I fixed if for you remotely ;-) GK On 12/5/06, Keith Williamson wrote: > Never mind. I went to the Menu/Window/Tile Horizontally ....and > everything came back. It was like they were all hidden, somehow. Don't > know what I accidentally clicked to get it to do that. Grrrrrr! > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Tuesday, December 05, 2006 3:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] HELP!!! > > This is the oddest thing. When I open up my database (all of a > sudden).....it opens up to an Access blank screen. ???? I get the > same screen as if I still need to open a new access database. The file > size looks correct for the db. But if I double click it....I get > nothing. Any ideas?? > > > > THANKS!! > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Tue Dec 5 15:09:25 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 16:09:25 -0500 Subject: [AccessD] HELP!!! In-Reply-To: Message-ID: LOL!!!! Good Job. Now can you fix this formula for me, too?? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, December 05, 2006 4:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HELP!!! I fixed if for you remotely ;-) GK On 12/5/06, Keith Williamson wrote: > Never mind. I went to the Menu/Window/Tile Horizontally ....and > everything came back. It was like they were all hidden, somehow. Don't > know what I accidentally clicked to get it to do that. Grrrrrr! > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Tuesday, December 05, 2006 3:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] HELP!!! > > This is the oddest thing. When I open up my database (all of a > sudden).....it opens up to an Access blank screen. ???? I get the > same screen as if I still need to open a new access database. The file > size looks correct for the db. But if I double click it....I get > nothing. Any ideas?? > > > > THANKS!! > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 > -- 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 Lambert.Heenan at AIG.com Tue Dec 5 14:52:25 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 5 Dec 2006 14:52:25 -0600 Subject: [AccessD] HELP!!! Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2D2C3D0@xlivmbx35.aig.com> Possibly the Startup options have been changed to (a), not open any form and (b) not display the database window. Take a look at the Tools/Startup options. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Dec 5 15:45:56 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 5 Dec 2006 15:45:56 -0600 (CST) Subject: [AccessD] XML Import - successful!!!! In-Reply-To: References: Message-ID: <47584.65.118.249.214.1165355156.squirrel@webmail.iowatelecom.net> Charlotte: If the brackets you used work, and my changing the name to something else works, then either way I've got to modify the incoming XML file internally (either with brackets or a name change).? But that might explain better why it's doing that...makes more sense that it's an oddity than me just hitting a reserved word....? Thanks.? Greg =============================================== I've seen this kind of thing in .Net working with XML files. It doesn't throw an error, it just can't fill the stream object with any data, so nothing is imported. Putting square brackets around the offending word in the xml might work. We've done that with some success. Charlotte Foust From Kwilliamson at RTKL.com Tue Dec 5 16:19:18 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 5 Dec 2006 17:19:18 -0500 Subject: [AccessD] HELP!!! In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2D2C3D0@xlivmbx35.aig.com> Message-ID: Nothing unusual there. Very strange. But..it is back now. Thanks for the help. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, December 05, 2006 3:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HELP!!! Possibly the Startup options have been changed to (a), not open any form and (b) not display the database window. Take a look at the Tools/Startup options. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 DorisH3 at aol.com Tue Dec 5 16:31:42 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Tue, 5 Dec 2006 17:31:42 EST Subject: [AccessD] Question on hours again Message-ID: Hi Gary, Thanks for your help I really appreciate it....because I am a novice at this can you tell me if I put format((sum(Minutes)\60),'0000') & *:" & format(sum(Minutes) mod 60,"00") in a control on the report or do I put in the query that does the subtracting of the TimeOut and TimeIn? Sorry that I'm being such a pest. Doris From DorisH3 at aol.com Tue Dec 5 16:36:19 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Tue, 5 Dec 2006 17:36:19 EST Subject: [AccessD] Question on hours Message-ID: Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function From cfoust at infostatsystems.com Tue Dec 5 18:49:13 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Dec 2006 16:49:13 -0800 Subject: [AccessD] XML Import - successful!!!! In-Reply-To: <47584.65.118.249.214.1165355156.squirrel@webmail.iowatelecom.net> Message-ID: The other thing we run into is when we tell it to ignoreschema instead of inferschema. Access has major objections to objects named with reserved words, and its reserved words are somewhat different from SQL Server's. We try to avoid both, but we can control the XML structure, so it's easier. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, December 05, 2006 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XML Import - successful!!!! Charlotte: If the brackets you used work, and my changing the name to something else works, then either way I've got to modify the incoming XML file internally (either with brackets or a name change).? But that might explain better why it's doing that...makes more sense that it's an oddity than me just hitting a reserved word....? Thanks.? Greg =============================================== I've seen this kind of thing in .Net working with XML files. It doesn't throw an error, it just can't fill the stream object with any data, so nothing is imported. Putting square brackets around the offending word in the xml might work. We've done that with some success. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Tue Dec 5 19:32:49 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 6 Dec 2006 12:32:49 +1100 Subject: [AccessD] error 3061 too few parameters 2003 References: <001e01c71842$38035880$0100a8c0@Server> Message-ID: <002001c718d6$71cd0cc0$6401a8c0@office> I've done the same now - thanks. There were quite a few underlying queries which worked in their own right but somehow when I rewrote the 'top' level query from scratch it worked. I can't say that that was it though because I also did a bit of playing with the form criteria - adding Eval(".....") in front of the form criteria syntax. Thanks for the suggestion - don't think I would have tried it w/out the suggestion - seems too easy! Kath ----- Original Message ----- From: Max Home To: 'Access Developers discussion and problem solving' Sent: Tuesday, December 05, 2006 6:51 PM Subject: Re: [AccessD] error 3061 too few parameters 2003 Hi Kath, I was getting a similar error on a query. I was going mad trying to figure out what the problem was. It was a simply query but code based on it kept throwing up this error - same as yours below. Eventually (for no other reason than I had tried everything else) I deleted the query and re-created it. Errors disappeared. Same sql code when viewed in Notepad etc. I can only assume that for whatever reason, Access had a compilation bug on this particular query. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, December 04, 2006 11:06 PM To: Access D Normal List Subject: [AccessD] error 3061 too few parameters 2003 Anyone know why this code would give me error 3061 - 'too few parameters' when I run it in Access 2003 (it runs fine in A2K). (I have created the references and there is a ref to DAO) Dim db As Database Dim strsql As String Dim rs As DAO.Recordset Set db = CurrentDb() On Error GoTo Err_Handler strsql = "SELECT * FROM QryHistory_PortfolioMVandIncome" Debug.Print strsql Set rs = db.OpenRecordset(strsql) 'error here ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net -- 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 adtp at airtelbroadband.in Wed Dec 6 00:05:18 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 6 Dec 2006 11:35:18 +0530 Subject: [AccessD] Question on hours References: Message-ID: <00df01c718fd$a42948b0$c32b177d@pcadt> Doris, The functions are to be placed in a general module in VBA code. Go to VBA editor window (Press Alt + F11). On the editor menu bar, click Insert > Module. In the resulting module, paste both the functions, click the save icon (or press Ctrl + s) and compile by clicking Debug > Compile on the menu bar (Or press Alt, d, l). Come out of VBA editor (Press Alt + q). You can use the functions in queries as well as controls on reports/forms. Much better to use in the query itself. For example, the expression for calculated field showing elapsed time in minutes (as seen in query design grid) will be : ElapsedMinutes: Fn_GetMinutes(StartTime, FinishTime) (StartTime & FinishTime are the names of respective date/time type fields in the table) Similarly, for showing elapsed time formatted as Hrs:mins string, the expression for calculated field (as seen in query design grid) will be : ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes(StartTime, FinishTime)) Caution: As stated earlier, the formatted string (ElapsedTime) is not to be used in any further mathematical calculations. No such problem for ElapsedMinutes. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Wednesday, December 06, 2006 04:06 Subject: Re: [AccessD] Question on hours Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function From gjgiever at myway.com Wed Dec 6 05:18:57 2006 From: gjgiever at myway.com (Gary J. Giever) Date: Wed, 6 Dec 2006 06:18:57 -0500 (EST) Subject: [AccessD] OT: Code39 barcode font Message-ID: <20061206111857.903E475727@mprdmxin.myway.com> No. It is a label printing program. It prints barcodes on Avery labels. Gary J. Giever, M.A. Applications Developer ACCMHS --- On Tue 12/05, Shamil Salakhetdinov < shamil at users.mns.ru > wrote: From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru] To: accessd at databaseadvisors.com Date: Tue, 5 Dec 2006 18:04:18 +0300 Subject: Re: [AccessD] OT: Code39 barcode font Hello Gary,I think I need just a good true type font fro VB.NET/Crystal reportsapplication - does Avery Design Pro has something like that? - I did try tofind that quickly using the link you posted here but I didn't find thisinformation...--Shamil -----Original Message-----From: accessd-bounces at databaseadvisors.com[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary J. GieverSent: Tuesday, December 05, 2006 2:32 PMTo: accessd at databaseadvisors.comSubject: Re: [AccessD] OT: Code39 barcode fontIt depends on what you are doing. I use Avery Design Pro to print the barcodes for my library database. It is free and works well. Find it at:http://www.avery.com/us/Main?action=software.AverySoftwareDetail&catalogcode=WEB01&softwarecode=3200Gary J. Giever, M.A.Applications DeveloperACCMHS --- On Mon 12/04, Shamil Salakhetdinov < shamil at users.mns.ru > wrote:From: Shamil Salakhetdinov [mailto: shamil at users.mns.ru]To: accessd at databaseadvisors.comDate: Mon, 4 Dec 2006 23:01:14 +0300Subject: [AccessD] OT: Code39 barcode fontHello All,Could you please advise what is the best Code39 barcode TTF font(free ornot-free), which you used in your real life projects?I see quitesome proposals on Internet but I have very little experience inthis area andtherefore I'd better use proven suppliers of Code39 barcodeTTF fonts...Forexample - this looks good -http://www.barcode-1.net/pub/russadam/39code.html- but I need narrowerbarcodes for 24 - 26 pt tall ones...Thank you inadvance for any hints and links...--Shamil-- AccessD mailinglistAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com-- AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From jimdettman at verizon.net Wed Dec 6 08:07:50 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 06 Dec 2006 09:07:50 -0500 Subject: [AccessD] HELP!!! In-Reply-To: Message-ID: <012301c7193f$ea788730$8abea8c0@XPS> Keith, Access has a nasty habit of positioning the DBC off screen and you need to scroll. Have never been able to figure out why :( Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 5:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] HELP!!! Nothing unusual there. Very strange. But..it is back now. Thanks for the help. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, December 05, 2006 3:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] HELP!!! Possibly the Startup options have been changed to (a), not open any form and (b) not display the database window. Take a look at the Tools/Startup options. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 05, 2006 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] HELP!!! This is the oddest thing. When I open up my database (all of a sudden).....it opens up to an Access blank screen. ???? I get the same screen as if I still need to open a new access database. The file size looks correct for the db. But if I double click it....I get nothing. Any ideas?? THANKS!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 garykjos at gmail.com Wed Dec 6 08:26:51 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 6 Dec 2006 08:26:51 -0600 Subject: [AccessD] Question on hours again In-Reply-To: References: Message-ID: You are not being a pest at all. Your questions are exactly why AccessD and DatabaseAdvisors was created. All of us were new to this at one point. The Format string would do in the control source for a text box control in the report footers. You would need the previously described Minutes:datediff("h",[TimeIn],[TimeOut]) in the query for it to work in the report though. And you would need an equals sign in front of that first format. If you can get A J's VBA code based solution going that might be a better way to do it of course. But there is almost always more than one way to bet it to work too. Good luck with it. I just thought of another possible solution too. If you created another field in your data file that was the number of minutes and then populated that either at data entry time or via an update query, then you could use that field to do your totalling on. You would still have the issue of displaying hours and minutes on your report totals though. Wouldn't be considered good database design either since you would be storing a field that you could calculate from other stored fields. But some times we have to do things that are not exactly perfect from a database design point of view too. GK On 12/5/06, DorisH3 at aol.com wrote: > Hi Gary, > > Thanks for your help I really appreciate it....because I am a novice at this > can you tell me if I put format((sum(Minutes)\60),'0000') & *:" & > format(sum(Minutes) mod 60,"00") in a control on the report or do I put in the query > that does the subtracting of the TimeOut and TimeIn? Sorry that I'm being such > a pest. > > Doris > > -- > 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 bheygood at abestsystems.com Wed Dec 6 12:12:07 2006 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 6 Dec 2006 10:12:07 -0800 Subject: [AccessD] Clipboard Warning Message In-Reply-To: Message-ID: <001301c71962$0a6180c0$6401a8c0@speedy> Hello to the list, Thot I might try this one again. After copying a record in form view, when closing the form, I get a message that tells me I have copied a lot of data to the clipboard, do I want to keep it available.... Other than emptying the clipboard, can I suppress this message? If not, do we have a favorite routine to clear the clipboard? TIA Bob Heygood From herringb at charter.net Wed Dec 6 13:32:32 2006 From: herringb at charter.net (Barry G. Herring) Date: Wed, 6 Dec 2006 11:32:32 -0800 Subject: [AccessD] Clipboard Warning Message Message-ID: <814559297.1165433552236.JavaMail.root@fepweb12> You will need to reference the Microsoft Forms 2.0 Library to use this Dim MyData As DataObject Set MyData = New DataObject MyData.Clear Me.Text17.SetFocus MyData.SetText Text17.Text MyData.PutInClipboard MyData.Clear Barry ---- Bob Heygood wrote: ============= Hello to the list, Thot I might try this one again. After copying a record in form view, when closing the form, I get a message that tells me I have copied a lot of data to the clipboard, do I want to keep it available.... Other than emptying the clipboard, can I suppress this message? If not, do we have a favorite routine to clear the clipboard? TIA Bob Heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Dec 6 14:59:38 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Dec 2006 12:59:38 -0800 Subject: [AccessD] Clipboard Warning Message In-Reply-To: <001301c71962$0a6180c0$6401a8c0@speedy> References: <001301c71962$0a6180c0$6401a8c0@speedy> Message-ID: <45772F3A.7090709@shaw.ca> It is not always wise to clobber a users clipboard and the newer WinXP clipboard has multiple pages and clipboard pages can be shared across computers. Given that caveat Or see for better memory control http://support.microsoft.com/?kbid=138909 ' Place these API declarations at the top of your Form in the General 'Declarations area. Private Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Sub Clip() On Error GoTo Err_cmdClip_Click ' Open, Empty and Close Clipboard ' No Clipboard API error handling Call OpenClipboard(0&) EmptyClipboard CloseClipboard MsgBox "ClipBoard Cleared!" Exit_cmdClip_Click: Exit Sub Err_cmdClip_Click: MsgBox Err.Description Resume Exit_cmdClip_Click End Sub To view the clipboard while working with this. Sub clipview() 'http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q138/9/09.asp&NoWebContent=1 'http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q138/9/10.asp&NoWebContent=1 'for the ClipBoard viewer later. 'Acc How to Retrieve Information from the Clipboard (95/97) 'http://support.microsoft.com/default.aspx?scid=kb;EN-GB;q138910 'Perhaps the simplest way is to use DoCmd.RunCommand acPaste, 'which pastes the clipboard contents into the active control ' See if ClipBoard viewer exists 'No , there 's no Clipboard object (unless it was added in A2002 and I 'haven 't noticed it yet). Aside from the built-in RunCommand constants 'acCmdCopy, acCmdCut, acCmdPaste, acCmdPasteAppend, and 'acCmdPasteSpecial, if you want to manipulate the clipboard you can 'call the Clipboard API directly as demonstrated here: '"RunCommand acCmdCopy" will copy selected text and "RunCommand acCmdPaste" will paste it, both using 'the clipboard. Is this what you're looking for? ' http://www.mvps.org/access/api/api0049.htm 'mskb 138909 If Len(Dir("C:\WINDOWS\system32\clipbrd.exe")) > 0 Then 'Shell to open the Windows ClipBoard Viewer Shell "C:\WINDOWS\system32\clipbrd.exe", vbNormalFocus Else MsgBox "Image Copied to ClipBoard Successfully!", vbOKOnly, "Copy To ClipBoard" End If End Sub Bob Heygood wrote: >Hello to the list, >Thot I might try this one again. >After copying a record in form view, when closing the form, I get a message >that tells me I have copied a lot of data to the clipboard, do I want to >keep it available.... >Other than emptying the clipboard, can I suppress this message? >If not, do we have a favorite routine to clear the clipboard? > >TIA > >Bob Heygood > > > > -- Marty Connelly Victoria, B.C. Canada From rl_stewart at highstream.net Wed Dec 6 15:02:23 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 06 Dec 2006 15:02:23 -0600 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: References: Message-ID: <200612062106.kB6L69q15026@databaseadvisors.com> Well, that works and does not work. It kills the stored procedure if we close the connection. Any one with any ideas? At 12:00 PM 12/6/2006, you wrote: >Date: Tue, 05 Dec 2006 14:01:30 -0600 >From: "Robert L. Stewart" >Subject: Re: [AccessD] ADO Stored Procedure Call >To: accessd at databaseadvisors.com >Message-ID: <200612052005.kB5K5Kq20980 at databaseadvisors.com> >Content-Type: text/plain; charset="us-ascii"; format=flowed > >No, we are running through terminal services and to different databases. >It has to go through ADO. I think I found it, but waiting on the boss >to do the testing. Asynchronous mode on the connection open in ADO is >supposed to allow you to close the connection and the procedure to >continue to run. > >At 12:00 PM 12/5/2006, you wrote: > >Message: 3 > >Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) > >From: Lonnie Johnson > >Subject: Re: [AccessD] ADO Stored Procedure Call > >To: Access Developers discussion and problem solving > > > >Message-ID: <20061205144152.19599.qmail at web33103.mail.mud.yahoo.com> > >Content-Type: text/plain; charset=ascii > > > >I know this sounds simple but could you call your stored proc via a > >passthough query in your code? > > From cfoust at infostatsystems.com Wed Dec 6 15:46:31 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 6 Dec 2006 13:46:31 -0800 Subject: [AccessD] ADO Stored Procedure Call In-Reply-To: <200612062106.kB6L69q15026@databaseadvisors.com> Message-ID: Why are you trying to close the connection before the sp completes? That doesn't seem logical to me, and I don't see how the procedure could continue to run if you pulled the plug on the connection that powers it. You can always open other connections for other activities. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, December 06, 2006 1:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Stored Procedure Call Well, that works and does not work. It kills the stored procedure if we close the connection. Any one with any ideas? At 12:00 PM 12/6/2006, you wrote: >Date: Tue, 05 Dec 2006 14:01:30 -0600 >From: "Robert L. Stewart" >Subject: Re: [AccessD] ADO Stored Procedure Call >To: accessd at databaseadvisors.com >Message-ID: <200612052005.kB5K5Kq20980 at databaseadvisors.com> >Content-Type: text/plain; charset="us-ascii"; format=flowed > >No, we are running through terminal services and to different databases. >It has to go through ADO. I think I found it, but waiting on the boss >to do the testing. Asynchronous mode on the connection open in ADO is >supposed to allow you to close the connection and the procedure to >continue to run. > >At 12:00 PM 12/5/2006, you wrote: > >Message: 3 > >Date: Tue, 5 Dec 2006 06:41:52 -0800 (PST) > >From: Lonnie Johnson > >Subject: Re: [AccessD] ADO Stored Procedure Call > >To: Access Developers discussion and problem solving > > > >Message-ID: <20061205144152.19599.qmail at web33103.mail.mud.yahoo.com> > >Content-Type: text/plain; charset=ascii > > > >I know this sounds simple but could you call your stored proc via a > >passthough query in your code? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Wed Dec 6 15:55:15 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 6 Dec 2006 16:55:15 -0500 Subject: [AccessD] ADO Stored Procedure Call References: <200612062106.kB6L69q15026@databaseadvisors.com> Message-ID: <007601c71981$37842070$0302a8c0@default> (I just read Charlotte's response - good question.) This is little vague, but here goes ... An ActiveX EXE is 'out-of-process', so if you were to use one that brought up an (invisible) custom window, you could just quickly call FindWindow on a timer to see when the process was finished ... continue other activity meanwhile. Michael R. Mattys A MapPoint Developer www.mattysconsulting.com From BarbaraRyan at cox.net Wed Dec 6 14:45:18 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 6 Dec 2006 18:45:18 -0200 Subject: [AccessD] Independent Consulting Message-ID: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> After 20 years of working as a computer programmer/analyst (the last 7 years working exclusively with Access and Excel), I have made the decision to become an independent consultant. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! Thanks, Barb Ryan From ssharkins at setel.com Wed Dec 6 17:53:40 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 6 Dec 2006 18:53:40 -0500 Subject: [AccessD] Independent Consulting In-Reply-To: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> Message-ID: <001e01c71991$c1b20450$fc34fad1@SUSANONE> Start here: http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc orner.htm And good luck! Susan H. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! From kp at sdsonline.net Wed Dec 6 18:00:10 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Thu, 7 Dec 2006 11:00:10 +1100 Subject: [AccessD] Independent Consulting References: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> Message-ID: <089401c71992$a9f69e60$6401a8c0@office> Good luck Barb - there's some good stuff in the archive on this topic, although when I searched for the thread I have kept some items from, they didn;t come up - maybe because they were OT? Anyway_ I'll send you something off list. Kath ----- Original Message ----- From: Barbara Ryan To: Access List Sent: Thursday, December 07, 2006 7:45 AM Subject: [AccessD] Independent Consulting After 20 years of working as a computer programmer/analyst (the last 7 years working exclusively with Access and Excel), I have made the decision to become an independent consultant. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Dec 6 15:30:00 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 6 Dec 2006 19:30:00 -0200 Subject: [AccessD] Independent Consulting References: <00a401c71977$7079c6a0$0a00a8c0@PCRURI35> Message-ID: <00fc01c7197d$af14f0a0$0a00a8c0@PCRURI35> Thanks Kath, Susan, and John for the great information!...Barb ----- Original Message ----- From: "Barbara Ryan" To: "Access List" Sent: Wednesday, December 06, 2006 6:45 PM Subject: [AccessD] Independent Consulting > After 20 years of working as a computer programmer/analyst (the last 7 > years working exclusively with Access and Excel), I have made the decision > to become an independent consultant. > > Any advice? Suggestions on nformational resources about consulting > (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I > need a lawyer AND an accountant? Any 'gotchas' that I should look out > for? This is pretty scary for me! > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Dec 6 18:38:22 2006 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Dec 2006 18:38:22 -0600 Subject: [AccessD] Independent Consulting In-Reply-To: <25807139.1165449109211.JavaMail.root@sniper64> Message-ID: <000001c71998$009b7560$0200a8c0@danwaters> Hi Barb, Having done this 4 years ago, these are my thoughts: 1) Charge a respectable rate. I started out charging $50/hr, only to find out that potential customers would see that as me not knowing what I'm doing. Next year I'm charging $120/hr without complaint. If a customer can easily see that they get more value than they paid you, they won't worry about your rate. You might charge a fixed rate for certain projects - a chance for more money. Another possibility, although a challenge to implement, could be to charge an ongoing or one-time percent of the value you have provided to them. 2) Explicitly tell potential customers how they will gain more value than you will charge. Go into some detail on this - they will then feel like they are informed and be more comfortable with you. 3) Go a little slow - get to know your primary contacts somewhat personally. This goes a long way toward trust and being able to resolve the inevitable conflicts that arise, and they'll open up more to you. But, remember that their primary loyalty will stay with their own company. 4) Always be on your customers' side. Provide solutions and suggestions they didn't think of. 5) Don't start work until you've signed a contract. I got slightly burned on this once. A good contract structure is to agree on how to work together. Then you can write a new Statement of Work for each project which gets into deliverables, schedules, payments, and so forth. This reduces the trepidation associated with signing a contract. If you've got a good history with a client, and YOU feel comfortable you can make verbal agreements. Some people are quite uncomfortable with written agreements (they may not say so) and may avoid you just to avoid the written agreement. 6) Consider being a Limited Liability Corporation (LLC). This avoids the difficulty of being a subchapter S corp, and gives you protection like a corporation. Talk to attorney about this though. 7) An Accountant? - I guess that depends on your billing rate! I don't use an accountant, but since I'm finally making some money this year, it hasn't mattered till now. 8) Set up a small web site. This gives you a presence that other people can quickly find if you give them your business card. For your site, you will drive people to it for more information - don't expect your web site to generate business for you. Be very clear and comprehensive on your site as to what you do. Make it simple and easy to read - no flashy graphics - it's a business site. The purpose of your web site is to get people interested enough to CALL you - not to sell you. Don't provide enough information that would allow people to cross you off their list. Your goal is to talk to them person to person - you sell you - not your site! 9) At first, your ability to sell and market yourself is what makes you or breaks you. If you can find a mentor to help you with this, pay them! I was introduced to a person who is a software salesperson, and his help has been invaluable. 10) I've come up against a situation where the IT folks in a customer's site feel competitive with me. If this happens you can't stop it - it's their emotions. Just be aware that can this occur. 11) Emphasize the comprehensiveness of your experience. Managers like people who can do a lot. 12) Some customers may want you to take the lead on a project! Managers also like people who can start the job and get it done so they can do other things. If you are a good project manager then you are more valuable! With one customer, I update and provide a gannt chart weekly, and I gently bug people to get things done. 13) References give you credibility as an independent person! If you can, find some small jobs, maybe for people you know, and get references that way. It will help! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Wednesday, December 06, 2006 2:45 PM To: Access List Subject: [AccessD] Independent Consulting After 20 years of working as a computer programmer/analyst (the last 7 years working exclusively with Access and Excel), I have made the decision to become an independent consultant. Any advice? Suggestions on nformational resources about consulting (books, websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a lawyer AND an accountant? Any 'gotchas' that I should look out for? This is pretty scary for me! Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Dec 6 21:21:13 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 6 Dec 2006 22:21:13 -0500 Subject: [AccessD] Independent Consulting References: <001e01c71991$c1b20450$fc34fad1@SUSANONE> Message-ID: <013c01c719ae$c09c4860$3e3de844@50NM721> ...lol ...didn't realize that was still around :) ...Barb ...work on building your references BEFORE you take the leap if at all possible ...look for charitable institutions that need help and do it for free or nearly so ...but do it as if they were paying your top rate ...making them ecstatic is the goal ...and understand that it is not their reference per se that you are after but that of other business people that are inevitably involved in such orgs ...they get to know you and the quality of work you do and a lot of them will pass your name on ...I still get calls that originated with a children's home I've not worked with in three years now. ...tap into accountants and small systems support consultants ...they rarely have database skills themselves but they have plenty of clients who have constant needs ...if you can get one or more accountants or system guys giving you an occasional referral, you'll be earning a living before you know it ...chamber of commerce meetings can be productive but I've found that hooking into my own client's accountant and systems people is the best way to spread your referral base. ...keep your expenses under control ...spend absolutely nothing that you don't have to ...you don't need a fancy office or a new computer or a half-page ad in the YP ...not unless your private savings or retirement check are a lot larger than mine ...and watch the government types, they'll kill you with mind numbing crap like fire inspections twice a year in your home office at $180 a whack ...the list is endless :( ...buy insurance very carefully if you need it ...a health savings account with a very high deductible works best for me but I've so far been fortunate to be in good health. ...otoh, if you make it through your first year you may be like me and wonder why in the heck you didn't do it 20 years sooner :) William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, December 06, 2006 6:53 PM Subject: Re: [AccessD] Independent Consulting > Start here: > > http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc > orner.htm > > And good luck! > > Susan H. > > Any advice? Suggestions on nformational resources about consulting > (books, > websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a > lawyer AND an accountant? Any 'gotchas' that I should look out for? This > is pretty scary for me! > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BarbaraRyan at cox.net Thu Dec 7 03:56:42 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 7 Dec 2006 07:56:42 -0200 Subject: [AccessD] Independent Consulting References: <001e01c71991$c1b20450$fc34fad1@SUSANONE> <013c01c719ae$c09c4860$3e3de844@50NM721> Message-ID: <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> You guys are great --- I appreciate the time you've taken to give me all this information --- and you don't even know me! Thanks. Barb ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, December 07, 2006 1:21 AM Subject: Re: [AccessD] Independent Consulting > ...lol ...didn't realize that was still around :) > > ...Barb ...work on building your references BEFORE you take the leap if at > all possible ...look for charitable institutions that need help and do it > for free or nearly so ...but do it as if they were paying your top rate > ...making them ecstatic is the goal ...and understand that it is not their > reference per se that you are after but that of other business people that > are inevitably involved in such orgs ...they get to know you and the > quality > of work you do and a lot of them will pass your name on ...I still get > calls > that originated with a children's home I've not worked with in three years > now. > > ...tap into accountants and small systems support consultants ...they > rarely > have database skills themselves but they have plenty of clients who have > constant needs ...if you can get one or more accountants or system guys > giving you an occasional referral, you'll be earning a living before you > know it ...chamber of commerce meetings can be productive but I've found > that hooking into my own client's accountant and systems people is the > best > way to spread your referral base. > > ...keep your expenses under control ...spend absolutely nothing that you > don't have to ...you don't need a fancy office or a new computer or a > half-page ad in the YP ...not unless your private savings or retirement > check are a lot larger than mine ...and watch the government types, > they'll > kill you with mind numbing crap like fire inspections twice a year in your > home office at $180 a whack ...the list is endless :( > > ...buy insurance very carefully if you need it ...a health savings account > with a very high deductible works best for me but I've so far been > fortunate > to be in good health. > > ...otoh, if you make it through your first year you may be like me and > wonder why in the heck you didn't do it 20 years sooner :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, December 06, 2006 6:53 PM > Subject: Re: [AccessD] Independent Consulting > > >> Start here: >> >> http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc >> orner.htm >> >> And good luck! >> >> Susan H. >> >> Any advice? Suggestions on nformational resources about consulting >> (books, >> websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >> lawyer AND an accountant? Any 'gotchas' that I should look out for? >> This >> is pretty scary for me! >> >> >> -- >> 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 Kwilliamson at RTKL.com Thu Dec 7 07:52:24 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 7 Dec 2006 08:52:24 -0500 Subject: [AccessD] Independent Consulting In-Reply-To: <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> Message-ID: You know, guys....something to consider. Last night, I had a home inspection on a house we are settling on, beginning of January. The inspector, when he finished up his report, handed it to me inside a Brinks Home Security folder. He told me that Brinks PAID him to do this. So...all his customers got a de facto reference for Brinks. I thought that was a brilliant idea. It is a perfect blend of associated services, reaching the perfect target market. IF you can find an IT person (I doubt an accounting service would...but maybe a simple bookkeeping service) to do the same with YOUR references....it might be a similar targeting of a potential target market. Something to think about. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Thursday, December 07, 2006 4:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Independent Consulting You guys are great --- I appreciate the time you've taken to give me all this information --- and you don't even know me! Thanks. Barb ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, December 07, 2006 1:21 AM Subject: Re: [AccessD] Independent Consulting > ...lol ...didn't realize that was still around :) > > ...Barb ...work on building your references BEFORE you take the leap if at > all possible ...look for charitable institutions that need help and do it > for free or nearly so ...but do it as if they were paying your top rate > ...making them ecstatic is the goal ...and understand that it is not their > reference per se that you are after but that of other business people that > are inevitably involved in such orgs ...they get to know you and the > quality > of work you do and a lot of them will pass your name on ...I still get > calls > that originated with a children's home I've not worked with in three years > now. > > ...tap into accountants and small systems support consultants ...they > rarely > have database skills themselves but they have plenty of clients who have > constant needs ...if you can get one or more accountants or system guys > giving you an occasional referral, you'll be earning a living before you > know it ...chamber of commerce meetings can be productive but I've found > that hooking into my own client's accountant and systems people is the > best > way to spread your referral base. > > ...keep your expenses under control ...spend absolutely nothing that you > don't have to ...you don't need a fancy office or a new computer or a > half-page ad in the YP ...not unless your private savings or retirement > check are a lot larger than mine ...and watch the government types, > they'll > kill you with mind numbing crap like fire inspections twice a year in your > home office at $180 a whack ...the list is endless :( > > ...buy insurance very carefully if you need it ...a health savings account > with a very high deductible works best for me but I've so far been > fortunate > to be in good health. > > ...otoh, if you make it through your first year you may be like me and > wonder why in the heck you didn't do it 20 years sooner :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, December 06, 2006 6:53 PM > Subject: Re: [AccessD] Independent Consulting > > >> Start here: >> >> http://www.databaseadvisors.com/newsletters/newsletter072001/0107consult antc >> orner.htm >> >> And good luck! >> >> Susan H. >> >> Any advice? Suggestions on nformational resources about consulting >> (books, >> websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >> lawyer AND an accountant? Any 'gotchas' that I should look out for? >> This >> is pretty scary for me! >> >> >> -- >> 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 Lambert.Heenan at AIG.com Thu Dec 7 08:08:12 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Dec 2006 08:08:12 -0600 Subject: [AccessD] Clipboard Warning Message Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2010BC894@xlivmbx35.aig.com> I find this 'feature' mildly irritating too, but I see little benefit in trying to run a routine to clear the clipboard after copying data from a query result set. What the difference between, clicking the button Access displays to say "no, don't keep the clipboard contents", or (possibly) clicking a toolbar button to run a "clear the clipboard" routine? Or am I just dumb enough to be missing the point? :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Wednesday, December 06, 2006 1:12 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clipboard Warning Message Hello to the list, Thot I might try this one again. After copying a record in form view, when closing the form, I get a message that tells me I have copied a lot of data to the clipboard, do I want to keep it available.... Other than emptying the clipboard, can I suppress this message? If not, do we have a favorite routine to clear the clipboard? TIA Bob Heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From susanj at sgmeet.com Thu Dec 7 10:03:40 2006 From: susanj at sgmeet.com (Susan Jones) Date: Thu, 07 Dec 2006 10:03:40 -0600 Subject: [AccessD] Runtime error '2424' - do I care? should I care? Message-ID: <7.0.1.0.2.20061207095747.04cf8670@sgmeet.com> One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones From prosoft6 at hotmail.com Thu Dec 7 10:28:00 2006 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 7 Dec 2006 11:28:00 -0500 Subject: [AccessD] Runtime error '2424' - do I care? should I care? In-Reply-To: <7.0.1.0.2.20061207095747.04cf8670@sgmeet.com> Message-ID: Check the order of references............are they the same on all machines, or is this machine behind on patches? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Jones Sent: Thursday, December 07, 2006 11:04 AM To: accessd at databaseadvisors.com Subject: [AccessD] Runtime error '2424' - do I care? should I care? One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Dec 7 10:35:34 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 07 Dec 2006 16:35:34 +0000 Subject: [AccessD] Independent Consulting Message-ID: Dan, Great insight. I'm no longer an Independent, but one comment especially caught my attention. >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. My mentor is also a software salesperson. I wonder if this is coincidence or a logical pairing of occupations. Just a thought, Mark A. Matte >From: "Dan Waters" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Independent Consulting >Date: Wed, 6 Dec 2006 18:38:22 -0600 > >Hi Barb, > >Having done this 4 years ago, these are my thoughts: > >1) Charge a respectable rate. I started out charging $50/hr, only to find >out that potential customers would see that as me not knowing what I'm >doing. Next year I'm charging $120/hr without complaint. If a customer >can >easily see that they get more value than they paid you, they won't worry >about your rate. You might charge a fixed rate for certain projects - a >chance for more money. Another possibility, although a challenge to >implement, could be to charge an ongoing or one-time percent of the value >you have provided to them. > >2) Explicitly tell potential customers how they will gain more value than >you will charge. Go into some detail on this - they will then feel like >they are informed and be more comfortable with you. > >3) Go a little slow - get to know your primary contacts somewhat >personally. This goes a long way toward trust and being able to resolve >the >inevitable conflicts that arise, and they'll open up more to you. But, >remember that their primary loyalty will stay with their own company. > >4) Always be on your customers' side. Provide solutions and suggestions >they didn't think of. > >5) Don't start work until you've signed a contract. I got slightly burned >on this once. A good contract structure is to agree on how to work >together. Then you can write a new Statement of Work for each project >which >gets into deliverables, schedules, payments, and so forth. This reduces >the >trepidation associated with signing a contract. If you've got a good >history with a client, and YOU feel comfortable you can make verbal >agreements. Some people are quite uncomfortable with written agreements >(they may not say so) and may avoid you just to avoid the written >agreement. > > >6) Consider being a Limited Liability Corporation (LLC). This avoids the >difficulty of being a subchapter S corp, and gives you protection like a >corporation. Talk to attorney about this though. > >7) An Accountant? - I guess that depends on your billing rate! I don't >use >an accountant, but since I'm finally making some money this year, it hasn't >mattered till now. > >8) Set up a small web site. This gives you a presence that other people >can quickly find if you give them your business card. For your site, you >will drive people to it for more information - don't expect your web site >to >generate business for you. Be very clear and comprehensive on your site as >to what you do. Make it simple and easy to read - no flashy graphics - >it's >a business site. The purpose of your web site is to get people interested >enough to CALL you - not to sell you. Don't provide enough information >that >would allow people to cross you off their list. Your goal is to talk to >them person to person - you sell you - not your site! > >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. > >10) I've come up against a situation where the IT folks in a customer's >site feel competitive with me. If this happens you can't stop it - it's >their emotions. Just be aware that can this occur. > >11) Emphasize the comprehensiveness of your experience. Managers like >people who can do a lot. > >12) Some customers may want you to take the lead on a project! Managers >also like people who can start the job and get it done so they can do other >things. If you are a good project manager then you are more valuable! >With >one customer, I update and provide a gannt chart weekly, and I gently bug >people to get things done. > >13) References give you credibility as an independent person! If you can, >find some small jobs, maybe for people you know, and get references that >way. It will help! > > >Best of Luck! > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >Sent: Wednesday, December 06, 2006 2:45 PM >To: Access List >Subject: [AccessD] Independent Consulting > >After 20 years of working as a computer programmer/analyst (the last 7 >years >working exclusively with Access and Excel), I have made the decision to >become an independent consultant. > >Any advice? Suggestions on nformational resources about consulting (books, >websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >lawyer AND an accountant? Any 'gotchas' that I should look out for? This >is pretty scary for me! > >Thanks, >Barb Ryan >-- >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 _________________________________________________________________ Get the latest Windows Live Messenger 8.1 Beta version.?Join now. http://ideas.live.com From ssharkins at setel.com Thu Dec 7 10:49:52 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 7 Dec 2006 11:49:52 -0500 Subject: [AccessD] Runtime error '2424' - do I care? should I care? In-Reply-To: Message-ID: <001e01c71a1f$b80dd0d0$ecb82ad1@SUSANONE> Susan, wildcards are specific to libraries. For instance, VBA uses * and ?, and ADO uses % and _, respectively. Can you show us the code and tell us which statement is causing the error? Susan H. Check the order of references............are they the same on all machines, or is this machine behind on patches? One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones -- 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.16/552 - Release Date: 11/26/2006 From john at winhaven.net Thu Dec 7 12:04:52 2006 From: john at winhaven.net (John Bartow) Date: Thu, 7 Dec 2006 12:04:52 -0600 Subject: [AccessD] Clipboard Warning Message In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2010BC894@xlivmbx35.aig.com> Message-ID: <027a01c71a2a$31cd5f80$1402a8c0@ScuzzPaq> Lambert, I don't think you're missing the point. Apparently some people are just more easily irritated than you ;o) I just clear the clipboard after they use my icons to paste. Basically its VBA that says paste then clear. If they paste into a different app they have to deal with windows. But for the most my end users click mini-icons I add to the app. I also add shortcut menu items to do the same. I also have some copy/paste commands that format the pasted item into particular formats like phone numbers with the (nnn) nnn-nnnn format or standard label address formats etc. Little end user niceties :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, December 07, 2006 8:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clipboard Warning Message I find this 'feature' mildly irritating too, but I see little benefit in trying to run a routine to clear the clipboard after copying data from a query result set. What the difference between, clicking the button Access displays to say "no, don't keep the clipboard contents", or (possibly) clicking a toolbar button to run a "clear the clipboard" routine? Or am I just dumb enough to be missing the point? :-) Lambert From Lambert.Heenan at AIG.com Thu Dec 7 13:22:47 2006 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Dec 2006 13:22:47 -0600 Subject: [AccessD] Clipboard Warning Message Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C2010BCA90@xlivmbx35.aig.com> Ahhhh. Now I see... I has assumed ("makes an ass out of u and me") that we were talking about a favored user with full access (such as yourself) who was manually running queries, and copying data and pasting. It did not occur to silly me that we were talking about automated copy/paste operations that the regular users were performing. Personally I avoid those kind of problems by using TransferText to export query result into Excel instead of copying and pasting. For quick one-off questions I write the query and copy/paste myself. So I know that it's OK to just discard the clipboard at the end. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 07, 2006 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clipboard Warning Message Lambert, I don't think you're missing the point. Apparently some people are just more easily irritated than you ;o) I just clear the clipboard after they use my icons to paste. Basically its VBA that says paste then clear. If they paste into a different app they have to deal with windows. But for the most my end users click mini-icons I add to the app. I also add shortcut menu items to do the same. I also have some copy/paste commands that format the pasted item into particular formats like phone numbers with the (nnn) nnn-nnnn format or standard label address formats etc. Little end user niceties :o) From accessd at shaw.ca Thu Dec 7 13:38:20 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 11:38:20 -0800 Subject: [AccessD] Runtime error '2424' - do I care? should I care? In-Reply-To: <7.0.1.0.2.20061207095747.04cf8670@sgmeet.com> Message-ID: <0J9X0040K54ZPKG0@l-daemon> Hi Susan: Is the company using an identical software version and was all the latest patches applied or feature installed? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Jones Sent: Thursday, December 07, 2006 8:04 AM To: accessd at databaseadvisors.com Subject: [AccessD] Runtime error '2424' - do I care? should I care? One computer in our office keeps giving this error message when running a search of a zip code field (using a wildcard). I've never had it happen to me, so I don't know how to look for the problem. If you choose End, it finds what you're searching for. The other option is Debug. Haven't gone there because I don't know what I'd do when I got there. Waiting for the error to come up again and I'll see what happens on Debug. It's not consistently appearing and I can't replicate it on my computer no matter how I copy her searches. Could the error be specific to that computer? I know it shouldn't be happening, but that doesn't necessarily translate into something I need to focus on while busy with other projects. Do I need to spend time looking into this? Thanks for any help! Susan Jones -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 7 13:56:16 2006 From: john at winhaven.net (John Bartow) Date: Thu, 7 Dec 2006 13:56:16 -0600 Subject: [AccessD] Virginia Beach/Norfolk area Message-ID: <000501c71a39$c1ecfb20$1402a8c0@ScuzzPaq> Would any Independant Access developers in the Virginia Beach/Norfolk area please contact me off-list? Thanks, John B. From dwaters at usinternet.com Thu Dec 7 14:23:12 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 7 Dec 2006 14:23:12 -0600 Subject: [AccessD] Independent Consulting In-Reply-To: <7898753.1165510239815.JavaMail.root@sniper55> Message-ID: <004201c71a3d$85af1680$0200a8c0@danwaters> Hi Mark, Yes! It is a good pairing, although there must be several developers for one salesperson. He works in a small MS ISV shop, and he's the only salesperson. Dan Waters -----Original Message----- Subject: Re: [AccessD] Independent Consulting Dan, Great insight. I'm no longer an Independent, but one comment especially caught my attention. >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. My mentor is also a software salesperson. I wonder if this is coincidence or a logical pairing of occupations. Just a thought, Mark A. Matte >From: "Dan Waters" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Independent Consulting >Date: Wed, 6 Dec 2006 18:38:22 -0600 > >Hi Barb, > >Having done this 4 years ago, these are my thoughts: > >1) Charge a respectable rate. I started out charging $50/hr, only to find >out that potential customers would see that as me not knowing what I'm >doing. Next year I'm charging $120/hr without complaint. If a customer >can >easily see that they get more value than they paid you, they won't worry >about your rate. You might charge a fixed rate for certain projects - a >chance for more money. Another possibility, although a challenge to >implement, could be to charge an ongoing or one-time percent of the value >you have provided to them. > >2) Explicitly tell potential customers how they will gain more value than >you will charge. Go into some detail on this - they will then feel like >they are informed and be more comfortable with you. > >3) Go a little slow - get to know your primary contacts somewhat >personally. This goes a long way toward trust and being able to resolve >the >inevitable conflicts that arise, and they'll open up more to you. But, >remember that their primary loyalty will stay with their own company. > >4) Always be on your customers' side. Provide solutions and suggestions >they didn't think of. > >5) Don't start work until you've signed a contract. I got slightly burned >on this once. A good contract structure is to agree on how to work >together. Then you can write a new Statement of Work for each project >which >gets into deliverables, schedules, payments, and so forth. This reduces >the >trepidation associated with signing a contract. If you've got a good >history with a client, and YOU feel comfortable you can make verbal >agreements. Some people are quite uncomfortable with written agreements >(they may not say so) and may avoid you just to avoid the written >agreement. > > >6) Consider being a Limited Liability Corporation (LLC). This avoids the >difficulty of being a subchapter S corp, and gives you protection like a >corporation. Talk to attorney about this though. > >7) An Accountant? - I guess that depends on your billing rate! I don't >use >an accountant, but since I'm finally making some money this year, it hasn't >mattered till now. > >8) Set up a small web site. This gives you a presence that other people >can quickly find if you give them your business card. For your site, you >will drive people to it for more information - don't expect your web site >to >generate business for you. Be very clear and comprehensive on your site as >to what you do. Make it simple and easy to read - no flashy graphics - >it's >a business site. The purpose of your web site is to get people interested >enough to CALL you - not to sell you. Don't provide enough information >that >would allow people to cross you off their list. Your goal is to talk to >them person to person - you sell you - not your site! > >9) At first, your ability to sell and market yourself is what makes you or >breaks you. If you can find a mentor to help you with this, pay them! I >was introduced to a person who is a software salesperson, and his help has >been invaluable. > >10) I've come up against a situation where the IT folks in a customer's >site feel competitive with me. If this happens you can't stop it - it's >their emotions. Just be aware that can this occur. > >11) Emphasize the comprehensiveness of your experience. Managers like >people who can do a lot. > >12) Some customers may want you to take the lead on a project! Managers >also like people who can start the job and get it done so they can do other >things. If you are a good project manager then you are more valuable! >With >one customer, I update and provide a gannt chart weekly, and I gently bug >people to get things done. > >13) References give you credibility as an independent person! If you can, >find some small jobs, maybe for people you know, and get references that >way. It will help! > > >Best of Luck! > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >Sent: Wednesday, December 06, 2006 2:45 PM >To: Access List >Subject: [AccessD] Independent Consulting > >After 20 years of working as a computer programmer/analyst (the last 7 >years >working exclusively with Access and Excel), I have made the decision to >become an independent consultant. > >Any advice? Suggestions on nformational resources about consulting (books, >websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >lawyer AND an accountant? Any 'gotchas' that I should look out for? This >is pretty scary for me! > >Thanks, >Barb Ryan >-- >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 _________________________________________________________________ Get the latest Windows Live Messenger 8.1 Beta version. Join now. http://ideas.live.com From dwaters at usinternet.com Thu Dec 7 14:53:08 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 7 Dec 2006 14:53:08 -0600 Subject: [AccessD] Access 2007 RSS Link Message-ID: <004601c71a41$b3c13a90$0200a8c0@danwaters> This is the link: http://blogs.msdn.com/access/rss.xml Dan Waters From accessd at shaw.ca Thu Dec 7 15:54:15 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 13:54:15 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <013c01c719ae$c09c4860$3e3de844@50NM721> Message-ID: <0J9X002W3BFIOE31@l-daemon> OT Hi All: Does anyone know of a application that will convert graphic PNM format to JPEG format. As the PNM format is a rarely used format... (Still used in Linux.) It is difficult to find a Windows converter that is not well priced. It is unlikely that I will be using that conversion method on a regular base so I am reluctant to invest. MTIA Jim From dmcafee at pacbell.net Thu Dec 7 16:05:39 2006 From: dmcafee at pacbell.net (David Mcafee) Date: Thu, 7 Dec 2006 14:05:39 -0800 (PST) Subject: [AccessD] OT graphic PNM format to JPEG Message-ID: <20061207220539.94737.qmail@web80807.mail.mud.yahoo.com> If you have a smaple picture I can check if Photoshop CS2 can open it. If so, I'm sure it will be able to save as jpeg. ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Thursday, December 7, 2006 1:54:15 PM Subject: [AccessD] OT graphic PNM format to JPEG OT Hi All: Does anyone know of a application that will convert graphic PNM format to JPEG format. As the PNM format is a rarely used format... (Still used in Linux.) It is difficult to find a Windows converter that is not well priced. It is unlikely that I will be using that conversion method on a regular base so I am reluctant to invest. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 7 16:22:51 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Dec 2006 08:22:51 +1000 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9X002W3BFIOE31@l-daemon> References: <013c01c719ae$c09c4860$3e3de844@50NM721>, <0J9X002W3BFIOE31@l-daemon> Message-ID: <4578943B.16547.18F99F94@stuart.lexacorp.com.pg> On 7 Dec 2006 at 13:54, Jim Lawrence wrote: > OT > > Hi All: > > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Freeware: http://www.pictview.com/pvw.htm The GUI can view then but can't convert them. The Console version will convert to/from PNM and lots of other formats including jpeg Shareware: http://www.ayeview.com/ ($20)-- Stuart From accessd at shaw.ca Thu Dec 7 18:10:24 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 16:10:24 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <20061207220539.94737.qmail@web80807.mail.mud.yahoo.com> Message-ID: <0J9X00M6FHQCTBS0@l-daemon> Hi David: Thanks you for the offer but I was not aware that Photoshop CS2 could read PNM files... if I am wrong I stand corrected. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Mcafee Sent: Thursday, December 07, 2006 2:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG If you have a smaple picture I can check if Photoshop CS2 can open it. If so, I'm sure it will be able to save as jpeg. ----- Original Message ---- From: Jim Lawrence To: Access Developers discussion and problem solving Sent: Thursday, December 7, 2006 1:54:15 PM Subject: [AccessD] OT graphic PNM format to JPEG OT Hi All: Does anyone know of a application that will convert graphic PNM format to JPEG format. As the PNM format is a rarely used format... (Still used in Linux.) It is difficult to find a Windows converter that is not well priced. It is unlikely that I will be using that conversion method on a regular base so I am reluctant to invest. MTIA 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 martyconnelly at shaw.ca Thu Dec 7 18:27:09 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 07 Dec 2006 16:27:09 -0800 Subject: [AccessD] Independent Consulting In-Reply-To: <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> References: <001e01c71991$c1b20450$fc34fad1@SUSANONE> <013c01c719ae$c09c4860$3e3de844@50NM721> <004e01c719e5$ffda72e0$0a00a8c0@PCRURI35> Message-ID: <4578B15D.8090807@shaw.ca> Here is a freebie accounting program from MS Microsoft Accounting Express 2007 200 MB download http://ideawins.com/ or you could get a developers copy of QuickBooks by filling in the forms from their partner program Barbara Ryan wrote: >You guys are great --- I appreciate the time you've taken to give me all >this information --- and you don't even know me! Thanks. > >Barb >----- Original Message ----- >From: "William Hindman" >To: "Access Developers discussion and problem solving" > >Sent: Thursday, December 07, 2006 1:21 AM >Subject: Re: [AccessD] Independent Consulting > > > > >>...lol ...didn't realize that was still around :) >> >>...Barb ...work on building your references BEFORE you take the leap if at >>all possible ...look for charitable institutions that need help and do it >>for free or nearly so ...but do it as if they were paying your top rate >>...making them ecstatic is the goal ...and understand that it is not their >>reference per se that you are after but that of other business people that >>are inevitably involved in such orgs ...they get to know you and the >>quality >>of work you do and a lot of them will pass your name on ...I still get >>calls >>that originated with a children's home I've not worked with in three years >>now. >> >>...tap into accountants and small systems support consultants ...they >>rarely >>have database skills themselves but they have plenty of clients who have >>constant needs ...if you can get one or more accountants or system guys >>giving you an occasional referral, you'll be earning a living before you >>know it ...chamber of commerce meetings can be productive but I've found >>that hooking into my own client's accountant and systems people is the >>best >>way to spread your referral base. >> >>...keep your expenses under control ...spend absolutely nothing that you >>don't have to ...you don't need a fancy office or a new computer or a >>half-page ad in the YP ...not unless your private savings or retirement >>check are a lot larger than mine ...and watch the government types, >>they'll >>kill you with mind numbing crap like fire inspections twice a year in your >>home office at $180 a whack ...the list is endless :( >> >>...buy insurance very carefully if you need it ...a health savings account >>with a very high deductible works best for me but I've so far been >>fortunate >>to be in good health. >> >>...otoh, if you make it through your first year you may be like me and >>wonder why in the heck you didn't do it 20 years sooner :) >> >>William Hindman >> >>----- Original Message ----- >>From: "Susan Harkins" >>To: "'Access Developers discussion and problem solving'" >> >>Sent: Wednesday, December 06, 2006 6:53 PM >>Subject: Re: [AccessD] Independent Consulting >> >> >> >> >>>Start here: >>> >>>http://www.databaseadvisors.com/newsletters/newsletter072001/0107consultantc >>>orner.htm >>> >>>And good luck! >>> >>>Susan H. >>> >>>Any advice? Suggestions on nformational resources about consulting >>>(books, >>>websites,etc.)? How to set a billing rate? Marketing ideas? Do I need a >>>lawyer AND an accountant? Any 'gotchas' that I should look out for? >>>This >>>is pretty scary for me! >>> >>> >>>-- >>>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 >> >> > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Dec 7 19:06:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 07 Dec 2006 17:06:58 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <4578943B.16547.18F99F94@stuart.lexacorp.com.pg> Message-ID: <0J9X007A7KCOBTU0@l-daemon> Thank you Stuart. :-) Scanned that program earlier this morning but I did not notice it had an extraction command line tool that could convert files. The command line interface is a bear as the instructions are not very clear and have no example but persistence paid off. It could be a great tool used in conjunction some applications that require very fast graphic file conversion functionality. Below is a sample that I used: C:\downloads\convertors\PVW32Con L:\Downloads\source.pnm -j --o D:\temp\destination01.jpg (from a PNM format to a JPEG format) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, December 07, 2006 2:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 7 Dec 2006 at 13:54, Jim Lawrence wrote: > OT > > Hi All: > > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Freeware: http://www.pictview.com/pvw.htm The GUI can view then but can't convert them. The Console version will convert to/from PNM and lots of other formats including jpeg Shareware: http://www.ayeview.com/ ($20)-- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Dec 8 04:05:17 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 8 Dec 2006 13:05:17 +0300 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: <000c01c71ab0$5de42eb0$6401a8c0@nant> Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From andy at minstersystems.co.uk Fri Dec 8 04:39:20 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 8 Dec 2006 10:39:20 +0000 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: <20061208103923.749C22BCCB8@smtp.nildram.co.uk> ROTFL. Nice one Shamil, must get a sign made up. :-) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Fri Dec 8 04:53:12 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Dec 2006 11:53:12 +0100 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: Hi Shamil Here we have chosen the other combination: Everything works and everyone knows why! /gustav --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From shamil at users.mns.ru Fri Dec 8 07:13:27 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 8 Dec 2006 16:13:27 +0300 Subject: [AccessD] OT: Friday humor - about customers' support center In-Reply-To: Message-ID: <002a01c71aca$a6367050$6401a8c0@nant> <<< Everything works and everyone knows why! >>> Hello Gustav, Yes, correct combination but it sounds as a science fiction, isn't it? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 08, 2006 1:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Friday humor - about customers' support center Hi Shamil Here we have chosen the other combination: Everything works and everyone knows why! /gustav --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From carbonnb at gmail.com Fri Dec 8 07:13:27 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 8 Dec 2006 08:13:27 -0500 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9X002W3BFIOE31@l-daemon> References: <013c01c719ae$c09c4860$3e3de844@50NM721> <0J9X002W3BFIOE31@l-daemon> Message-ID: On 12/7/06, Jim Lawrence wrote: > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Since it's a standard Linux graphic file format, have a look at Gimp. http://gimp.org It looks like it will open PNMs and I know it will save jpgs. Best part, its open source and free. -- 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 artful at rogers.com Fri Dec 8 07:50:18 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 8 Dec 2006 05:50:18 -0800 (PST) Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: <20061208135018.87264.qmail@web88205.mail.re2.yahoo.com> Exactly my thoughts. I'm going to do one up in MS Publisher and stick it on my home-office wall. ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Friday, December 8, 2006 5:39:20 AM Subject: Re: [AccessD] OT: Friday humor - about customers' support center ROTFL. Nice one Shamil, must get a sign made up. :-) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> From Gustav at cactus.dk Fri Dec 8 08:24:52 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Dec 2006 15:24:52 +0100 Subject: [AccessD] OT: Friday humor - about customers' support center Message-ID: Hi Shamil Well, a little, maybe ... /gustav >>> shamil at users.mns.ru 08-12-2006 14:13 >>> <<< Everything works and everyone knows why! >>> Hello Gustav, Yes, correct combination but it sounds as a science fiction, isn't it? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 08, 2006 1:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Friday humor - about customers' support center Hi Shamil Here we have chosen the other combination: Everything works and everyone knows why! /gustav --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access-D'" Subject: [AccessD] OT: Friday humor - about customers' support center Date: 08/12/06 10:04 Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil From markamatte at hotmail.com Fri Dec 8 09:05:27 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 08 Dec 2006 15:05:27 +0000 Subject: [AccessD] OT: Dice.com on ms access In-Reply-To: Message-ID: Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego?s. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego?s was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are ?the man? - the buck stops with you and it?s your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let?s not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database?s backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world?s next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From accessd at shaw.ca Fri Dec 8 09:31:54 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 07:31:54 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: Message-ID: <0J9Y00089OE53FT0@l-daemon> Hi Bryan: I did look at GIMP and it loads PNM formatted files without issue but that is the only format it has... It is too bad as it would be a great program for doing web development or even high-end graphics now it will be no more than a good program with a limited market. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, December 08, 2006 5:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 12/7/06, Jim Lawrence wrote: > Does anyone know of a application that will convert graphic PNM format to > JPEG format. > > As the PNM format is a rarely used format... (Still used in Linux.) It is > difficult to find a Windows converter that is not well priced. It is > unlikely that I will be using that conversion method on a regular base so I > am reluctant to invest. Since it's a standard Linux graphic file format, have a look at Gimp. http://gimp.org It looks like it will open PNMs and I know it will save jpgs. Best part, its open source and free. -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 8 09:35:01 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 07:35:01 -0800 Subject: [AccessD] OT: Dice.com on ms access In-Reply-To: Message-ID: <0J9Y006PAOJDGNR0@l-daemon> Well Mark... I could not have said it better. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 08, 2006 7:05 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Legos. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Legos was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are the man - the buck stops with you and its your way or the highway - as well as any number of other clichis. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Lets not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access databases backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate worlds next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From ssharkins at setel.com Fri Dec 8 09:33:44 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 10:33:44 -0500 Subject: [AccessD] OT: Friday humor - about customers' support center In-Reply-To: <000c01c71ab0$5de42eb0$6401a8c0@nant> Message-ID: <001701c71ade$3fd6c490$7532fad1@SUSANONE> :) A few days after Cobb announced they were moving to Rochester, New York (where I definitely never left anything I'd want to return for), I put a big sign on my office door, "I can only please one person a day, and today isn't your day." I left it there 'til the end -- at first everyone laughed -- "that's cute" they said -- until they realized I meant it. :) Susan H. Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! From accessd at shaw.ca Fri Dec 8 09:37:02 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 07:37:02 -0800 Subject: [AccessD] OT: Friday humor - about customers' support center In-Reply-To: <000c01c71ab0$5de42eb0$6401a8c0@nant> Message-ID: <0J9Y0042DOMPQTE0@l-daemon> Hi Shamil: That is a great anecdote, I may even borrow it some time. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, December 08, 2006 2:05 AM To: 'Access-D' Subject: [AccessD] OT: Friday humor - about customers' support center Hi All, Maybe this note below is an old one but I have never seen it before - this is a translation of one of the recent Russian anecdotes: <<< A note on the wall in a computer customers' support center: - Theory is when you know about everything but nothing you do works. - Practice is when everything works fine but nobody knows why. HERE we combine theory and practice - nothing works and nobody knows why! >>> -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Dec 8 09:44:01 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 8 Dec 2006 07:44:01 -0800 (PST) Subject: [AccessD] OT: Dice.com on ms access Message-ID: <20061208154402.78900.qmail@web88209.mail.re2.yahoo.com> Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 8, 2006 10:05:27 AM Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego?s. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego?s was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are ?the man? - the buck stops with you and it?s your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let?s not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database?s backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world?s next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Dec 8 10:56:54 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Dec 2006 10:56:54 -0600 Subject: [AccessD] OT: Dice.com on ms access Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AA08@marlow_main2.marlow.ii-vi.net> I agree. Especially in web apps, I have NEVER had a web based app fall over due to too many users, and practically every dynamic web page I have built uses an Access .mdb in the background (Access 97 usually). Drew -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Friday, December 08, 2006 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 8, 2006 10:05:27 AM Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego's. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego's was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are "the man" - the buck stops with you and it's your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let's not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database's backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world's next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete's Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- 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 Dec 8 11:00:12 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 8 Dec 2006 12:00:12 -0500 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9Y00089OE53FT0@l-daemon> References: <0J9Y00089OE53FT0@l-daemon> Message-ID: On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I did look at GIMP and it loads PNM formatted files without issue but that > is the only format it has... It is too bad as it would be a great program > for doing web development or even high-end graphics now it will be no more > than a good program with a limited market. What do you mean it';s the only format it has? I've used it for JPGs, GIFs, PNGs, PSDs. The File|Open Dialog has a ton of different formats that it will open. The File|Save Dialog has not quite as many different Save formats -- 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 ssharkins at setel.com Fri Dec 8 11:08:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 12:08:14 -0500 Subject: [AccessD] Common error number Message-ID: <000701c71aeb$74e4d8e0$8534fad1@SUSANONE> I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. From artful at rogers.com Fri Dec 8 11:37:21 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 8 Dec 2006 09:37:21 -0800 (PST) Subject: [AccessD] Common error number Message-ID: <20061208173721.9555.qmail@web88215.mail.re2.yahoo.com> This doesn't sound like a children's story, Susan! OTOH, most of us here are children (emotionally if not educationally), so perhaps I mis-spoke. ----- Original Message ---- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, December 8, 2006 12:08:14 PM Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. From Gustav at cactus.dk Fri Dec 8 11:51:15 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Dec 2006 18:51:15 +0100 Subject: [AccessD] Common error number Message-ID: Hi Susan 18 Or create a list for yourself with DAO: Function AccessAndJetErrorsTable() As Boolean Dim dbs As Database, tdf As TableDef, fld As Field Dim rst As Recordset, lngCode As Long Dim strAccessErr As String Const conAppObjectError = "Unspecified error code" On Error GoTo Error_AccessAndJetErrorsTable ' Create Errors table with ErrorNumber and ErrorDescription fields. Set dbs = CurrentDb Set tdf = dbs.CreateTableDef("AccessAndJetError") Set fld = tdf.CreateField("ErrorCode", dbLong) tdf.Fields.Append fld Set fld = tdf.CreateField("ErrorString", dbMemo) tdf.Fields.Append fld dbs.TableDefs.Append tdf ' Open recordset on Errors table. Set rst = dbs.OpenRecordset("AccessAndJetErrors") ' Loop through error codes. For lngCode = 0 To 9999 '3500 On Error Resume Next ' Raise each error. strAccessErr = AccessError(lngCode) DoCmd.Hourglass True ' Skip error numbers without associated strings. If strAccessErr <> "" Then ' Skip codes that generate application or object-defined errors. If strAccessErr <> conAppObjectError Then ' Add each error code and string to Errors table. rst.AddNew rst!ErrorCode = lngCode ' Append string to memo field. rst!ErrorString.AppendChunk strAccessErr rst.Update End If End If Next lngCode ' Close recordset. rst.Close DoCmd.Hourglass False RefreshDatabaseWindow MsgBox "Access and Jet errors table created." AccessAndJetErrorsTable = True Exit_AccessAndJetErrorsTable: Exit Function Error_AccessAndJetErrorsTable: MsgBox Err & ": " & Err.Description AccessAndJetErrorsTable = False Resume Exit_AccessAndJetErrorsTable End Function /gustav >>> ssharkins at setel.com 08-12-2006 18:08:14 >>> I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Dec 8 11:52:49 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 11:52:49 -0600 Subject: [AccessD] Common error number Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE15F@corp-es01.fleetpride.com> Haven't you ever read "Where the Wild Things Are"? Lions and Tigers and errors, Oh My! Jim Hale -----Original Message----- From: artful at rogers.com [mailto:artful at rogers.com] Sent: Friday, December 08, 2006 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Common error number This doesn't sound like a children's story, Susan! OTOH, most of us here are children (emotionally if not educationally), so perhaps I mis-spoke. ----- Original Message ---- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, December 8, 2006 12:08:14 PM Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Fri Dec 8 12:00:06 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 10:00:06 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: Message-ID: <0J9Y000UIV953711@l-daemon> Hi Bryan: I have not spent much time with GIMP but I have found no way for the application to save a format into any other format than what is currently loaded. Maybe there is some feature that I over-looked or maybe it is an older version so if it can do format conversions I would really like to know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, December 08, 2006 9:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I did look at GIMP and it loads PNM formatted files without issue but that > is the only format it has... It is too bad as it would be a great program > for doing web development or even high-end graphics now it will be no more > than a good program with a limited market. What do you mean it';s the only format it has? I've used it for JPGs, GIFs, PNGs, PSDs. The File|Open Dialog has a ton of different formats that it will open. The File|Save Dialog has not quite as many different Save formats -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 8 12:05:36 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 10:05:36 -0800 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: Message-ID: <0J9Y00CF9VIBO8D0@l-daemon> Hi Bryan: I just found the save format option.... I stand corrected. Thanks for your help. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, December 08, 2006 9:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT graphic PNM format to JPEG On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I did look at GIMP and it loads PNM formatted files without issue but that > is the only format it has... It is too bad as it would be a great program > for doing web development or even high-end graphics now it will be no more > than a good program with a limited market. What do you mean it';s the only format it has? I've used it for JPGs, GIFs, PNGs, PSDs. The File|Open Dialog has a ton of different formats that it will open. The File|Save Dialog has not quite as many different Save formats -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Dec 8 12:28:33 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 8 Dec 2006 13:28:33 -0500 Subject: [AccessD] OT graphic PNM format to JPEG In-Reply-To: <0J9Y00CF9VIBO8D0@l-daemon> References: <0J9Y00CF9VIBO8D0@l-daemon> Message-ID: On 12/8/06, Jim Lawrence wrote: > Hi Bryan: > > I just found the save format option.... I stand corrected. > > Thanks for your help. No problem. Just in case anyone else is reading this, to save as a different format, all you need to do is save as, and then give it the appropriate file extension. IE, you open picture.gif and want to save it as a jpg, do a file save as and rename it to picture.jpg and it saves it as a jpg. Simple, once you know how. -- 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 jwcolby at colbyconsulting.com Fri Dec 8 14:38:27 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 15:38:27 -0500 Subject: [AccessD] WORKGROUP FILES Message-ID: <00b601c71b08$d17b8550$657aa8c0@m6805> I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com From Jim.Hale at FleetPride.com Fri Dec 8 14:44:40 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 14:44:40 -0600 Subject: [AccessD] Common error number Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE161@corp-es01.fleetpride.com> Error Message: Terse, baffling remark used by programmers to place blame on users for the program's shortcomings. Jim Hale -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Friday, December 08, 2006 11:08 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Fri Dec 8 14:56:37 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Dec 2006 14:56:37 -0600 Subject: [AccessD] WORKGROUP FILES Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AA60@marlow_main2.marlow.ii-vi.net> You need to use the workgroup administrator to find out what workgroup is set to default. That is the workgroup that is used for Access in general. To use a different one for a specific database, you can setup a shortcut that uses the /wrkgrp flag to specify an .mdw other then the default one. In Access 2003, it's in the Security section under Tools. In 97 you had to use wrkgadm (Start-->Run-->wrkgadm) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, December 08, 2006 2:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Dec 8 14:57:17 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Dec 2006 14:57:17 -0600 Subject: [AccessD] WORKGROUP FILES Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AA61@marlow_main2.marlow.ii-vi.net> Ow, and then when you know where the .mdw is, I believe mdw's get .ldb files, just like mdbs, so you should be able to 'see' who's in them with the .ldb file. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, December 08, 2006 2:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Fri Dec 8 15:27:45 2006 From: askolits at ot.com (John Skolits) Date: Fri, 8 Dec 2006 16:27:45 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: <00ae01c71b0f$b694c150$6501a8c0@LaptopXP> Can you just login as admin and run the command ? Syscmd(acSysCmdGetWorkgroupFile) I have code that will retrieve all the uers in a group, providing you know an admin username and password. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 3:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Dec 8 16:05:02 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Dec 2006 14:05:02 -0800 Subject: [AccessD] OT: Dice.com on ms access In-Reply-To: <20061208154402.78900.qmail@web88209.mail.re2.yahoo.com> Message-ID: For commercial operations like ours, Access has become an albatross. IT departments disparage Access and pass the attitude along wo their own superiors, so we were forced to move to .Net in order to provide the slick interface and web-based options the customers and the competition required. I've always felt Access was misperceived by MS as an end-user tool. End users can certainly use it and they can build very BAD databases in it, but it takes know-how to build a competent application in Access. The advantages of .Net and Ajax are more in interface than anywhere else, but in that area, they are worlds away from what Access can do up through 2003. You still gotta have a database in there somewhere, and we still offer an Access backend, even with .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 08, 2006 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur ----- Original Message ---- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 8, 2006 10:05:27 AM Subject: [AccessD] OT: Dice.com on ms access Hello All, My job yesterday pretty much 'ticked' me off ...so I went to dice.com,reactivated my account, and updated my resume(2 hits already). Anyway...today at the bottom of the sign in page they featured an article about access comparing it to Lego's. You have to have an account to see...so I'll paste the text below. It made sense to me and thought some of you may enjoy as well. Happy Friday, Mark A. Matte Microsoft Access Developer - Grown-up fun for the Lego Builder at Heart By Joseph Faillace When I was a young lad my parents got me my first box of Lego's. From that time on and for many years afterward they would oftentimes find me on the floor of my bedroom quietly building some construct that I had imagined in my head. For them it was the cheapest babysitter they ever found. For me it was an opportunity to build something from beginning to end. Lego's was an outlet for my creative juices - though what I was building was relatively small, all my big ideas could be found in the careful placement of every individual block. There was nothing else quite as satisfying as seeing my own little building, car or entire town come to life. When I began developing solutions in Microsoft Access I finally found a career that was an adult equivalent to my childhood passion. Developing Microsoft Access databases is all about building excellent stand alone small scale solutions. Unlike working on a larger Enterprise database where you are one of many developers doing your part to contribute to the maintenance or inception of a new tool, in Access development you are "the man" - the buck stops with you and it's your way or the highway - as well as any number of other clich?s. But seriously, the great thing about getting assigned to a Microsoft Access gig is that you get to think out a plan of attack, create a design spec, a table structure, the look and feel of the interface, a testing plan and then follow it through to implementation. For me, variety is the spice of life and I enjoy working on all different aspects of the development process. Now, if you are the type of person who prefers to get lost in the crowd, Access development is not for you. Whether you are creating a database for a Mom and Pop shop or a Fortune 500 company, the success of the project primarily falls on you. You need to carry the project through from beginning to end. People are counting on you, and often you alone, as their only path to process improvement. However, as is often the case, the more weight that you carry the greater level of satisfaction you get of seeing a project to completion. Some of the little things that make developing in Access nice are that, unlike a larger system, there are fewer users on Access and issues can be identified more quickly. Also since the Access database is not a company-wide program, the red tape factor is greatly decreased, meaning you can make changes more readily, push up or pull back schedules, and bend testing criteria to your will. You can push the limits of your ideas, try things out, go where no man has gone before, and see, taste, smell and touch the fruit of your labor. Microsoft Access development is also a great spring board to a number of other career options. Since Access contains all the portions of a larger Enterprise system you can hone your skills on common languages and knowledge like VBA, SQL, report design, and XML. Let's not forget that Access has a bigger brother (SQL Server) which you can download for free off the Microsoft site (SQL Server Express). Your Access database's backend can be converted to SQL Server. You can expand your knowledge of this Enterprise database making yourself more valuable to your clients or employer. If you are not in the IT industry but have interest in pursuing this type of work, you can work on Microsoft Access on your home PC and use it to solve problems in your current profession. Join a discussion group and take free tutorials. Microsoft Access is a great way to get your foot in the door to our booming industry. So, if you have big development ideas, but would prefer working in a smaller environment where you have more control and responsibility, then be the corporate world's next Lego builder. Be an Access developer. Comments? Please contact us at feedback at dice.com. _________________________________________________________________ View Athlete's Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- 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 cfoust at infostatsystems.com Fri Dec 8 16:10:17 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Dec 2006 14:10:17 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 8 16:38:54 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 17:38:54 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: Message-ID: <00c201c71b19$a53d7870$657aa8c0@m6805> Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 Jim.Hale at FleetPride.com Fri Dec 8 16:40:49 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 16:40:49 -0600 Subject: [AccessD] OT: Dice.com on ms access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE164@corp-es01.fleetpride.com> Wow, a succinct description of the value and attraction of Access (legos) and an epitaph (forced to move to .Net) all on the same day. Both dead on. This old hoss doesn't want to learn new tricks. Maybe I can be put out to stud? Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, December 08, 2006 4:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access For commercial operations like ours, Access has become an albatross. IT departments disparage Access and pass the attitude along wo their own superiors, so we were forced to move to .Net in order to provide the slick interface and web-based options the customers and the competition required. I've always felt Access was misperceived by MS as an end-user tool. End users can certainly use it and they can build very BAD databases in it, but it takes know-how to build a competent application in Access. The advantages of .Net and Ajax are more in interface than anywhere else, but in that area, they are worlds away from what Access can do up through 2003. You still gotta have a database in there somewhere, and we still offer an Access backend, even with .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 08, 2006 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Dice.com on ms access Overall, I think the writer hit most of the nails on the head. I do, however, take issue with one point: the small number of users. I developed an enterprise app for a custom travel agency. Four offices scattered across North America, everyone communicating with a single Terminal Services box which hosted an ADP which spoke to a SQL Server box -- 70+ simultaneous users and not a hiccup in sight. It worked flawlessly. Granted, that's not the scale that General Motors or Chrysler requires, but I wouldn't call it "a small number of employees." IMO, Access has been seriously under-rated by professional .NET etc. developers, and not only by them, but also by MS. I admit that I stretched the envelope, experimenting in this and that way, using replication etc., but at the end of the day I had a single enterprise app that did everything but the accounting, and that was accomplished using the API to QuickBooks. So I am the LAST person to admit the lack of scalability of Access apps. Maybe Amazon couldn't run on an Access app, but I have no clients in that category. And I am quite willing to pose Access against any .NET or Ajax solution in the realm of <300 simultaneous users. Arthur *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Fri Dec 8 16:50:47 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Dec 2006 16:50:47 -0600 Subject: [AccessD] WORKGROUP FILES Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE165@corp-es01.fleetpride.com> FWIW I had the same problem last week. I solved it by requiring a cold boot (only two users) and deleting the lock file. For some strange reason warm boots didn't do the trick. Jim Hale -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, December 08, 2006 4:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Fri Dec 8 17:25:40 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 08 Dec 2006 15:25:40 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00c201c71b19$a53d7870$657aa8c0@m6805> Message-ID: <0J9Z007DMABQA6J2@l-daemon> Hi John: If that is the case it would appear that the users have limited access to the directories where either the security file, databases or lock-file resides. This is not a problem with Access but a problem with how the permissions on directories themselves are setup.... this is an IT issue and nothing to do with you. All the respective directories must have read and write access for all users. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 martyconnelly at shaw.ca Fri Dec 8 17:25:42 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 08 Dec 2006 15:25:42 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> References: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: <4579F476.7070309@shaw.ca> ?SysCmd(acSysCmdGetWorkgroupFile) will give you the mdw path There are other methods JWColby wrote: >I still need help figuring out what workgroup file a user belongs to and how >to join a different workgroup. I am trying to test problems connecting to a >SQL Server source at my client. My admin user can connect, users can't. Si >I had them create me a "user" on my desktop that I can log into rather >logging in as the admin. That works, but when I try to open any access >database, I get an error "database in use or no permissions" or something >similar. It sure looks like an MDW problem, but I just can't figure out how >I discover the physical location of the mdw file that the admin user belongs >to, and then how to cause my new "user" to join that workgroup. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Fri Dec 8 17:32:36 2006 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 8 Dec 2006 18:32:36 -0500 Subject: [AccessD] Common error number In-Reply-To: <000701c71aeb$74e4d8e0$8534fad1@SUSANONE> Message-ID: <022a01c71b21$2891e830$0200a8c0@ULTRADNT> I think the best use of Raise is for custom, developer defined errors, so you can get out of a Function or Sub gracefully without writing crap like Exit Function after testing a condition. Ex: If Dir(stFileName) = "" Then Err.Raise vbobjecterror+1 ... Select Case Err Case vbobjecterror+1 Msgbox "file Does Not Exist" Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, December 08, 2006 12:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Common error number I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Dec 8 18:05:13 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Dec 2006 16:05:13 -0800 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00c201c71b19$a53d7870$657aa8c0@m6805> Message-ID: The error messages and the whole scenario sounds a lot like what we run into on occasion when a client IT department simply will NOT believe that users need full permissions to the folder in which the database lives. Under best circumstances, a single user can log in and work, but since there is no permission to create or delete the ldb file, no one else can log in until that one user leaves ... Even though no one has logged in exclusive. What they should do is set up a workgroup file that is copied to each user's machine or terminal server folder, or whatever. It should map the same on all desktops and their shortcut to the application should include the path to the appropriate workgroup. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 ssharkins at setel.com Fri Dec 8 18:15:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 19:15:59 -0500 Subject: [AccessD] Common error number In-Reply-To: Message-ID: <003701c71b27$34d7a250$8534fad1@SUSANONE> I actually wrote about that function once, but couldn't find the article! :) It's really, really old and covered with dust somewhere. ;) Error 18 -- I'll try it! ;) Susan H. Hi Susan 18 Or create a list for yourself with DAO: Function AccessAndJetErrorsTable() As Boolean Dim dbs As Database, tdf As TableDef, fld As Field Dim rst As Recordset, lngCode As Long Dim strAccessErr As String Const conAppObjectError = "Unspecified error code" On Error GoTo Error_AccessAndJetErrorsTable ' Create Errors table with ErrorNumber and ErrorDescription fields. Set dbs = CurrentDb Set tdf = dbs.CreateTableDef("AccessAndJetError") Set fld = tdf.CreateField("ErrorCode", dbLong) tdf.Fields.Append fld Set fld = tdf.CreateField("ErrorString", dbMemo) tdf.Fields.Append fld dbs.TableDefs.Append tdf ' Open recordset on Errors table. Set rst = dbs.OpenRecordset("AccessAndJetErrors") ' Loop through error codes. For lngCode = 0 To 9999 '3500 On Error Resume Next ' Raise each error. strAccessErr = AccessError(lngCode) DoCmd.Hourglass True ' Skip error numbers without associated strings. If strAccessErr <> "" Then ' Skip codes that generate application or object-defined errors. If strAccessErr <> conAppObjectError Then ' Add each error code and string to Errors table. rst.AddNew rst!ErrorCode = lngCode ' Append string to memo field. rst!ErrorString.AppendChunk strAccessErr rst.Update End If End If Next lngCode ' Close recordset. rst.Close DoCmd.Hourglass False RefreshDatabaseWindow MsgBox "Access and Jet errors table created." AccessAndJetErrorsTable = True Exit_AccessAndJetErrorsTable: Exit Function Error_AccessAndJetErrorsTable: MsgBox Err & ": " & Err.Description AccessAndJetErrorsTable = False Resume Exit_AccessAndJetErrorsTable End Function /gustav >>> ssharkins at setel.com 08-12-2006 18:08:14 >>> I need a common error number for an example using Raise. I can't come up with one that shows anything interesting! ;) 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From ssharkins at setel.com Fri Dec 8 18:15:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 19:15:59 -0500 Subject: [AccessD] Common error number In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE161@corp-es01.fleetpride.com> Message-ID: <003901c71b27$36e6ac30$8534fad1@SUSANONE> I can appreciate that! ;) Susan H. Error Message: Terse, baffling remark used by programmers to place blame on users for the program's shortcomings. From ssharkins at setel.com Fri Dec 8 18:15:59 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 8 Dec 2006 19:15:59 -0500 Subject: [AccessD] Common error number In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE15F@corp-es01.fleetpride.com> Message-ID: <003801c71b27$35b7c920$8534fad1@SUSANONE> No, this is just a regular Access "how-to" -- they're still paying the bills. :) I love "Where the Wild Things Are" -- and my copy is missing. :( Susan H. Haven't you ever read "Where the Wild Things Are"? Lions and Tigers and errors, Oh My! This doesn't sound like a children's story, Susan! OTOH, most of us here are children (emotionally if not educationally), so perhaps I mis-spoke. From garykjos at gmail.com Fri Dec 8 18:20:15 2006 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 8 Dec 2006 18:20:15 -0600 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00b601c71b08$d17b8550$657aa8c0@m6805> References: <00b601c71b08$d17b8550$657aa8c0@m6805> Message-ID: Can you create the new database in the same folder as the original one that you can't open? That would prove you have file create access there that you and yoru users need to have in order to create the ldb file? I know you said you could create a new blank DB with the user account but is it in the same network location? Perhaps they removed some update ability for your user level accounts. GK On 12/8/06, JWColby wrote: > I still need help figuring out what workgroup file a user belongs to and how > to join a different workgroup. I am trying to test problems connecting to a > SQL Server source at my client. My admin user can connect, users can't. Si > I had them create me a "user" on my desktop that I can log into rather > logging in as the admin. That works, but when I try to open any access > database, I get an error "database in use or no permissions" or something > similar. It sure looks like an MDW problem, but I just can't figure out how > I discover the physical location of the mdw file that the admin user belongs > to, and then how to cause my new "user" to join that workgroup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > 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 colbyconsulting.com Fri Dec 8 18:26:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 19:26:34 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: Message-ID: <00c801c71b28$af565160$657aa8c0@m6805> Well there's a possibility. I'll check. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 08, 2006 7:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES Can you create the new database in the same folder as the original one that you can't open? That would prove you have file create access there that you and yoru users need to have in order to create the ldb file? I know you said you could create a new blank DB with the user account but is it in the same network location? Perhaps they removed some update ability for your user level accounts. GK On 12/8/06, JWColby wrote: > I still need help figuring out what workgroup file a user belongs to > and how to join a different workgroup. I am trying to test problems > connecting to a SQL Server source at my client. My admin user can > connect, users can't. Si I had them create me a "user" on my desktop > that I can log into rather logging in as the admin. That works, but > when I try to open any access database, I get an error "database in > use or no permissions" or something similar. It sure looks like an > MDW problem, but I just can't figure out how I discover the physical > location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > 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 jwcolby at colbyconsulting.com Fri Dec 8 18:28:36 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 8 Dec 2006 19:28:36 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <0J9Z007DMABQA6J2@l-daemon> Message-ID: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> I'll check that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 08, 2006 6:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Hi John: If that is the case it would appear that the users have limited access to the directories where either the security file, databases or lock-file resides. This is not a problem with Access but a problem with how the permissions on directories themselves are setup.... this is an IT issue and nothing to do with you. All the respective directories must have read and write access for all users. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Charlotte, I didn't realize there were multiple workgroup files. In fact I am not absolutely certain that is the problem. I have always, from the day I walked in to the client, logged in as administrator. If I needed to troubleshoot a problem that a user was having, I went to a user's desk and looked at it. Now I live a thousand miles away and must remote in to manipulate the database. I am trying to get at data in a SQL Server database from Access. I linked the tables using odbc and logged in as my Admin user (of course). I can open the database and see the data in the tables. USERS get an error IMMEDIATELY when they open the database. I think it is because of code that is trying to set up access to these tables, but I can't be sure because I am not there. So... I asked the client to set me up a "regular user" (jwcolby) on my normal desktop machine (which is now locked away on a shelf in the server room, serving just me for remote access). My user can not even open a BE, FE, library, NOTHING. I get an error message "The Microsoft Jet Engine cannot open the file c:\yadayada. It is already opened exclusively by another user or you need permission to view its data". I can build blank databases just fine with the new jwcolby user. Sounds like an MDW/workgroup problem to me. So... I am trying to determine what workgroup file is being used by the ADMINISTRATOR user, where it is located, and how to join that workgroup by the jwcolby user that is being denied access to everything. Is that clear? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 08, 2006 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES John, I don't understand what you're saying. Are you having trouble accessing Access tables *through Sequel Server* or logging into SQL server, or logging into Access?? And why, oh why, are there multiple workgroups like that for different users? Or is it multiple workgroups for different databases? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 12:38 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WORKGROUP FILES I still need help figuring out what workgroup file a user belongs to and how to join a different workgroup. I am trying to test problems connecting to a SQL Server source at my client. My admin user can connect, users can't. Si I had them create me a "user" on my desktop that I can log into rather logging in as the admin. That works, but when I try to open any access database, I get an error "database in use or no permissions" or something similar. It sure looks like an MDW problem, but I just can't figure out how I discover the physical location of the mdw file that the admin user belongs to, and then how to cause my new "user" to join that workgroup. John W. Colby Colby Consulting www.ColbyConsulting.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 Sat Dec 9 14:13:40 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 9 Dec 2006 12:13:40 -0800 Subject: [AccessD] Import R:Base records into SQL Server or Access In-Reply-To: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> Message-ID: <004201c71bce$84e01780$0200a8c0@murphy3234aaf1> Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug From ssharkins at setel.com Sat Dec 9 17:05:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 9 Dec 2006 18:05:14 -0500 Subject: [AccessD] difference between linefeed and carriage return Message-ID: <000001c71be6$7cf6b700$08b62ad1@SUSANONE> I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. From bill_Patten at earthlink.net Sat Dec 9 17:37:38 2006 From: bill_Patten at earthlink.net (Bill Patten) Date: Sat, 9 Dec 2006 15:37:38 -0800 Subject: [AccessD] difference between linefeed and carriage return References: <000001c71be6$7cf6b700$08b62ad1@SUSANONE> Message-ID: <03c701c71beb$0364f140$0202fea9@BPCS> Hi Susan, Line feed moves the paper roller up and carriage return moves the print head back to the left side of the paper. Usually both are done at the same time hence the vbCrLF function. Two line feeds puts you here but a line feed and carriage return Puts you here. HTH Bill ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 09, 2006 3:05 PM Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Dec 9 17:42:17 2006 From: john at winhaven.net (John Bartow) Date: Sat, 9 Dec 2006 17:42:17 -0600 Subject: [AccessD] Import R:Base records into SQL Server or Access In-Reply-To: <004201c71bce$84e01780$0200a8c0@murphy3234aaf1> Message-ID: <03fb01c71beb$aa150fc0$1402a8c0@ScuzzPaq> Hi Doug, Depending on the version of R:Base there are ODBC drivers available. I think that method may save you a lot of work. Otherwise if you are going to export them into dBase you would want to use the gateway module in R:Base. Its pretty self explanatory. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, December 09, 2006 2:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Import R:Base records into SQL Server or Access Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Dec 9 22:40:15 2006 From: artful at rogers.com (artful at rogers.com) Date: Sat, 9 Dec 2006 20:40:15 -0800 (PST) Subject: [AccessD] difference between linefeed and carriage return Message-ID: <20061210044015.5689.qmail@web88213.mail.re2.yahoo.com> One is chr(10) and the other is chr(13). ----- Original Message ---- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Saturday, December 9, 2006 6:05:14 PM Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bhjohnson at verizon.net Sat Dec 9 23:26:53 2006 From: bhjohnson at verizon.net (Bruce H. Johnson) Date: Sat, 09 Dec 2006 21:26:53 -0800 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: <000001c71be6$7cf6b700$08b62ad1@SUSANONE> Message-ID: <001201c71c1b$cdd3c110$0201a8c0@HALSR> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM From Gustav at cactus.dk Sun Dec 10 02:10:38 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 09:10:38 +0100 Subject: [AccessD] Import R:Base records into SQL Server or Access Message-ID: Hi Doug This was up in the spring: http://databaseadvisors.com/mailman/htdig/accessd/2006-April/043675.html /gustav >>> dw-murphy at cox.net 09-12-2006 21:13 >>> Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug From Gustav at cactus.dk Sun Dec 10 02:38:45 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 09:38:45 +0100 Subject: [AccessD] difference between linefeed and carriage return Message-ID: Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav >>> bhjohnson at verizon.net 10-12-2006 06:26 >>> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. From stuart at lexacorp.com.pg Sun Dec 10 03:56:41 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 10 Dec 2006 19:56:41 +1000 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: References: Message-ID: <457BD9D9.2191.25C17CCE@stuart.lexacorp.com.pg> On 10 Dec 2006 at 9:38, Gustav Brock wrote: > What complicates matters is that the Unix and Linux world uses only a LF for > a new line while the old Mac OS used CR only. This means that a text file > created in Unix or an old Mac may - when viewed in Windows - not display as > intended. Worse, data files created in them don't import properly when using "Line Input", Access will try to read the whole file as a single line. -- Stuart From artful at rogers.com Sun Dec 10 05:29:53 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 10 Dec 2006 03:29:53 -0800 (PST) Subject: [AccessD] difference between linefeed and carriage return Message-ID: <20061210112953.4693.qmail@web88211.mail.re2.yahoo.com> An excuse to plug my fave text editor of all time: NoteTab can handle *nix files just fine, and save them to CRLF-style files if you want, or preserve their *nix format. For my money (ironic, since the basic NoteTab is free), the coolest feature is that you can open a dozen files then exit the program, and when you re-enter all the files are loaded, with the cursor just where you left it in each case. Arthur ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Sunday, December 10, 2006 3:38:45 AM Subject: Re: [AccessD] difference between linefeed and carriage return Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav From accessd at shaw.ca Sun Dec 10 06:03:10 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 Dec 2006 04:03:10 -0800 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: <20061210112953.4693.qmail@web88211.mail.re2.yahoo.com> Message-ID: <0JA20022U42284B0@l-daemon> Arthur it is definitely one of the coolest and useful editors regardless of the price. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Sunday, December 10, 2006 3:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] difference between linefeed and carriage return An excuse to plug my fave text editor of all time: NoteTab can handle *nix files just fine, and save them to CRLF-style files if you want, or preserve their *nix format. For my money (ironic, since the basic NoteTab is free), the coolest feature is that you can open a dozen files then exit the program, and when you re-enter all the files are loaded, with the cursor just where you left it in each case. Arthur ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Sunday, December 10, 2006 3:38:45 AM Subject: Re: [AccessD] difference between linefeed and carriage return Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Dec 10 09:41:36 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 10 Dec 2006 10:41:36 -0500 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: <03c701c71beb$0364f140$0202fea9@BPCS> Message-ID: <002801c71c71$ada9d860$c6bc2ad1@SUSANONE> Ah -- I see -- you explained that so well -- thank you Bill! ;) Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, December 09, 2006 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] difference between linefeed and carriage return Hi Susan, Line feed moves the paper roller up and carriage return moves the print head back to the left side of the paper. Usually both are done at the same time hence the vbCrLF function. Two line feeds puts you here but a line feed and carriage return Puts you here. HTH Bill ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 09, 2006 3:05 PM Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From ssharkins at setel.com Sun Dec 10 10:37:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 10 Dec 2006 11:37:01 -0500 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: Message-ID: <002f01c71c79$6bd5c220$c6bc2ad1@SUSANONE> Well, what I've noticed is that vbCr not only returns the cursor to the left margin, but also begins on a new line -- is this true or not, because it seems to be what I'm seeing. Susan H. Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav >>> bhjohnson at verizon.net 10-12-2006 06:26 >>> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From Gustav at cactus.dk Sun Dec 10 11:00:50 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 18:00:50 +0100 Subject: [AccessD] difference between linefeed and carriage return Message-ID: Hi Susan That is true as it makes no sense for Windows to "type over" the same line once again. You did that on matrix and type-wheel printers for underlining words - it now seems so many years away ... /gustav >>> ssharkins at setel.com 10-12-2006 17:37 >>> Well, what I've noticed is that vbCr not only returns the cursor to the left margin, but also begins on a new line -- is this true or not, because it seems to be what I'm seeing. Susan H. Hi Susan Further to Bruce's explanation, note that the sequence always must be CR+LF in the DOS and Windows world. That means Chr(13) & Chr(10) which can be hard to remember even if you use the constant vbCrLf. And in SQL the constant cannot be used, so you have to learn. To simplify things, MS introduced the "clear language" constant vbNewLine which in Windows equals vbCrLf but is easier to remember. What complicates matters is that the Unix and Linux world uses only a LF for a new line while the old Mac OS used CR only. This means that a text file created in Unix or an old Mac may - when viewed in Windows - not display as intended. More fun here: http://en.wikipedia.org/wiki/Newline /gustav >>> bhjohnson at verizon.net 10-12-2006 06:26 >>> They are literally holdovers from the typewriter days when the carriage holding the paper moved back and forth in front of the keys. As you typed, it moved one space at a time from right to left (on Western typewriters). When you got to the end of a line (judge by eye), you had a big lever on the left side of the carriage which you'd push to the right. This moved the paper up one line (could be adjusted on most typewriters to 1, 1.5 or 2 lines) and pushed the carriage back to the left where the next line started. Especially earlier mainframe (were there any other kind?) printers copied the mechanism. A line feed -- chr$(10) -- moved the paper up one line. The next character to print would be one space to the right of the last one only one line below. The carriage return -- chr$(13) -- moved the head or print position to the left margin; just like the typewriter did. Most PC systems usually could care less what terminates the lines in a text/data file. By convention, it's both a line feed and carriage return. Visual Basic/VBA even have constants for them; vbCrLf and wdCrLf. Mainframes frequently use only one character as a line terminator. Depends on the flavor. HTH Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, December 09, 2006 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] difference between linefeed and carriage return I can't really tell the difference between a linefeed and a carriage return -- I'm sure there is one. Can someone explain the differences between them? Susan H. From ssharkins at setel.com Sun Dec 10 12:02:51 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 10 Dec 2006 13:02:51 -0500 Subject: [AccessD] difference between linefeed and carriage return In-Reply-To: Message-ID: <001701c71c85$695a6b70$9132fad1@SUSANONE> Any of you remember the IBM ... Oh my gosh, I can't even remember what we called them -- huge typewriters with very limited memory -- magcard, something or other -- horrible, horrible machines. :) I never did master the beast. :) Susan H. Hi Susan That is true as it makes no sense for Windows to "type over" the same line once again. You did that on matrix and type-wheel printers for underlining words - it now seems so many years away ... From dw-murphy at cox.net Sun Dec 10 12:16:51 2006 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 10 Dec 2006 10:16:51 -0800 Subject: [AccessD] Import R:Base records into SQL Server or Access In-Reply-To: Message-ID: <001501c71c87$5d411ee0$0200a8c0@murphy3234aaf1> Great! Thank you Gustav. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, December 10, 2006 12:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Import R:Base records into SQL Server or Access Hi Doug This was up in the spring: http://databaseadvisors.com/mailman/htdig/accessd/2006-April/043675.html /gustav >>> dw-murphy at cox.net 09-12-2006 21:13 >>> Can anyone on the list give me any insite into what is involved in importing information from R:Base into a similarly structured SQL server database? A little web research shows that R:Base can export files in Dbase format. I am hoping there is some way I could link from SQL server or Access directly to R:Base. Would prefer not having to learn R:Base. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Dec 10 12:21:23 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Dec 2006 19:21:23 +0100 Subject: [AccessD] OT: Discovery Space Shuttle Message-ID: Hi all Are you aware that you at this moment can monitor Discovery's upcoming arrival at the ISS? http://www.nasa.gov/multimedia/nasatv/live_tv.html This is slow-paced relaxing TV while Discovery catches up the ISS. I still think it is amazing - sitting at the computer watching live TV from Space. /gustav From artful at rogers.com Sun Dec 10 19:52:03 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 10 Dec 2006 17:52:03 -0800 (PST) Subject: [AccessD] ADO Stored Procedure Call Message-ID: <20061211015203.27263.qmail@web88208.mail.re2.yahoo.com> I think that this all depends on how you are linking to the DB. If you are using an ADP then it's trivial, just place the name of the sproc in the rowsource attribute and that's that. If you need to pass a parameter or more than one, set them up with static functions (or as JWC would say, as members of a class) then load and go. A. ----- Original Message ---- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Tuesday, December 5, 2006 9:41:52 AM Subject: Re: [AccessD] ADO Stored Procedure Call I know this sounds simple but could you call your stored proc via a passthough query in your code? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Robert L. Stewart To: accessd at databaseadvisors.com Sent: Tuesday, December 5, 2006 8:27:37 AM Subject: [AccessD] ADO Stored Procedure Call I need to call a stored procedure via ADO in Access and have control go back to Access immediately instead of it waiting on the stored procedure to execute. Does anyone know how to accomplish this? Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at EUnet.yu Mon Dec 11 00:49:07 2006 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 11 Dec 2006 07:49:07 +0100 Subject: [AccessD] Evaluating report's formulas from table Message-ID: <010801c71cf0$a94727d0$0100a8c0@RazvojErvin> Dear All, I have zillions of formulas clustered in groups of <=10. So, if I make report for every group I need a lot of reports. My intention is to save the labels and formulas in table and to evaluate them "on the fly". Are there any clues, hints for me? Many TIA's, Ervin From Gustav at cactus.dk Mon Dec 11 02:22:10 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Dec 2006 09:22:10 +0100 Subject: [AccessD] Evaluating report's formulas from table Message-ID: Hi Ervin No other hint than doing it. Use the OnOpen event to load the label captions and textbox controlsources. /gustav >>> viner at eunet.yu 11-12-2006 07:49 >>> Dear All, I have zillions of formulas clustered in groups of <=10. So, if I make report for every group I need a lot of reports. My intention is to save the labels and formulas in table and to evaluate them "on the fly". Are there any clues, hints for me? Many TIA's, Ervin From andy at minstersystems.co.uk Mon Dec 11 04:26:16 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 Dec 2006 10:26:16 +0000 Subject: [AccessD] Compacting grows the MDB Message-ID: <20061211102619.5EBD74EEE4@smtp.nildram.co.uk> Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From djkr at msn.com Mon Dec 11 04:49:00 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 11 Dec 2006 10:49:00 -0000 Subject: [AccessD] Compacting grows the MDB In-Reply-To: <20061211102619.5EBD74EEE4@smtp.nildram.co.uk> Message-ID: Yes, I have. It was only trivial, like yours, though my BE wasn't quite your size(!). I put it down to another MS foible that wasn't worth investigating. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 11 December 2006 10:26 To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Dec 11 05:57:05 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 11 Dec 2006 06:57:05 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> Message-ID: <005401c71d1b$7afef440$657aa8c0@m6805> It does look like the problem is a rights issue to the folders. I tested this morning and the user has read-only rights everywhere and gets an error when I try to change to read-write. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 08, 2006 7:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES I'll check that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 08, 2006 6:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WORKGROUP FILES Hi John: If that is the case it would appear that the users have limited access to the directories where either the security file, databases or lock-file resides. This is not a problem with Access but a problem with how the permissions on directories themselves are setup.... this is an IT issue and nothing to do with you. All the respective directories must have read and write access for all users. Jim From Erwin.Craps at ithelps.eu Mon Dec 11 07:44:12 2006 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Mon, 11 Dec 2006 14:44:12 +0100 Subject: [AccessD] Compacting grows the MDB Message-ID: <430E80531228BA4497C5EB1A7BA786B0023C37@stekelbes.ithelps.local> I hope that is 250MB instead of GB :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Monday, December 11, 2006 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compacting grows the MDB Yes, I have. It was only trivial, like yours, though my BE wasn't quite your size(!). I put it down to another MS foible that wasn't worth investigating. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 11 December 2006 10:26 To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 JRojas at tnco-inc.com Mon Dec 11 07:59:47 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Mon, 11 Dec 2006 08:59:47 -0500 Subject: [AccessD] Compacting grows the MDB Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDFD8@ex2k3.corp.tnco-inc.com> 4KB cold be the block size of your HD... Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, December 11, 2006 5:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Dec 11 08:27:20 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 Dec 2006 14:27:20 +0000 Subject: [AccessD] Compacting grows the MDB Message-ID: <20061211142725.5D60D57BB7@smtp.nildram.co.uk> Oops, sorry. You're right of course. My wife tells me I'm always exaggerating. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Compacting grows the MDB Date: 11/12/06 13:55 I hope that is 250MB instead of GB :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Monday, December 11, 2006 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compacting grows the MDB Yes, I have. It was only trivial, like yours, though my BE wasn't quite your size(!). I put it down to another MS foible that wasn't worth investigating. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 11 December 2006 10:26 To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From andy at minstersystems.co.uk Mon Dec 11 08:28:05 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 Dec 2006 14:28:05 +0000 Subject: [AccessD] Compacting grows the MDB Message-ID: <20061211142809.ADEC6C5EFC@smtp.nildram.co.uk> Is a thought. Thanks Joe. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Compacting grows the MDB Date: 11/12/06 14:02 4KB cold be the block size of your HD... Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, December 11, 2006 5:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] Compacting grows the MDB Morning all Has anyone seen an instance, which I have just had, of a compacted MDB being slightly bigger than the original? Ok we're really taking minutiae here (4kb growth on a 250gb BE) but it seems odd. Does anyone have a theoretical explanation of how this could occur? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From garykjos at gmail.com Mon Dec 11 09:25:24 2006 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 11 Dec 2006 09:25:24 -0600 Subject: [AccessD] WORKGROUP FILES In-Reply-To: <005401c71d1b$7afef440$657aa8c0@m6805> References: <00c901c71b28$f7e0b8d0$657aa8c0@m6805> <005401c71d1b$7afef440$657aa8c0@m6805> Message-ID: I'd guess there is probably a Sarbanes-Oxley Administrator involvement in this change. GK On 12/11/06, JWColby wrote: > It does look like the problem is a rights issue to the folders. I tested > this morning and the user has read-only rights everywhere and gets an error > when I try to change to read-write. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Friday, December 08, 2006 7:29 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > I'll check that. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Friday, December 08, 2006 6:26 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > Hi John: > > If that is the case it would appear that the users have limited access to > the directories where either the security file, databases or lock-file > resides. This is not a problem with Access but a problem with how the > permissions on directories themselves are setup.... this is an IT issue and > nothing to do with you. All the respective directories must have read and > write access for all users. > > Jim > > -- > 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 colbyconsulting.com Mon Dec 11 10:03:04 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 11 Dec 2006 11:03:04 -0500 Subject: [AccessD] WORKGROUP FILES In-Reply-To: Message-ID: <006a01c71d3d$d831c760$657aa8c0@m6805> ROTFL, probably. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, December 11, 2006 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WORKGROUP FILES I'd guess there is probably a Sarbanes-Oxley Administrator involvement in this change. GK On 12/11/06, JWColby wrote: > It does look like the problem is a rights issue to the folders. I > tested this morning and the user has read-only rights everywhere and > gets an error when I try to change to read-write. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Friday, December 08, 2006 7:29 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > I'll check that. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Friday, December 08, 2006 6:26 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WORKGROUP FILES > > Hi John: > > If that is the case it would appear that the users have limited access > to the directories where either the security file, databases or > lock-file resides. This is not a problem with Access but a problem > with how the permissions on directories themselves are setup.... this > is an IT issue and nothing to do with you. All the respective > directories must have read and write access for all users. > > Jim > > -- > 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 dgibso at uark.edu Mon Dec 11 12:13:45 2006 From: dgibso at uark.edu (David A Gibson) Date: Mon, 11 Dec 2006 12:13:45 -0600 Subject: [AccessD] Cascading Listbox Message-ID: <7.0.1.0.0.20061211115937.01db8360@uark.edu> I've done cascading Listboxes in the past but want to do something new. I want the first listbox to select a table and the second to display the data in the next. Right now there are three to choose from. I am filtering the first listbox by way of a query. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name)<>"MSysObjects" And (MSysObjects.Name)<>"MSysAccessXML" And (MSysObjects.Name)<>"PREV_COMM" AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); OR SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Like "tbl*") AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); Either method provides a list of the 3 tables for the first listbox. I am having problems with the Row Source for the next Listbox. I have tried variations of: SELECT Forms!frmMain!List17.Item_Code, Forms!frmMain!List17.Descr, Forms!frmMain!List17.Seq_No, Forms!frmMain!List17.Due_Days FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; The error I am getting is "Syntax error in FROM clause." Any guidance? David G. From Kwilliamson at RTKL.com Mon Dec 11 14:10:26 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Mon, 11 Dec 2006 15:10:26 -0500 Subject: [AccessD] Select Within Query Message-ID: Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From cfoust at infostatsystems.com Mon Dec 11 14:52:41 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Dec 2006 12:52:41 -0800 Subject: [AccessD] Cascading Listbox In-Reply-To: <7.0.1.0.0.20061211115937.01db8360@uark.edu> Message-ID: SQL can't interpret the control references properly. Also, you can't reference the columns in a combobox by name, you have to use the column index. Then you can concatenate the conbobox references into the SQL string in code and use code to set the rowsource to the resulting string. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David A Gibson Sent: Monday, December 11, 2006 10:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cascading Listbox I've done cascading Listboxes in the past but want to do something new. I want the first listbox to select a table and the second to display the data in the next. Right now there are three to choose from. I am filtering the first listbox by way of a query. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name)<>"MSysObjects" And (MSysObjects.Name)<>"MSysAccessXML" And (MSysObjects.Name)<>"PREV_COMM" AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); OR SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Like "tbl*") AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); Either method provides a list of the 3 tables for the first listbox. I am having problems with the Row Source for the next Listbox. I have tried variations of: SELECT Forms!frmMain!List17.Item_Code, Forms!frmMain!List17.Descr, Forms!frmMain!List17.Seq_No, Forms!frmMain!List17.Due_Days FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; The error I am getting is "Syntax error in FROM clause." Any guidance? David G. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dorish3 at aol.com Mon Dec 11 20:19:17 2006 From: dorish3 at aol.com (dorish3 at aol.com) Date: Mon, 11 Dec 2006 21:19:17 -0500 Subject: [AccessD] Question on hours Att A D Tejpal In-Reply-To: <00df01c718fd$a42948b0$c32b177d@pcadt> References: <00df01c718fd$a42948b0$c32b177d@pcadt> Message-ID: <8C8EBAB0FA02EBF-1314-2909@WEBMAIL-DC11.sysops.aol.com> Hello A.D. Sorry I have not gotten back to you sooner but I have been real sick with a flu for the past several days...now on the road to recovery. Your VBA module worked just great!!! Each Volunteer works several times in the month...I also need to sum each of the volunteers hours in my report for that month. I hate being a pest but I sure need help. I appreciate your help and patience with me...I just can't thank you enough. Doris -----Original Message----- From: adtp at airtelbroadband.in To: accessd at databaseadvisors.com Sent: Wed, 6 Dec 2006 1:05 AM Subject: Re: [AccessD] Question on hours Doris, The functions are to be placed in a general module in VBA code. Go to VBA editor window (Press Alt + F11). On the editor menu bar, click Insert > Module. In the resulting module, paste both the functions, click the save icon (or press Ctrl + s) and compile by clicking Debug > Compile on the menu bar (Or press Alt, d, l). Come out of VBA editor (Press Alt + q). You can use the functions in queries as well as controls on reports/forms. Much better to use in the query itself. For example, the expression for calculated field showing elapsed time in minutes (as seen in query design grid) will be : ElapsedMinutes: Fn_GetMinutes(StartTime, FinishTime) (StartTime & FinishTime are the names of respective date/time type fields in the table) Similarly, for showing elapsed time formatted as Hrs:mins string, the expression for calculated field (as seen in query design grid) will be : ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes(StartTime, FinishTime)) Caution: As stated earlier, the formatted string (ElapsedTime) is not to be used in any further mathematical calculations. No such problem for ElapsedMinutes. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Wednesday, December 06, 2006 04:06 Subject: Re: [AccessD] Question on hours Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. From adtp at airtelbroadband.in Mon Dec 11 23:14:41 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 12 Dec 2006 10:44:41 +0530 Subject: [AccessD] Question on hours Att A D Tejpal References: <00df01c718fd$a42948b0$c32b177d@pc adt> <8C8EBAB0FA02EBF-1314-2909@WEBMAIL-DC11.sysops.aol.com> Message-ID: <009901c71dac$a4da9f80$3706177d@pcadt> Doris, You are most welcome! In the query serving as record source for the report, if WMinutes is the name of field representing minutes worked, you can compute the total hours by putting a control in group or report footer, with the following expression: = Sum([WMinutes]) / 60 If you still happen to need any further assistance, you can send a zipped copy of your file to me. I shall try to fix it up for you. Best wishes, A.D.Tejpal (adtp at airtelbroadband.in) ----- Original Message ----- From: dorish3 at aol.com To: accessd at databaseadvisors.com Sent: Tuesday, December 12, 2006 07:49 Subject: Re: [AccessD] Question on hours Att A D Tejpal Hello A.D. Sorry I have not gotten back to you sooner but I have been real sick with a flu for the past several days...now on the road to recovery. Your VBA module worked just great!!! Each Volunteer works several times in the month...I also need to sum each of the volunteers hours in my report for that month. I hate being a pest but I sure need help. I appreciate your help and patience with me...I just can't thank you enough. Doris -----Original Message----- From: adtp at airtelbroadband.in To: accessd at databaseadvisors.com Sent: Wed, 6 Dec 2006 1:05 AM Subject: Re: [AccessD] Question on hours Doris, The functions are to be placed in a general module in VBA code. Go to VBA editor window (Press Alt + F11). On the editor menu bar, click Insert > Module. In the resulting module, paste both the functions, click the save icon (or press Ctrl + s) and compile by clicking Debug > Compile on the menu bar (Or press Alt, d, l). Come out of VBA editor (Press Alt + q). You can use the functions in queries as well as controls on reports/forms. Much better to use in the query itself. For example, the expression for calculated field showing elapsed time in minutes (as seen in query design grid) will be : ElapsedMinutes: Fn_GetMinutes(StartTime, FinishTime) (StartTime & FinishTime are the names of respective date/time type fields in the table) Similarly, for showing elapsed time formatted as Hrs:mins string, the expression for calculated field (as seen in query design grid) will be : ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes(StartTime, FinishTime)) Caution: As stated earlier, the formatted string (ElapsedTime) is not to be used in any further mathematical calculations. No such problem for ElapsedMinutes. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Wednesday, December 06, 2006 04:06 Subject: Re: [AccessD] Question on hours Hi, Sorry that I am being such a pest but I didn't know where I should put this routine which I assume is Visual Basic. Does it go in a text box control on the report? I definitely need help with this report....it has to show hours and minutes...and then it must sum each volunteers total hours and minutes. Doris Fn_GetMinutes() (Computes time elapsed in minutes) ============================== Function Fn_GetMinutes(ByVal TimeStart As Variant, _ ByVal TimeFinish As Variant) As Single Fn_GetMinutes = 0 ' Default If IsDate(TimeStart) And IsDate(TimeFinish) Then TimeFinish = IIf(TimeFinish >= TimeStart, TimeFinish, _ 1 + TimeFinish) Fn_GetMinutes = (TimeFinish - TimeStart) * 1440 End If End Function ============================== Fn_FormatMinutes() (Formats minutes As Hrs:Mins string) ============================== Function Fn_FormatMinutes(ByVal Minutes _ As Variant) As String Dim Txt As String, Hrs As Long, Mins As Long Txt = "00:00" ' Default If Minutes > 0 Then Hrs = Int(Minutes / 60) Mins = Minutes Mod 60 Txt = Format(Hrs, "00") & ":" & _ Format(Mins, "00") End If ExitPoint: Fn_FormatMinutes = Txt End Function From Gustav at cactus.dk Tue Dec 12 03:24:21 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Dec 2006 10:24:21 +0100 Subject: [AccessD] Cascading Listbox Message-ID: Hi David You can't have parameters here: .. FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; /gustav >>> dgibso at uark.edu 11-12-2006 19:13 >>> I've done cascading Listboxes in the past but want to do something new. I want the first listbox to select a table and the second to display the data in the next. Right now there are three to choose from. I am filtering the first listbox by way of a query. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name)<>"MSysObjects" And (MSysObjects.Name)<>"MSysAccessXML" And (MSysObjects.Name)<>"PREV_COMM" AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); OR SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Like "tbl*") AND ((MSysObjects.Type)=1) AND ((MSysObjects.LvProp) Is Not Null)); Either method provides a list of the 3 tables for the first listbox. I am having problems with the Row Source for the next Listbox. I have tried variations of: SELECT Forms!frmMain!List17.Item_Code, Forms!frmMain!List17.Descr, Forms!frmMain!List17.Seq_No, Forms!frmMain!List17.Due_Days FROM Forms!frmMain!List17 ORDER BY Forms!frmMain!List17.[Seq_No]; The error I am getting is "Syntax error in FROM clause." Any guidance? David G. From bchacc at san.rr.com Tue Dec 12 08:34:54 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 06:34:54 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <002201c71dfa$b1525160$6a01a8c0@HAL9005> Keith: I would write one query which returns the required pay rate for the date in question and join that to the select query which calculates the payroll. But this looks like one of those problems which I would solve faster with a bit of code and a temp table rather than try to make the queries to do it. If you want to send me the tables with some test data, we can work it off-line. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Monday, December 11, 2006 12:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM From Chester_Kaup at kindermorgan.com Tue Dec 12 11:03:37 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 12 Dec 2006 11:03:37 -0600 Subject: [AccessD] Moving Average Query Message-ID: I have been working on the following moving average query and get results of 4 records for each date. One of the values in the average column appears to be the right one. I am probably missing something simple but need some help. SELECT DISTINCTROW dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, Avg(dbo_Month_Rates_1.VM_oil) AS AvgOfVM_oil FROM dbo_Month_Rates INNER JOIN dbo_Month_Rates AS dbo_Month_Rates_1 ON dbo_Month_Rates.VM_Well = dbo_Month_Rates_1.VM_Well GROUP BY dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, dbo_Month_Rates_1.VM_Date_1 HAVING (((dbo_Month_Rates.VM_Well)="53-1") AND ((dbo_Month_Rates_1.VM_Date_1) Between [dbo_Month_Rates].[VM_Date_1]-92 And [dbo_Month_Rates].[VM_Date_1])) ORDER BY dbo_Month_Rates.VM_Date_1; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From adtp at airtelbroadband.in Tue Dec 12 11:39:28 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 12 Dec 2006 23:09:28 +0530 Subject: [AccessD] Select Within Query References: Message-ID: <006c01c71e14$92eea100$f71165cb@pcadt> Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com From ssharkins at setel.com Tue Dec 12 11:46:06 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 12:46:06 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: <003c01c71e15$67119320$4ab82ad1@SUSANONE> I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. Susan H. From Gustav at cactus.dk Tue Dec 12 12:07:07 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Dec 2006 19:07:07 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan That's in an attempt to be kind to you. Try setting (not pasting) the Value of a textbox ... /gustav >>> ssharkins at setel.com 12-12-2006 18:46 >>> I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. Susan H. From Kwilliamson at RTKL.com Tue Dec 12 12:29:55 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 13:29:55 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <006c01c71e14$92eea100$f71165cb@pcadt> Message-ID: This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Tue Dec 12 12:28:37 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Dec 2006 18:28:37 -0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <003c01c71e15$67119320$4ab82ad1@SUSANONE> Message-ID: Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and some of you youngsters need educating) ... Once upon a time, mechanical typewriters had a roller mounted on a carriage. The carriage moved the roller horizontally along its axis, taking the paper past the fixed character-at-a-time print position. When the line of type was complete, the carriage had to be returned to its start position and the roller rotated sightly, feeding the paper up one line's depth. Telex machines, teleprinters and suchlike called these functions Carriage Return and Line Feed, even after the carriage stayed still and the print head moved instead. On some devices you could use CR on its own to overprint the previous line. Some of these electromechanical devices had rules to be obeyed, such as CR before LF, because CR took longer physically. (One I recall needed CR-LF-CR, because the explosive force of the return after a long line made the darn thing bounce off its stops.) That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. Oh, and that '40' is in hexadecimal of course. ;-) John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 December 2006 17:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Dec 12 13:11:52 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 11:11:52 -0800 Subject: [AccessD] Select Within Query Message-ID: <001f01c71e21$625414a0$6a01a8c0@HAL9005> Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From adtp at airtelbroadband.in Tue Dec 12 13:46:26 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 13 Dec 2006 01:16:26 +0530 Subject: [AccessD] Select Within Query References: Message-ID: <015d01c71e26$49627bd0$f71165cb@pcadt> Keith, The query was duly tested at this end. It worked OK. Could you please verify whether there is any duplication of dates (RDate) in your table tblPayRateHistory ? You can make RDate as the primary key field. It will avoid errors and also speed up the query. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 23:59 Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com From Kwilliamson at RTKL.com Tue Dec 12 13:52:02 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 14:52:02 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <001f01c71e21$625414a0$6a01a8c0@HAL9005> Message-ID: Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue Dec 12 14:00:29 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 12 Dec 2006 14:00:29 -0600 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: References: <003c01c71e15$67119320$4ab82ad1@SUSANONE> Message-ID: Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and > some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a carriage. > The carriage moved the roller horizontally along its axis, taking the paper > past the fixed character-at-a-time print position. When the line of type > was complete, the carriage had to be returned to its start position and the > roller rotated sightly, feeding the paper up one line's depth. Telex > machines, teleprinters and suchlike called these functions Carriage Return > and Line Feed, even after the carriage stayed still and the print head moved > instead. On some devices you could use CR on its own to overprint the > previous line. > > Some of these electromechanical devices had rules to be obeyed, such as CR > before LF, because CR took longer physically. (One I recall needed > CR-LF-CR, because the explosive force of the return after a long line made > the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I prefer > NL or NewLine. But how these different codes are handled by more recent > languages and devices is another story, which is why this ramble has wasted > your time - sorry! But thanks for the excuse, Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the > same thing within message box text -- they all begin text at the left margin > on the next line. I'm printing the evaluated statement to the Immediate > window and find the same thing there -- they all push the text to the left > margin of the next line. I can't see a difference between them. > > 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 > -- Gary Kjos garykjos at gmail.com From bchacc at san.rr.com Tue Dec 12 14:04:29 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 12:04:29 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <003c01c71e28$bb7aa290$6a01a8c0@HAL9005> Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From Kwilliamson at RTKL.com Tue Dec 12 14:12:22 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 15:12:22 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <015d01c71e26$49627bd0$f71165cb@pcadt> Message-ID: Well...I could make it, and the employee number, the primary key. But there are multiple employees, with multiple effective dates, in the table. So, the RDate (or [EffectiveDate], in my table) could not alone be the primary. There are no other "RDates" in my table. Below is the conversion of your query, to my own table/field names: SELECT tblPayrollRecords.*, [RegHrs]*(Select PayRate from tblPayRateHistory as T1 where T1.EffectiveDate=(Select Max(EffectiveDate) From tblPayRateHistory AS T2 where T2.EffectiveDate<= tblPayrollRecords.TimeWkEnd)) AS Amount FROM tblPayrollRecords ORDER BY tblPayrollRecords.EmployeeNumber, tblPayrollRecords.TimeWkEnd; Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, The query was duly tested at this end. It worked OK. Could you please verify whether there is any duplication of dates (RDate) in your table tblPayRateHistory ? You can make RDate as the primary key field. It will avoid errors and also speed up the query. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 23:59 Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 12 14:17:25 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 15:17:25 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <003c01c71e28$bb7aa290$6a01a8c0@HAL9005> Message-ID: Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Dec 12 14:16:59 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 14:16:59 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160ADC8@marlow_main2.marlow.ii-vi.net> I've only been eyeing this thread, not paying a lot of attention to it, but have you tried using subqueries to handle this? I think it should be possible. If you could send me sample data off line with what you want the query to display, I could give it a whirl for ya. Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 Dec 12 14:30:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 12 Dec 2006 12:30:08 -0800 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <0JA600B9QGUOW5O1@l-daemon> Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim From Kwilliamson at RTKL.com Tue Dec 12 14:33:06 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 15:33:06 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160ADC8@marlow_main2.marlow.ii-vi.net> Message-ID: Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 3:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query I've only been eyeing this thread, not paying a lot of attention to it, but have you tried using subqueries to handle this? I think it should be possible. If you could send me sample data off line with what you want the query to display, I could give it a whirl for ya. Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 Dec 12 14:33:59 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 12 Dec 2006 12:33:59 -0800 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <0JA60058IH134B71@l-daemon> Only 40! You're nothing but a mire youngster. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Tuesday, December 12, 2006 10:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and some of you youngsters need educating) ... Once upon a time, mechanical typewriters had a roller mounted on a carriage. The carriage moved the roller horizontally along its axis, taking the paper past the fixed character-at-a-time print position. When the line of type was complete, the carriage had to be returned to its start position and the roller rotated sightly, feeding the paper up one line's depth. Telex machines, teleprinters and suchlike called these functions Carriage Return and Line Feed, even after the carriage stayed still and the print head moved instead. On some devices you could use CR on its own to overprint the previous line. Some of these electromechanical devices had rules to be obeyed, such as CR before LF, because CR took longer physically. (One I recall needed CR-LF-CR, because the explosive force of the return after a long line made the darn thing bounce off its stops.) That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. Oh, and that '40' is in hexadecimal of course. ;-) John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 December 2006 17:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. 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 apg at alun.de Tue Dec 12 14:37:01 2006 From: apg at alun.de (Alun) Date: Tue, 12 Dec 2006 21:37:01 +0100 (MET) Subject: [AccessD] registering a .dll file winXP? In-Reply-To: References: Message-ID: <457F24AC.9060709@alun.de> hello, what's the syntax for registering a .dll in winXP using the dos box? TIA alun From dgibso at uark.edu Tue Dec 12 14:52:21 2006 From: dgibso at uark.edu (David A Gibson) Date: Tue, 12 Dec 2006 14:52:21 -0600 Subject: [AccessD] registering a .dll file winXP? In-Reply-To: <457F24AC.9060709@alun.de> References: <457F24AC.9060709@alun.de> Message-ID: <7.0.1.0.0.20061212145139.02008c08@uark.edu> Regsvr32 Registers .dll files as command components in the registry. Syntax regsvr32 [/u] [/s] [/n] [/i[:cmdline]] DllName Parameters /u Unregisters server. /s Specifies regsvr32 to run silently and to not display any message boxes. /n Specifies not to call DllRegisterServer. You must use this option with /i. /i:cmdline Calls DllInstall passing it an optional [cmdline]. When used with /u, it calls .dll uninstall. DllName Specifies the name of the .dll file that will be registered. /? Displays help at the command prompt. Examples To register the .dll for the Active Directory Schema, type: regsvr32 schmmgmt.dll David G. At 02:37 PM 12/12/2006, Alun wrote: >hello, > >what's the syntax for registering a .dll in winXP using the dos box? > >TIA >alun > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com David A. Gibson Computer Support Specialist II University of Arkansas 232 Silas H. Hunt Hall 1 University of Arkansas Fayetteville, Arkansas 72701 800-377-8632 (479) 575-4654 www.uark.edu The University of Arkansas Nationally Competitive- Student Centered- Research University From andy at minstersystems.co.uk Tue Dec 12 14:53:11 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 12 Dec 2006 20:53:11 -0000 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: <052501c71e2f$89392bb0$16648552@minster33c3r25> Great work Jim, Bryan and all. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: 12 December 2006 20:30 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] DBA web site update > > > Hi All: > > The DBA website has been updated to an ASP site. > http://www.databaseadvisors.com. This is the first phase of > an ongoing re-build. > > If when going to the site you see no change just select the > refresh button on your browser. The older site pages are > still in place but will be removed shortly. If you notice any > errors or things not working correctly please contact me > immediately with a description of what problem you > encountered at webmaster at databaseadvisors.com. > > There are 3 new areas on the web site under the References > sections; Lists, sites and Miscellaneous. Any help in the > continuing effort to populate new sections will be greatly > appreciated. > > A thanks goes out to Bryan, for his joint-effort on the > http://databaseadvisors.com site and to Arthur and other for > their contributions towards the content. > > More to come. > > Regards > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Kwilliamson at RTKL.com Tue Dec 12 15:14:37 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 16:14:37 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: Thank You!! Thank You!! Thank You!! Thank You!! Thank You!! Did I get everybody? :)) Thanks all!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Dec 12 15:13:12 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 12 Dec 2006 15:13:12 -0600 Subject: [AccessD] Moving Average Query In-Reply-To: Message-ID: I found the error in the query. Needs to read like this. SELECT DISTINCTROW dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, Avg(dbo_Month_Rates_1.VM_oil) AS AvgOfVM_oil FROM dbo_Month_Rates INNER JOIN dbo_Month_Rates AS dbo_Month_Rates_1 ON dbo_Month_Rates.VM_Well = dbo_Month_Rates_1.VM_Well WHERE ((dbo_Month_Rates_1.VM_Date_1) Between [dbo_Month_Rates].[VM_Date_1]-92 And [dbo_Month_Rates].[VM_Date_1]) GROUP BY dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil HAVING (((dbo_Month_Rates.VM_Well)="53-1")) ORDER BY dbo_Month_Rates.VM_Date_1; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, December 12, 2006 11:04 AM To: Access Developers discussion and problem solving Subject: [AccessD] Moving Average Query I have been working on the following moving average query and get results of 4 records for each date. One of the values in the average column appears to be the right one. I am probably missing something simple but need some help. SELECT DISTINCTROW dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, Avg(dbo_Month_Rates_1.VM_oil) AS AvgOfVM_oil FROM dbo_Month_Rates INNER JOIN dbo_Month_Rates AS dbo_Month_Rates_1 ON dbo_Month_Rates.VM_Well = dbo_Month_Rates_1.VM_Well GROUP BY dbo_Month_Rates.VM_Well, dbo_Month_Rates.VM_Date_1, dbo_Month_Rates.VM_oil, dbo_Month_Rates_1.VM_Date_1 HAVING (((dbo_Month_Rates.VM_Well)="53-1") AND ((dbo_Month_Rates_1.VM_Date_1) Between [dbo_Month_Rates].[VM_Date_1]-92 And [dbo_Month_Rates].[VM_Date_1])) ORDER BY dbo_Month_Rates.VM_Date_1; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Tue Dec 12 15:21:59 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Dec 2006 21:21:59 -0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: Thanks. Yup, but I prefer the hex version! J -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: 12 December 2006 20:00 To: Access Developers discussion and problem solving Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 > today, and some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a > carriage. The carriage moved the roller horizontally along its axis, > taking the paper past the fixed character-at-a-time print position. > When the line of type was complete, the carriage had to be returned to > its start position and the roller rotated sightly, feeding the paper > up one line's depth. Telex machines, teleprinters and suchlike called > these functions Carriage Return and Line Feed, even after the carriage > stayed still and the print head moved instead. On some devices you > could use CR on its own to overprint the previous line. > > Some of these electromechanical devices had rules to be obeyed, such > as CR before LF, because CR took longer physically. (One I recall > needed CR-LF-CR, because the explosive force of the return after a > long line made the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I > prefer NL or NewLine. But how these different codes are handled by > more recent languages and devices is another story, which is why this > ramble has wasted your time - sorry! But thanks for the excuse, > Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do > the same thing within message box text -- they all begin text at the > left margin on the next line. I'm printing the evaluated statement to > the Immediate window and find the same thing there -- they all push > the text to the left margin of the next line. I can't see a difference > between them. > > 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 > -- 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 apg at alun.de Tue Dec 12 15:39:04 2006 From: apg at alun.de (Alun) Date: Tue, 12 Dec 2006 22:39:04 +0100 (MET) Subject: [AccessD] registering a .dll file winXP? In-Reply-To: <7.0.1.0.0.20061212145139.02008c08@uark.edu> References: <457F24AC.9060709@alun.de> <7.0.1.0.0.20061212145139.02008c08@uark.edu> Message-ID: <457F333C.8020906@alun.de> super! thanks for the quick reply :-) David A Gibson wrote: >Regsvr32 > >Registers .dll files as command components in the registry. > > >Syntax > >regsvr32 [/u] [/s] [/n] [/i[:cmdline]] DllName > > >Parameters > >/u >Unregisters server. >/s >Specifies regsvr32 to run silently and to not display any message boxes. >/n >Specifies not to call DllRegisterServer. You must use this option with /i. >/i:cmdline >Calls DllInstall passing it an optional [cmdline]. When used with /u, >it calls .dll uninstall. >DllName >Specifies the name of the .dll file that will be registered. >/? >Displays help at the command prompt. > > >Examples > >To register the .dll for the Active Directory Schema, type: > >regsvr32 schmmgmt.dll > > >David G. > > >At 02:37 PM 12/12/2006, Alun wrote: > > >>hello, >> >>what's the syntax for registering a .dll in winXP using the dos box? >> >>TIA >>alun >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >David A. Gibson >Computer Support Specialist II >University of Arkansas >232 Silas H. Hunt Hall >1 University of Arkansas >Fayetteville, Arkansas 72701 >800-377-8632 >(479) 575-4654 >www.uark.edu > >The University of Arkansas >Nationally Competitive- Student Centered- Research University > > > From cclenright at yahoo.com Tue Dec 12 15:40:36 2006 From: cclenright at yahoo.com (Chris Enright) Date: Tue, 12 Dec 2006 13:40:36 -0800 (PST) Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: <20061212214036.59157.qmail@web34312.mail.mud.yahoo.com> v\:* {behavior:url (#default#vml);}v\:* { BEHAVIOR: url (#default#vml)}Wish I was 64! Somehow Binomial 00000010 looks far younger than my 11111100 Chris -------Original Message------- From: Gary Kjos Date: 12/12/2006 20:01:34 To: Access Developers discussion and problem solving Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and > some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a carriage. > The carriage moved the roller horizontally along its axis, taking the paper > past the fixed character-at-a-time print position. When the line of type > was complete, the carriage had to be returned to its start position and the > roller rotated sightly, feeding the paper up one line's depth. Telex > machines, teleprinters and suchlike called these functions Carriage Return > and Line Feed, even after the carriage stayed still and the print head moved > instead. On some devices you could use CR on its own to overprint the > previous line. > > Some of these electromechanical devices had rules to be obeyed, such as CR > before LF, because CR took longer physically. (One I recall needed > CR-LF-CR, because the explosive force of the return after a long line made > the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I prefer > NL or NewLine. But how these different codes are handled by more recent > languages and devices is another story, which is why this ramble has wasted > your time - sorry! But thanks for the excuse, Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the > same thing within message box text -- they all begin text at the left margin > on the next line. I'm printing the evaluated statement to the Immediate > window and find the same thing there -- they all push the text to the left > margin of the next line. I can't see a difference between them. > > 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 > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. From DWUTKA at marlow.com Tue Dec 12 15:55:14 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 15:55:14 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDDC1@marlow_main2.marlow.ii-vi.net> LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From djkr at msn.com Tue Dec 12 16:18:26 2006 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Dec 2006 22:18:26 -0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <0JA60058IH134B71@l-daemon> Message-ID: Well, I got my first program working in '62 ... What's "mire" ? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 12 December 2006 20:34 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Only 40! You're nothing but a mire youngster. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Tuesday, December 12, 2006 10:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Nostalgia time (nothing directly to do with VB, just that I'm 40 today, and some of you youngsters need educating) ... Once upon a time, mechanical typewriters had a roller mounted on a carriage. The carriage moved the roller horizontally along its axis, taking the paper past the fixed character-at-a-time print position. When the line of type was complete, the carriage had to be returned to its start position and the roller rotated sightly, feeding the paper up one line's depth. Telex machines, teleprinters and suchlike called these functions Carriage Return and Line Feed, even after the carriage stayed still and the print head moved instead. On some devices you could use CR on its own to overprint the previous line. Some of these electromechanical devices had rules to be obeyed, such as CR before LF, because CR took longer physically. (One I recall needed CR-LF-CR, because the explosive force of the return after a long line made the darn thing bounce off its stops.) That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. Oh, and that '40' is in hexadecimal of course. ;-) John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 December 2006 17:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do the same thing within message box text -- they all begin text at the left margin on the next line. I'm printing the evaluated statement to the Immediate window and find the same thing there -- they all push the text to the left margin of the next line. I can't see a difference between them. 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 12 16:23:33 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 12 Dec 2006 17:23:33 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <001001c71e3c$29e6a180$657aa8c0@m6805> >Yup, but I prefer the hex version! LOL, yea, 34 sounds pretty good to me too. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Tuesday, December 12, 2006 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Thanks. Yup, but I prefer the hex version! J -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: 12 December 2006 20:00 To: Access Developers discussion and problem solving Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Happy Birthday John. 64 in Decimal years then? GK On 12/12/06, DJK(John) Robinson wrote: > Nostalgia time (nothing directly to do with VB, just that I'm 40 > today, and some of you youngsters need educating) ... > > Once upon a time, mechanical typewriters had a roller mounted on a > carriage. The carriage moved the roller horizontally along its axis, > taking the paper past the fixed character-at-a-time print position. > When the line of type was complete, the carriage had to be returned to > its start position and the roller rotated sightly, feeding the paper > up one line's depth. Telex machines, teleprinters and suchlike called > these functions Carriage Return and Line Feed, even after the carriage > stayed still and the print head moved instead. On some devices you > could use CR on its own to overprint the previous line. > > Some of these electromechanical devices had rules to be obeyed, such > as CR before LF, because CR took longer physically. (One I recall > needed CR-LF-CR, because the explosive force of the return after a > long line made the darn thing bounce off its stops.) > > That's why the compound character is always CRLF (not LFCR) though I > prefer NL or NewLine. But how these different codes are handled by > more recent languages and devices is another story, which is why this > ramble has wasted your time - sorry! But thanks for the excuse, > Susan. > > Oh, and that '40' is in hexadecimal of course. ;-) > > John > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: 12 December 2006 17:46 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > > > I'm finding that the vbCr, vbLf, vbNewLine and vbCrLf constants all do > the same thing within message box text -- they all begin text at the > left margin on the next line. I'm printing the evaluated statement to > the Immediate window and find the same thing there -- they all push > the text to the left margin of the next line. I can't see a difference > between them. > > 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 > -- Gary Kjos garykjos at gmail.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 Kwilliamson at RTKL.com Tue Dec 12 16:33:17 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 17:33:17 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC1@marlow_main2.marlow.ii-vi.net> Message-ID: Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Dec 12 16:33:59 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 14:33:59 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <006201c71e3d$9e5753b0$6a01a8c0@HAL9005> Makes sense. I got your updated mdb with test data. Haven't looked yet, though. Stand by... Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Oh. No. I don't need an NDA....there are names in that table...but no SSN, or addresses. Just don't publish the list, eh? :) That is exactly what I am trying to do with the routine. I want to be able to, at some point in the future, re-run payroll reports....and have it extract the appropriate fields for that time period. This has been perplexing me, for some reason. It seems like it should be easy. The thing is....I'm sure I can do it at the report/form level....but would like to see if I can do it at the query level. Does that make sense? Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 3:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Non-disclosure agreement. If you write the routine so that it picks the right history record based on pay period then you don't have to worry about running a payroll for a previous period. Or a report - if someone wants a payroll report for 6 months ago, it would have to find the pay rate at that time. And you can update the pay history as it happens instead of waiting to do them in a batch. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah....that is what I am trying to accomplish....and why I've held off loading the updated payroll...until we finished with the October close. IF I had loaded the November raises.....my October numbers would have been wrong. That's why I am trying to get the effective date (for pay history) that is the oldest date, still less than the date of the timecard (ie. Any new history is still older than the timecard.) I can load the data, into the mda for you. Actually...I'll just proxy some new history for a couple employees...just to test the concept. What is an NDA?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 2:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: One possible gotcha with fetching the latest payroll history record - if a person's pay rate changes and then you process the payroll for the period preceding the increase, returning the most recent payroll history record will not be right. You'd have to fetch the second most recent payroll history record. Generally, you have to take the pay period and find the record in the payroll history table that matches that pay period. Bigger complication but probably not for your app - if the pay rate changes in the middle of a pay period then you have to calculate the pay with the old rate up to that change date, and at the new rate after the change date. I'm sure accounting will say that there's absolutely no chance of that EVER happening. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query This looks promising....but I got the following error: You have written a subquery that can return more than one field without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. (Error 3306) ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, December 12, 2006 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Keith, Sample query given below, should get you the Amount for work hours (WHrs) pertaining to week end pay date (PayDate), based upon the latest hourly Rate from tblPayRateHistory as applicable on PayDate in question. RDate & Rate are the fields in tblPayRateHistory, while EmpName, PayDate & WHrs are the fields in table tblTimesheetRecords. Best wishes, A.D.Tejpal --------------- =============================== SELECT tblTimesheetRecords.*, [WHrs]*(Select Rate from tblPayRateHistory as T1 where T1.RDate=(Select Max(RDate) From tblPayRateHistory AS T2 where T2.RDate<= tblTimesheetRecords.PayDate)) AS Amount FROM tblTimesheetRecords ORDER BY tblTimesheetRecords.EmpName, tblTimesheetRecords.PayDate; =============================== ----- Original Message ----- From: Keith Williamson To: Access Developers discussion and problem solving Sent: Tuesday, December 12, 2006 01:40 Subject: [AccessD] Select Within Query Hi guys....I got another question for ya. :-) I have to tables: tblTimesheetRecords: which holds employee hours information, by weekly timecard end date; tblPayRateHistory: which hold history of employee pay rate, department, and title. I want to run a query that calculates the payroll detail for a given Pay Period (ie. Timecard end date). When the query gets to the field for payrate, I'd like to have a select query to go out to the tblPayRateHistory table, and find the oldest effective date which is less than, or equal to, the timecard end date...for each employee. This would then be calculating the proper pay rate for that timecard. I could do this at the form level, and just populate the correct rate with a sql select. But I really need this at the query level. The thing is that ultimately, there will be many records in tblPayRateHistory, for each employee. I need to be able to select the oldest effective date, that is still less than the timecard end date. Does that make sense? Can this be done on the query level? What makes it hard is that the effective date does no correlate to the timecard end date....or I'd just link them. So it actually has to do a comparison, for each employee. Part of thinks this should be easy...but I haven't been able to get the right results....so maybe not. Any help is appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From ssharkins at setel.com Tue Dec 12 16:35:35 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 17:35:35 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <002101c71e3d$d7d61b80$b6b82ad1@SUSANONE> 280 in dog years... Susan H. Happy Birthday John. 64 in Decimal years then? From DWUTKA at marlow.com Tue Dec 12 16:34:50 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 16:34:50 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE2C@marlow_main2.marlow.ii-vi.net> They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 ssharkins at setel.com Tue Dec 12 16:37:54 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 17:37:54 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <002501c71e3e$2b165d00$b6b82ad1@SUSANONE> That's why the compound character is always CRLF (not LFCR) though I prefer NL or NewLine. But how these different codes are handled by more recent languages and devices is another story, which is why this ramble has wasted your time - sorry! But thanks for the excuse, Susan. ========So, what I suspected is true then -- they're really not necessary internally. Is this correct? All you need is vbNewLine? Susan H. From ssharkins at setel.com Tue Dec 12 16:37:54 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 17:37:54 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <002601c71e3e$2bd78a20$b6b82ad1@SUSANONE> I have no idea what that meant Gustav. :) Susan H. Hi Susan That's in an attempt to be kind to you. Try setting (not pasting) the Value of a textbox ... From Kwilliamson at RTKL.com Tue Dec 12 16:46:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 17:46:15 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160AE2C@marlow_main2.marlow.ii-vi.net> Message-ID: LOL. I don't get OT at work. But when I get home (around 7:00, or so), I'll check in on the action. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 gustav at cactus.dk Tue Dec 12 16:52:01 2006 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Dec 2006 23:52:01 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. /gustav >>> ssharkins at setel.com 12-12-06 23:37 >>> I have no idea what that meant Gustav. :) Susan H. Hi Susan That's in an attempt to be kind to you. Try setting (not pasting) the Value of a textbox ... From DWUTKA at marlow.com Tue Dec 12 16:52:45 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 16:52:45 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE39@marlow_main2.marlow.ii-vi.net> Man, no OT at work? How do you survive? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query LOL. I don't get OT at work. But when I get home (around 7:00, or so), I'll check in on the action. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 bchacc at san.rr.com Tue Dec 12 16:57:07 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 12 Dec 2006 14:57:07 -0800 Subject: [AccessD] Select Within Query In-Reply-To: Message-ID: <006d01c71e40$d9623260$6a01a8c0@HAL9005> Keith: Let me know if it works. No point inventing 2 wheels. Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM From Kwilliamson at RTKL.com Tue Dec 12 17:02:09 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 18:02:09 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC1@marlow_main2.marlow.ii-vi.net> Message-ID: OMG!!!! It works....It Works....IT WORKS!!!!! :-} I bow to your Kingness!!! Not only did it work....but it was fast as lightening too!!!! Now...I just have to read through it closer to really understand it. Thank you sooooo much, Your Highness!! :)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Tue Dec 12 17:00:18 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 12 Dec 2006 18:00:18 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <004201c71e41$4bb09640$b6b82ad1@SUSANONE> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. From Kwilliamson at RTKL.com Tue Dec 12 17:04:13 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 18:04:13 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160AE39@marlow_main2.marlow.ii-vi.net> Message-ID: It's how I keep my job. :)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query Man, no OT at work? How do you survive? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query LOL. I don't get OT at work. But when I get home (around 7:00, or so), I'll check in on the action. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 5:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query They don't call me 'code boy' for nothing! ;) Warning, using subqueries like this could be supporting the Democrat Pary. . But if it works I could use some help on a certain thread in OT. William apparently is AWOL. ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 Kwilliamson at RTKL.com Tue Dec 12 17:10:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 18:10:15 -0500 Subject: [AccessD] Select Within Query In-Reply-To: <006d01c71e40$d9623260$6a01a8c0@HAL9005> Message-ID: Rocky, Thanks. It does work for the single data return stream. I'm testing it now to populate additional fields....I am assuming it should work as well. I'll see soon. Thanks!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 12, 2006 5:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Select Within Query Keith: Let me know if it works. No point inventing 2 wheels. Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Wow!!!! You must be the subquery KING!!! :)) Haven't tried it yet....but what you wrote LOOKS impressive. LOL!! I'll give it a whirl. Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, December 12, 2006 4:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Within Query LOL. Ok, holler offlist if you need help (I said Offline in my first reply, that would be a bit difficult! ). Subqueries can be tricky, but the key is how you use them. For example, I think you are trying to get a field from one table that doesn't have a match with a field in another table. Ie, you have date fields in the timecard table, and date fields in the employeedata table. So, what you need can be accomplished two ways. Let's take the following data structure: tblTimeSheet (Fields (EmployeeID, StartTime, EndTime)) tblEmployeeData (Fields (EmployeeID, Wage, TimeStamp)) The goal is to get the proper wage data for the tblTimeSheet data. The first way to do this is to use a subquery inside of a subquery. The 'inner' subquery finds the correct 'TimeStamp' by getting the Max of TimeStamp where TimeStamp is less then or equal to StartTime. The outer subquery uses the inner subquery in the WHERE clause to match TimeStamps, but the SELECT Clause only returns the Wage field. Here would be the SQL: SELECT EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, (SELECT Wage FROM tblEmployeeData AS T2 WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE TimeStamp<=T1.StartTime AND EmployeeID=T2.EmployeeID) AND EmployeeID=T1.EmployeeID) AS CurrentWage FROM tblTimeSheet AS T1; Note that the actual query assigns tblTimeSheet as T1, the 'outer' subquery assigns tblEmployeeData as T2. This is so each subquery can match the appropriate fields. The outer subquery is only returning the Wage field, so you get one value. This works, however, what if you want to return more then one field from tblEmployeeData. In our example, we don't have more fields to match, but we can create an inner join with one subquery in the WHERE clause of the main query. That's really all a join is anyways. When we say tblTable1 INNER JOIN tblTable2 ON tblTable1.SomeField=tblTable2.SomeField, we are really saying SELECT .... FROM .... WHERE tblTable1.SomeField=tblTable2.SomeField. So, the second method would be this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1, tblEmployeeData WHERE T1.EmployeeID=tblEmployeeData.EmployeeID AND TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) But with the above SQL, we actually have a join we are using in the WHERE clause, so you could also drop that from the WHERE and put it in the FROM, like this: SELECT T1.EmployeeID, StartTime, EndTime, ((EndTime-StartTime)*24) AS TimeWorked, Wage FROM tblTimeSheet AS T1 INNER JOIN tblEmployeeData ON T1.EmployeeID=tblEmployeeData.EmployeeID WHERE TimeStamp=(SELECT Max(TimeStamp) FROM tblEmployeeData WHERE EmployeeID=T1.EmployeeID AND TimeStamp<=T1.StartTime) Either of these two would allow you to put other fields from tblEmployeeData in the SELECT line, and have the applicable data appear. Hope this helps, Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query Yeah...I was trying to handle it with subqueries....but it kept coming back that the subquery can't return more than one result....which I couldn't figure out. If we can't make any headway (I've already got two different people taking stabs at it), I'll certainly enlist your help. :) Hate to call in ALL my chips, at once (assuming I even have any chips....I could be bluffing about the chips). :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.16/582 - Release Date: 12/11/2006 4:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Dec 12 17:23:31 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 13 Dec 2006 12:23:31 +1300 Subject: [AccessD] Stored Procedure not producing results In-Reply-To: <20061122191654.92594.qmail@web88204.mail.re2.yahoo.com> References: <20061122191654.92594.qmail@web88204.mail.re2.yahoo.com> Message-ID: <20061212232154.ETIQ20709.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> This has been a long time waiting but I think I am getting somewhere. I have copied the data from the problem database to a good one and the sproc works fine. This indicates that the problem is with the structure. I created scripts for the tables and views that are involved and compared them but they seemed identical. Is there anything else I should compare? I could just restore the database structure from the good copy but I am curious as to why there is the problem. David At 23/11/2006, Arthur wrote: >If the data is the same, the only other possibility is a structure change. > >A proviso, which I am unable to document with specific examples, but >I have seen this before. Should any query SELECT * FROM SomeTables, >then you modify the table(s) of interest, sometimes it gets derailed. > >Arthur > >----- Original Message ---- >From: David Emerson >To: Access Developers discussion and problem solving > >Sent: Wednesday, November 22, 2006 12:56:55 PM >Subject: Re: [AccessD] Stored Procedure not producing results > >I tried: > >1) Running the query using dates from 2 months ago > >2) Deleting all the data so that it was back to where it was two >months ago and running the query using dates from 2 months ago. > >Neither test worked. Maybe it is a structure change. I will try >comparing tables to see if there is any differences. > >David > >At 23/11/2006, you wrote: > >If the structures haven't changed, then the data is the villain. But > >you have a concrete clue to work from. Devise some scope that will > >include only the data from two months ago and verify your assertion. > >Then expand the scope to "two months ago plus a day" and run it > >again. Repeat until failure. > > > >This assumes of course that the scope is expandable so easily. (A > >good reason to have a "DateEntered" column in every table, which > >defaults to GetDate()). > > > >----- Original Message ---- > >From: David Emerson > >To: Access Developers discussion and problem solving > >; Access Developers discussion and > >problem solving > >Sent: Tuesday, November 21, 2006 10:53:58 PM > >Subject: Re: [AccessD] Stored Procedure not producing results > > > >Worse - my database from two months ago works fine, but the latest > >version is the one that is causing the problem. This may indicate a > >data problem perhaps? > > > >David From DWUTKA at marlow.com Tue Dec 12 17:22:47 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 17:22:47 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE48@marlow_main2.marlow.ii-vi.net> LOL..... ok, no groveling necessary (that is only required on OT, and you and I are usually never on different sides there... ). Which method worked? I would guess that the last one, using an inner join for the EmployeeID field and then using the subquery in the WHERE clause was the best, and probably most efficient. (I would assume that JET would be more efficient with a JOIN in the FROM clause, then in the WHERE clause, but again, it is an assumption, I'm not really sure). Just remember that the real trick to a subquery is capturing the right criteria from the main query, or higher level subqueries. This is done through the 'aliasing' of the tables. That's important. For example: SELECT Somefield FROM SomeTable WHERE Anotherfield=(SELECT ADifferentField FROM SomeOtherTable WHERE ThisField=SomeTable.SomeField) In the last part, the subquery has no idea where SomeTable.SomeField is coming from. If we put SomeTable I the FROM statement in the subquery, then it will be getting it's own value. But by using this: SELECT Somefield FROM SomeTable AS T1 WHERE Anotherfield=(SELECT ADifferentField FROM SomeOtherTable WHERE ThisField=T1.SomeField) We are now telling the subquery to get the value from the main query. I've seen examples where everything is aliased, which I personally think is just confusing. I only alias things that need it. Let me know if you need anymore help...not sure why your first attempts to subquery didn't work, how were you trying to use them? Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 12, 2006 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Within Query OMG!!!! It works....It Works....IT WORKS!!!!! :-} I bow to your Kingness!!! Not only did it work....but it was fast as lightening too!!!! Now...I just have to read through it closer to really understand it. Thank you sooooo much, Your Highness!! :)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From darrend at nimble.com.au Tue Dec 12 17:48:49 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 13 Dec 2006 10:48:49 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: <019a01c71e48$135f4dc0$101b910a@DENZILLAP> brilliant Just had a poke around in the Conference archives - there are a lot of names we don't see too much any more But I did see the faces of a lot of people we do hear a lot from Who's that Boofhead in the Australian Conference from 2004? Where did that chin come from?? - Oh my gosh!!! Stay tuned for some more happy snaps of another Anglo/TerraAustralis conference in Feb 2007 Again - well done team - the web site looks great - very clean - very professional Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, 13 December 2006 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Dec 12 18:05:55 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 18:05:55 -0600 Subject: [AccessD] DBA web site update Message-ID: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Tuesday, December 12, 2006 5:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update brilliant Just had a poke around in the Conference archives - there are a lot of names we don't see too much any more But I did see the faces of a lot of people we do hear a lot from Who's that Boofhead in the Australian Conference from 2004? Where did that chin come from?? - Oh my gosh!!! Stay tuned for some more happy snaps of another Anglo/TerraAustralis conference in Feb 2007 Again - well done team - the web site looks great - very clean - very professional Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, 13 December 2006 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 DWUTKA at marlow.com Tue Dec 12 18:06:14 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 18:06:14 -0600 Subject: [AccessD] Select Within Query Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE54@marlow_main2.marlow.ii-vi.net> Keith, I'm replying back to the list in case this is helping other members. In your query: SELECT T1.EmployeeNumber, T1.TimeWkEnd, (SELECT PayRate FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentWage FROM tblPayrollRecords AS T1; You are using the first method that I suggested. However, you want to use more fields, so I would recommend the second method. You can put more fields in with the first method, but you are going to be adding the multiple subquery solution in for each one. Ie, : SELECT T1.EmployeeNumber, T1.TimeWkEnd, (SELECT PayRate FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentWage, (SELECT ServiceCode FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentServiceCode FROM tblPayrollRecords AS T1; This would add ServiceCode. Lot of SQL to add one field, not too mention twice the work. I would recommend this: SELECT T1.EmployeeNumber, TimeWkEnd, PayRate FROM tblPayrollRecords AS T1 INNERJOIN tblPayRateHistory ON T1.EmployeeNumber=tblPayRateHistory.EmployeeNUmber WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EmployeeNumber=T1.EmployeeNumber AND EffectiveDate<=T1.TimeWkEnd) The above SQL (hope it works, I am just writing it in email, not setting up tables to test it, might have spelling goofs) will do the same thing, but now, you can just add the fields as regular fields in your main query, ie (I'm just going to cut and paste the above, and add the fields, so if there is a spelling goof in the first, it'll be in this one too) SELECT T1.EmployeeNumber, TimeWkEnd, PayRate, JobCostRate, OvtPercent, Dept, OfficeCode, Org, ServiceCode FROM tblPayrollRecords AS T1 INNERJOIN tblPayRateHistory ON T1.EmployeeNumber=tblPayRateHistory.EmployeeNUmber WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EmployeeNumber=T1.EmployeeNumber AND EffectiveDate<=T1.TimeWkEnd) NOTE: I am not prefixing any table that doesn't require it. I'm doing that so it's easier to see where/how the subqueries are working. But if any of these fields are shared in the tables, they must be prefixed, and in a final revision query, prefixing will make it easier to see what comes from where in an SQL view. Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at RTKL.com] Sent: Tuesday, December 12, 2006 5:41 PM To: Drew Wutka Subject: RE: [AccessD] Select Within Query Hey Drew.... You lost me on the second part of your post....(not that I am totally with you on the first part...BUT...I managed to get that to work..lol) Here is my query, as restated from your first section: *********************** SELECT T1.EmployeeNumber, T1.TimeWkEnd, (SELECT PayRate FROM tblPayRateHistory AS T2 WHERE EffectiveDate=(SELECT Max(EffectiveDate) FROM tblPayRateHistory WHERE EffectiveDate<=T1.TimeWkEnd AND EmployeeNumber=T2.EmployeeNumber) AND EmployeeNumber=T1.EmployeeNumber) AS CurrentWage FROM tblPayrollRecords AS T1; ************************* In addition to Payrate, ideally I'd like to pull in [JobCostRate], [OvtPercent], [Dept], [OfficeCode], [Org], [ServiceCode]. These are all in the tblPayRateHIstory table (your example tblEmployeeData). In the above, I didn't need the [EndTime] or [StartTime]....I simply use the hours for the week....which is in the tblPayrollRecords....and do the calculations for payroll within the query. What am I missing? I can't figure out how your second method fits into the first query....to bring back additional fields. Thanks again!! By the way...I am leaving for home now....so I'll be picking up OT in about an hour. Hope I can help out there. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From newsgrps at dalyn.co.nz Tue Dec 12 18:38:16 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 13 Dec 2006 13:38:16 +1300 Subject: [AccessD] Restoring Database from Another server Message-ID: <20061213003636.ZRMF29801.fep06.xtra.co.nz@Dalyn.dalyn.co.nz> I am looking at the probability of needing to restore a database from my development computer to a client site (overwriting the old possibly corrupt version). Are there any things I should be aware of that may cause problems (eg users and roles?) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From DWUTKA at marlow.com Tue Dec 12 19:18:15 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 19:18:15 -0600 Subject: [AccessD] Subquery Theory Part 1 Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE5B@marlow_main2.marlow.ii-vi.net> Keith had a thread called 'Select within query'. I think we have his problem solved, but I wanted to add a little more explanation to the solution. The problem was that Keith needed data from two tables that didn't have a direct link. In his particular case, he wanted a Payrate field from one table, to match hours worked in another. Both tables could be linked by an employeenumber/ID field, however, it was a many to many join, which didn't produce what he needed. He needed to display the Payrate field from the record with the right date. The hours worked had a datestamp, however, the table with the payrate had a datefield that would be older then the hours worked table. (ie, if someone got a raise on 12/1/2006, the records in the hours worked table would need the previous payrate if they were worked before 12-1-2006, and the new payrate if after 12-1-2006). So I presented two solutions. The first was to show how to just return ONE field, using two subqueries (one within another). The second was to show how to return multiple fields, using just one subquery. That is what this email is about. An INNER JOIN is a criteria the database engine (in this case Jet) uses to return the appropriate records. For example: Table1 ID Data 1 Blue 2 Red 3 Green 4 Yellow Table 2 ID Data 1 Circle 2 Square 3 Triangle 4 Line In the two tables above, if we want to match the data fields by their ID fields, we would use an INNER JOIN (which says show me all the records that match on a particular field): SELECT Table1.Data, Table2.Data FROM Table1 INNER JOIN Table2 ON Table1.ID=Table2.ID As I have stated, the inner join is a criteria, so it can also be placed in the WHERE statement of a query, ie: SELECT Table1.Data, Table2.Data FROM Table1, Table2 WHERE Table1.ID=Table2.ID Now, this is probably bad practice. I'm not positive, but I would assume that the INNER JOIN statement would run faster then the criteria in the WHERE statement, at least in JET (some dbs don't allow for joins, the version of Oracle we have here at work is such a creature...yeck....). But how the join works is important to know, when it comes to a subquery. In Keith's situation, if we 'join' the tables using the subquery in the WHERE clause of the SQL statement, we can add whatever fields we want! What we did in Keith's example, is used a query that returned the Max value of a date field with a WHERE clause that said the date field had to be less then or equal to a selected date. But since this is a 'lesson' post, let's create a new data/query situation. (to be continued) From DWUTKA at marlow.com Tue Dec 12 19:21:05 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 19:21:05 -0600 Subject: [AccessD] Subquery Theory Part 2 Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE5C@marlow_main2.marlow.ii-vi.net> Let's say we have a Grade Details table: tblGradeDetails: TopGrade GradeLetter GPA BonusPoints 100 A 4 20 89 B 3 10 79 C 2 5 69 D 1 0 59 F 0 0 Now let's say we have a table with student grades: tblStudentGrades: StudentName StudentGrade Bob 82 Drew 91 Kathy 100 Chris 75 Donald 64 With one exception (Kathy's score) the student grade doesn't match anything in the TopGrade field, because the relationship is not a 1 to 1. The TopGrade field is really the max grade for that grade, an A is 90 to 100. So we can't use a normal join for this. We can, however, use a subquery to create a 'join' in the WHERE clause: SELECT StudentName, StudentGrade, GradeLetter, GPA, BonusPoints FROM tblGradeDetails, tblStudentGrades AS T1 WHERE TopGrade=(SELECT MIN(TopGrade) FROM tblGradeDetails WHERE TopGrade>=T1.StudentGrade) By aliasing tblStudentGrades as T1, we can tell the subquery in the WHERE clause to give us the lowest 'TopGrade' value (MIN statement) where the TopGrade is greater then or equal too the StudentGrade. In other words, for Bob's score of 82, it is going to give the lowest value in TopGrade where the value is greater or equal to 82. That leaves 89 and 100, and 89 is the lowest. So we now have a 'join' using a subquery. (to be continued) From DWUTKA at marlow.com Tue Dec 12 19:21:35 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 12 Dec 2006 19:21:35 -0600 Subject: [AccessD] Subquery Theory Part 3 Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AE5D@marlow_main2.marlow.ii-vi.net> Now, this also allows for a join to use calculations too. Let's normalize our test system. Instead of tblStudentGrades, let's create three tables: tblStudents: StudentID StudentName 1 Bob 2 Drew 3 Kathy 4 Chris 5 Donald tblTests: TestID TestName TestDate AvailablePoints 1 Math Test 12/12/2006 40 tblTestResults: TestID StudentID PointsReceived 1 1 36 1 2 35 1 3 26 1 4 15 1 5 29 We already have tblGradeDetails, but now, to get the grade, to match with tblGradeDetails, we have to calculate the grade from PointsReceived (in tblTestResults) and AvailablePoints (in tblTests). Pretty simple really, first we join tblStudents and tblTestResults on StudentID (in the FROM statement) and also tblTests with tblTestResults (in the FROM statement), then we just add tblGradeDetails (and join it with a subquery in the WHERE statement) SELECT TestName, StudentName, ((PointsReceived/AvailablePoints)*100) AS GradePercentage, GradeLetter, GPA, BonusPoints FROM tblStudents INNER JOIN (tblTests AS T1 INNER JOIN tblTestResults AS T2 ON T1.TestID =T2.TestID) ON tblStudents.StudentID = T2.StudentID, tblGradeDetails WHERE TopGrade=(SELECT MIN(TopGrade) FROM tblGradeDetails WHERE TopGrade>=((T2.PointsReceived/T1.AvailablePoints)*100)) And we get the following: TestName StudentName GradePercentage GradeLetter GPA BonusPoints Math Test Bob 90 A 4 20 Math Test Drew 87.5 B 3 10 Math Test Kathy 65 D 1 0 Math Test Chris 37.5 F 0 0 Math Test Donald 72.5 C 2 5 Note how we aliased two of the four tables in the FROM statement (tblTests as T1 and tblTestResults as T2). Then we simply added tblGradeDetails with a comma. I'm sure many use the query builder in access. Access' query builder will let you do exactly what we just did. Just add all four tables to a query. Join tblStudents, tblTests and tblTestResults on the appropriate fields. Leave tblGradeDetails unjoined. Now right click on tblTests and go to properties. One of the properties is Alias, change it from tblTests to T1. Do the same for tblTestResults (but alias it as T2). Now, add the fields, TestName, StudentName, GradePercentage: ((PointsReceived/AvailablePoints)*100), GradeLetter, GPA, BonusPoints TopGrade. In the Criteria beneath TopGrade, enter the subquery: (SELECT MIN(TopGrade) FROM tblGradeDetails WHERE TopGrade>=((T2.PointsReceived/T1.AvailablePoints)*100)) Whalla. A little tip, when building a subquery in the query builder, use the Zoom option, easier to see the whole thing. If you are building the SQL of a subquery using another instance of the SQL Builder, just be sure to change the tablenames that are aliased in the primary query, when you paste it into your main query. Hope this helps someone somewhere, I'm heading home! Drew From jwcolby at colbyconsulting.com Tue Dec 12 19:55:22 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 12 Dec 2006 20:55:22 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA600B9QGUOW5O1@l-daemon> Message-ID: <003301c71e59$c1be8640$657aa8c0@m6805> I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 12 20:58:06 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 12 Dec 2006 21:58:06 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <003301c71e59$c1be8640$657aa8c0@m6805> Message-ID: Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 Dec 12 23:25:33 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 12 Dec 2006 21:25:33 -0800 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <0JA7004YC5N0EKO0@l-daemon> Hi Keith: I have sent a note off to Bryan indicating a change of address. Do you what the DBA business mail to be re-directed to your office kwilliamson at rtkl.com or would/do you have a private email location? Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 6:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darrend at nimble.com.au Tue Dec 12 23:54:35 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 13 Dec 2006 16:54:35 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> Message-ID: <01ce01c71e7b$2c293fe0$101b910a@DENZILLAP> Howdy Yeah it's not a good look More chins that a Chinese phonebook Re your intro to the group - shhhh - now they know who to blame I think I let onto Mr. Lacey this little (till now) unknown fact :-)) See ya Darren ------------------ T: 0424 696 433 -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, 13 December 2006 11:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DBA web site update I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Tuesday, December 12, 2006 5:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update brilliant Just had a poke around in the Conference archives - there are a lot of names we don't see too much any more But I did see the faces of a lot of people we do hear a lot from Who's that Boofhead in the Australian Conference from 2004? Where did that chin come from?? - Oh my gosh!!! Stay tuned for some more happy snaps of another Anglo/TerraAustralis conference in Feb 2007 Again - well done team - the web site looks great - very clean - very professional Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Wednesday, 13 December 2006 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Dec 13 02:09:52 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 13 Dec 2006 08:09:52 -0000 Subject: [AccessD] DBA web site update In-Reply-To: <019a01c71e48$135f4dc0$101b910a@DENZILLAP> Message-ID: <00bd01c71e8e$118e8290$16648552@minster33c3r25> > Who's that Boofhead in the Australian Conference from 2004? And you don't look much better DD ;-) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 12 December 2006 23:49 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > > brilliant > > Just had a poke around in the Conference archives - there are > a lot of names we don't see too much any more > > But I did see the faces of a lot of people we do hear a lot from > > Who's that Boofhead in the Australian Conference from 2004? > Where did that chin come from?? - Oh my gosh!!! > > Stay tuned for some more happy snaps of another > Anglo/TerraAustralis conference in Feb 2007 > > Again - well done team - the web site looks great - very > clean - very professional > > Darren > ------------------ > T: 0424 696 433 > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Wednesday, 13 December 2006 7:30 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] DBA web site update > > Hi All: > > The DBA website has been updated to an ASP site. > http://www.databaseadvisors.com. This is the first phase of > an ongoing re-build. > > If when going to the site you see no change just select the > refresh button on your browser. The older site pages are > still in place but will be removed shortly. If you notice any > errors or things not working correctly please contact me > immediately with a description of what problem you > encountered at webmaster at databaseadvisors.com. > > There are 3 new areas on the web site under the References > sections; Lists, sites and Miscellaneous. Any help in the > continuing effort to populate new sections will be greatly > appreciated. > > A thanks goes out to Bryan, for his joint-effort on the > http://databaseadvisors.com site and to Arthur and other for > their contributions towards the content. > > More to come. > > Regards > 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 Gustav at cactus.dk Wed Dec 13 03:30:27 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 10:30:27 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. From darrend at nimble.com.au Wed Dec 13 05:34:04 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 13 Dec 2006 22:34:04 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <00bd01c71e8e$118e8290$16648552@minster33c3r25> Message-ID: <020701c71eaa$9926f810$101b910a@DENZILLAP> Hee Hee It was actually me I was referring to - The Anglo and female sides acquitted themselves very well It was the male Aussie that dropped the averages :-)) See y'all in feb Darren ------------------ T: 0424 696 433 -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Wednesday, 13 December 2006 7:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update > Who's that Boofhead in the Australian Conference from 2004? And you don't look much better DD ;-) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 12 December 2006 23:49 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > > brilliant > > Just had a poke around in the Conference archives - there are > a lot of names we don't see too much any more > > But I did see the faces of a lot of people we do hear a lot from > > Who's that Boofhead in the Australian Conference from 2004? > Where did that chin come from?? - Oh my gosh!!! > > Stay tuned for some more happy snaps of another > Anglo/TerraAustralis conference in Feb 2007 > > Again - well done team - the web site looks great - very > clean - very professional > > Darren > ------------------ > T: 0424 696 433 > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Wednesday, 13 December 2006 7:30 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] DBA web site update > > Hi All: > > The DBA website has been updated to an ASP site. > http://www.databaseadvisors.com. This is the first phase of > an ongoing re-build. > > If when going to the site you see no change just select the > refresh button on your browser. The older site pages are > still in place but will be removed shortly. If you notice any > errors or things not working correctly please contact me > immediately with a description of what problem you > encountered at webmaster at databaseadvisors.com. > > There are 3 new areas on the web site under the References > sections; Lists, sites and Miscellaneous. Any help in the > continuing effort to populate new sections will be greatly > appreciated. > > A thanks goes out to Bryan, for his joint-effort on the > http://databaseadvisors.com site and to Arthur and other for > their contributions towards the content. > > More to come. > > Regards > 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 > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 13 07:44:58 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 13 Dec 2006 08:44:58 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA7004YC5N0EKO0@l-daemon> Message-ID: No. I'll leave that private. For now, it is k.williamson5 at verizon.net. That may change in January.....depending on where I get my new High Speed Internet from. :) Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, December 13, 2006 12:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Hi Keith: I have sent a note off to Bryan indicating a change of address. Do you what the DBA business mail to be re-directed to your office kwilliamson at rtkl.com or would/do you have a private email location? Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 6:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- 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 colbyconsulting.com Wed Dec 13 07:56:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 08:56:57 -0500 Subject: [AccessD] pull data from web page Message-ID: <006f01c71ebe$8ecfc8b0$657aa8c0@m6805> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Wed Dec 13 08:06:28 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 15:06:28 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John They want $$$ for that service. Instructions here: http://www.xe.com/dfs/ /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 14:56 >>> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Wed Dec 13 08:36:43 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 15:36:43 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav >>> Gustav at cactus.dk 13-12-2006 15:06 >>> Hi John They want $$$ for that service. Instructions here: http://www.xe.com/dfs/ /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 14:56 >>> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Jim.Hale at FleetPride.com Wed Dec 13 09:02:30 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 13 Dec 2006 09:02:30 -0600 Subject: [AccessD] DBA web site update Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE16C@corp-es01.fleetpride.com> The website appears to be down this morning? Jim Hale -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Tuesday, December 12, 2006 11:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Hi Keith: I have sent a note off to Bryan indicating a change of address. Do you what the DBA business mail to be re-directed to your office kwilliamson at rtkl.com or would/do you have a private email location? Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 12, 2006 6:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Hmmmm....maybe I no longer exist?? :) It must be linked to my old job address. Who can change that to my new address? Actually....although I may be changing ISP's in a month, when I move....it should go to my home address......k.williamson5 at verizon.net. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, December 12, 2006 8:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update I got a "bounce message" for Treasurer @ . I was gonna send money too! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, December 12, 2006 3:30 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DBA web site update Hi All: The DBA website has been updated to an ASP site. http://www.databaseadvisors.com. This is the first phase of an ongoing re-build. If when going to the site you see no change just select the refresh button on your browser. The older site pages are still in place but will be removed shortly. If you notice any errors or things not working correctly please contact me immediately with a description of what problem you encountered at webmaster at databaseadvisors.com. There are 3 new areas on the web site under the References sections; Lists, sites and Miscellaneous. Any help in the continuing effort to populate new sections will be greatly appreciated. A thanks goes out to Bryan, for his joint-effort on the http://databaseadvisors.com site and to Arthur and other for their contributions towards the content. More to come. Regards 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 -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Wed Dec 13 09:13:15 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 10:13:15 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <000001c71ec9$37374fa0$657aa8c0@m6805> LOL, that'll teach me to ignore the threads on AccessD. I just deleted all the XML stuff that went by in the last few weeks. I am using the MSXML object now to try and parse this thing. Seems to be working. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav >>> Gustav at cactus.dk 13-12-2006 15:06 >>> Hi John They want $$$ for that service. Instructions here: http://www.xe.com/dfs/ /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 14:56 >>> Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Wed Dec 13 10:40:25 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 11:40:25 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <008501c71ed5$64be02f0$b6b82ad1@SUSANONE> I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From cfoust at infostatsystems.com Wed Dec 13 10:52:26 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Dec 2006 08:52:26 -0800 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <008501c71ed5$64be02f0$b6b82ad1@SUSANONE> Message-ID: I don't recall it before XP, Susan. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, December 13, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Dec 13 11:08:05 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 18:08:05 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) /gustav >>> ssharkins at setel.com 13-12-2006 17:40 >>> I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. From DWUTKA at marlow.com Wed Dec 13 11:42:12 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Dec 2006 11:42:12 -0600 Subject: [AccessD] pull data from web page Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AF24@marlow_main2.marlow.ii-vi.net> Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 13 12:10:13 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 13:10:13 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <000f01c71ee1$f023c760$657aa8c0@m6805> Gustav, Thanks for pointing me to the XML feed. The following function will load the url http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml into an XML document, then burrow down into the xml document until it reaches the cube node, then prints the attributes of that node (country code and rate) and finally, returns the rate for the country passed in. I make no claim that this is the most efficient XML parsing code in the world as I did the whole thing in a few hours, never having seen XML code before, but it does work. Copy and paste the following code into a module and save as basXMLRates. WATCH FOR LINE WRAPS IN THE CODE AND FIX THEM. Then from the debug window type: ?GetCurr() You will get back the USD rate relative to the Euro. Obviously you can change the default to some other country Type in ?GetCurr(,true) to print all the rates in the debug window as well as the selected rate at the end Type in ?GetCurr("JPY") to get the Japanese yen without the debug print. To get the USD expressed in YEN type in ?getcurr("usd") / getcurr("JPY") Etc. '********************* 'Start here '********************* Option Compare Database Option Explicit ' 'This function uses static collections to hold the country codes and their associated rates 'I do this so that if the function is called more than once in a given day, the second and 'subsequent times don't have to go to the web to get the rates ' 'Obviously I am not handling rate updates at a given time of day. That is up to you. ' Function GetCurr(Optional strCountryCode As String = "USD", Optional blnPrint As Boolean = False) As Currency On Error GoTo Err_GetCurr Static colRates As Collection Static colCountryCodes As Collection Static dte As Date Dim intCnt As Integer Dim lstrCountryCode As String Dim lcurRate As Currency If dte <> Date Then 'Check to see if this function was run today' dte = Date Set colRates = New Collection 'If not then initialize the collections again Set colCountryCodes = New Collection TranslateXMLCurr colCountryCodes, colRates 'and go get the rates for the day End If ' 'If a debug.print was requested ' If blnPrint Then 'iterate through the country code cilletion getting the country codes For intCnt = 1 To colCountryCodes.Count lstrCountryCode = colCountryCodes.Item(intCnt) lcurRate = colRates.Item(intCnt) 'use that to get the rate for that country Debug.Print lstrCountryCode & " : " & lcurRate 'print both in a string to the debug window Next intCnt End If On Error Resume Next 'If the country code passed in is bogus, ignore the error ' 'And pass back the requested rate ' GetCurr = colRates(strCountryCode) Exit_GetCurr: On Error Resume Next Exit Function Err_GetCurr: MsgBox Err.Description, , "Error in Function basXML.GetCurr" Resume Exit_GetCurr Resume 0 '.FOR TROUBLESHOOTING End Function ' 'This function looks up rates off of a web site and loads the country codes and rates into two collections ' Function TranslateXMLCurr(colCountryCodes As Collection, colRates As Collection) As Currency On Error GoTo Err_TranslateXMLCurr Dim fSuccess As Boolean Dim oDoc As MSXML2.DOMDocument Dim oRoot As MSXML2.IXMLDOMNode Dim oCube As MSXML2.IXMLDOMNode Dim oChild As MSXML2.IXMLDOMNode Dim oChildren As MSXML2.IXMLDOMNodeList Dim oAttributes As MSXML2.IXMLDOMNamedNodeMap Dim lstrCountryCode As String Dim lcurRate As Currency Set oDoc = New MSXML2.DOMDocument oDoc.async = False oDoc.validateOnParse = False fSuccess = oDoc.Load("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") ' ' If anything went wrong, quit now. If Not fSuccess Then GoTo Exit_TranslateXMLCurr End If Set oRoot = oDoc.documentElement Set oCube = oRoot.ChildNodes(2).ChildNodes(0) Set oChildren = oCube.ChildNodes For Each oChild In oChildren Set oAttributes = oChild.Attributes With oAttributes lstrCountryCode = .Item(0).nodeTypedValue 'Get the country code lcurRate = .Item(1).nodeTypedValue 'Get the current rate colCountryCodes.Add lstrCountryCode colRates.Add lcurRate, lstrCountryCode End With Next oChild Exit_TranslateXMLCurr: Exit Function Err_TranslateXMLCurr: MsgBox Err.Description, , "Error in Function basXML.TranslateXMLCurr" Resume Exit_TranslateXMLCurr Resume 0 '.FOR TROUBLESHOOTING End Function '********************* 'End here '********************* Prints in the following manner: USD : 1.3265 JPY : 155.34 CYP : 0.5781 CZK : 27.880 DKK : 7.4534 EEK : 15.6466 GBP : 0.67280 HUF : 253.48 LTL : 3.4528 LVL : 0.6973 MTL : 0.4293 PLN : 3.8008 SEK : 9.0407 SIT : 239.68 SKK : 34.775 CHF : 1.5951 ISK : 91.76 NOK : 8.1520 BGN : 1.9558 HRK : 7.3579 RON : 3.4247 RUB : 34.7980 TRY : 1.8919 AUD : 1.6811 CAD : 1.5273 CNY : 10.3819 HKD : 10.3094 IDR : 12031.36 KRW : 1223.76 MYR : 4.7018 NZD : 1.9172 PHP : 65.536 SGD : 2.0421 THB : 46.783 ZAR : 9.2630 Enjoy. Perhaps we could put this code up on the web site as an extreme example of bad programming practice in general as well as an intro of how to use the XML object, and a currency converter (at least for mostly euro currencies). I found it fascinating that given a XML feed, I could just suck it in and go. Of course the "going" was a tough slog never having seen the xml object before... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav From jwcolby at colbyconsulting.com Wed Dec 13 12:13:59 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 13 Dec 2006 13:13:59 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <000001c71ee2$76e24150$657aa8c0@m6805> BTW, I found enough in this link to get the XML converter working. http://msdn2.microsoft.com/en-us/library/aa163921(office.10).aspx John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav From Gustav at cactus.dk Wed Dec 13 12:25:15 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Dec 2006 19:25:15 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John Great! I have been looking for something like this several times without having the time to explore it. I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> Gustav, Thanks for pointing me to the XML feed. From markamatte at hotmail.com Wed Dec 13 12:29:14 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 18:29:14 +0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: I just checked HELP in A97 and A2K and could find no reference to vbNewLine in A2K. I found it in HELP A97. I tested and can use in both. I can't test past 97. Below is the help from 97...Hope it helps. Not sure why the or here(vbNewLine Chr(13) + Chr(10) or Chr(13)) Thanks, Mark A. Matte The following constants are defined in the Visual Basic for Applications type library and can be used anywhere in your code in place of the actual values: Constant Equivalent Description vbCrLf Chr(13) + Chr(10) Carriage return?linefeed combination vbCr Chr(13) Carriage return character vbLf Chr(10) Linefeed character vbNewLine Chr(13) + Chr(10) or Chr(13) Platform-specific new line character; whichever is appropriate for current platform vbNullChar Chr(0) Character having value 0 vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures vbTab Chr(9) Tab character vbBack Chr(8) Backspace character vbFormFeed Chr(12) Not useful in Microsoft Windows vbVerticalTab Chr(11) Not useful in Microsoft Windows >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf >Date: Wed, 13 Dec 2006 08:52:26 -0800 > >I don't recall it before XP, Susan. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >Sent: Wednesday, December 13, 2006 8:40 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf > >I don't suppose anyone knows -- off the top of their head -- when >vbNewLine showed up in Access? I'm going to check the ms library, but I >usually can't find that kind of information. > >Susan H. > >Hi Susan > >That's what is dangerous. One day you may need it elsewhere and you may >be hosed. > >To conclude: Using vbNewLine is the safe way as it is easy to remember >and performs correctly in any Windows environment. >However, in SQL it is not recognized and you have to fall back to >Chr(13) & >Chr(10) for a new line. If that bothers you (not you, the SQL >programmer) because it messes up the SQL, create a tiny function which >is easy to remember and understand: > >Public Function NewLine() As String > NewLine = vbNewLine >End Function > >and use that in your SQL. > >/gustav > > >>> ssharkins at setel.com 13-12-2006 00:00 >>> >I'm just dealing with message text in a message box. :) > >Susan H. > > >Hi Susan > >I meant that no matter what you type, Access will try to display it >correctly. > >However, if you construct a string with the various constants and assign >this to a, say, textbox, you'll for the wrong constants meet the funny >small boxes instead of new lines. Try it. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: >12/5/2006 > > >-- >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 _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From DWUTKA at marlow.com Wed Dec 13 12:46:03 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Dec 2006 12:46:03 -0600 Subject: [AccessD] pull data from web page Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160AF55@marlow_main2.marlow.ii-vi.net> I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.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 Chester_Kaup at kindermorgan.com Wed Dec 13 13:02:05 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 13:02:05 -0600 Subject: [AccessD] For next loop - using date criteria Message-ID: I am trying to use date criteria in a for next loop but loop never increments. Loop works if a hard code in a step but with variable. What might I be missing? Code below. StartDate = #11/1/1948# EndDate = #11/1/2006# LoopStart = CLng(StartDate) LoopEnd = CLng(EndDate) For I = LoopStart To LoopEnd Step DaysinMonth Debug.Print CVDate(I) DaysinMonth = DaysInMonth2(CVDate(I)) + 1 Next I End Function Public Static Function DaysInMonth2(D As Date) As Integer ' ' Returns the number of days in a month ' Requires a date argument, since February can change if it's a leap year ' Lets Access figure it out ' If VarType(D) <> 7 Then DaysInMonth2 = Null Else DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - DateSerial(Year(D), Month(D), 1) End If End Function Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cfoust at infostatsystems.com Wed Dec 13 13:03:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Dec 2006 11:03:09 -0800 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: It's OK, Gustav. You're welcome to make fun of my memory. ;o} I suppose I just never bothered with vbNewLine when vbCrLf always worked for me. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Hi Susan Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) /gustav >>> ssharkins at setel.com 13-12-2006 17:40 >>> I don't suppose anyone knows -- off the top of their head -- when vbNewLine showed up in Access? I'm going to check the ms library, but I usually can't find that kind of information. Susan H. Hi Susan That's what is dangerous. One day you may need it elsewhere and you may be hosed. To conclude: Using vbNewLine is the safe way as it is easy to remember and performs correctly in any Windows environment. However, in SQL it is not recognized and you have to fall back to Chr(13) & Chr(10) for a new line. If that bothers you (not you, the SQL programmer) because it messes up the SQL, create a tiny function which is easy to remember and understand: Public Function NewLine() As String NewLine = vbNewLine End Function and use that in your SQL. /gustav >>> ssharkins at setel.com 13-12-2006 00:00 >>> I'm just dealing with message text in a message box. :) Susan H. Hi Susan I meant that no matter what you type, Access will try to display it correctly. However, if you construct a string with the various constants and assign this to a, say, textbox, you'll for the wrong constants meet the funny small boxes instead of new lines. Try it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Dec 13 13:34:06 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 19:34:06 +0000 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Chester, I think its because when you use STEP...the variable right after that determins for the rest of the loop how many, or number you are going to step...since you calculate it after the fact(starting with null) you loop takes your first date...adds nothing to it...then loops again. I think this is why your not looping. Hope it helps, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From markamatte at hotmail.com Wed Dec 13 13:35:30 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 19:35:30 +0000 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk From Chester_Kaup at kindermorgan.com Wed Dec 13 13:48:10 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 13:48:10 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: That is a start. Added the following line after loop end. Now it just increments 30 every time instead of value of DaysinMonth DaysinMonth = DaysInMonth2(StartDate) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Chester, I think its because when you use STEP...the variable right after that determins for the rest of the loop how many, or number you are going to step...since you calculate it after the fact(starting with null) you loop takes your first date...adds nothing to it...then loops again. I think this is why your not looping. Hope it helps, Mark A. Matte >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Dec 13 13:52:14 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 13:52:14 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first day of one month to the first day of the next month. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ /spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Dec 13 14:08:58 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 20:08:58 +0000 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Chester, Here is a quick stab at that. Probably not the best...but I think it works. Thanks, Mark A. Matte Dim LoopDate LoopDate = StartDate Do While LoopDate < #11/1/06# 'For I = LoopStart To LoopEnd Step DaysInMonth Debug.Print CVDate(LoopDate) DaysInMonth = DaysInMonth2(CVDate(LoopDate)) + 1 LoopDate = LoopDate + DaysInMonth - 1 Loop >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:52:14 -0600 > >I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first >day of one month to the first day of the next month. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, December 13, 2006 1:36 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] For next loop - using date criteria > >Also, > >If I may ask...what are you trying to accomplish? > >Thanks, > >Mark > > > >From: "Kaup, Chester" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: [AccessD] For next loop - using date criteria > >Date: Wed, 13 Dec 2006 13:02:05 -0600 > > > >I am trying to use date criteria in a for next loop but loop never > >increments. Loop works if a hard code in a step but with variable. What > >might I be missing? Code below. > > > > > > > >StartDate = #11/1/1948# > > > >EndDate = #11/1/2006# > > > >LoopStart = CLng(StartDate) > > > >LoopEnd = CLng(EndDate) > > > > > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > > > Debug.Print CVDate(I) > > > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > > > >Next I > > > > > > > > > > > >End Function > > > > > > > >Public Static Function DaysInMonth2(D As Date) As Integer > > > >' > > > >' Returns the number of days in a month > > > >' Requires a date argument, since February can change if it's a leap > >year > > > >' Lets Access figure it out > > > >' > > > > If VarType(D) <> 7 Then > > > > DaysInMonth2 = Null > > > > Else > > > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - > >DateSerial(Year(D), Month(D), 1) > > > > End If > > > >End Function > > > > > > > > > > > >Chester Kaup > > > >Engineering Technician > > > >Kinder Morgan CO2 Company, LLP > > > >Office (432) 688-3797 > > > >FAX (432) 688-3799 > > > > > > > > > > > >No trees were killed in the sending of this message. However a large > >number of electrons were terribly inconvenienced. > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Share your latest news with your friends with the Windows Live Spaces >friends module. >http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ >/spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk > >-- >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 _________________________________________________________________ View Athlete?s Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 From ssharkins at setel.com Wed Dec 13 14:29:05 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 15:29:05 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <00b201c71ef5$5b9cc510$b6b82ad1@SUSANONE> Where'd you get that? I didn't find a think of ms's site about versions. Susan H. Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) From markamatte at hotmail.com Wed Dec 13 14:49:50 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 13 Dec 2006 20:49:50 +0000 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: <00b201c71ef5$5b9cc510$b6b82ad1@SUSANONE> Message-ID: I found the same thing in the A97 Help. >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf >Date: Wed, 13 Dec 2006 15:29:05 -0500 > >Where'd you get that? I didn't find a think of ms's site about versions. > >Susan H. > >Not commenting Charlotte's memory, these constants were all introduced in >Access 97: > >vbCrLf Chr(13) + Chr(10) >vbCr Chr(13) >vbLf Chr(10) >vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) >vbNullChar Chr(0) >vbNullString >vbTab Chr(9) >vbBack Chr(8) > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From ssharkins at setel.com Wed Dec 13 14:55:00 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 15:55:00 -0500 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf In-Reply-To: Message-ID: <00ca01c71ef8$f533e4d0$b6b82ad1@SUSANONE> I don't have 97 installed anymore. ;( 2003 Help turned up squat -- thinks vbNewLine doesn't even exist I guess! I did find it in a list of constants finally, but with no reference to version compatiability -- of course, they usually don't include that in any documentation, which I think they should. Susan H. I found the same thing in the A97 Help. From ssharkins at setel.com Wed Dec 13 15:01:33 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 16:01:33 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> Message-ID: <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns an error. :( Susan H. I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) From cfoust at infostatsystems.com Wed Dec 13 15:09:45 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Dec 2006 13:09:45 -0800 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Again, to what purpose? If you just want to step from the first to the first, just use DateAdd and add a month to the latest date using an Do Until loop and testing for a date > the end of the desired range. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 13, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For next loop - using date criteria I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first day of one month to the first day of the next month. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ /spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -- 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 Chester_Kaup at kindermorgan.com Wed Dec 13 15:44:14 2006 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Dec 2006 15:44:14 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: Message-ID: Good idea. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, December 13, 2006 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For next loop - using date criteria Again, to what purpose? If you just want to step from the first to the first, just use DateAdd and add a month to the latest date using an Do Until loop and testing for a date > the end of the desired range. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, December 13, 2006 11:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For next loop - using date criteria I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first day of one month to the first day of the next month. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, December 13, 2006 1:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] For next loop - using date criteria Also, If I may ask...what are you trying to accomplish? Thanks, Mark >From: "Kaup, Chester" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] For next loop - using date criteria >Date: Wed, 13 Dec 2006 13:02:05 -0600 > >I am trying to use date criteria in a for next loop but loop never >increments. Loop works if a hard code in a step but with variable. What >might I be missing? Code below. > > > >StartDate = #11/1/1948# > >EndDate = #11/1/2006# > >LoopStart = CLng(StartDate) > >LoopEnd = CLng(EndDate) > > > >For I = LoopStart To LoopEnd Step DaysinMonth > > Debug.Print CVDate(I) > > DaysinMonth = DaysInMonth2(CVDate(I)) + 1 > >Next I > > > > > >End Function > > > >Public Static Function DaysInMonth2(D As Date) As Integer > >' > >' Returns the number of days in a month > >' Requires a date argument, since February can change if it's a leap >year > >' Lets Access figure it out > >' > > If VarType(D) <> 7 Then > > DaysInMonth2 = Null > > Else > > DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - >DateSerial(Year(D), Month(D), 1) > > End If > >End Function > > > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http:/ /spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -- 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 Wed Dec 13 16:01:57 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 13 Dec 2006 17:01:57 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> References: <17724746D360394AA3BFE5B8D40A9C1BDDC2@marlow_main2.marlow.ii-vi.net> <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> Message-ID: On 12/13/06, Susan Harkins wrote: > Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns > an error. :( Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) -- 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 ssharkins at setel.com Wed Dec 13 17:21:48 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 13 Dec 2006 18:21:48 -0500 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <00e801c71f0d$773052c0$b6b82ad1@SUSANONE> That would explain it -- I figured I was seeing cached files when a refresh returned an error -- waiting patiently. :) Susan H. Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) From Jim.Hale at FleetPride.com Wed Dec 13 17:23:05 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 13 Dec 2006 17:23:05 -0600 Subject: [AccessD] DBA web site update Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE170@corp-es01.fleetpride.com> same here http://www.databaseadvisors.com/ returns "No web site is configured at this address." -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: Wednesday, December 13, 2006 4:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update On 12/13/06, Susan Harkins wrote: > Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns > an error. :( Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darrend at nimble.com.au Wed Dec 13 18:15:55 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 14 Dec 2006 11:15:55 +1100 Subject: [AccessD] pull data from web page In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0160AF55@marlow_main2.marlow.ii-vi.net> Message-ID: <001201c71f15$0a45a860$101b910a@DENZILLAP> Genius -Outstanding This is one of those things that can be nicely incorporated into anything Many thanks for sharing Drew Darren ------------------ T: 0424 696 433 -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Thursday, 14 December 2006 5:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.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 darrend at nimble.com.au Wed Dec 13 18:15:55 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 14 Dec 2006 11:15:55 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE170@corp-es01.fleetpride.com> Message-ID: <001101c71f15$0a1d38d0$101b910a@DENZILLAP> When I try (from Oz) I get an Error 404 message Darren ------------------ T: 0424 696 433 -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at FleetPride.com] Sent: Thursday, 14 December 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update same here http://www.databaseadvisors.com/ returns "No web site is configured at this address." -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: Wednesday, December 13, 2006 4:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update On 12/13/06, Susan Harkins wrote: > Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns > an error. :( Databaseadvisors.com is the mail server and has (virtually) no content on it. If you are seeing the old menus, then you are seeing it from your cache. www.databaseadvisors.com is having "issues" :) -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Dec 13 20:56:42 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 13 Dec 2006 18:56:42 -0800 Subject: [AccessD] DBA web site update In-Reply-To: <00cb01c71ef9$dfa040e0$b6b82ad1@SUSANONE> Message-ID: <0JA8005FBTET7RC0@l-daemon> Hi Susan: The fellows at Korksoft, our ISP have been mucking with things. An email has been sent off so we shall see. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, December 13, 2006 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Databaseadvisors.com pulls up the old one. www.databaseadvisors.com returns an error. :( Susan H. I concur, the website looks great! Darren, I finally got to see what you look like! LOL For a little list history (relatively recent, I think I'm still a newbie... ), Darren is responsible for getting me on the list, he hunted me down from my sample app the 'minicalendar'. (Man I need to dust that thing off....) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Wed Dec 13 23:24:22 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 14 Dec 2006 10:54:22 +0530 Subject: [AccessD] For next loop - using date criteria References: Message-ID: <00c301c71f40$3a2304d0$cb2b177d@pcadt> Chester, You won't need a separate function for getting DaysInMonth. Self contained sample subroutine as given below, should do. Best wishes, A.D.Tejpal --------------- ================================ Sub LoopFirstOfMonths(ByVal DtStart As Date, _ ByVal DtEnd As Date) Dim Dte As Date Dte = DtStart Do While Dte <= DtEnd Debug.Print Dte Dte = DateAdd("m", 1, Dte) Loop End Sub ================================ ----- Original Message ----- From: Kaup, Chester To: Access Developers discussion and problem solving Sent: Thursday, December 14, 2006 00:32 Subject: [AccessD] For next loop - using date criteria I am trying to use date criteria in a for next loop but loop never increments. Loop works if a hard code in a step but with variable. What might I be missing? Code below. StartDate = #11/1/1948# EndDate = #11/1/2006# LoopStart = CLng(StartDate) LoopEnd = CLng(EndDate) For I = LoopStart To LoopEnd Step DaysinMonth Debug.Print CVDate(I) DaysinMonth = DaysInMonth2(CVDate(I)) + 1 Next I End Function Public Static Function DaysInMonth2(D As Date) As Integer ' ' Returns the number of days in a month ' Requires a date argument, since February can change if it's a leap year ' Lets Access figure it out ' If VarType(D) <> 7 Then DaysInMonth2 = Null Else DaysInMonth2 = DateSerial(Year(D), Month(D) + 1, 1) - DateSerial(Year(D), Month(D), 1) End If End Function Chester Kaup From Gustav at cactus.dk Thu Dec 14 02:29:33 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Dec 2006 09:29:33 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Susan So did I. In a few seconds. But my copy is localized so I cut the explanation but Mark provided that in English. In A2003 a search will reveal no(!) results. You have to follow this unbelievable route: Open Help and select - Microsoft Office Help - Contents - Microsoft Visual Basic Documentation - Visual Basic Language Reference - Constants - Miscellaneous Constants Once again: Never delete the old on-line help files. /gustav >>> markamatte at hotmail.com 13-12-2006 21:49 >>> I found the same thing in the A97 Help. >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf >Date: Wed, 13 Dec 2006 15:29:05 -0500 > >Where'd you get that? I didn't find a think of ms's site about versions. > >Susan H. > >Not commenting Charlotte's memory, these constants were all introduced in >Access 97: > >vbCrLf Chr(13) + Chr(10) >vbCr Chr(13) >vbLf Chr(10) >vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) >vbNullChar Chr(0) >vbNullString >vbTab Chr(9) >vbBack Chr(8) From Gustav at cactus.dk Thu Dec 14 02:34:13 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Dec 2006 09:34:13 +0100 Subject: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Message-ID: Hi Charlotte Well, I had the same feeling. It has always worked, except in Access 2.0. But to be sure I looked up the Access 95 on-line help and it does not mention these constants while Access 97 on-line help does. /gustav >>> cfoust at infostatsystems.com 13-12-2006 20:03 >>> It's OK, Gustav. You're welcome to make fun of my memory. ;o} I suppose I just never bothered with vbNewLine when vbCrLf always worked for me. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] More on vbCr, vbLf, VbNewLine, and vbCrLf Hi Susan Not commenting Charlotte's memory, these constants were all introduced in Access 97: vbCrLf Chr(13) + Chr(10) vbCr Chr(13) vbLf Chr(10) vbNewLine Chr(13) + Chr(10) (or Chr(13), Platform specific) vbNullChar Chr(0) vbNullString vbTab Chr(9) vbBack Chr(8) /gustav From rl_stewart at highstream.net Thu Dec 14 06:43:20 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 14 Dec 2006 06:43:20 -0600 Subject: [AccessD] For next loop - using date criteria In-Reply-To: References: Message-ID: <200612141248.kBECm8q10264@databaseadvisors.com> So here is the code you should be using... Public Sub DateIncrementer() Dim StartDate As Date Dim EndDate As Date Dim I As Date StartDate = #11/1/1948# EndDate = #11/1/2006# Debug.Print StartDate Do Until StartDate >= EndDate StartDate = DateAdd("m", 1, StartDate) Debug.Print StartDate Loop End Sub I think I used to do some work with Kinder Morgan also. Where are you located? At 06:16 PM 12/13/2006, you wrote: >Date: Wed, 13 Dec 2006 13:09:45 -0800 >From: "Charlotte Foust" >Subject: Re: [AccessD] For next loop - using date criteria >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Again, to what purpose? If you just want to step from the first to the >first, just use DateAdd and add a month to the latest date using an Do >Until loop and testing for a date > the end of the desired range. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester >Sent: Wednesday, December 13, 2006 11:52 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] For next loop - using date criteria > >I am trying to loop from 11/1/1948 to 11/1/2006 stepping from the first >day of one month to the first day of the next month. From EdTesiny at oasas.state.ny.us Thu Dec 14 09:00:57 2006 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 14 Dec 2006 10:00:57 -0500 Subject: [AccessD] DBA web site update Message-ID: Things seem normal today Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: Wednesday, December 13, 2006 9:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Hi Susan: > > The fellows at Korksoft, our ISP have been mucking with > things. An email has > been sent off so we shall see. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, December 13, 2006 1:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Databaseadvisors.com pulls up the old one. > www.databaseadvisors.com returns > an error. :( > > Susan H. > > I concur, the website looks great! Darren, I finally got to > see what you > look like! LOL > > For a little list history (relatively recent, I think I'm > still a newbie... > ), Darren is responsible for getting me on the list, he > hunted me down > from my sample app the 'minicalendar'. (Man I need to dust that thing > off....) > > > -- > 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 Thu Dec 14 09:36:17 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 14 Dec 2006 07:36:17 -0800 Subject: [AccessD] DBA web site update In-Reply-To: Message-ID: <0JA900GX2SKPJLI0@l-daemon> Hi All: There is still a bunch of rebuilding going on our site as we speak. The entire site was misplaced by our hosts. Fortunately they had a backup from July. As I have had nothing to do from 5 on this morning I have been able to upgrade manually. Everything should be working but I will have to out of here by 8:30 PCST so there may be loose ends. Thank you for your patience. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Thursday, December 14, 2006 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Things seem normal today Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: Wednesday, December 13, 2006 9:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Hi Susan: > > The fellows at Korksoft, our ISP have been mucking with > things. An email has > been sent off so we shall see. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, December 13, 2006 1:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Databaseadvisors.com pulls up the old one. > www.databaseadvisors.com returns > an error. :( > > Susan H. > > I concur, the website looks great! Darren, I finally got to > see what you > look like! LOL > > For a little list history (relatively recent, I think I'm > still a newbie... > ), Darren is responsible for getting me on the list, he > hunted me down > from my sample app the 'minicalendar'. (Man I need to dust that thing > off....) > > > -- > 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 ssharkins at setel.com Thu Dec 14 09:44:11 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 14 Dec 2006 10:44:11 -0500 Subject: [AccessD] DBA web site update In-Reply-To: <0JA900GX2SKPJLI0@l-daemon> Message-ID: <003d01c71f96$b41f63e0$e4b82ad1@SUSANONE> Well, I guess I'm just confused. I don't see anything different. The conversation sounded as though the site has been redesigned and I'm not seeing that. Susan H. There is still a bunch of rebuilding going on our site as we speak. The entire site was misplaced by our hosts. Fortunately they had a backup from July. As I have had nothing to do from 5 on this morning I have been able to upgrade manually. Everything should be working but I will have to out of here by 8:30 PCST so there may be loose ends. Thank you for your patience. From reuben at gfconsultants.com Thu Dec 14 09:44:15 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 10:44:15 -0500 Subject: [AccessD] Export data from query to Excel Message-ID: I can't get anything from the archives right now... Anyone got a nice routine for exporting data from a query to an excel spreadsheet? I have a query that I will change the criteria in to get the specific results I need. I then want to run a routine to export that data to a new worksheet. The query structure will always be the same - just different data. So all I need is a way to export the data while allowing me to create the worksheet name at the time of the export. I have to do this about 150 times so automation would be nice. Thanks. Reuben Cummings GFC, LLC 812.523.1017 From Jim.Hale at FleetPride.com Thu Dec 14 10:19:11 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 10:19:11 -0600 Subject: [AccessD] Export data from query to Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE173@corp-es01.fleetpride.com> Here is a method from a Excel class I wrote. This assumes an instance of Excel exists (AppXcel) and uses two functions (SheetExists and RangeNameExists)which I can send if you don't have them. If a range name is supplied it will paste to the range. If no range is supplied it will clear the sheet and paste starting in cell A2 (I usually have labels in row 1). If blPaste is true it doesn't clear the worksheet but pastes the recortset at the bottom of the previous paste. This allows multiple queries to be pasted one after the other to the same sheet. HTH Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 9:44 AM To: AccessD Subject: [AccessD] Export data from query to Excel I can't get anything from the archives right now... Anyone got a nice routine for exporting data from a query to an excel spreadsheet? I have a query that I will change the criteria in to get the specific results I need. I then want to run a routine to export that data to a new worksheet. The query structure will always be the same - just different data. So all I need is a way to export the data while allowing me to create the worksheet name at the time of the export. I have to do this about 150 times so automation would be nice. Thanks. Reuben Cummings GFC, LLC 812.523.1017 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From carbonnb at gmail.com Thu Dec 14 10:28:46 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 14 Dec 2006 11:28:46 -0500 Subject: [AccessD] Archives was (Re: Export data from query to Excel) Message-ID: On 12/14/06, Reuben Cummings wrote: > I can't get anything from the archives right now... What isn't working? Did you try going directly to the archives at http://databaseadvisors.com/pipermail/accessd/ -- 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 reuben at gfconsultants.com Thu Dec 14 11:00:23 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 12:00:23 -0500 Subject: [AccessD] Export data from query to Excel In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE173@corp-es01.fleetpride.com> Message-ID: Thanks, Jim. I would like to have SheetExists and rangeNameExists. This is something that will benefit me greatly if I keep even half to work I have now in this field. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim > Sent: Thursday, December 14, 2006 11:19 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Export data from query to Excel > > > Here is a method from a Excel class I wrote. This assumes an instance of > Excel exists (AppXcel) and uses two functions (SheetExists and > RangeNameExists)which I can send if you don't have them. If a > range name is > supplied it will paste to the range. If no range is supplied it will clear > the sheet and paste starting in cell A2 (I usually have labels in > row 1). If > blPaste is true it doesn't clear the worksheet but pastes the recortset at > the bottom of the previous paste. This allows multiple queries to > be pasted > one after the other to the same sheet. HTH > Jim Hale > > Public Function PasteRecSetExcel(strSheetName As String, _ > rstData As Recordset, Optional blPaste As Boolean = False, Optional > strWSRange As String) As Boolean > > Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, > blRange As Boolean > On Error GoTo PROC_ERR > blSheet = SheetExists(strSheetName) > blRange = RangeNameExists(strWSRange) > If strWSRange = "" Then blRange = True > If rstData.RecordCount = 0 Then > MsgBox rstData.Name & " is empty. There are no records to paste ", _ > vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ > "Empty Recordset" > PasteRecSetExcel = False > ElseIf blSheet = False Then > MsgBox strSheetName & " doesn't exist.", _ > vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ > "Non-existent Sheet" > PasteRecSetExcel = False > ElseIf blRange = False Then > MsgBox strWSRange & " is not a valid range name. No data was > pasted.", _ > vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ > "Range does not exist" > PasteRecSetExcel = False > Else > 'Load Data into Excel > Set wksUpl = appXcel.Worksheets(strSheetName) > If strWSRange = "" Then 'if range name exists use different > paste method > If blPaste = True Then > 'true means find first empty cell before pasting the recordset > y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) > wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData > Else > 'false means clear th sheet and paste the new data > beginning in > A2 > wksUpl.Range("A2:IV65536").ClearContents > wksUpl.Range("A2").CopyFromRecordset rstData > End If > Else > wksUpl.Range(strWSRange).ClearContents > wksUpl.Range(strWSRange).CopyFromRecordset rstData > End If > PasteRecSetExcel = True > End If > PROC_EXIT: > If (rstData Is Nothing) = False Then Set rstData = Nothing > If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing > Exit Function > > PROC_ERR: > PasteRecSetExcel = False > If Err.Number = 1004 Then > MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not > exist.", , _ > "PasteRecSetExcel Method" > Else > MsgBox "UseExcel.Class Error: " & Err.Number & ". " & > Err.Description, , _ > "PasteRecSetExcel Method" > End If > Resume PROC_EXIT > > End Function > -----Original Message----- > From: Reuben Cummings [mailto:reuben at gfconsultants.com] > Sent: Thursday, December 14, 2006 9:44 AM > To: AccessD > Subject: [AccessD] Export data from query to Excel > > > I can't get anything from the archives right now... > > Anyone got a nice routine for exporting data from a query to an excel > spreadsheet? > > I have a query that I will change the criteria in to get the specific > results I need. I then want to run a routine to export that data to a new > worksheet. The query structure will always be the same - just different > data. > > So all I need is a way to export the data while allowing me to create the > worksheet name at the time of the export. I have to do this > about 150 times > so automation would be nice. > > Thanks. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From reuben at gfconsultants.com Thu Dec 14 11:00:22 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 12:00:22 -0500 Subject: [AccessD] Archives was (Re: Export data from query to Excel) In-Reply-To: Message-ID: Try either route to the archives from the home page. The link you provided below worked. I also couldn't get to Drew's archive - it said his server wasn't availble. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, December 14, 2006 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Archives was (Re: Export data from query to Excel) > > > On 12/14/06, Reuben Cummings wrote: > > I can't get anything from the archives right now... > > What isn't working? > > Did you try going directly to the archives at > http://databaseadvisors.com/pipermail/accessd/ > > > -- > 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!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From reuben at gfconsultants.com Thu Dec 14 11:10:35 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 12:10:35 -0500 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 From carbonnb at gmail.com Thu Dec 14 11:14:45 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 14 Dec 2006 12:14:45 -0500 Subject: [AccessD] Archives was (Re: Export data from query to Excel) In-Reply-To: References: Message-ID: On 12/14/06, Reuben Cummings wrote: > Try either route to the archives from the home page. The link you provided > below worked. > > I also couldn't get to Drew's archive - it said his server wasn't availble. Thanks. Jim and I'll look into why the search page isn't working. Can't say anything about Drew's archive. -- 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 DWUTKA at marlow.com Thu Dec 14 11:17:04 2006 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 14 Dec 2006 11:17:04 -0600 Subject: [AccessD] Archives was (Re: Export data from query to Excel) Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160B0AA@marlow_main2.marlow.ii-vi.net> Yeah, mines offline still. That may change in the near future, but I cannot say more then that. Drew -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archives was (Re: Export data from query to Excel) Try either route to the archives from the home page. The link you provided below worked. I also couldn't get to Drew's archive - it said his server wasn't availble. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, December 14, 2006 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Archives was (Re: Export data from query to Excel) > > > On 12/14/06, Reuben Cummings wrote: > > I can't get anything from the archives right now... > > What isn't working? > > Did you try going directly to the archives at > http://databaseadvisors.com/pipermail/accessd/ > > > -- > 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!" > -- > 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 Jim.Hale at FleetPride.com Thu Dec 14 11:35:06 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 11:35:06 -0600 Subject: [AccessD] Export data from query to Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE174@corp-es01.fleetpride.com> Here they are Jim Hale Private Function RangeNameExists(nname) As Boolean ' Returns TRUE if the range name exists Dim n As Excel.Name RangeNameExists = False For Each n In appXcel.ActiveWorkbook.Names If UCase(n.Name) = UCase(nname) Then RangeNameExists = True Exit Function End If Next n Set n = Nothing End Function Private Function SheetExists(sname) As Boolean ' Returns TRUE if sheet exists in the active workbook Dim obj As Object On Error Resume Next Set obj = appXcel.ActiveWorkbook.Sheets(sname) If Err = 0 Then SheetExists = True _ Else SheetExists = False Set obj = Nothing End Function -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export data from query to Excel Thanks, Jim. I would like to have SheetExists and rangeNameExists. This is something that will benefit me greatly if I keep even half to work I have now in this field. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Dec 14 11:57:23 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 11:57:23 -0600 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE175@corp-es01.fleetpride.com> Play with this, it may give you some ideas. It puts a sum formula at the bottom of a variable column of numbers starting at e5. Jim Hale -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:11 AM To: AccessD Subject: [AccessD] OT - Specifying Excel Ranges I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Dec 14 11:58:53 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 11:58:53 -0600 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE176@corp-es01.fleetpride.com> Play with this, it may give you some ideas. It puts a sum formula at the bottom of a variable column of numbers starting at e5. Jim Hale Function test() Dim rng As Range, i As Integer, strAddressBottom As String, strAddressTop As String Set rng = Range("e5") strAddressTop = rng.Address For i = 1 To 25 If rng.Offset(i, 0).Value = "" Then strAddressBottom = rng.Offset(i - 1, 0).Cells.Address rng.Offset(i, 0).Formula = "=sum(" & strAddressTop & ":" & strAddressBottom & ")" GoTo The_End End If Next The_End: Set rng = Nothing End Function -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:11 AM To: AccessD Subject: [AccessD] OT - Specifying Excel Ranges I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Dec 14 12:09:26 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 14 Dec 2006 12:09:26 -0600 Subject: [AccessD] OT - Specifying Excel Ranges Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> Check out the indirect function. For example =AVERAGE(INDIRECT(A5):INDIRECT(A6)) where cell A5 has "C4" and cell A6 has "C7" (ie, text but without the quotes) works the same as =AVERAGE(C4:C7). A5 and A6 can then be changed to whatever cell numbers you need. Jim Hale -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Thursday, December 14, 2006 11:11 AM To: AccessD Subject: [AccessD] OT - Specifying Excel Ranges I have a case where I need to change the number of rows in Excel formulas quickly. The problem there are about 8 formulas per 'group' of numbers that I will have to change everytime I need to change the number of rows. Going into and changing 8 formulas is a pain. What I would like to is create the formula in one cell and in two other cells specify the upper row limit and lower row limit. For example, I want Average(C2:C10). However, rather than specifying C2 or C10 I want to put 2 and 10 in two other cells and let the formula reference those cells in order to get that range. If I change it to 4 and 7 my new formula would now be average(C4:C7) (at least that's how it would calculate). Then another formula would automatically change from median(D2:D10) to median(D4:D7) This would allow me change the 2 or 10 only one time, but it would change all 8 formulas in the group. Any ideas? Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From reuben at gfconsultants.com Thu Dec 14 13:27:39 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 14 Dec 2006 14:27:39 -0500 Subject: [AccessD] OT - Specifying Excel Ranges In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> Message-ID: Thanks, Jim. Those are perfect. The INDIRECT is perfect for my current situation, but I'm going to file the other for future reference. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim > Sent: Thursday, December 14, 2006 1:09 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT - Specifying Excel Ranges > > > Check out the indirect function. For example > =AVERAGE(INDIRECT(A5):INDIRECT(A6)) where cell A5 has "C4" and cell A6 has > "C7" (ie, text but without the quotes) works the same as =AVERAGE(C4:C7). > A5 and A6 can then be changed to whatever cell numbers you need. > Jim Hale > > -----Original Message----- > From: Reuben Cummings [mailto:reuben at gfconsultants.com] > Sent: Thursday, December 14, 2006 11:11 AM > To: AccessD > Subject: [AccessD] OT - Specifying Excel Ranges > > > I have a case where I need to change the number of rows in Excel formulas > quickly. The problem there are about 8 formulas per 'group' of > numbers that > I will have to change everytime I need to change the number of > rows. Going > into and changing 8 formulas is a pain. > > What I would like to is create the formula in one cell and in two other > cells specify the upper row limit and lower row limit. > > For example, I want Average(C2:C10). However, rather than > specifying C2 or > C10 I want to put 2 and 10 in two other cells and let the formula > reference > those cells in order to get that range. If I change it to 4 and 7 my new > formula would now be average(C4:C7) (at least that's how it would > calculate). Then another formula would automatically change from > median(D2:D10) to median(D4:D7) > > This would allow me change the 2 or 10 only one time, but it would change > all 8 formulas in the group. > > Any ideas? > > Thanks. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Kwilliamson at RTKL.com Thu Dec 14 14:08:55 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 14 Dec 2006 15:08:55 -0500 Subject: [AccessD] Excel Tip of the Day In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE175@corp-es01.fleetpride.com> Message-ID: Just ran across this...don't know if anyone else knew of it. When you want to have static cell references....so you want to put "$"s around the cell reference...such as: $C$1.......just click on the cell reference (in your formula)....and click F4. It automatically puts BOTH $'s around the reference. I never knew that before...so I am passing that on. Very handy! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From martyconnelly at shaw.ca Thu Dec 14 14:23:33 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 14 Dec 2006 12:23:33 -0800 Subject: [AccessD] pull data from web page In-Reply-To: References: Message-ID: <4581B2C5.7040402@shaw.ca> Here is some code to read that xml ECB rate file Note the xpath syntax is not perfect as the xml file contains namespaces. This means you would qualify the element name via the namespace [germes:Envelope] I haven't done a lot of work with multiple namespaces so I can't figure out the direct method of the XPath statement either that or something is odd with the file. Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US dollar Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Gustav Brock wrote: >Hi John > >Great! I have been looking for something like this several times without having the time to explore it. >I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). > >One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> >>>> >>>> >Gustav, > >Thanks for pointing me to the XML feed. > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Thu Dec 14 15:54:12 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 15 Dec 2006 07:54:12 +1000 Subject: [AccessD] OT - Specifying Excel Ranges In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE177@corp-es01.fleetpride.com> Message-ID: <4581C804.28240.12B1AF02@stuart.lexacorp.com.pg> On 14 Dec 2006 at 12:09, Hale, Jim wrote: > Check out the indirect function. For example > =AVERAGE(INDIRECT(A5):INDIRECT(A6)) where cell A5 has "C4" and cell A6 has > "C7" (ie, text but without the quotes) works the same as =AVERAGE(C4:C7). > A5 and A6 can then be changed to whatever cell numbers you need. Jim Hale Indirect is very powerful, you can make the original problem even simpler and only haver to change a single number when the size of the range changes with something like: =SUM(C4:INDIRECT("C" & A1 + 3)) Then you just need to store the number of values in A1. If the value of A1 is "4", this is the same as =SUM(C4:C7), -- Stuart From darrend at nimble.com.au Thu Dec 14 18:10:43 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 15 Dec 2006 11:10:43 +1100 Subject: [AccessD] DBA web site update In-Reply-To: <0JA900GX2SKPJLI0@l-daemon> Message-ID: <00d001c71fdd$79eb0f70$101b910a@DENZILLAP> Well done team Thanks for all the effort Jim and the others - well done Darren ------------------ T: 0424 696 433 -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, 15 December 2006 2:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA web site update Hi All: There is still a bunch of rebuilding going on our site as we speak. The entire site was misplaced by our hosts. Fortunately they had a backup from July. As I have had nothing to do from 5 on this morning I have been able to upgrade manually. Everything should be working but I will have to out of here by 8:30 PCST so there may be loose ends. Thank you for your patience. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Thursday, December 14, 2006 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA web site update Things seem normal today Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Lawrence > Sent: Wednesday, December 13, 2006 9:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Hi Susan: > > The fellows at Korksoft, our ISP have been mucking with > things. An email has > been sent off so we shall see. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, December 13, 2006 1:02 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DBA web site update > > Databaseadvisors.com pulls up the old one. > www.databaseadvisors.com returns > an error. :( > > Susan H. > > I concur, the website looks great! Darren, I finally got to > see what you > look like! LOL > > For a little list history (relatively recent, I think I'm > still a newbie... > ), Darren is responsible for getting me on the list, he > hunted me down > from my sample app the 'minicalendar'. (Man I need to dust that thing > off....) > > > -- > 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 developer at ultradnt.com Thu Dec 14 20:41:20 2006 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 14 Dec 2006 21:41:20 -0500 Subject: [AccessD] Excel Tip of the Day In-Reply-To: Message-ID: <00fd01c71ff2$840204e0$0200a8c0@ULTRADNT> This is a great tip, and to add to it, F4 is actually a 4-way toggle. Keep pressing it and it cycles through: $c$1, then you'll get c$1, then $c1, then plain old c1 again. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, December 14, 2006 3:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Tip of the Day Just ran across this...don't know if anyone else knew of it. When you want to have static cell references....so you want to put "$"s around the cell reference...such as: $C$1.......just click on the cell reference (in your formula)....and click F4. It automatically puts BOTH $'s around the reference. I never knew that before...so I am passing that on. Very handy! Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 15 08:09:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 15 Dec 2006 09:09:34 -0500 Subject: [AccessD] Registry Mechanic Message-ID: <001401c72052$a7f1d780$657aa8c0@m6805> Has anyone noticed that the purchase of Registry Mechanic includes (in very fine print) that is a "subscription" to the software, that lasts one year, and that it will automatically bill your credit card when the "subscription" is up? This is a PROGRAM, not an antivirus definition or something. Annoying! So does anyone recommend a registry cleaner that doesn't try to clean my bank account while it is at it? John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Dec 15 09:55:50 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Dec 2006 07:55:50 -0800 Subject: [AccessD] Registry Mechanic In-Reply-To: <001401c72052$a7f1d780$657aa8c0@m6805> Message-ID: I like Registry Booster, from Uniblue. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 15, 2006 6:10 AM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Registry Mechanic Has anyone noticed that the purchase of Registry Mechanic includes (in very fine print) that is a "subscription" to the software, that lasts one year, and that it will automatically bill your credit card when the "subscription" is up? This is a PROGRAM, not an antivirus definition or something. Annoying! So does anyone recommend a registry cleaner that doesn't try to clean my bank account while it is at it? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 15 11:43:33 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 15 Dec 2006 12:43:33 -0500 Subject: [AccessD] PGP automation Message-ID: <002a01c72070$8b8602b0$657aa8c0@m6805> I just got off the phone with PGP's ONLY rep for the SDK for automating PGP. The price for "if it's going to run on a server (and use more than one key) is $7,500!!! $995 for the developer's SDK where it will talk to a licensed copy of PGP. So.... is anyone out there using (automating) PGP? Is anyone out there using the open source version and automating that? John W. Colby Colby Consulting www.ColbyConsulting.com From ewaldt at gdls.com Fri Dec 15 12:22:20 2006 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Fri, 15 Dec 2006 13:22:20 -0500 Subject: [AccessD] Excel tip of the day In-Reply-To: Message-ID: Keith, Actually, F4 cycles from completely static, to static row only, to static column only, to all dynamic, and then continues to through the cycle again. You can use it when first entering a cell reference (either by point-and-click or type it in), but you can also use it by clicking (or arrowing) into any cell reference within a formula. Also, if you have a whole range selected (e.g., e4:e20), it works on both ends of it. Thomas F. Ewald FCS Database Manager General Dynamics Land Systems Just ran across this...don't know if anyone else knew of it. When you want to have static cell references....so you want to put "$"s around the cell reference...such as: $C$1.......just click on the cell reference (in your formula)....and click F4. It automatically puts BOTH $'s around the reference. I never knew that before...so I am passing that on. Very handy! Regards, Keith E. Williamson This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From martyconnelly at shaw.ca Fri Dec 15 13:00:24 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 15 Dec 2006 11:00:24 -0800 Subject: [AccessD] OT Friday Humour In-Reply-To: <002a01c72070$8b8602b0$657aa8c0@m6805> References: <002a01c72070$8b8602b0$657aa8c0@m6805> Message-ID: <4582F0C8.5040106@shaw.ca> MSDN Wiki Goes Live MSDN Wiki going live is likely "the most important thing that Microsoft has done for developer documentation since the invention of .chm files," according to Scott Swigart, our .NET Briefing columnist who has written several books on .NET. "With MSDN Wiki, you can add directly to the online Microsoft documents." To find out more, check out Scott Swigart's "Tech Blender" Blog at http://lists.sqlmag.com/t?ctl=43BCB:7E311 or http://msdn2.microsoft.com/en-us/library/2x7h1hfk(VS.80).aspx -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Dec 15 13:10:18 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Dec 2006 20:10:18 +0100 Subject: [AccessD] OT Friday Humour Message-ID: Hi Marty > MSDN Wiki going live is likely "the most important thing that Microsoft > has done for developer documentation since the invention of .chm files," A line appear to have been dropped: "as you know have to write it yourself." /gustav >>> martyconnelly at shaw.ca 15-12-2006 20:00 >>> MSDN Wiki Goes Live MSDN Wiki going live is likely "the most important thing that Microsoft has done for developer documentation since the invention of .chm files," according to Scott Swigart, our .NET Briefing columnist who has written several books on .NET. "With MSDN Wiki, you can add directly to the online Microsoft documents." To find out more, check out Scott Swigart's "Tech Blender" Blog at http://lists.sqlmag.com/t?ctl=43BCB:7E311 or http://msdn2.microsoft.com/en-us/library/2x7h1hfk(VS.80).aspx -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Fri Dec 15 15:58:02 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 16 Dec 2006 07:58:02 +1000 Subject: [AccessD] OT Friday Humour In-Reply-To: <4582F0C8.5040106@shaw.ca> References: <002a01c72070$8b8602b0$657aa8c0@m6805>, <4582F0C8.5040106@shaw.ca> Message-ID: <45831A6A.12172.17DB8564@stuart.lexacorp.com.pg> On 15 Dec 2006 at 11:00, MartyConnelly wrote: > MSDN Wiki Goes Live > MSDN Wiki going live is likely "the most important thing that Microsoft > has done for developer documentation since the invention of .chm files," The most important thing since the invention of .chm files is the way the MS have totally broken them with recent security updates so that you can't use them over a network. -- Stuart From ksklos at comcast.net Sat Dec 16 08:22:25 2006 From: ksklos at comcast.net (ksklos at comcast.net) Date: Sat, 16 Dec 2006 14:22:25 +0000 Subject: [AccessD] Complicated join Message-ID: <121620061422.20086.45840121000C490300004E7622007637049C0104059C05@comcast.net> We are a SAS shop and it isn't very often because of what we do that I get the chance to show Access's colors. However, the latest project has been great for this. It is a perfect project where using a relational database has been faster. However, I have run into a problem I hop someone can help me with. First the data is in Excel. The two tables need to be matched by course number. In one table (tblCourses) all the course numbers are 7 characters long. Some are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth character in the last instance indicates if the course is a lab (L), a combination course (C) or a college level class (1-0). The other table (tblMajors) came from a different office and has 7 characters also but the 4th character does not always correspond to what is in tblCourses. This is not critical as long as the first three and the laste 3 match. So I figured that I would create a new field that had just the first 3 and the last thre e and join the tables on that field. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. From ssharkins at setel.com Sat Dec 16 08:53:21 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 16 Dec 2006 09:53:21 -0500 Subject: [AccessD] Complicated join In-Reply-To: <121620061422.20086.45840121000C490300004E7622007637049C0104059C05@comcast.net> Message-ID: <002401c72121$f06f4590$4db82ad1@SUSANONE> I'd create a new field for both by parsing just the six characters you need, then join on that field. Susan H. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From shamil at users.mns.ru Fri Dec 15 16:39:53 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 16 Dec 2006 01:39:53 +0300 Subject: [AccessD] PGP automation In-Reply-To: <002a01c72070$8b8602b0$657aa8c0@m6805> Message-ID: <001b01c72099$f03552a0$6401a8c0@nant> Hi John, Have a look at this blog note with sample code: http://cephas.net/blog/2004/09/03/pgp-decryption-using-c/ titled "PGP Decryption using C#". It should work for you I think and it's free. I wish I saved you some bucks :) -- Shamil P.S. PGP can be freeware even if used on server side, isn't it? - http://www.pgpi.org/ P.P.S. If you need just RSA encryption/decryption then I think you can write some code using .NET Framework's System.Security.Cryptography. Here is one sample: http://www.codeproject.com/vb/net/Digital_Signatures.asp (.NET Framework redistributable is free) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 15, 2006 8:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] PGP automation I just got off the phone with PGP's ONLY rep for the SDK for automating PGP. The price for "if it's going to run on a server (and use more than one key) is $7,500!!! $995 for the developer's SDK where it will talk to a licensed copy of PGP. So.... is anyone out there using (automating) PGP? Is anyone out there using the open source version and automating that? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 16 14:46:26 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 16 Dec 2006 15:46:26 -0500 Subject: [AccessD] dhcp stuff Message-ID: <001501c72153$420d2b70$657aa8c0@m6805> I am trying to get my router (DL-624) to be the DHCP server (which it has always been) and to assign static addresses to my various computers. I have discovered the mac addresses, built up the list of statically assigned mac / ip address sets etc. One of my machines has two 1gb NICs. For come reason, one of those NICs ends up being assigned a Dynamic address even though the router has a mac / ip pair in the static assignment table and it is enabled. I have double checked everything. The NIC that windows claims is the second port is the culprit. If I go into the properties inside of windows and specifically tell it to use a given address (statically assigned inside of Windows) it does take that address, but if I tell it to dynamically acquire an address it gets the dynamic address that the router assigns. The router, at this instant, has TWO IP addresses for this NIC - a statically assigned (now matching both in the router table and in Windows) and a dynamically assigned address by the router. If I try (for example) to remote desktop into the dynamically assigned address the attempt fails, which makes sense because the actual port (mac address) is statically assigned (in windows and the router) to a different address. I am wondering why the router dynamically assigns an address to that MAC even though there is an entry in the static address table for that MAC, and in fact I have told Windows to statically assign an address to that NIC to match that static address assigned by the router. In essence, I can now remote desktop in (from inside of my network) to either nic on that machine, at the "statically assigned" ip addresses, and cannot remote desktop to the "dynamically assigned" ip address for the offending mac, so I know now which addresses are valid. But why the dynamic assignment which is in fact not used by the machine? I sure wish I understood this stuff better. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Dec 16 15:08:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 16 Dec 2006 16:08:06 -0500 Subject: [AccessD] PGP automation In-Reply-To: <001b01c72099$f03552a0$6401a8c0@nant> Message-ID: <001f01c72156$48f07250$657aa8c0@m6805> Thanks Shamil. I "hope" I saved you some bucks. A wish is generally something you desire but don't really expect to happen. I wish I had a Mercedes, I wish my mom would call, I wish I could afford a vacation, I wish America would stop provoking hatred in the Muslim world. Hope is something you desire as well, but might actually expect to see. I hope I helped you, I hope your daughter can go to school in America, I hope the republicans lose the election, I hope my son like his new bike. Kind of a small but important different in usage. And then you have lyrics like "We wish you a merry Christmas". Hmmmmmm....... Languages can be tough to pin down sometimes. Anyway, thanks for the pointer. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, December 15, 2006 5:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PGP automation Hi John, Have a look at this blog note with sample code: http://cephas.net/blog/2004/09/03/pgp-decryption-using-c/ titled "PGP Decryption using C#". It should work for you I think and it's free. I wish I saved you some bucks :) -- Shamil P.S. PGP can be freeware even if used on server side, isn't it? - http://www.pgpi.org/ P.P.S. If you need just RSA encryption/decryption then I think you can write some code using .NET Framework's System.Security.Cryptography. Here is one sample: http://www.codeproject.com/vb/net/Digital_Signatures.asp (.NET Framework redistributable is free) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 15, 2006 8:44 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] PGP automation I just got off the phone with PGP's ONLY rep for the SDK for automating PGP. The price for "if it's going to run on a server (and use more than one key) is $7,500!!! $995 for the developer's SDK where it will talk to a licensed copy of PGP. So.... is anyone out there using (automating) PGP? Is anyone out there using the open source version and automating that? John W. Colby Colby Consulting www.ColbyConsulting.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 wdhindman at dejpolsystems.com Sat Dec 16 16:23:43 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 16 Dec 2006 17:23:43 -0500 Subject: [AccessD] PGP automation References: <001f01c72156$48f07250$657aa8c0@m6805> Message-ID: <000b01c72160$d95ff4f0$4158eb44@50NM721> ...no politics here JC ...take it to OT, eh. William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 16, 2006 4:08 PM Subject: Re: [AccessD] PGP automation > Thanks Shamil. > > I "hope" I saved you some bucks. > > A wish is generally something you desire but don't really expect to > happen. > I wish I had a Mercedes, I wish my mom would call, I wish I could afford a > vacation, I wish America would stop provoking hatred in the Muslim world. > > Hope is something you desire as well, but might actually expect to see. > > I hope I helped you, I hope your daughter can go to school in America, I > hope the republicans lose the election, I hope my son like his new bike. > > Kind of a small but important different in usage. > > And then you have lyrics like "We wish you a merry Christmas". > Hmmmmmm....... > > Languages can be tough to pin down sometimes. > > Anyway, thanks for the pointer. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, December 15, 2006 5:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] PGP automation > > Hi John, > > Have a look at this blog note with sample code: > > http://cephas.net/blog/2004/09/03/pgp-decryption-using-c/ > > titled "PGP Decryption using C#". > > It should work for you I think and it's free. > > I wish I saved you some bucks :) > > -- > Shamil > > P.S. PGP can be freeware even if used on server side, isn't it? - > http://www.pgpi.org/ > > P.P.S. If you need just RSA encryption/decryption then I think you can > write > some code using .NET Framework's System.Security.Cryptography. Here is one > sample: http://www.codeproject.com/vb/net/Digital_Signatures.asp (.NET > Framework redistributable is free) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Friday, December 15, 2006 8:44 PM > To: 'Access Developers discussion and problem solving'; 'Discussion of > Hardware and Software issues' > Subject: [AccessD] PGP automation > > I just got off the phone with PGP's ONLY rep for the SDK for automating > PGP. > The price for "if it's going to run on a server (and use more than one > key) > is $7,500!!! $995 for the developer's SDK where it will talk to a > licensed > copy of PGP. > > So.... is anyone out there using (automating) PGP? > > Is anyone out there using the open source version and automating that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 Sat Dec 16 16:39:25 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 17 Dec 2006 08:39:25 +1000 Subject: [AccessD] dhcp stuff In-Reply-To: <001501c72153$420d2b70$657aa8c0@m6805> References: <001501c72153$420d2b70$657aa8c0@m6805> Message-ID: <4584759D.12323.1D27BE23@stuart.lexacorp.com.pg> Why use two NICs in the machine on the same network? That is likely to cause problems with ARP resolution and routing for a start. . Normally, you'd only use them both if the workstation needed to be on two different networks simultaneously. On 16 Dec 2006 at 15:46, JWColby wrote: > I am trying to get my router (DL-624) to be the DHCP server (which it has > always been) and to assign static addresses to my various computers. I have > discovered the mac addresses, built up the list of statically assigned mac / > ip address sets etc. One of my machines has two 1gb NICs. For come reason, > one of those NICs ends up being assigned a Dynamic address even though the > router has a mac / ip pair in the static assignment table and it is enabled. > I have double checked everything. > > The NIC that windows claims is the second port is the culprit. If I go into > the properties inside of windows and specifically tell it to use a given > address (statically assigned inside of Windows) it does take that address, > but if I tell it to dynamically acquire an address it gets the dynamic > address that the router assigns. > > The router, at this instant, has TWO IP addresses for this NIC - a > statically assigned (now matching both in the router table and in Windows) > and a dynamically assigned address by the router. If I try (for example) to > remote desktop into the dynamically assigned address the attempt fails, > which makes sense because the actual port (mac address) is statically > assigned (in windows and the router) to a different address. > > I am wondering why the router dynamically assigns an address to that MAC > even though there is an entry in the static address table for that MAC, and > in fact I have told Windows to statically assign an address to that NIC to > match that static address assigned by the router. > > In essence, I can now remote desktop in (from inside of my network) to > either nic on that machine, at the "statically assigned" ip addresses, and > cannot remote desktop to the "dynamically assigned" ip address for the > offending mac, so I know now which addresses are valid. But why the dynamic > assignment which is in fact not used by the machine? > > I sure wish I understood this stuff better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From stuart at lexacorp.com.pg Sat Dec 16 16:54:29 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 17 Dec 2006 08:54:29 +1000 Subject: [AccessD] dhcp stuff In-Reply-To: <001501c72153$420d2b70$657aa8c0@m6805> References: <001501c72153$420d2b70$657aa8c0@m6805> Message-ID: <45847925.19696.1D35880C@stuart.lexacorp.com.pg> Here's Microsoft's take on this one. Basically - don't do it. On 16 Dec 2006 at 15:46, JWColby wrote: > I am trying to get my router (DL-624) to be the DHCP server (which it has > always been) and to assign static addresses to my various computers. I have > discovered the mac addresses, built up the list of statically assigned mac / > ip address sets etc. One of my machines has two 1gb NICs. For come reason, > one of those NICs ends up being assigned a Dynamic address even though the > router has a mac / ip pair in the static assignment table and it is enabled. > I have double checked everything. > > The NIC that windows claims is the second port is the culprit. If I go into > the properties inside of windows and specifically tell it to use a given > address (statically assigned inside of Windows) it does take that address, > but if I tell it to dynamically acquire an address it gets the dynamic > address that the router assigns. > > The router, at this instant, has TWO IP addresses for this NIC - a > statically assigned (now matching both in the router table and in Windows) > and a dynamically assigned address by the router. If I try (for example) to > remote desktop into the dynamically assigned address the attempt fails, > which makes sense because the actual port (mac address) is statically > assigned (in windows and the router) to a different address. > > I am wondering why the router dynamically assigns an address to that MAC > even though there is an entry in the static address table for that MAC, and > in fact I have told Windows to statically assign an address to that NIC to > match that static address assigned by the router. > > In essence, I can now remote desktop in (from inside of my network) to > either nic on that machine, at the "statically assigned" ip addresses, and > cannot remote desktop to the "dynamically assigned" ip address for the > offending mac, so I know now which addresses are valid. But why the dynamic > assignment which is in fact not used by the machine? > > I sure wish I understood this stuff better. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From shamil at users.mns.ru Sat Dec 16 19:09:37 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 17 Dec 2006 04:09:37 +0300 Subject: [AccessD] PGP automation In-Reply-To: <001f01c72156$48f07250$657aa8c0@m6805> Message-ID: <000201c72178$05ddc2c0$6501a8c0@nant> Hi John, Thank you for the English lesson - may I argue? :) "I wish I saved you some bucks." means here in Russia nearly the same as "I hope I saved you some bucks" but "I wish" is more expressive than formal and weak "I hope" IMO. "I wish I had saved you some bucks." - that would mean here something, which can't happen in reality because it happened already - usage of past perfect tense shows that; when past tense is used as in "I wish I saved..." then an event can happen in the future and the one who uses "I wish" expresses strong desire for this event to happen ... Well, maybe this is a special Russian dialect of English, which I used :) Maybe this is even just my interpretation. To be certain this time: "I do hope that the sample I referred will save you a lot of bucks" :) Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 17, 2006 12:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PGP automation Thanks Shamil. I "hope" I saved you some bucks. A wish is generally something you desire but don't really expect to happen. I wish I had a Mercedes, I wish my mom would call, I wish I could afford a vacation, I wish America would stop provoking hatred in the Muslim world. Hope is something you desire as well, but might actually expect to see. I hope I helped you, I hope your daughter can go to school in America, I hope the republicans lose the election, I hope my son like his new bike. Kind of a small but important different in usage. And then you have lyrics like "We wish you a merry Christmas". Hmmmmmm....... Languages can be tough to pin down sometimes. Anyway, thanks for the pointer. John W. Colby Colby Consulting www.ColbyConsulting.com <<< tail skipped >>> From artful at rogers.com Sat Dec 16 21:39:58 2006 From: artful at rogers.com (artful at rogers.com) Date: Sat, 16 Dec 2006 19:39:58 -0800 (PST) Subject: [AccessD] PGP automation Message-ID: <20061217033958.14782.qmail@web88210.mail.re2.yahoo.com> Wow. Shamil, you are an expert parser of the English language. The correct phrasing would have been, unambiguously: "I regret that I did not save you some units of currency." I wish, I hope, I regret, I promise, I pray, I hope... they are all equally foolish prefixes to sentences, and they all mean nothing more than "um", which is another meaningless expression commonly used as the first word of a sentence in English. Another example is "like" as in "So I was like sooooo interested in like the subject of this like email." Such words function either as marks of idiocy or as punctuation marks, similar to the diamond in a baseball park. Some other English idiosyncrasies: If it were up to me, there would be five diamonds in a baseball park. Buffalo buffalo Buffalo buffalo Buffalo buffalo. (I fear t hat I have given the resolution away with my capitalization, but if not, then the foregoing sentence is both syntactically and semantically correct, and is a legitimate sentence in English. I cannot promise the same in Russian, but it might be fun to run it through one of those translation algorithms.) Always a pleasure to play with language! My Dutch is very shaky, but I can pronounce two of the most difficult words vacuum cleaner and the name of a small town on the coast that the Dutch used to detect German spies in WW2. I had to practice both words hundreds of times to get them right. The name of the town took way longer than the name of the vacuum ckeaner! Arthur ----- Original Message ---- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Saturday, December 16, 2006 8:09:37 PM Subject: Re: [AccessD] PGP automation Hi John, Thank you for the English lesson - may I argue? :) "I wish I saved you some bucks." means here in Russia nearly the same as "I hope I saved you some bucks" but "I wish" is more expressive than formal and weak "I hope" IMO. "I wish I had saved you some bucks." - that would mean here something, which can't happen in reality because it happened already - usage of past perfect tense shows that; when past tense is used as in "I wish I saved..." then an event can happen in the future and the one who uses "I wish" expresses strong desire for this event to happen ... Well, maybe this is a special Russian dialect of English, which I used :) Maybe this is even just my interpretation. To be certain this time: "I do hope that the sample I referred will save you a lot of bucks" :) Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 17, 2006 12:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PGP automation Thanks Shamil. I "hope" I saved you some bucks. A wish is generally something you desire but don't really expect to happen. I wish I had a Mercedes, I wish my mom would call, I wish I could afford a vacation, I wish America would stop provoking hatred in the Muslim world. Hope is something you desire as well, but might actually expect to see. I hope I helped you, I hope your daughter can go to school in America, I hope the republicans lose the election, I hope my son like his new bike. Kind of a small but important different in usage. And then you have lyrics like "We wish you a merry Christmas". Hmmmmmm....... Languages can be tough to pin down sometimes. Anyway, thanks for the pointer. John W. Colby Colby Consulting www.ColbyConsulting.com <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Dec 17 02:09:12 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 17 Dec 2006 18:09:12 +1000 Subject: [AccessD] dhcp stuff In-Reply-To: <45847925.19696.1D35880C@stuart.lexacorp.com.pg> References: <001501c72153$420d2b70$657aa8c0@m6805>, <45847925.19696.1D35880C@stuart.lexacorp.com.pg> Message-ID: <4584FB28.25390.1F3160F5@stuart.lexacorp.com.pg> Oops, forgot the URL http://support.microsoft.com/kb/175767 On 17 Dec 2006 at 8:54, Stuart McLachlan wrote: > Here's Microsoft's take on this one. Basically - don't do it. > > On 16 Dec 2006 at 15:46, JWColby wrote: > > > I am trying to get my router (DL-624) to be the DHCP server (which it has > > always been) and to assign static addresses to my various computers. I > > have discovered the mac addresses, built up the list of statically > > assigned mac / ip address sets etc. One of my machines has two 1gb NICs. -- Stuart From artful at rogers.com Sun Dec 17 05:36:14 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 17 Dec 2006 03:36:14 -0800 (PST) Subject: [AccessD] SQL and Vista Message-ID: <20061217113614.30910.qmail@web88211.mail.re2.yahoo.com> According to this story (http://money.cnn.com/2006/12/14/magazines/business2/microsoft_vista.biz2/index.htm), SQL Server won't run on Vista at least until MS serves up a patch. Has anyone independently verified that the content of this story is true? Unfortunately I cannot verify it since I don't yet have a copy of Vista other than the beta. Arthur From stuart at lexacorp.com.pg Sun Dec 17 08:41:11 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Dec 2006 00:41:11 +1000 Subject: [AccessD] SQL and Vista In-Reply-To: <20061217113614.30910.qmail@web88211.mail.re2.yahoo.com> References: <20061217113614.30910.qmail@web88211.mail.re2.yahoo.com> Message-ID: <45855707.3067.20983E28@stuart.lexacorp.com.pg> On 17 Dec 2006 at 3:36, artful at rogers.com wrote: > According to this story > (http://money.cnn.com/2006/12/14/magazines/business2/microsoft_vista.biz2/in > dex.htm), SQL Server won't run on Vista at least until MS serves up a patch. > > Has anyone independently verified that the content of this story is true? > Unfortunately I cannot verify it since I don't yet have a copy of Vista > other than the beta. Microsft says that SQL Server isn't supported until SP2. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx "In an effort to provide customers with more secure products, Microsoft Windows Server "Longhorn" and Microsoft Windows Vista will only support SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available." At this stage they have released SP2 Community Technology Preview (CTP) but there is no indication of when the actual SP2 will be available. http://support.microsoft.com/kb/913089 -- Stuart From gustav at cactus.dk Sun Dec 17 13:57:35 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Dec 2006 20:57:35 +0100 Subject: [AccessD] Complicated join Message-ID: Hi Susan For such cases I create a select query for each table which just returns all records but with the modified key. Here, something like this: SELECT Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, * FROM tblCourses and SELECT Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, * FROM tblMajor Then you can join and filter etc. as you would for any other table using the cleaned ID fields - except for updates, of course. /gustav >>> ksklos at comcast.net 16-12-06 15:22 >>> We are a SAS shop and it isn't very often because of what we do that I get the chance to show Access's colors. However, the latest project has been great for this. It is a perfect project where using a relational database has been faster. However, I have run into a problem I hop someone can help me with. First the data is in Excel. The two tables need to be matched by course number. In one table (tblCourses) all the course numbers are 7 characters long. Some are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth character in the last instance indicates if the course is a lab (L), a combination course (C) or a college level class (1-0). The other table (tblMajors) came from a different office and has 7 characters also but the 4th character does not always correspond to what is in tblCourses. This is not critical as long as the first three and the laste 3 match. So I figured that I would create a new field that had just the first 3 and the la! st thre e and join the tables on that field. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. From prosoft6 at hotmail.com Sun Dec 17 17:18:44 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sun, 17 Dec 2006 18:18:44 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: <001501c72153$420d2b70$657aa8c0@m6805> Message-ID: Do you have the router set to NAT with DHCP enabled? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From ksklos at comcast.net Sun Dec 17 17:48:28 2006 From: ksklos at comcast.net (ksklos at comcast.net) Date: Sun, 17 Dec 2006 23:48:28 +0000 Subject: [AccessD] Complicated join Message-ID: <121720062348.22750.4585D74C000D6E42000058DE22070206539C0104059C05@comcast.net> That what I was thinking, Susan. But how do I isolate the records with three letters at the beginning from the records with 7 numbers or 1 character at the beginning and 6 numbers? -------------- Original message -------------- From: "Susan Harkins" > I'd create a new field for both by parsing just the six characters you need, > then join on that field. > > Susan H. > > Here is the rub. Most of the entries in the courses fields match because > they are 7 numbers or they both have the character+6 numbers combination. > There are approximately 1800 records that need to be matched with the 3/3 > combination. How do I isolate just those records that need to be matched > using the 3/3 combination? Here is an example: tblCourses: SPN1101, > SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is > understandable. I can send more examples if needed. Thanks. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ksklos at comcast.net Sun Dec 17 17:50:49 2006 From: ksklos at comcast.net (ksklos at comcast.net) Date: Sun, 17 Dec 2006 23:50:49 +0000 Subject: [AccessD] Complicated join Message-ID: <121720062350.25643.4585D7D90000BD660000642B22070206539C0104059C05@comcast.net> OK, Gustav. This is good once I isolate the records that have 3 characters at the beginning of the field from the others. Any idea how to do that? -------------- Original message -------------- From: "Gustav Brock" > Hi Susan > > For such cases I create a select query for each table which just returns all > records but with the modified key. > > Here, something like this: > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblCourses > > and > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblMajor > > Then you can join and filter etc. as you would for any other table using the > cleaned ID fields - except for updates, of course. > > /gustav > > > >>> ksklos at comcast.net 16-12-06 15:22 >>> > We are a SAS shop and it isn't very often because of what we do that I get the > chance to show Access's colors. However, the latest project has been great for > this. It is a perfect project where using a relational database has been > faster. However, I have run into a problem I hop someone can help me with. > First the data is in Excel. The two tables need to be matched by course number. > In one table (tblCourses) all the course numbers are 7 characters long. Some > are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth > character in the last instance indicates if the course is a lab (L), a > combination course (C) or a college level class (1-0). The other table > (tblMajors) came from a different office and has 7 characters also but the 4th > character does not always correspond to what is in tblCourses. This is not > critical as long as the first three and the laste 3 match. So I figured that I > would create a new field that had just the first 3 and the la! > st thre > e and join the tables on that field. Here is the rub. Most of the entries in > the courses fields match because they are 7 numbers or they both have the > character+6 numbers combination. There are approximately 1800 records that need > to be matched with the 3/3 combination. How do I isolate just those records > that need to be matched using the 3/3 combination? Here is an example: > tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I > hope this is understandable. I can send more examples if needed. Thanks. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Dec 17 18:07:21 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 17 Dec 2006 19:07:21 -0500 Subject: [AccessD] Complicated join In-Reply-To: <121720062348.22750.4585D74C000D6E42000058DE22070206539C0104059C05@comcast.net> Message-ID: <001e01c72238$7d9b2120$06b82ad1@SUSANONE> So, this isn't as simple as concatenating the first 3 characters and the last 3 characters? Susan H. That what I was thinking, Susan. But how do I isolate the records with three letters at the beginning from the records with 7 numbers or 1 character at the beginning and 6 numbers? From jwcolby at colbyconsulting.com Sun Dec 17 19:29:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 17 Dec 2006 20:29:34 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: Message-ID: <002501c72243$f9ceeeb0$657aa8c0@m6805> Yep. It has always acted as the DHCP Server. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Sunday, December 17, 2006 6:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] dhcp stuff Do you have the router set to NAT with DHCP enabled? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gordons2 at pacbell.net Sun Dec 17 19:46:14 2006 From: gordons2 at pacbell.net (gordons2) Date: Sun, 17 Dec 2006 17:46:14 -0800 Subject: [AccessD] Seasons Greatings Message-ID: <00a401c72246$4e407250$0200a8c0@Home1> Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com From jwcolby at colbyconsulting.com Sun Dec 17 20:13:28 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 17 Dec 2006 21:13:28 -0500 Subject: [AccessD] Seasons Greatings In-Reply-To: <00a401c72246$4e407250$0200a8c0@Home1> Message-ID: <002c01c7224a$1c23a1d0$657aa8c0@m6805> Well buddy, I thought we'd lost you. Seasons greetings back at ya. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gordons2 Sent: Sunday, December 17, 2006 8:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Seasons Greatings Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com From darrend at nimble.com.au Sun Dec 17 21:32:23 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 18 Dec 2006 14:32:23 +1100 Subject: [AccessD] A2000: Run from Command line Message-ID: <002b01c72255$2414b590$101b910a@DENZILLAP> Hi All >From a form - I am building a string that I want to 'send' to a command line then I want the string to 'execute' from that command line So - Building the string is no big deal and I have done that Once I have built the string though - how do I then get it to execute from a command line? EG Final String may look like this (It's running an in house Ruby Program BTW - but that all works fine - no issues) C:\cool_ruby_app.rb -t TA -a sqlserver -h CoolServer -d CooldB -u username -p PW_HERE -i 10075 If I open a command line (START|RUN|CMD) from the Root folder of the C:\ Drive and manually type the above line it all works cool and I get what I expect to get How do I just get it to the command line in the first place and then get it to run? Rather than type this line each time to produce what I want to produce - I want to set up a loop (that works too by the way) and output each line of the loop to a command line Make sense? Many thanks in advance DD From stuart at lexacorp.com.pg Sun Dec 17 22:30:14 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Dec 2006 14:30:14 +1000 Subject: [AccessD] A2000: Run from Command line In-Reply-To: <002b01c72255$2414b590$101b910a@DENZILLAP> References: <002b01c72255$2414b590$101b910a@DENZILLAP> Message-ID: <45861956.19735.2EEFED2@stuart.lexacorp.com.pg> On 18 Dec 2006 at 14:32, Darren DICK wrote: > Hi All > > >From a form - I am building a string that I want to 'send' to a command > >line > then I want the string to 'execute' from that command line > > So - Building the string is no big deal and I have done that > > Once I have built the string though - how do I then get it to execute from a > command line? > >From VBA Help: Shell Function Runs an executable program and returns a Variant (Double) representing the program's task ID if successful, otherwise it returns zero. Syntax Shell(pathname[,windowstyle]) The Shell function syntax has these named arguments: Part Description pathname Required; Variant (String). Name of the program to execute and any required arguments or command-line switches; may include directory or folder and drive. On the Macintosh, you can use the MacID function to specify an application's signature instead of its name. The following example uses the signature for Microsoft Word: Shell MacID("MSWD") windowstyle Optional. Variant (Integer) corresponding to the style of the window in which the program is to be run. If windowstyle is omitted, the program is started minimized with focus. On the Macintosh (System 7.0 or later), windowstyle only determines whether or not the application gets the focus when it is run. The windowstyle named argument has these values: Constant Value Description vbHide 0 Window is hidden and focus is passed to the hidden window. The vbHide constant is not applicable on Macintosh platforms. vbNormalFocus 1 Window has focus and is restored to its original size and position. vbMinimizedFocus 2 Window is displayed as an icon with focus. vbMaximizedFocus 3 Window is maximized with focus. vbNormalNoFocus 4 Window is restored to its most recent size and position. The currently active window remains active. vbMinimizedNoFocus 6 Window is displayed as an icon. The currently active window remains active. Remarks If the Shell function successfully executes the named file, it returns the task ID of the started program. The task ID is a unique number that identifies the running program. If the Shell function can't start the named program, an error occurs. On the Macintosh, vbNormalFocus, vbMinimizedFocus, and vbMaximizedFocus all place the application in the foreground; vbHide, vbNoFocus, vbMinimizeFocus all place the application in the background. Note By default, the Shell function runs other programs asynchronously. This means that a program started with Shell might not finish executing before the statements following the Shell function are executed. -- Stuart From Gustav at cactus.dk Mon Dec 18 02:18:44 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Dec 2006 09:18:44 +0100 Subject: [AccessD] Complicated join Message-ID: Hi Susan That could be done this way: SELECT Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, * FROM tblCourses WHERE NOT IsNumeric(Left(CourseNo, 3)) /gustav >>> ksklos at comcast.net 18-12-2006 00:50 >>> OK, Gustav. This is good once I isolate the records that have 3 characters at the beginning of the field from the others. Any idea how to do that? -------------- Original message -------------- From: "Gustav Brock" > Hi Susan > > For such cases I create a select query for each table which just returns all > records but with the modified key. > > Here, something like this: > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblCourses > > and > > SELECT > Left(CourseNo, 3) & Right(CourseNo, 3) AS ID, > * > FROM > tblMajor > > Then you can join and filter etc. as you would for any other table using the > cleaned ID fields - except for updates, of course. > > /gustav > > > >>> ksklos at comcast.net 16-12-06 15:22 >>> > We are a SAS shop and it isn't very often because of what we do that I get the > chance to show Access's colors. However, the latest project has been great for > this. It is a perfect project where using a relational database has been > faster. However, I have run into a problem I hop someone can help me with. > First the data is in Excel. The two tables need to be matched by course number. > In one table (tblCourses) all the course numbers are 7 characters long. Some > are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth > character in the last instance indicates if the course is a lab (L), a > combination course (C) or a college level class (1-0). The other table > (tblMajors) came from a different office and has 7 characters also but the 4th > character does not always correspond to what is in tblCourses. This is not > critical as long as the first three and the laste 3 match. So I figured that I > would create a new field that had just the first 3 and the la! > st thre > e and join the tables on that field. Here is the rub. Most of the entries in > the courses fields match because they are 7 numbers or they both have the > character+6 numbers combination. There are approximately 1800 records that need > to be matched with the 3/3 combination. How do I isolate just those records > that need to be matched using the 3/3 combination? Here is an example: > tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I > hope this is understandable. I can send more examples if needed. Thanks. > > -- > 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 Mon Dec 18 03:45:20 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Dec 2006 10:45:20 +0100 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Message-ID: Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /gustav From Erwin.Craps at ithelps.eu Mon Dec 18 06:14:41 2006 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Mon, 18 Dec 2006 13:14:41 +0100 Subject: [AccessD] slow database after update Mcafee Security Shield 11 Message-ID: <430E80531228BA4497C5EB1A7BA786B0023CF2@stekelbes.ithelps.local> One of my application at a customer site is running terrybly slow after an McAfee Security Shield 11 update. Closing a form (most used), that saves severall records when closing, freeses for +/ 60 seconds. Disabling the Virusscanner let the app running at normal speed again again, closing the form just takes 1 second instead of 60. I turned of "Scan all files" but this does not help, further more I don't seem to find a Excluded file type anymore in Mcafee, so I cant exclude MDB's. No luck finding a solution at McAfee KB but I see some other users complaining about slowness since this update. Does anybody has a solution for this, the scanner is now off, in the espectation McAfee will release an update soon. Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From jimdettman at verizon.net Mon Dec 18 07:27:03 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 18 Dec 2006 08:27:03 -0500 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 In-Reply-To: Message-ID: <014c01c722a8$356107b0$8abea8c0@XPS> Watch out for any mapped drives that may be unavailable. If they are, doing anything in an open dialog slows it down considerably. This one always sneaks up on me as I do a lot of remote work. I'll map a drive, forget about it, then latter try to do something and the drive is not available. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 18, 2006 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Dec 18 07:47:35 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 18 Dec 2006 08:47:35 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: <4584FB28.25390.1F3160F5@stuart.lexacorp.com.pg> Message-ID: <003c01c722ab$13cc3310$657aa8c0@m6805> Thanks Stuart for that link. My question really had to do with the router rather than the machine, although perhaps not. I do not know how any of this works, however my assumption was that if the router was set up to assign IP addresses (the DHCP Server) and it had a table of static assignments which included both NICs on that machine, then it would TELL each NIC what IP it had to use. I suppose if the router did indeed TELL both NICs what IP address to use, and it told them to use the addresses in the static table, and one of the NICs later came back and TOLD the router "I am using this address" then perhaps the router would log that under "dynamically assigned". Of course I haven't a clue how it really works, that is truly a WAG. In the end, everything is working. I was trying to get remote desktop working on several of my machines on my network. In order to do that, the router has to do port forwarding. In order to do that it has to know at all times what IP address a given machine will be at, and so I went into the router and created entries in the Static IP table for all the NICs on all the machines. In general that worked, except that on the lone machine that has two NICs, one of the NICs ended up having an IP address in the Dynamic IP address table in the Router, IN ADDITION TO the static address, and was in fact using the Dynamic address. In order to force that NIC to use the STATIC address assigned in the Router, I went into properties for that NIC and assigned it that STATIC address in the properties in Windows. Now the NIC does indeed use the Static address assigned by the router, if only because I ordered Windows to do so in the properties for that NIC in Windows. Having all of that straightened out, I then did the port forwarding and remote desktop magically started working again. As for following Microsoft's recommendations on this and disabling one of the NICs, I probably will, although if the IP addresses are Static and the port never fails it probably doesn't matter. NVIDIA is trying to lead the world into using dual NICs and having the ability to "prioritize" packets sent through the two NICs. Applications can be specifically assigned to use a specific NIC, and then if there is data to be sent on both NICs, one gets priority. The idea is simple, the reality is less so. If I could make it work, I could do things like use one of my machines to do Skye and upload data to my client. Assign Skye to the high priority channel and file transfers to the lower priority channel. Then Skye packets (going out) would have higher priority and people on the other end of a Skye call would hear a higher quality signal if I happened to be doing uploads at the same time. Whether I will ever really use that is another question, especially considering the resistance to such stuff from the OS vendor. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 17, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] dhcp stuff Oops, forgot the URL http://support.microsoft.com/kb/175767 From mikedorism at verizon.net Mon Dec 18 08:01:18 2006 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 18 Dec 2006 09:01:18 -0500 Subject: [AccessD] A2000: Run from Command line In-Reply-To: <002b01c72255$2414b590$101b910a@DENZILLAP> Message-ID: <000401c722ac$fdc9d250$2f01a8c0@Kermit> Use the Shell function to execute the string you built. Doris Manning Database Administrator Hargrove Inc. From Gustav at cactus.dk Mon Dec 18 08:04:36 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Dec 2006 15:04:36 +0100 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Message-ID: Hi Jim Thanks! That was it! I knew it was something simple. I had mapped drive L: to an external Linux box which has been detached for a while. Oh my. Now I can save my Visio drawings and Access databases without looking for new mail while the dialog browser catches up. Thanks again. /gustav >>> jimdettman at verizon.net 18-12-2006 14:27 >>> Watch out for any mapped drives that may be unavailable. If they are, doing anything in an open dialog slows it down considerably. This one always sneaks up on me as I do a lot of remote work. I'll map a drive, forget about it, then latter try to do something and the drive is not available. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 18, 2006 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /gustav From jwcolby at colbyconsulting.com Mon Dec 18 08:11:54 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 18 Dec 2006 09:11:54 -0500 Subject: [AccessD] Very slow browsing with open dialog in Access 2003 In-Reply-To: <014c01c722a8$356107b0$8abea8c0@XPS> Message-ID: <004001c722ae$794a12e0$657aa8c0@m6805> Yep! I have batch files that set up the connection and map the drive. A matching batch file unmaps the drive and drops the connection. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, December 18, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Very slow browsing with open dialog in Access 2003 Watch out for any mapped drives that may be unavailable. If they are, doing anything in an open dialog slows it down considerably. This one always sneaks up on me as I do a lot of remote work. I'll map a drive, forget about it, then latter try to do something and the drive is not available. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 18, 2006 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Very slow browsing with open dialog in Access 2003 Hi all This is probably easy, but how can you speed up directory/folder browsing when you use the dialog box to open a file with MS Office 2003 including Access 2003? With all other versions of MS Office it's a snap to browse through drives and folders, but with Office 2003 it takes "forever" as if the dialog box investigates each and every file within a folder before it will be opened. /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 john at winhaven.net Mon Dec 18 09:21:33 2006 From: john at winhaven.net (John Bartow) Date: Mon, 18 Dec 2006 09:21:33 -0600 Subject: [AccessD] slow database after update Mcafee Security Shield 11 In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0023CF2@stekelbes.ithelps.local> Message-ID: <02cd01c722b8$34d06d30$1402a8c0@ScuzzPaq> Erwin, I just removed McAfee from a customer's PC last week because it was running so slowly. I suggest you do the same (at least temporarily and install CA's 30 day trial while waiting for an update. http://home3.ca.com/subscriptcenter/TrialReg.aspx?lang=en-US&pid=PA HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Monday, December 18, 2006 6:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] slow database after update Mcafee Security Shield 11 One of my application at a customer site is running terrybly slow after an McAfee Security Shield 11 update. Closing a form (most used), that saves severall records when closing, freeses for +/ 60 seconds. Disabling the Virusscanner let the app running at normal speed again again, closing the form just takes 1 second instead of 60. I turned of "Scan all files" but this does not help, further more I don't seem to find a Excluded file type anymore in Mcafee, so I cant exclude MDB's. No luck finding a solution at McAfee KB but I see some other users complaining about slowness since this update. Does anybody has a solution for this, the scanner is now off, in the espectation McAfee will release an update soon. Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.22/590 - Release Date: 12/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.22/590 - Release Date: 12/16/2006 From markamatte at hotmail.com Mon Dec 18 10:32:51 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 18 Dec 2006 16:32:51 +0000 Subject: [AccessD] DBA wesite In-Reply-To: <02cd01c722b8$34d06d30$1402a8c0@ScuzzPaq> Message-ID: Hello All, I am trying to search the archives and I get the following error when I click search: "The page you are looking for cannot be displayed because the page address is incorrect. " I wasn't sure who to tell. Thanks, Mark A. Matte _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From EdTesiny at oasas.state.ny.us Mon Dec 18 10:45:41 2006 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 18 Dec 2006 11:45:41 -0500 Subject: [AccessD] DBA wesite Message-ID: Mark, Try this link http://databaseadvisors.com/pipermail/accessd/ Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mark A Matte > Sent: Monday, December 18, 2006 11:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DBA wesite > > Hello All, > > I am trying to search the archives and I get the following > error when I > click search: > > "The page you are looking for cannot be displayed because the > page address > is incorrect. " > > I wasn't sure who to tell. > > Thanks, > > Mark A. Matte > > _________________________________________________________________ > Visit MSN Holiday Challenge for your chance to win up to > $50,000 in Holiday > cash from MSN today! > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&loc ale=en-us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Mon Dec 18 10:46:50 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 18 Dec 2006 11:46:50 -0500 Subject: [AccessD] DBA wesite In-Reply-To: References: <02cd01c722b8$34d06d30$1402a8c0@ScuzzPaq> Message-ID: On 12/18/06, Mark A Matte wrote: > Hello All, > > I am trying to search the archives and I get the following error when I > click search: > > "The page you are looking for cannot be displayed because the page address > is incorrect. " > > I wasn't sure who to tell. Which archive were you searching? Drew's or DBAs? If it is DBAs and you are searching from http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but I'll let Jim know. I see what the problem is. If it's Drew's archive you are trying to search, then his have been off-line for a while. In the mean time, goto the actual archive http://databaseadvisors.com/pipermail/accessd/ and you can search from there. -- 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 Jim.Hale at FleetPride.com Mon Dec 18 10:49:47 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 18 Dec 2006 10:49:47 -0600 Subject: [AccessD] A2000: Run from Command line Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE17D@corp-es01.fleetpride.com> Here is an example of a function to create a cmd and batch file and execute them from inside Access. HTH Jim Hale Function Batfile(strfile As String, strUser As String) As Boolean Dim intFileno As Integer, strBatfile As String, strCmdfile As String Dim intFileno2 As Integer, varAns As Variant, varTime As Date strBatfile = "C:\glrunaje.bat" strCmdfile = "C:\glrunaje.cmd" On Error Resume Next Kill strBatfile Kill strCmdfile On Error GoTo PROC_ERR 'create bat file intFileno = FreeFile Open strBatfile For Output As intFileno Print #intFileno, "ftp -s:" & strCmdfile Close #intFileno 'create cmd file intFileno2 = FreeFile Open strCmdfile For Output As intFileno2 Print #intFileno2, "open FP825ppd" Print #intFileno2, "FTPUSxxx" Print #intFileno2, "FTP4SRP5" Print #intFileno2, "put " & strfile & " download/glupload." & strUser Print #intFileno2, "Quit" Close #intFileno2 If strfile = "" Or strUser = "" Then MsgBox "the Upload file name or User name is incorrect. The file was not uploaded" Batfile = False Else varAns = Shell(strBatfile) 'run bat file to load prn file to AS400 Batfile = True End If PROC_EXIT: Exit Function PROC_ERR: MsgBox Err.Description Batfile = False Resume PROC_EXIT End Function -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Sunday, December 17, 2006 10:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2000: Run from Command line On 18 Dec 2006 at 14:32, Darren DICK wrote: > Hi All > > >From a form - I am building a string that I want to 'send' to a command > >line > then I want the string to 'execute' from that command line > > So - Building the string is no big deal and I have done that > > Once I have built the string though - how do I then get it to execute from a > command line? > *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Mon Dec 18 11:10:21 2006 From: john at winhaven.net (John Bartow) Date: Mon, 18 Dec 2006 11:10:21 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq> Dear accessd at databaseadvisors.com, Isn?t access-d a great list? We?re the kind of community that actually works?we get the technical help we need free, and without the ego trappings that you?ll suffer from on other lists. I know that I find the list invaluable, and there are several others?industry leaders?that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book?s Acknowledgements section: ?Thanks? to the AccessD folks for all their great advice and help over the years. If someone on that list can?t solve your problem, it can?t be solved.? And she?s right. That has been my experience with the list for the last seven years. The list isn?t a miracle of internet magic though. It costs money to run the site and lists. So, I?ll be blunt, I?m asking for donations, both large and small so we can keep this great resource going. (Membership isn?t tied to donations. The AccessD community is free.) It?s a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you?re like me, that saves me money. And, just importantly, think of the times you?ve helped someone else. If you?d like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you?d rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you?d rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 From markamatte at hotmail.com Mon Dec 18 11:46:13 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 18 Dec 2006 17:46:13 +0000 Subject: [AccessD] DBA wesite In-Reply-To: Message-ID: Bryan, Its this one: >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. The Search button sends me to: http://www.databaseadvisors.com/mailman/mmsearch/accessd ...and this gives the error > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] DBA wesite >Date: Mon, 18 Dec 2006 11:46:50 -0500 > >On 12/18/06, Mark A Matte wrote: > > Hello All, > > > > I am trying to search the archives and I get the following error when I > > click search: > > > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " > > > > I wasn't sure who to tell. > >Which archive were you searching? Drew's or DBAs? > >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. > >If it's Drew's archive you are trying to search, then his have been >off-line for a while. > >In the mean time, goto the actual archive >http://databaseadvisors.com/pipermail/accessd/ and you can search from >there. > >-- >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!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it! http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=200601&tcode=wlmtagline From martyconnelly at shaw.ca Mon Dec 18 12:24:55 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 18 Dec 2006 10:24:55 -0800 Subject: [AccessD] A2000: Run from Command line In-Reply-To: <000401c722ac$fdc9d250$2f01a8c0@Kermit> References: <000401c722ac$fdc9d250$2f01a8c0@Kermit> Message-ID: <4586DCF7.1020807@shaw.ca> Don't forget to put quotes around path names if it has spaces in the name strShell =" "Shell ""c:\windows\notepad.exe""" Doris Manning wrote: >Use the Shell function to execute the string you built. > >Doris Manning >Database Administrator >Hargrove Inc. > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Mon Dec 18 12:37:25 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 18 Dec 2006 13:37:25 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq> Message-ID: <005801c722d3$90bce1d0$657aa8c0@m6805> I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Dec 18 12:50:31 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 18 Dec 2006 18:50:31 -0000 Subject: [AccessD] Database Advisors lists References: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: I will arrange to have a percentage of the book royalities as a chapter contains code from AccessD Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Mon 18/12/2006 18:37 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Dec 18 13:21:35 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 18 Dec 2006 14:21:35 -0500 Subject: [AccessD] Database Advisors lists References: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: <00bc01c722d9$bccc1f10$0302a8c0@default> This is an excellent idea. Being listed on Access-D / DatabaseAdvisors is not only an honor, it's a smart investment in advertising. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, December 18, 2006 1:37 PM Subject: Re: [AccessD] Database Advisors lists >I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I can > afford $120 a year to support Database Advisors, and I certainly receive > far > more than that in benefits each year, just in emergency answers to > questions > I need answered "right now". I have been a member of this list since > summer > of 1997 and I can say without hesitation I would not be where I am today > without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run > the > site and lists. So, I'll be blunt, I'm asking for donations, both large > and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, > that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com > for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face > for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database > Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 Dec 18 14:14:53 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 18 Dec 2006 12:14:53 -0800 Subject: [AccessD] dhcp stuff In-Reply-To: <003c01c722ab$13cc3310$657aa8c0@m6805> Message-ID: <0JAH0093ZK4IVM20@l-daemon> Just a quick note... without reading through all the text and considering that this issue may have already been commented on: If the server has its own DNS/DHCP setup then the Router's auto-assignment feature must be turned off. (Discovered that the hard way.) HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 5:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dhcp stuff Thanks Stuart for that link. My question really had to do with the router rather than the machine, although perhaps not. I do not know how any of this works, however my assumption was that if the router was set up to assign IP addresses (the DHCP Server) and it had a table of static assignments which included both NICs on that machine, then it would TELL each NIC what IP it had to use. I suppose if the router did indeed TELL both NICs what IP address to use, and it told them to use the addresses in the static table, and one of the NICs later came back and TOLD the router "I am using this address" then perhaps the router would log that under "dynamically assigned". Of course I haven't a clue how it really works, that is truly a WAG. In the end, everything is working. I was trying to get remote desktop working on several of my machines on my network. In order to do that, the router has to do port forwarding. In order to do that it has to know at all times what IP address a given machine will be at, and so I went into the router and created entries in the Static IP table for all the NICs on all the machines. In general that worked, except that on the lone machine that has two NICs, one of the NICs ended up having an IP address in the Dynamic IP address table in the Router, IN ADDITION TO the static address, and was in fact using the Dynamic address. In order to force that NIC to use the STATIC address assigned in the Router, I went into properties for that NIC and assigned it that STATIC address in the properties in Windows. Now the NIC does indeed use the Static address assigned by the router, if only because I ordered Windows to do so in the properties for that NIC in Windows. Having all of that straightened out, I then did the port forwarding and remote desktop magically started working again. As for following Microsoft's recommendations on this and disabling one of the NICs, I probably will, although if the IP addresses are Static and the port never fails it probably doesn't matter. NVIDIA is trying to lead the world into using dual NICs and having the ability to "prioritize" packets sent through the two NICs. Applications can be specifically assigned to use a specific NIC, and then if there is data to be sent on both NICs, one gets priority. The idea is simple, the reality is less so. If I could make it work, I could do things like use one of my machines to do Skye and upload data to my client. Assign Skye to the high priority channel and file transfers to the lower priority channel. Then Skye packets (going out) would have higher priority and people on the other end of a Skye call would hear a higher quality signal if I happened to be doing uploads at the same time. Whether I will ever really use that is another question, especially considering the resistance to such stuff from the OS vendor. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 17, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] dhcp stuff Oops, forgot the URL http://support.microsoft.com/kb/175767 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 18 14:18:19 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 18 Dec 2006 12:18:19 -0800 Subject: [AccessD] DBA wesite In-Reply-To: Message-ID: <0JAH002Y3KA9HP20@l-daemon> Hi Mark: It has been fixed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, December 18, 2006 9:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DBA wesite Bryan, Its this one: >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. The Search button sends me to: http://www.databaseadvisors.com/mailman/mmsearch/accessd ...and this gives the error > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] DBA wesite >Date: Mon, 18 Dec 2006 11:46:50 -0500 > >On 12/18/06, Mark A Matte wrote: > > Hello All, > > > > I am trying to search the archives and I get the following error when I > > click search: > > > > "The page you are looking for cannot be displayed because the page >address > > is incorrect. " > > > > I wasn't sure who to tell. > >Which archive were you searching? Drew's or DBAs? > >If it is DBAs and you are searching from >http://www.databaseadvisors.com/archive/archive.asp then it's Jim, but >I'll let Jim know. I see what the problem is. > >If it's Drew's archive you are trying to search, then his have been >off-line for a while. > >In the mean time, goto the actual archive >http://databaseadvisors.com/pipermail/accessd/ and you can search from >there. > >-- >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!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it! http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=200601&tc ode=wlmtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Dec 18 14:24:31 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 18 Dec 2006 14:24:31 -0600 Subject: [AccessD] Complicated join Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0160B3E3@marlow_main2.marlow.ii-vi.net> You could do this with a subquery. I just posted an example of how to do this a few days ago. Should be in the archives. Use the subqueries in the WHERE clause to create your 'join'. Drew -----Original Message----- From: ksklos at comcast.net [mailto:ksklos at comcast.net] Sent: Saturday, December 16, 2006 8:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Complicated join We are a SAS shop and it isn't very often because of what we do that I get the chance to show Access's colors. However, the latest project has been great for this. It is a perfect project where using a relational database has been faster. However, I have run into a problem I hop someone can help me with. First the data is in Excel. The two tables need to be matched by course number. In one table (tblCourses) all the course numbers are 7 characters long. Some are numbers, others are character+6 numbers, 4 characters+3numbers. The fourth character in the last instance indicates if the course is a lab (L), a combination course (C) or a college level class (1-0). The other table (tblMajors) came from a different office and has 7 characters also but the 4th character does not always correspond to what is in tblCourses. This is not critical as long as the first three and the laste 3 match. So I figured that I would create a new field that had just the first 3 and the la! st thre e and join the tables on that field. Here is the rub. Most of the entries in the courses fields match because they are 7 numbers or they both have the character+6 numbers combination. There are approximately 1800 records that need to be matched with the 3/3 combination. How do I isolate just those records that need to be matched using the 3/3 combination? Here is an example: tblCourses: SPN1101, SPN2101, SPNL101, can match with tblMajors: SPNX101. I hope this is understandable. I can send more examples if needed. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gordons2 at pacbell.net Mon Dec 18 17:39:01 2006 From: gordons2 at pacbell.net (Gordon Stubbs) Date: Mon, 18 Dec 2006 15:39:01 -0800 (PST) Subject: [AccessD] Seasons Greatings In-Reply-To: <002c01c7224a$1c23a1d0$657aa8c0@m6805> Message-ID: <139530.79896.qm@web81415.mail.mud.yahoo.com> Havent lost me, just been extreemly busy. I've hardly had a chance to even look at email. I still glance at the AccessD email whenever possible. JWColby wrote: Well buddy, I thought we'd lost you. Seasons greetings back at ya. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gordons2 Sent: Sunday, December 17, 2006 8:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Seasons Greatings Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Dec 19 01:19:55 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 18 Dec 2006 23:19:55 -0800 Subject: [AccessD] Info Digital Signatures In-Reply-To: <0JAH0093ZK4IVM20@l-daemon> References: <0JAH0093ZK4IVM20@l-daemon> Message-ID: <4587929B.10805@shaw.ca> Maybe this will help with previous questions. Here are 3 free chapters from a e-book on digital signatures, requires registration. Explains certificate caches and hashing techniques etc. http://www.windowsitpro.com/ebooks/index.cfm?fuseaction=ebook&ebid=df37ad7a-df1f-4739-85f9-f1b7cd258749&code=1220emailannc Understanding and Leveraging Code Signing Technologies Author: Jan De Clercq This explains the difference between dll signing and MS VBA code signing techniques for digital certificates. See starting around page 29 Chapter 2: Microsoft code signing for Macros -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Tue Dec 19 04:22:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Dec 2006 11:22:03 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi Drew Thanks for this example, works great! A note related to internationalization. This line needs a mod like this: strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & Str(intValue) Always use Str() to convert decimals to SQL strings and the like. /gustav >>> DWUTKA at marlow.com 13-12-2006 19:46 >>> I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Tue Dec 19 04:40:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Dec 2006 11:40:03 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi John That's nice! It also works in Access 97. I like your idea with the collection. As for the updating of this, you could use Time or even Timer. That would allow you to use the function in a query with a single update only while you in every other case would have an update for each call. Much appreciated. /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> Gustav, Thanks for pointing me to the XML feed. The following function will load the url http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml into an XML document, then burrow down into the xml document until it reaches the cube node, then prints the attributes of that node (country code and rate) and finally, returns the rate for the country passed in. I make no claim that this is the most efficient XML parsing code in the world as I did the whole thing in a few hours, never having seen XML code before, but it does work. Copy and paste the following code into a module and save as basXMLRates. WATCH FOR LINE WRAPS IN THE CODE AND FIX THEM. Then from the debug window type: ?GetCurr() You will get back the USD rate relative to the Euro. Obviously you can change the default to some other country Type in ?GetCurr(,true) to print all the rates in the debug window as well as the selected rate at the end Type in ?GetCurr("JPY") to get the Japanese yen without the debug print. To get the USD expressed in YEN type in ?getcurr("usd") / getcurr("JPY") Etc. '********************* 'Start here '********************* Option Compare Database Option Explicit ' 'This function uses static collections to hold the country codes and their associated rates 'I do this so that if the function is called more than once in a given day, the second and 'subsequent times don't have to go to the web to get the rates ' 'Obviously I am not handling rate updates at a given time of day. That is up to you. ' Function GetCurr(Optional strCountryCode As String = "USD", Optional blnPrint As Boolean = False) As Currency On Error GoTo Err_GetCurr Static colRates As Collection Static colCountryCodes As Collection Static dte As Date Dim intCnt As Integer Dim lstrCountryCode As String Dim lcurRate As Currency If dte <> Date Then 'Check to see if this function was run today' dte = Date Set colRates = New Collection 'If not then initialize the collections again Set colCountryCodes = New Collection TranslateXMLCurr colCountryCodes, colRates 'and go get the rates for the day End If ' 'If a debug.print was requested ' If blnPrint Then 'iterate through the country code cilletion getting the country codes For intCnt = 1 To colCountryCodes.Count lstrCountryCode = colCountryCodes.Item(intCnt) lcurRate = colRates.Item(intCnt) 'use that to get the rate for that country Debug.Print lstrCountryCode & " : " & lcurRate 'print both in a string to the debug window Next intCnt End If On Error Resume Next 'If the country code passed in is bogus, ignore the error ' 'And pass back the requested rate ' GetCurr = colRates(strCountryCode) Exit_GetCurr: On Error Resume Next Exit Function Err_GetCurr: MsgBox Err.Description, , "Error in Function basXML.GetCurr" Resume Exit_GetCurr Resume 0 '.FOR TROUBLESHOOTING End Function ' 'This function looks up rates off of a web site and loads the country codes and rates into two collections ' Function TranslateXMLCurr(colCountryCodes As Collection, colRates As Collection) As Currency On Error GoTo Err_TranslateXMLCurr Dim fSuccess As Boolean Dim oDoc As MSXML2.DOMDocument Dim oRoot As MSXML2.IXMLDOMNode Dim oCube As MSXML2.IXMLDOMNode Dim oChild As MSXML2.IXMLDOMNode Dim oChildren As MSXML2.IXMLDOMNodeList Dim oAttributes As MSXML2.IXMLDOMNamedNodeMap Dim lstrCountryCode As String Dim lcurRate As Currency Set oDoc = New MSXML2.DOMDocument oDoc.async = False oDoc.validateOnParse = False fSuccess = oDoc.Load("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") ' ' If anything went wrong, quit now. If Not fSuccess Then GoTo Exit_TranslateXMLCurr End If Set oRoot = oDoc.documentElement Set oCube = oRoot.ChildNodes(2).ChildNodes(0) Set oChildren = oCube.ChildNodes For Each oChild In oChildren Set oAttributes = oChild.Attributes With oAttributes lstrCountryCode = .Item(0).nodeTypedValue 'Get the country code lcurRate = .Item(1).nodeTypedValue 'Get the current rate colCountryCodes.Add lstrCountryCode colRates.Add lcurRate, lstrCountryCode End With Next oChild Exit_TranslateXMLCurr: Exit Function Err_TranslateXMLCurr: MsgBox Err.Description, , "Error in Function basXML.TranslateXMLCurr" Resume Exit_TranslateXMLCurr Resume 0 '.FOR TROUBLESHOOTING End Function '********************* 'End here '********************* Prints in the following manner: USD : 1.3265 JPY : 155.34 CYP : 0.5781 CZK : 27.880 DKK : 7.4534 EEK : 15.6466 GBP : 0.67280 HUF : 253.48 LTL : 3.4528 LVL : 0.6973 MTL : 0.4293 PLN : 3.8008 SEK : 9.0407 SIT : 239.68 SKK : 34.775 CHF : 1.5951 ISK : 91.76 NOK : 8.1520 BGN : 1.9558 HRK : 7.3579 RON : 3.4247 RUB : 34.7980 TRY : 1.8919 AUD : 1.6811 CAD : 1.5273 CNY : 10.3819 HKD : 10.3094 IDR : 12031.36 KRW : 1223.76 MYR : 4.7018 NZD : 1.9172 PHP : 65.536 SGD : 2.0421 THB : 46.783 ZAR : 9.2630 Enjoy. Perhaps we could put this code up on the web site as an extreme example of bad programming practice in general as well as an intro of how to use the XML object, and a currency converter (at least for mostly euro currencies). I found it fascinating that given a XML feed, I could just suck it in and go. Of course the "going" was a tough slog never having seen the xml object before... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav From Gustav at cactus.dk Tue Dec 19 04:42:11 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Dec 2006 11:42:11 +0100 Subject: [AccessD] pull data from web page Message-ID: Hi Marty Excellent! Thanks Marty. All you need to do is a copy/paste, add the reference to MS XML 4, and remove this line (myrs is not used): ' Dim myrs As ADODB.Recordset It is very fast too, and it even works in Access 97: USD rate 1.3095 JPY rate 154.34 CYP rate 0.5781 CZK rate 27.700 DKK rate 7.4537 EEK rate 15.6466 GBP rate 0.67155 HUF rate 252.93 LTL rate 3.4528 LVL rate 0.6974 MTL rate 0.4293 PLN rate 3.7968 SEK rate 9.0555 SIT rate 239.66 SKK rate 34.839 CHF rate 1.5993 ISK rate 90.06 NOK rate 8.1410 BGN rate 1.9558 HRK rate 7.3655 RON rate 3.4185 RUB rate 34.5660 TRY rate 1.8663 AUD rate 1.6779 CAD rate 1.5114 CNY rate 10.2406 HKD rate 10.1800 IDR rate 11899.43 KRW rate 1214.10 MYR rate 4.6553 NZD rate 1.8997 PHP rate 64.604 SGD rate 2.0230 THB rate 47.022 ZAR rate 9.1727 /gustav >>> martyconnelly at shaw.ca 14-12-2006 21:23 >>> Here is some code to read that xml ECB rate file Note the xpath syntax is not perfect as the xml file contains namespaces. This means you would qualify the element name via the namespace [germes:Envelope] I haven't done a lot of work with multiple namespaces so I can't figure out the direct method of the XPath statement either that or something is odd with the file. Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US dollar Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Gustav Brock wrote: >Hi John > >Great! I have been looking for something like this several times without having the time to explore it. >I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). > >One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> >>>> >>>> >Gustav, > >Thanks for pointing me to the XML feed. > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 19 06:47:30 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 07:47:30 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <003401c7236b$da09d9e0$657aa8c0@m6805> I was particularly intrigued by the fact that the XML object could just load the xml file right off the internet without having to go through explorer. Things are getting better. I look for the day that all tabular data is available this way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 19, 2006 5:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi Marty Excellent! Thanks Marty. All you need to do is a copy/paste, add the reference to MS XML 4, and remove this line (myrs is not used): ' Dim myrs As ADODB.Recordset It is very fast too, and it even works in Access 97: USD rate 1.3095 JPY rate 154.34 CYP rate 0.5781 CZK rate 27.700 DKK rate 7.4537 EEK rate 15.6466 GBP rate 0.67155 HUF rate 252.93 LTL rate 3.4528 LVL rate 0.6974 MTL rate 0.4293 PLN rate 3.7968 SEK rate 9.0555 SIT rate 239.66 SKK rate 34.839 CHF rate 1.5993 ISK rate 90.06 NOK rate 8.1410 BGN rate 1.9558 HRK rate 7.3655 RON rate 3.4185 RUB rate 34.5660 TRY rate 1.8663 AUD rate 1.6779 CAD rate 1.5114 CNY rate 10.2406 HKD rate 10.1800 IDR rate 11899.43 KRW rate 1214.10 MYR rate 4.6553 NZD rate 1.8997 PHP rate 64.604 SGD rate 2.0230 THB rate 47.022 ZAR rate 9.1727 /gustav >>> martyconnelly at shaw.ca 14-12-2006 21:23 >>> Here is some code to read that xml ECB rate file Note the xpath syntax is not perfect as the xml file contains namespaces. This means you would qualify the element name via the namespace [germes:Envelope] I haven't done a lot of work with multiple namespaces so I can't figure out the direct method of the XPath statement either that or something is odd with the file. Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US dollar Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Gustav Brock wrote: >Hi John > >Great! I have been looking for something like this several times without having the time to explore it. >I'll test it some soon day - busy with real work for the moment - but Shamil or Marty will for sure pinpoint your errors(!). > >One comment: Note that an "exchange rate" can be many things (mid, buy, sell, averaged for customs, etc.). In your app you should probably have options for specifying one or more factors for each currency depending on the purpose(s) in the app for the exchange rate. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> >>>> >>>> >Gustav, > >Thanks for pointing me to the XML feed. > > > > -- Marty Connelly Victoria, B.C. Canada -- 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 colbyconsulting.com Tue Dec 19 06:49:16 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 07:49:16 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <003501c7236c$182ad990$657aa8c0@m6805> This one is particularly valuable to me as it demonstrates how to pass the parameters to the web page and get the value back. I often have a need for this technique. Nice. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 19, 2006 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi Drew Thanks for this example, works great! A note related to internationalization. This line needs a mod like this: strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & Str(intValue) Always use Str() to convert decimals to SQL strings and the like. /gustav >>> DWUTKA at marlow.com 13-12-2006 19:46 >>> I put this into a sample app: http://www.marlow.com/CurrencyChange.zip (pulled the currency codes off the site). Drew -----Original Message----- From: Drew Wutka Sent: Wednesday, December 13, 2006 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Function CurrencyConversion(strOriginal As String, strFinal As String, intValue As Currency) As String Dim strPath As String Dim strURL As String Dim strSearch As String Dim f As Long Dim strData As String Dim strFirstData As String Dim strEndData As String strSearch = "" strPath = "C:\CurrencyTestData.tmp" If Dir(strPath) <> "" Then Kill strPath strURL = "http://www.xe.com/ucc/convert.cgi?From=" & strOriginal & "&To=" & strFinal & "&Amount=" & intValue URLDownloadToFile 0, strURL, strPath, 0, 0 f = FreeFile Open strPath For Binary Access Read As f strData = Space(LOF(f)) Get f, , strData Close f Kill strPath strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strFirstData = Left(strData, InStr(1, strData, "") - 1) strData = Mid(strData, InStr(1, strData, strSearch, vbTextCompare) + Len(strSearch)) strEndData = Left(strData, InStr(1, strData, "") - 1) CurrencyConversion = strFirstData & " = " & strEndData End Function An example to run: MsgBox CurrencyConversion("USD", "NZD", 4.5) Obviously you could change it so the function just returns the value of strEndData, which would be the 'converted' value. As far as the values of "USD" and "NZD", don't have the time to pull those out of the web page for ya, though it's not that hard to do. Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 13, 2006 7:57 AM To: 'Access Developers discussion and problem solving'; VBA Subject: [AccessD] pull data from web page Guys, I need to pull an exchange rate from a web page programmatically. The web page is: http://www.xe.com/ucc/convert.cgi And I need to feed in the data and pull the results out of the page. Is this possible? If not, does anyone know of an exchange rate calculator that has live data that is usable from inside of vba? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Dec 19 06:51:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 07:51:14 -0500 Subject: [AccessD] pull data from web page In-Reply-To: Message-ID: <003601c7236c$5f080630$657aa8c0@m6805> Gustav, I tried to do this using a custom variable type (user defined type) which I then filled with country code and rate, and store the custom type in the collection. Unfortunately I got a runtime error, something about the custom type having to be declared public in a public module. I think that it had to be out in a DIFFERENT module. At any rate I just said screw it, get it done. So I ended up with two collections instead of one. Things never go quite as planned and I needed to get on with real (paying) work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 19, 2006 5:40 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John That's nice! It also works in Access 97. I like your idea with the collection. As for the updating of this, you could use Time or even Timer. That would allow you to use the function in a query with a single update only while you in every other case would have an update for each call. Much appreciated. /gustav >>> jwcolby at colbyconsulting.com 13-12-2006 19:10 >>> Gustav, Thanks for pointing me to the XML feed. The following function will load the url http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml into an XML document, then burrow down into the xml document until it reaches the cube node, then prints the attributes of that node (country code and rate) and finally, returns the rate for the country passed in. I make no claim that this is the most efficient XML parsing code in the world as I did the whole thing in a few hours, never having seen XML code before, but it does work. Copy and paste the following code into a module and save as basXMLRates. WATCH FOR LINE WRAPS IN THE CODE AND FIX THEM. Then from the debug window type: ?GetCurr() You will get back the USD rate relative to the Euro. Obviously you can change the default to some other country Type in ?GetCurr(,true) to print all the rates in the debug window as well as the selected rate at the end Type in ?GetCurr("JPY") to get the Japanese yen without the debug print. To get the USD expressed in YEN type in ?getcurr("usd") / getcurr("JPY") Etc. '********************* 'Start here '********************* Option Compare Database Option Explicit ' 'This function uses static collections to hold the country codes and their associated rates 'I do this so that if the function is called more than once in a given day, the second and 'subsequent times don't have to go to the web to get the rates ' 'Obviously I am not handling rate updates at a given time of day. That is up to you. ' Function GetCurr(Optional strCountryCode As String = "USD", Optional blnPrint As Boolean = False) As Currency On Error GoTo Err_GetCurr Static colRates As Collection Static colCountryCodes As Collection Static dte As Date Dim intCnt As Integer Dim lstrCountryCode As String Dim lcurRate As Currency If dte <> Date Then 'Check to see if this function was run today' dte = Date Set colRates = New Collection 'If not then initialize the collections again Set colCountryCodes = New Collection TranslateXMLCurr colCountryCodes, colRates 'and go get the rates for the day End If ' 'If a debug.print was requested ' If blnPrint Then 'iterate through the country code cilletion getting the country codes For intCnt = 1 To colCountryCodes.Count lstrCountryCode = colCountryCodes.Item(intCnt) lcurRate = colRates.Item(intCnt) 'use that to get the rate for that country Debug.Print lstrCountryCode & " : " & lcurRate 'print both in a string to the debug window Next intCnt End If On Error Resume Next 'If the country code passed in is bogus, ignore the error ' 'And pass back the requested rate ' GetCurr = colRates(strCountryCode) Exit_GetCurr: On Error Resume Next Exit Function Err_GetCurr: MsgBox Err.Description, , "Error in Function basXML.GetCurr" Resume Exit_GetCurr Resume 0 '.FOR TROUBLESHOOTING End Function ' 'This function looks up rates off of a web site and loads the country codes and rates into two collections ' Function TranslateXMLCurr(colCountryCodes As Collection, colRates As Collection) As Currency On Error GoTo Err_TranslateXMLCurr Dim fSuccess As Boolean Dim oDoc As MSXML2.DOMDocument Dim oRoot As MSXML2.IXMLDOMNode Dim oCube As MSXML2.IXMLDOMNode Dim oChild As MSXML2.IXMLDOMNode Dim oChildren As MSXML2.IXMLDOMNodeList Dim oAttributes As MSXML2.IXMLDOMNamedNodeMap Dim lstrCountryCode As String Dim lcurRate As Currency Set oDoc = New MSXML2.DOMDocument oDoc.async = False oDoc.validateOnParse = False fSuccess = oDoc.Load("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") ' ' If anything went wrong, quit now. If Not fSuccess Then GoTo Exit_TranslateXMLCurr End If Set oRoot = oDoc.documentElement Set oCube = oRoot.ChildNodes(2).ChildNodes(0) Set oChildren = oCube.ChildNodes For Each oChild In oChildren Set oAttributes = oChild.Attributes With oAttributes lstrCountryCode = .Item(0).nodeTypedValue 'Get the country code lcurRate = .Item(1).nodeTypedValue 'Get the current rate colCountryCodes.Add lstrCountryCode colRates.Add lcurRate, lstrCountryCode End With Next oChild Exit_TranslateXMLCurr: Exit Function Err_TranslateXMLCurr: MsgBox Err.Description, , "Error in Function basXML.TranslateXMLCurr" Resume Exit_TranslateXMLCurr Resume 0 '.FOR TROUBLESHOOTING End Function '********************* 'End here '********************* Prints in the following manner: USD : 1.3265 JPY : 155.34 CYP : 0.5781 CZK : 27.880 DKK : 7.4534 EEK : 15.6466 GBP : 0.67280 HUF : 253.48 LTL : 3.4528 LVL : 0.6973 MTL : 0.4293 PLN : 3.8008 SEK : 9.0407 SIT : 239.68 SKK : 34.775 CHF : 1.5951 ISK : 91.76 NOK : 8.1520 BGN : 1.9558 HRK : 7.3579 RON : 3.4247 RUB : 34.7980 TRY : 1.8919 AUD : 1.6811 CAD : 1.5273 CNY : 10.3819 HKD : 10.3094 IDR : 12031.36 KRW : 1223.76 MYR : 4.7018 NZD : 1.9172 PHP : 65.536 SGD : 2.0421 THB : 46.783 ZAR : 9.2630 Enjoy. Perhaps we could put this code up on the web site as an extreme example of bad programming practice in general as well as an intro of how to use the XML object, and a currency converter (at least for mostly euro currencies). I found it fascinating that given a XML feed, I could just suck it in and go. Of course the "going" was a tough slog never having seen the xml object before... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, December 13, 2006 9:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] pull data from web page Hi John This page may be of more help (it's European ...): http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Base currency is Euro so will have to do a conversion for USD but that should be easy for you. Note the link for other pages with sources for XML etc. XML here: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml If you find a nice method, please share. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 19 07:41:29 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 08:41:29 -0500 Subject: [AccessD] Seasons Greatings In-Reply-To: <00a401c72246$4e407250$0200a8c0@Home1> Message-ID: Same to you!! :)))))))))))) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of gordons2 Sent: Sunday, December 17, 2006 8:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Seasons Greatings Seasons Greetings Have a great holiday season. Gordon Stubbs GordonS2 at Pacbell.net GordonS at IntaLeather.com IntaLeather.com From jwcolby at colbyconsulting.com Tue Dec 19 08:22:34 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 09:22:34 -0500 Subject: [AccessD] dhcp stuff In-Reply-To: <0JAH0093ZK4IVM20@l-daemon> Message-ID: <003c01c72379$20eb3950$657aa8c0@m6805> Jim, I do not have any computer being the dhcp server simply because I did not want to depend on a machine for that function, it might be down for repair etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, December 18, 2006 3:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dhcp stuff Just a quick note... without reading through all the text and considering that this issue may have already been commented on: If the server has its own DNS/DHCP setup then the Router's auto-assignment feature must be turned off. (Discovered that the hard way.) HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 5:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dhcp stuff Thanks Stuart for that link. My question really had to do with the router rather than the machine, although perhaps not. I do not know how any of this works, however my assumption was that if the router was set up to assign IP addresses (the DHCP Server) and it had a table of static assignments which included both NICs on that machine, then it would TELL each NIC what IP it had to use. I suppose if the router did indeed TELL both NICs what IP address to use, and it told them to use the addresses in the static table, and one of the NICs later came back and TOLD the router "I am using this address" then perhaps the router would log that under "dynamically assigned". Of course I haven't a clue how it really works, that is truly a WAG. In the end, everything is working. I was trying to get remote desktop working on several of my machines on my network. In order to do that, the router has to do port forwarding. In order to do that it has to know at all times what IP address a given machine will be at, and so I went into the router and created entries in the Static IP table for all the NICs on all the machines. In general that worked, except that on the lone machine that has two NICs, one of the NICs ended up having an IP address in the Dynamic IP address table in the Router, IN ADDITION TO the static address, and was in fact using the Dynamic address. In order to force that NIC to use the STATIC address assigned in the Router, I went into properties for that NIC and assigned it that STATIC address in the properties in Windows. Now the NIC does indeed use the Static address assigned by the router, if only because I ordered Windows to do so in the properties for that NIC in Windows. Having all of that straightened out, I then did the port forwarding and remote desktop magically started working again. As for following Microsoft's recommendations on this and disabling one of the NICs, I probably will, although if the IP addresses are Static and the port never fails it probably doesn't matter. NVIDIA is trying to lead the world into using dual NICs and having the ability to "prioritize" packets sent through the two NICs. Applications can be specifically assigned to use a specific NIC, and then if there is data to be sent on both NICs, one gets priority. The idea is simple, the reality is less so. If I could make it work, I could do things like use one of my machines to do Skye and upload data to my client. Assign Skye to the high priority channel and file transfers to the lower priority channel. Then Skye packets (going out) would have higher priority and people on the other end of a Skye call would hear a higher quality signal if I happened to be doing uploads at the same time. Whether I will ever really use that is another question, especially considering the resistance to such stuff from the OS vendor. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, December 17, 2006 3:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] dhcp stuff Oops, forgot the URL http://support.microsoft.com/kb/175767 -- 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 Tue Dec 19 10:54:16 2006 From: john at winhaven.net (John Bartow) Date: Tue, 19 Dec 2006 10:54:16 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From andy at minstersystems.co.uk Tue Dec 19 11:57:14 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Dec 2006 17:57:14 -0000 Subject: [AccessD] Database Advisors lists In-Reply-To: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <010401c72397$1d687f90$16648552@minster33c3r25> Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Tue Dec 19 12:08:37 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 13:08:37 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <001b01c72398$b5840dc0$657aa8c0@m6805> ROTFL. Good job. I am setting up paypal now to my new bank accounts here in North Carolina and then I will be paying up. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Dec 19 12:28:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 10:28:14 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <005801c722d3$90bce1d0$657aa8c0@m6805> Message-ID: I see you, John. Now I just have to figure out how to remit it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Dec 19 12:50:41 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 19 Dec 2006 18:50:41 +0000 Subject: [AccessD] Database Advisors lists Message-ID: Hello All, You know I love this place...but mine will have to wait for my tax return(should have mentioned before I did my holiday shopping...lol). I'll do the Corporate...even though I'm not a Company or Corporation. The $$ are far less valuable than the help, advice, and even guidance I've received from this list over the years. So I'm on the delayed list...but on the list none the less!! Thanks, Mark A. Matte >From: "Andy Lacey" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Database Advisors lists >Date: Tue, 19 Dec 2006 17:57:14 -0000 > >Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >there - time to cough up. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: 19 December 2006 16:54 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > > > JC, > > I accept your challenge. And I up the bid to a double John > > dare for the rest of the consultants. > > > > John R. Bartow > > WinHaven Consulting > > www.winhaven.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 12:37 PM > > > > I challenge all of the other consultants on this list to join > > me in Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big > > company but I can afford $120 a year to support Database > > Advisors, and I certainly receive far more than that in > > benefits each year, just in emergency answers to questions I > > need answered "right now". I have been a member of this list > > since summer of 1997 and I can say without hesitation I would > > not be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > > Date: 12/19/2006 > > > > > > -- > > 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 _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us From mwp.reid at qub.ac.uk Tue Dec 19 12:51:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 18:51:25 -0000 Subject: [AccessD] Unbound forms References: Message-ID: For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Kwilliamson at RTKL.com Tue Dec 19 13:01:28 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 14:01:28 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: You can send checks, if you prefer. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I see you, John. Now I just have to figure out how to remit it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://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 Kwilliamson at RTKL.com Tue Dec 19 13:02:15 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 14:02:15 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: Same here. It will have to wait until after the home purchase, in early January. But on the list, as well. Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, December 19, 2006 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Hello All, You know I love this place...but mine will have to wait for my tax return(should have mentioned before I did my holiday shopping...lol). I'll do the Corporate...even though I'm not a Company or Corporation. The $$ are far less valuable than the help, advice, and even guidance I've received from this list over the years. So I'm on the delayed list...but on the list none the less!! Thanks, Mark A. Matte >From: "Andy Lacey" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Database Advisors lists >Date: Tue, 19 Dec 2006 17:57:14 -0000 > >Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >there - time to cough up. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: 19 December 2006 16:54 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > > > JC, > > I accept your challenge. And I up the bid to a double John > > dare for the rest of the consultants. > > > > John R. Bartow > > WinHaven Consulting > > www.winhaven.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 12:37 PM > > > > I challenge all of the other consultants on this list to join > > me in Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big > > company but I can afford $120 a year to support Database > > Advisors, and I certainly receive far more than that in > > benefits each year, just in emergency answers to questions I > > need answered "right now". I have been a member of this list > > since summer of 1997 and I can say without hesitation I would > > not be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > > Date: 12/19/2006 > > > > > > -- > > 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 _________________________________________________________________ Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash from MSN today! http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Dec 19 13:13:49 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 19 Dec 2006 11:13:49 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <0JAJ007Q9BYOY0Q0@l-daemon> Hi Martin: I am not sure what you are asking but I will assume that it is just the easy part. First unlock all the fields, place focus on the first field, turn off the record movement options (or any other option that will allow movement off this record) and change the edit button to a Save button. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From cfoust at infostatsystems.com Tue Dec 19 13:35:46 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 11:35:46 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From cfoust at infostatsystems.com Tue Dec 19 13:36:29 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 11:36:29 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: No, that's all right. I used PayPal, I just had to follow the right link to get there. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 19, 2006 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists You can send checks, if you prefer. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I see you, John. Now I just have to figure out how to remit it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://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 bchacc at san.rr.com Tue Dec 19 13:47:11 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 19 Dec 2006 11:47:11 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <004601c723a6$7a10c090$6601a8c0@HAL9005> Martin: Do you still have a copy of Bar Tracks? Ben specified that kind of feature on the unbound forms - click edit to unlock all the fields. IIRC. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 1:45 PM From jwcolby at colbyconsulting.com Tue Dec 19 14:04:46 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 15:04:46 -0500 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <002601c723a9$017ccdb0$657aa8c0@m6805> ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Tue Dec 19 14:21:29 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 20:21:29 -0000 Subject: [AccessD] Unbound forms References: <002601c723a9$017ccdb0$657aa8c0@m6805> Message-ID: Have to finish the lessons at some point in the new year JC. (<: Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Tue 19/12/2006 20:04 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound forms ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 mwp.reid at qub.ac.uk Tue Dec 19 14:21:57 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 20:21:57 -0000 Subject: [AccessD] Unbound forms References: <002601c723a9$017ccdb0$657aa8c0@m6805> Message-ID: Oh happy to reuse an example John VBG Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Tue 19/12/2006 20:04 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound forms ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 askolits at ot.com Tue Dec 19 14:28:54 2006 From: askolits at ot.com (John Skolits) Date: Tue, 19 Dec 2006 15:28:54 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <010401c72397$1d687f90$16648552@minster33c3r25> Message-ID: <00c701c723ac$507e4cb0$800101df@officexp> OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 bchacc at san.rr.com Tue Dec 19 15:07:22 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 19 Dec 2006 13:07:22 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <00c701c723ac$507e4cb0$800101df@officexp> Message-ID: <001701c723b1$adcff8a0$6601a8c0@HAL9005> I accept your challenge JC and I accept the Bartow double-John-dare. $250 sent yesterday. Do I hear $300? Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, December 19, 2006 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 2006/12/18 ?U?? 01:45 From jwcolby at colbyconsulting.com Tue Dec 19 15:08:56 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 16:08:56 -0500 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: <003201c723b1$e64d07e0$657aa8c0@m6805> Well, the only problem is that I do not normally do unbound unless there is a direct requirement. I think that Drew might have some examples though, or perhaps Charlotte. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Oh happy to reuse an example John VBG Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of JWColby Sent: Tue 19/12/2006 20:04 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound forms ROTFL. I thought THAT was a given by now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Classes. ;o> Charlotte From mwp.reid at qub.ac.uk Tue Dec 19 15:07:09 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 21:07:09 -0000 Subject: [AccessD] Database Advisors lists References: <00c701c723ac$507e4cb0$800101df@officexp> Message-ID: Well we get 4% of whatever the book makes. Apress will do the paperwork. I have no idea how that will work. Is that enough?? So thanks to all who give permission re their code for the "Code you can Steal" chapter. Christmas etc so I cant make a cash donation myself at the moment but if the book does well the list should do OK I think. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of John Skolits Sent: Tue 19/12/2006 20:28 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com From jwcolby at colbyconsulting.com Tue Dec 19 15:10:12 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Dec 2006 16:10:12 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <001701c723b1$adcff8a0$6601a8c0@HAL9005> Message-ID: <003301c723b2$133f12c0$657aa8c0@m6805> Woaaa, good job! Thanks Rocky! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Tuesday, December 19, 2006 4:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I accept your challenge JC and I accept the Bartow double-John-dare. $250 sent yesterday. Do I hear $300? Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, December 19, 2006 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John dare for > the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 2006/12/18 ?U?? 01:45 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Dec 19 15:15:18 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 19 Dec 2006 15:15:18 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Tue Dec 19 15:16:55 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 19 Dec 2006 15:16:55 -0600 Subject: [AccessD] Unbound forms Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FEF6@marlow_main2.marlow.ii-vi.net> More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From stuart at lexacorp.com.pg Tue Dec 19 15:20:18 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 07:20:18 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: References: <005801c722d3$90bce1d0$657aa8c0@m6805>, Message-ID: <45885792.26284.271F424@stuart.lexacorp.com.pg> Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a member of > this list since summer of 1997 and I can say without hesitation I would not > be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find the > list invaluable, and there are several others-industry leaders-that agree > with me. Two of our members, Susan Harkins and Martin Reid, published a Jet > SQL book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart From cfoust at infostatsystems.com Tue Dec 19 15:30:52 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 13:30:52 -0800 Subject: [AccessD] Unbound forms In-Reply-To: Message-ID: Why bother to lock fields on an unbound form? Does the Edit button do something special? If you must, just cycle through the controls and for that particular type of control, set its Locked property to true. Without using a separate class, you can still build collections of controls types and step through the collections setting the property to true or false. A quick and dirty alternative would be to put a transparent control over the form and use code to make it "visible" when you want the data controls unavailable. Not knowing what exactly you intend to demonstrate, I can't make really useful suggestions. I do have a few demos on Roger's Access site that use unbound forms, but I don't think any of them lock the controls. http://www.rogersaccesslibrary.com/OtherLibraries.asp#Foust,Charlotte Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Tuesday, December 19, 2006 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From garykjos at gmail.com Tue Dec 19 15:30:58 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 19 Dec 2006 15:30:58 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> Message-ID: You will be e-mailed a receipt. GK On 12/19/06, Hale, Jim wrote: > If I can get a receipt I'm good to go $120. Keith? > Jim Hale > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Tuesday, December 19, 2006 2:29 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > OK, I did my part with $120.00. Been on and off the list since about the > fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Tuesday, December 19, 2006 12:57 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out > there - time to cough up. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: 19 December 2006 16:54 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > > > JC, > > I accept your challenge. And I up the bid to a double John > > dare for the rest of the consultants. > > > > John R. Bartow > > WinHaven Consulting > > www.winhaven.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 12:37 PM > > > > I challenge all of the other consultants on this list to join > > me in Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big > > company but I can afford $120 a year to support Database > > Advisors, and I certainly receive far more than that in > > benefits each year, just in emergency answers to questions I > > need answered "right now". I have been a member of this list > > since summer of 1997 and I can say without hesitation I would > > not be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > > Date: 12/19/2006 > > > > > > -- > > 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 > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > 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 cfoust at infostatsystems.com Tue Dec 19 15:38:57 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 13:38:57 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <45885792.26284.271F424@stuart.lexacorp.com.pg> Message-ID: Does that mean you never get bothered by PayPal phishing emails?? ;o} Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 1:20 PM To: Access Developers discussion and problem solving Cc: treasurer at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find > the list invaluable, and there are several others-industry > leaders-that agree with me. Two of our members, Susan Harkins and > Martin Reid, published a Jet SQL book together in 2002, and this is > what appears in the book's Acknowledgements section: "Thanks. to the > AccessD folks for all their great advice and help over the years. If > someone on that list can't solve your problem, it can't be solved." > And she's right. That has been my experience with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to > run the site and lists. So, I'll be blunt, I'm asking for donations, > both large and small so we can keep this great resource going. > (Membership isn't tied to donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you > find people, from all over the globe, prepared to help you solve your > technical problems? Have you ever had a thread save you time? If > you're like me, that saves me money. And, just importantly, think of > the times you've helped someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvi > so rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" > and click [Make a Donation]. If you'd rather send a check through > regular mail, please contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.c > om for mailing instructions. (Please include "donation" in the subject > line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type > face for one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type > face for one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadviso > rs .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 19 15:45:32 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 16:45:32 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18D@corp-es01.fleetpride.com> Message-ID: RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 19, 2006 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John > dare for the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join > me in Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big > company but I can afford $120 a year to support Database > Advisors, and I certainly receive far more than that in > benefits each year, just in emergency answers to questions I > need answered "right now". I have been a member of this list > since summer of 1997 and I can say without hesitation I would > not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Tue Dec 19 15:47:44 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 16:47:44 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <45885792.26284.271F424@stuart.lexacorp.com.pg> Message-ID: Personal check is fine. Simply mail. That way, we don't get charged the transaction fee (as with PayPal.) I only ask that anyone sending a check, email me first....so I know it is on its way....and can inquire if I never receive it. :) Mail Address: Database Advisors, Inc. c/o Keith Williamson 450-B Franklin Street Havre de Grace, MD 21078 Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 4:20 PM To: Access Developers discussion and problem solving Cc: treasurer at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a member of > this list since summer of 1997 and I can say without hesitation I would not > be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find the > list invaluable, and there are several others-industry leaders-that agree > with me. Two of our members, Susan Harkins and Martin Reid, published a Jet > SQL book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Tue Dec 19 15:42:21 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Dec 2006 21:42:21 -0000 Subject: [AccessD] Unbound forms References: <17724746D360394AA3BFE5B8D40A9C1B0171FEF6@marlow_main2.marlow.ii-vi.net> Message-ID: Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Dec 19 15:47:48 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 13:47:48 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: But, gee, it doesn't say that it's a donation or anything like that on the PayPal receipt. It looks like I bought dba support!! Nothing about tax deductible. I mean, it IS isn't it? ;o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 19, 2006 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 19, 2006 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John dare for > the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 Jim.Hale at FleetPride.com Tue Dec 19 15:54:35 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 19 Dec 2006 15:54:35 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE18F@corp-es01.fleetpride.com> I will do it through paypal. This will allow me to run it through the expense acct- Payables is anal about receipts. BTW from a business justification standpoint I am paying $100+ for my Smart Access subscription. It is not very hard to show the boss that access to instant expert consulting help is easily worth more. Just food for thought for anyone else who wants to get the company to pony up. Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 19, 2006 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Kwilliamson at RTKL.com Tue Dec 19 16:07:22 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Tue, 19 Dec 2006 17:07:22 -0500 Subject: [AccessD] Speaking of Unbound Forms Message-ID: I have a form, with a very complex (and time consuming query) as the datasource. What I am trying to do is add a couple fields in the form header, to allow the user (me) to input Period, Year, Entity.....then click a button to populate the form for only those records. This way, I don't have to sit through the query calculation for all records. So....not being the expert that you guys are, I added the unbound text boxes, and deleted the original RecordSource property. I then modified that same RecordSource to select "where" the fields equal the values in the text boxes, and added to the click event, for a button: me.RecordSource =SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = Me.EntityTag And [qryWeeklyTimesheetVarianceSummary].[Month] = Me.MonthTag And [qryWeeklyTimesheetVarianceSummary].[Year] = Me.YearTag GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; Unfortunately, when I then open the form, enter info for YearTag, PeriodTag, and EntityTag (the unbound text boxes)...and click the button....I get a "Compile Error Syntax Error." Could someone stear me into the right direction? What am I doing wrong? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From kp at sdsonline.net Tue Dec 19 16:13:31 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 09:13:31 +1100 Subject: [AccessD] Database Advisors lists References: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <007701c723ba$ebe4ad30$6401a8c0@office> Done Kath Pelletti ----- Original Message ----- From: John Bartow To: 'Access Developers discussion and problem solving' Sent: Wednesday, December 20, 2006 3:54 AM Subject: Re: [AccessD] Database Advisors lists JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Dec 19 16:19:24 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 19 Dec 2006 16:19:24 -0600 Subject: [AccessD] Unbound forms Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FF21@marlow_main2.marlow.ii-vi.net> What's the purpose of locking the controls? In an unbound form, nothing is going to change in the tables unless you provide that route. Locking the controls is like putting a padlock on a wall. If you are using an unbound form for data entry/modification, you should be using a data class/collection in the background. You are in complete control of when the data gets changed. What's the real goal here Martin, why have an edit/save button instead of just a save? Personally, I use bound forms for most data entry things, if I'm using an Access front end. If I use unbound forms, it's because I want to control what's being done, so I can alert other things if necessary. With a data entry form, you could have a 'auto save' feature, where if it's one, changes are saved just like a bound form, if it's off, it prompts to save the data, or you could even hold all the changes in the classes/collection, and save in a batch process. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Dec 19 16:27:38 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 Dec 2006 14:27:38 -0800 (PST) Subject: [AccessD] Is this legit? Message-ID: <20061219222738.35948.qmail@web33102.mail.mud.yahoo.com> I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn?t access-d a great list? We?re the kind of community that actually works?we get the technical help we need free, and without the ego trappings that you?ll suffer from on other lists. I know that I find the list invaluable, and there are several others?industry leaders?that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book?s Acknowledgements section: ?Thanks? to the AccessD folks for all their great advice and help over the years. If someone on that list can?t solve your problem, it can?t be solved.? And she?s right. That has been my experience with the list for the last seven years. The list isn?t a miracle of internet magic though. It costs money to run the site and lists. So, I?ll be blunt, I?m asking for donations, both large and small so we can keep this great resource going. (Membership isn?t tied to donations. The AccessD community is free.) It?s a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you?re like me, that saves me money. And, just importantly, think of the times you?ve helped someone else. If you?d like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/"; and click [Make a Donation]. If you?d rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you?d rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/"; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From paul.baumann at rtctech.com Tue Dec 19 16:26:00 2006 From: paul.baumann at rtctech.com (Paul Baumann) Date: Tue, 19 Dec 2006 16:26:00 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <072501c7238e$5212f210$1402a8c0@ScuzzPaq> Message-ID: <002901c723bc$aa0c8700$6465a8c0@scrptrkr.local> You don't hear from me too often, but I sure appreciate the list. I will be sending in my contribution. Paul Paul O. Baumann RTC Technologies, Inc. Tel. 262-925-1300 Fax 262-925-1299 Email: paulb at rtctech.com -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, December 19, 2006 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists JC, I accept your challenge. And I up the bid to a double John dare for the rest of the consultants. John R. Bartow WinHaven Consulting www.winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, December 18, 2006 12:37 PM I challenge all of the other consultants on this list to join me in Supporting Database Advisors. I am going to do the Corporate Sponsor. I am not a big company but I can afford $120 a year to support Database Advisors, and I certainly receive far more than that in benefits each year, just in emergency answers to questions I need answered "right now". I have been a member of this list since summer of 1997 and I can say without hesitation I would not be where I am today without you folks. Please join me in any way you are able. TIA, John W. Colby Colby Consulting www.ColbyConsulting.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From stuart at lexacorp.com.pg Tue Dec 19 16:33:25 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 08:33:25 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: References: <45885792.26284.271F424@stuart.lexacorp.com.pg>, Message-ID: <458868B5.20604.2B4E1EE@stuart.lexacorp.com.pg> Drawn on a PNG bank? I'd like to see you try and negotiate it with your bank :-) On 19 Dec 2006 at 16:47, Keith Williamson wrote: > Personal check is fine. Simply mail. That way, we don't get charged > the transaction fee (as with PayPal.) > > I only ask that anyone sending a check, email me first....so I know it > is on its way....and can inquire if I never receive it. > > :) > > Mail Address: > > Database Advisors, Inc. > c/o Keith Williamson > 450-B Franklin Street > Havre de Grace, MD 21078 > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, December 19, 2006 4:20 PM > To: Access Developers discussion and problem solving > Cc: treasurer at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Me too. Bl**dy PayPal won't even accept a credit card payment off me. > They don't even acknowledge that Papua New Guinea exists. > > Can I use Western Union? > > On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > > > I see you, John. Now I just have to figure out how to remit it. > > > > Charlotte > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > I challenge all of the other consultants on this list to join me in > > Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big company but I can > > afford $120 a year to support Database Advisors, and I certainly receive > > far more than that in benefits each year, just in emergency answers to > > questions I need answered "right now". I have been a > member of > > this list since summer of 1997 and I can say without hesitation I > would not > > be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com > > Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists > > > > Dear accessd at databaseadvisors.com, > > > > Isn't access-d a great list? We're the kind of community that actually > > works-we get the technical help we need free, and without the ego > > trappings that you'll suffer from on other lists. I know that I find > the > > list invaluable, and there are several others-industry leaders-that > agree > > with me. Two of our members, Susan Harkins and Martin Reid, published > a Jet > > SQL book together in 2002, and this is what appears in the book's > > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > > advice and help over the years. If someone on that list can't solve > your > > problem, it can't be solved." And she's right. That has been my > experience > > with the list for the last seven years. > > > > > > > > The list isn't a miracle of internet magic though. It costs money to > run the > > site and lists. So, I'll be blunt, I'm asking for donations, both > large and > > small so we can keep this great resource going. (Membership isn't tied > to > > donations. The AccessD community is free.) > > > > > > > > It's a small sacrifice considering what you get! Where else can you > find > > people, from all over the globe, prepared to help you solve your > technical > > problems? Have you ever had a thread save you time? If you're like me, > that > > saves me money. And, just importantly, think of the times you've > helped > > someone else. > > > > > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > > > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > > [Make a Donation]. If you'd rather send a check through regular mail, > please > contact HYPERLINK > > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > > mailing instructions. (Please include "donation" in the subject line.) > > > > > > > > > Donations will be listed on the web site as follows: > > > > > > > > -Major/Corporate Sponsors: $120 or more > > > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > > Sponsors Support page in large type face for one month for each $10 > > donated > > > > PLUS Major/Corporate Sponsors may* place their logo with a link to > > their web site on the DBA page of their choice for the same period of > > time. > > > > > > > > -Friends of DBA: $120 to $60 > > > > Friends may* appear on our DBA Friends Support page in large type > face for > > one month for each $10 donated. > > > > > > > > -DBA Donors: $60 or less > > > > Donors may* appear on our DBA Donors Support page in normal type > face for > > one month for each $10 donated. > > > > > > > > *If you'd rather not be listed on the website, let us know and we'll > > keep your donation anonymous. > > > > > > > > Thank you for considering a donation to DBA, John Bartow, President > > Database Advisors, Inc. > > Email: HYPERLINK > > > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > > \nhttp://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 > > -- > Stuart > > > -- > 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 -- Stuart From prodevmg at yahoo.com Tue Dec 19 16:48:58 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 Dec 2006 14:48:58 -0800 (PST) Subject: [AccessD] Is this legit? Message-ID: <20061219224858.57212.qmail@web33111.mail.mud.yahoo.com> Ok, disregard my email about the being real. I see the other post. Why can't I get to the contribution page. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Tuesday, December 19, 2006 4:27:38 PM Subject: [AccessD] Is this legit? I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn?t access-d a great list? We?re the kind of community that actually works?we get the technical help we need free, and without the ego trappings that you?ll suffer from on other lists. I know that I find the list invaluable, and there are several others?industry leaders?that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book?s Acknowledgements section: ?Thanks? to the AccessD folks for all their great advice and help over the years. If someone on that list can?t solve your problem, it can?t be solved.? And she?s right. That has been my experience with the list for the last seven years. The list isn?t a miracle of internet magic though. It costs money to run the site and lists. So, I?ll be blunt, I?m asking for donations, both large and small so we can keep this great resource going. (Membership isn?t tied to donations. The AccessD community is free.) It?s a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you?re like me, that saves me money. And, just importantly, think of the times you?ve helped someone else. If you?d like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/";; and click [Make a Donation]. If you?d rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you?d rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/";; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ssharkins at setel.com Tue Dec 19 17:43:57 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 19 Dec 2006 18:43:57 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <000f01c723c7$8f235530$cb34fad1@SUSANONE> Martin, you can't donate your royalties from your book! That's just not right Martin -- you'd own us! ;) I think I'm going to make small donations on a regular basis. At the end of the year, it mounts up. Susan H. Well we get 4% of whatever the book makes. Apress will do the paperwork. I have no idea how that will work. Is that enough?? So thanks to all who give permission re their code for the "Code you can Steal" chapter. Christmas etc so I cant make a cash donation myself at the moment but if the book does well the list should do OK I think. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of John Skolits Sent: Tue 19/12/2006 20:28 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 From kp at sdsonline.net Tue Dec 19 17:55:07 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 10:55:07 +1100 Subject: [AccessD] HELP - Access 2003 margins Message-ID: <000b01c723c9$1d40c090$6401a8c0@office> This is truly driving me mad - Windows XP Pro, Access 2003. I have upgraded an app which used to be 2000 to 2003.I notice that the margins have been changed when I imported those objects (lots of swearing here...) When I open one of the reports, I can change the left, right, top and bottom margins in design view and save. BUT when I next open the report and print preview it, they will default to a minimum size of 4 mm for left,right and 6 for top/bottom, and when I go back into them in design view, those minimum margin sizes have overwritten mine. The reports are set to default printer, and this is the same default printer I use for the 2000 app. For the moment this means that I have no control over the margins at all. Is there a setting I can change somewhere to prevent this? If so I can't find it? ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From cfoust at infostatsystems.com Tue Dec 19 18:01:53 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Dec 2006 16:01:53 -0800 Subject: [AccessD] Is this legit? In-Reply-To: <20061219224858.57212.qmail@web33111.mail.mud.yahoo.com> Message-ID: Check the link. You may need to copy and paste it in your browser. I had to do that because of wraps and the way it came through wrapped and enclosed in HYPERLINK " blocks. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, December 19, 2006 2:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is this legit? Ok, disregard my email about the being real. I see the other post. Why can't I get to the contribution page. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Tuesday, December 19, 2006 4:27:38 PM Subject: [AccessD] Is this legit? I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks... to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/";; and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/";; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Dec 19 18:20:57 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 Dec 2006 16:20:57 -0800 (PST) Subject: [AccessD] Is this legit? Message-ID: <20061220002057.75946.qmail@web33102.mail.mud.yahoo.com> Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, December 19, 2006 6:01:53 PM Subject: Re: [AccessD] Is this legit? Check the link. You may need to copy and paste it in your browser. I had to do that because of wraps and the way it came through wrapped and enclosed in HYPERLINK " blocks. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, December 19, 2006 2:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is this legit? Ok, disregard my email about the being real. I see the other post. Why can't I get to the contribution page. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Lonnie Johnson To: AccessD solving' Sent: Tuesday, December 19, 2006 4:27:38 PM Subject: [AccessD] Is this legit? I received this email but the link keeps taking me to a Error Page saying "Page Cannot Be Found". May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Forwarded Message ---- From: John Bartow To: prodevmg at yahoo.com Cc: drive at databaseadvisors.com Sent: Monday, December 18, 2006 11:10:21 AM Subject: Database Advisors lists Dear prodevmg at yahoo.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks... to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/";;; and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com Website: HYPERLINK "http://www.databaseadvisors.com/";;; \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From garykjos at gmail.com Tue Dec 19 19:04:40 2006 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 19 Dec 2006 19:04:40 -0600 Subject: [AccessD] HELP - Access 2003 margins In-Reply-To: <000b01c723c9$1d40c090$6401a8c0@office> References: <000b01c723c9$1d40c090$6401a8c0@office> Message-ID: Is that one of the by product things that get fouled up as part of the Name Autocorrect option thing?? Tools/Options/General tab - uncheck all three things under Name Autocorrect heading in middle right of that bad boy. GK On 12/19/06, Kath Pelletti wrote: > This is truly driving me mad - Windows XP Pro, Access 2003. > > I have upgraded an app which used to be 2000 to 2003.I notice that the margins have been changed when I imported those objects (lots of swearing here...) > > When I open one of the reports, I can change the left, right, top and bottom margins in design view and save. BUT when I next open the report and print preview it, they will default to a minimum size of 4 mm for left,right and 6 for top/bottom, and when I go back into them in design view, those minimum margin sizes have overwritten mine. > > The reports are set to default printer, and this is the same default printer I use for the 2000 app. For the moment this means that I have no control over the margins at all. > > Is there a setting I can change somewhere to prevent this? If so I can't find it? > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.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 developer at ultradnt.com Tue Dec 19 19:43:07 2006 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 19 Dec 2006 20:43:07 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq> Message-ID: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 -- 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 Dec 19 19:53:45 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 11:53:45 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> References: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq>, <004d01c723d8$36212b40$0200a8c0@ULTRADNT> Message-ID: <458897A9.22501.36C4E4A@stuart.lexacorp.com.pg> I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart From joeget at vgernet.net Tue Dec 19 20:11:36 2006 From: joeget at vgernet.net (John Eget) Date: Tue, 19 Dec 2006 21:11:36 -0500 Subject: [AccessD] Database Advisors lists References: Message-ID: <004b01c723dc$310d7010$e9c2f63f@JOHN> I am not a consultant just an occasional developer to make my co-workers work life easier but will surely signup for the immediate help that individuals have given me. So where do I sign up and with whom? It has been well worth it John Eget a humble department of defense worker ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Tuesday, December 19, 2006 2:02 PM Subject: Re: [AccessD] Database Advisors lists > Same here. It will have to wait until after the home purchase, in early > January. But on the list, as well. > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, December 19, 2006 1:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Hello All, > > You know I love this place...but mine will have to wait for my tax > return(should have mentioned before I did my holiday shopping...lol). > I'll > do the Corporate...even though I'm not a Company or Corporation. The $$ > are > far less valuable than the help, advice, and even guidance I've received > > from this list over the years. > > So I'm on the delayed list...but on the list none the less!! > > Thanks, > > Mark A. Matte > > >>From: "Andy Lacey" >>Reply-To: Access Developers discussion and problem >>solving >>To: "'Access Developers discussion and problem >>solving'" >>Subject: Re: [AccessD] Database Advisors lists >>Date: Tue, 19 Dec 2006 17:57:14 -0000 >> >>Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >>there - time to cough up. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > Bartow >> > Sent: 19 December 2006 16:54 >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] Database Advisors lists >> > >> > >> > JC, >> > I accept your challenge. And I up the bid to a double John >> > dare for the rest of the consultants. >> > >> > John R. Bartow >> > WinHaven Consulting >> > www.winhaven.net >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> > Sent: Monday, December 18, 2006 12:37 PM >> > >> > I challenge all of the other consultants on this list to join >> > me in Supporting Database Advisors. >> > >> > I am going to do the Corporate Sponsor. I am not a big >> > company but I can afford $120 a year to support Database >> > Advisors, and I certainly receive far more than that in >> > benefits each year, just in emergency answers to questions I >> > need answered "right now". I have been a member of this list >> > since summer of 1997 and I can say without hesitation I would >> > not be where I am today without you folks. >> > >> > Please join me in any way you are able. >> > >> > TIA, >> > >> > John W. Colby >> > Colby Consulting >> > www.ColbyConsulting.com >> > >> > -- >> > No virus found in this outgoing message. >> > Checked by AVG Free Edition. >> > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release >> > Date: 12/19/2006 >> > >> > >> > -- >> > 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 > > _________________________________________________________________ > Visit MSN Holiday Challenge for your chance to win up to $50,000 in > Holiday > cash from MSN today! > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us > > -- > 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 ssharkins at setel.com Tue Dec 19 20:49:29 2006 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 19 Dec 2006 21:49:29 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> Message-ID: <002201c723e1$78e70bd0$cb34fad1@SUSANONE> Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? From kp at sdsonline.net Tue Dec 19 22:25:28 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 15:25:28 +1100 Subject: [AccessD] HELP - Access 2003 margins References: <000b01c723c9$1d40c090$6401a8c0@office> Message-ID: <001501c723ee$e1dca1b0$6401a8c0@office> Really? I'll try it out..... ----- Original Message ----- From: Gary Kjos To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:04 PM Subject: Re: [AccessD] HELP - Access 2003 margins Is that one of the by product things that get fouled up as part of the Name Autocorrect option thing?? Tools/Options/General tab - uncheck all three things under Name Autocorrect heading in middle right of that bad boy. GK On 12/19/06, Kath Pelletti wrote: > This is truly driving me mad - Windows XP Pro, Access 2003. > > I have upgraded an app which used to be 2000 to 2003.I notice that the margins have been changed when I imported those objects (lots of swearing here...) > > When I open one of the reports, I can change the left, right, top and bottom margins in design view and save. BUT when I next open the report and print preview it, they will default to a minimum size of 4 mm for left,right and 6 for top/bottom, and when I go back into them in design view, those minimum margin sizes have overwritten mine. > > The reports are set to default printer, and this is the same default printer I use for the 2000 app. For the moment this means that I have no control over the margins at all. > > Is there a setting I can change somewhere to prevent this? If so I can't find it? > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.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 kp at sdsonline.net Tue Dec 19 22:27:40 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 20 Dec 2006 15:27:40 +1100 Subject: [AccessD] Database Advisors lists References: <003a01c722c7$66c0b4d0$1402a8c0@ScuzzPaq>, <004d01c723d8$36212b40$0200a8c0@ULTRADNT> <458897A9.22501.36C4E4A@stuart.lexacorp.com.pg> Message-ID: <002601c723ef$30a93560$6401a8c0@office> I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Dec 19 23:14:38 2006 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 19 Dec 2006 21:14:38 -0800 (PST) Subject: [AccessD] Refresh subform? Message-ID: <20061220051439.39303.qmail@web31614.mail.mud.yahoo.com> Hi Group, I need to refresh a subform but I cannot get it to work....duh. The form is very simpel. In the main form I've got 2 buttons: Import Delete The button import imports data into a table tStaging The button delete deletes all data from the table tStaging. The subform displays the records in tStaging. The subform is NOT linked to the main form (so not via an ID field or anything else). The forms name is fImport. The subforms name is fsubVLAMStaging. I've tried several things: in the subforms OnCurrent event [fsubVLAMStaging].Requery => Nothing in the subforms OnCurrent event me.Requery => Nothing in the form fImport in the OnClick event of the buttons me.[fsubVLAMStaging].Requery?!?! Shouldn't be to hard I thought... Anybody got a clue? TIA! Regards Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From john at winhaven.net Wed Dec 20 00:14:14 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 00:14:14 -0600 Subject: [AccessD] Is this legit? In-Reply-To: <20061219222738.35948.qmail@web33102.mail.mud.yahoo.com> Message-ID: <135301c723fe$13072850$1402a8c0@ScuzzPaq> Lonnie (and everyone else), Sorry about that. I sent that email in HTML format and our software strips everything and makes it plain text. That effectively doubles each hyperlink and in the case of the donation link it put them together in a nonsensical manner. The link should have been presented as: http://www.databaseadvisors.com/donations.asp John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From bchacc at san.rr.com Wed Dec 20 00:56:37 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Tue, 19 Dec 2006 22:56:37 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <002601c723ef$30a93560$6401a8c0@office> Message-ID: <008201c72403$feb560f0$6601a8c0@HAL9005> I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From andy at minstersystems.co.uk Wed Dec 20 01:33:43 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Dec 2006 07:33:43 -0000 Subject: [AccessD] Database Advisors lists In-Reply-To: <004b01c723dc$310d7010$e9c2f63f@JOHN> Message-ID: <00c201c72409$2dd88a60$93ba0c54@minster33c3r25> To signup John just go to www.databaseadvisors.com and click on the Donations link on the left. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget > Sent: 20 December 2006 02:12 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > I am not a consultant just an occasional developer to make my > co-workers > work life easier but will surely signup for the immediate help that > individuals have given me. > > So where do I sign up and with whom? It has been well worth it > > John Eget > a humble department of defense worker > > ----- Original Message ----- > From: "Keith Williamson" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, December 19, 2006 2:02 PM > Subject: Re: [AccessD] Database Advisors lists > > > > Same here. It will have to wait until after the home purchase, in > > early January. But on the list, as well. > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > Matte > > Sent: Tuesday, December 19, 2006 1:51 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Database Advisors lists > > > > Hello All, > > > > You know I love this place...but mine will have to wait for my tax > > return(should have mentioned before I did my holiday > shopping...lol). > > I'll do the Corporate...even though I'm not a Company or > Corporation. > > The $$ are > > far less valuable than the help, advice, and even guidance > I've received > > > > from this list over the years. > > > > So I'm on the delayed list...but on the list none the less!! > > > > Thanks, > > > > Mark A. Matte > > > > > >>From: "Andy Lacey" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: "'Access Developers discussion and problem > >>solving'" > >>Subject: Re: [AccessD] Database Advisors lists > >>Date: Tue, 19 Dec 2006 17:57:14 -0000 > >> > >>Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers > >>out there - time to cough up. > >> > >>-- Andy Lacey > >>http://www.minstersystems.co.uk > >> > >> > -----Original Message----- > >> > From: accessd-bounces at databaseadvisors.com > >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > > Bartow > >> > Sent: 19 December 2006 16:54 > >> > To: 'Access Developers discussion and problem solving' > >> > Subject: Re: [AccessD] Database Advisors lists > >> > > >> > > >> > JC, > >> > I accept your challenge. And I up the bid to a double > John dare for > >> > the rest of the consultants. > >> > > >> > John R. Bartow > >> > WinHaven Consulting > >> > www.winhaven.net > >> > > >> > -----Original Message----- > >> > From: accessd-bounces at databaseadvisors.com > >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of JWColby > >> > Sent: Monday, December 18, 2006 12:37 PM > >> > > >> > I challenge all of the other consultants on this list to > join me in > >> > Supporting Database Advisors. > >> > > >> > I am going to do the Corporate Sponsor. I am not a big > company but > >> > I can afford $120 a year to support Database Advisors, and I > >> > certainly receive far more than that in benefits each > year, just in > >> > emergency answers to questions I need answered "right > now". I have > >> > been a member of this list since summer of 1997 and I can say > >> > without hesitation I would not be where I am today without you > >> > folks. > >> > > >> > Please join me in any way you are able. > >> > > >> > TIA, > >> > > >> > John W. Colby > >> > Colby Consulting > >> > www.ColbyConsulting.com > >> > > >> > -- > >> > No virus found in this outgoing message. > >> > Checked by AVG Free Edition. > >> > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > >> > Date: 12/19/2006 > >> > > >> > > >> > -- > >> > 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 > > > > _________________________________________________________________ > > Visit MSN Holiday Challenge for your chance to win up to $50,000 in > > Holiday cash from MSN today! > > > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&loc ale=en-us > > -- > 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 andy at minstersystems.co.uk Wed Dec 20 01:36:31 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Dec 2006 07:36:31 -0000 Subject: [AccessD] Refresh subform? In-Reply-To: <20061220051439.39303.qmail@web31614.mail.mud.yahoo.com> Message-ID: <00c301c72409$9323efe0$93ba0c54@minster33c3r25> Sander >From the main form try Me!fsubVLAMStaging.Form.Requery but fsubVLAMStaging MUST be the name of the subform control NOT the subform's actual form name. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: 20 December 2006 05:15 > To: Acces User Group > Subject: [AccessD] Refresh subform? > > > Hi Group, > > I need to refresh a subform but I cannot get it to > work....duh. The form is very simpel. In the main form I've > got 2 buttons: > Import > Delete > > The button import imports data into a table tStaging > The button delete deletes all data from the table tStaging. > > The subform displays the records in tStaging. > The subform is NOT linked to the main form (so not via an ID > field or anything else). > > The forms name is fImport. > The subforms name is fsubVLAMStaging. > > I've tried several things: > in the subforms OnCurrent event [fsubVLAMStaging].Requery => > Nothing in the subforms OnCurrent event me.Requery => Nothing > in the form fImport in the OnClick event of the buttons > me.[fsubVLAMStaging].Requery?!?! > > > Shouldn't be to hard I thought... > Anybody got a clue? > > TIA! > Regards > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Wed Dec 20 01:53:49 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 01:53:49 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <008201c72403$feb560f0$6601a8c0@HAL9005> Message-ID: <014901c7240b$fe2f2050$1402a8c0@ScuzzPaq> One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 20 01:59:51 2006 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 19 Dec 2006 23:59:51 -0800 (PST) Subject: [AccessD] Refresh subform? SOLVED! Message-ID: <20061220075951.87825.qmail@web31604.mail.mud.yahoo.com> Thnx Andy! .Form. did the trick! ----- Original Message ---- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 8:36:31 AM Subject: Re: [AccessD] Refresh subform? Sander >From the main form try Me!fsubVLAMStaging.Form.Requery but fsubVLAMStaging MUST be the name of the subform control NOT the subform's actual form name. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: 20 December 2006 05:15 > To: Acces User Group > Subject: [AccessD] Refresh subform? > > > Hi Group, > > I need to refresh a subform but I cannot get it to > work....duh. The form is very simpel. In the main form I've > got 2 buttons: > Import > Delete > > The button import imports data into a table tStaging > The button delete deletes all data from the table tStaging. > > The subform displays the records in tStaging. > The subform is NOT linked to the main form (so not via an ID > field or anything else). > > The forms name is fImport. > The subforms name is fsubVLAMStaging. > > I've tried several things: > in the subforms OnCurrent event [fsubVLAMStaging].Requery => > Nothing in the subforms OnCurrent event me.Requery => Nothing > in the form fImport in the OnClick event of the buttons > me.[fsubVLAMStaging].Requery?!?! > > > Shouldn't be to hard I thought... > Anybody got a clue? > > TIA! > Regards > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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.databas ________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From andy at minstersystems.co.uk Wed Dec 20 02:19:04 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Dec 2006 08:19:04 -0000 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <00e801c7240f$82ff3060$93ba0c54@minster33c3r25> Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that > enough?? So thanks to all who give permission re their code > for the "Code you can Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the > moment but if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list > since about the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > From jwcolby at colbyconsulting.com Wed Dec 20 02:52:37 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:52:37 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004d01c723d8$36212b40$0200a8c0@ULTRADNT> Message-ID: <002001c72414$33ec0480$657aa8c0@m6805> LOL, now be gentle. We all know that no one on this list even has an Ego, never mind letting it get in the way of gently but firmly letting the list know that I AM ALWAYS RIGHT. Ohhhh.... Uhhhhh... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Tuesday, December 19, 2006 8:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists Dear accessd at databaseadvisors.com, Isn't access-d a great list? We're the kind of community that actually works-we get the technical help we need free, and without the ego trappings that you'll suffer from on other lists. I know that I find the list invaluable, and there are several others-industry leaders-that agree with me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL book together in 2002, and this is what appears in the book's Acknowledgements section: "Thanks. to the AccessD folks for all their great advice and help over the years. If someone on that list can't solve your problem, it can't be solved." And she's right. That has been my experience with the list for the last seven years. The list isn't a miracle of internet magic though. It costs money to run the site and lists. So, I'll be blunt, I'm asking for donations, both large and small so we can keep this great resource going. (Membership isn't tied to donations. The AccessD community is free.) It's a small sacrifice considering what you get! Where else can you find people, from all over the globe, prepared to help you solve your technical problems? Have you ever had a thread save you time? If you're like me, that saves me money. And, just importantly, think of the times you've helped someone else. If you'd like to donate using a credit card or PayPal, visit HYPERLINK "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make a Donation]. If you'd rather send a check through regular mail, please contact HYPERLINK "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for mailing instructions. (Please include "donation" in the subject line.) Donations will be listed on the web site as follows: -Major/Corporate Sponsors: $120 or more Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors Support page in large type face for one month for each $10 donated PLUS Major/Corporate Sponsors may* place their logo with a link to their web site on the DBA page of their choice for the same period of time. -Friends of DBA: $120 to $60 Friends may* appear on our DBA Friends Support page in large type face for one month for each $10 donated. -DBA Donors: $60 or less Donors may* appear on our DBA Donors Support page in normal type face for one month for each $10 donated. *If you'd rather not be listed on the website, let us know and we'll keep your donation anonymous. Thank you for considering a donation to DBA, John Bartow, President Database Advisors, Inc. Email: HYPERLINK "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com Website: HYPERLINK "http://www.databaseadvisors.com/" \nhttp://www.databaseadvisors.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 -- 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 colbyconsulting.com Wed Dec 20 02:54:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:54:29 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <002201c723e1$78e70bd0$cb34fad1@SUSANONE> Message-ID: <002101c72414$7636b0b0$657aa8c0@m6805> >but there's no one on this list saying, "My way or the highway" like you find on others. At least now that the great PK debate is settled and everyone agrees that it's MY WAY. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, December 19, 2006 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Dec 20 02:55:57 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:55:57 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004b01c723dc$310d7010$e9c2f63f@JOHN> Message-ID: <002201c72414$aafb72e0$657aa8c0@m6805> John, Basically this is just a funding drive. You can just send a check to Keith or there is a place to use PayPal. http://www.databaseadvisors.com/donations.asp Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Tuesday, December 19, 2006 9:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I am not a consultant just an occasional developer to make my co-workers work life easier but will surely signup for the immediate help that individuals have given me. So where do I sign up and with whom? It has been well worth it John Eget a humble department of defense worker ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Tuesday, December 19, 2006 2:02 PM Subject: Re: [AccessD] Database Advisors lists > Same here. It will have to wait until after the home purchase, in early > January. But on the list, as well. > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Tuesday, December 19, 2006 1:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Hello All, > > You know I love this place...but mine will have to wait for my tax > return(should have mentioned before I did my holiday shopping...lol). > I'll > do the Corporate...even though I'm not a Company or Corporation. The $$ > are > far less valuable than the help, advice, and even guidance I've received > > from this list over the years. > > So I'm on the delayed list...but on the list none the less!! > > Thanks, > > Mark A. Matte > > >>From: "Andy Lacey" >>Reply-To: Access Developers discussion and problem >>solving >>To: "'Access Developers discussion and problem >>solving'" >>Subject: Re: [AccessD] Database Advisors lists >>Date: Tue, 19 Dec 2006 17:57:14 -0000 >> >>Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out >>there - time to cough up. >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John > Bartow >> > Sent: 19 December 2006 16:54 >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] Database Advisors lists >> > >> > >> > JC, >> > I accept your challenge. And I up the bid to a double John >> > dare for the rest of the consultants. >> > >> > John R. Bartow >> > WinHaven Consulting >> > www.winhaven.net >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> > Sent: Monday, December 18, 2006 12:37 PM >> > >> > I challenge all of the other consultants on this list to join >> > me in Supporting Database Advisors. >> > >> > I am going to do the Corporate Sponsor. I am not a big >> > company but I can afford $120 a year to support Database >> > Advisors, and I certainly receive far more than that in >> > benefits each year, just in emergency answers to questions I >> > need answered "right now". I have been a member of this list >> > since summer of 1997 and I can say without hesitation I would >> > not be where I am today without you folks. >> > >> > Please join me in any way you are able. >> > >> > TIA, >> > >> > John W. Colby >> > Colby Consulting >> > www.ColbyConsulting.com >> > >> > -- >> > No virus found in this outgoing message. >> > Checked by AVG Free Edition. >> > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release >> > Date: 12/19/2006 >> > >> > >> > -- >> > 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 > > _________________________________________________________________ > Visit MSN Holiday Challenge for your chance to win up to $50,000 in > Holiday > cash from MSN today! > http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us > > -- > 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 colbyconsulting.com Wed Dec 20 02:57:43 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 03:57:43 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <008201c72403$feb560f0$6601a8c0@HAL9005> Message-ID: <002301c72414$e9adb610$657aa8c0@m6805> IIRC we hired a hit man to break his legs. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Dec 20 03:19:04 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 20 Dec 2006 09:19:04 -0000 Subject: [AccessD] Unbound forms References: <17724746D360394AA3BFE5B8D40A9C1B0171FF21@marlow_main2.marlow.ii-vi.net> Message-ID: Hi Drew Its realy just a demo of the technique more than anything else. The chapter is on DAO and I need to cover most things. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 22:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms What's the purpose of locking the controls? In an unbound form, nothing is going to change in the tables unless you provide that route. Locking the controls is like putting a padlock on a wall. If you are using an unbound form for data entry/modification, you should be using a data class/collection in the background. You are in complete control of when the data gets changed. What's the real goal here Martin, why have an edit/save button instead of just a save? Personally, I use bound forms for most data entry things, if I'm using an Access front end. If I use unbound forms, it's because I want to control what's being done, so I can alert other things if necessary. With a data entry form, you could have a 'auto save' feature, where if it's one, changes are saved just like a bound form, if it's off, it prompts to save the data, or you could even hold all the changes in the classes/collection, and save in a batch process. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 mwp.reid at qub.ac.uk Wed Dec 20 03:21:50 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 20 Dec 2006 09:21:50 -0000 Subject: [AccessD] Database Advisors lists References: <00e801c7240f$82ff3060$93ba0c54@minster33c3r25> Message-ID: Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that > enough?? So thanks to all who give permission re their code > for the "Code you can Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the > moment but if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list > since about the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 20 04:01:06 2006 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 20 Dec 2006 02:01:06 -0800 (PST) Subject: [AccessD] Query => values not in... Message-ID: <20061220100107.74120.qmail@web31605.mail.mud.yahoo.com> Hi group, i've got 2 tables Customers Staging Both have fields: street no city zipcode I need the following results: Get all records from table Staging where (street, no, city, zipcode) not in (select street, no, city, zipcode from Customers) So if the combination of "street, no, city, zipcode" in the table staging is not in the table Customers I want to see that record/ those records How do I do this in Access SQL??? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From stuart at lexacorp.com.pg Wed Dec 20 04:37:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 20:37:07 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: <002301c72414$e9adb610$657aa8c0@m6805> References: <008201c72403$feb560f0$6601a8c0@HAL9005>, <002301c72414$e9adb610$657aa8c0@m6805> Message-ID: <45891253.3599.BC852B@stuart.lexacorp.com.pg> Naah - we colbyized him - 20,000ft without a parachute :-) On 20 Dec 2006 at 3:57, JWColby wrote: > IIRC we hired a hit man to break his legs. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access Developers > discussion and problem solving' Subject: Re: [AccessD] Database Advisors > lists > > I seem to recall a couple years back someone came on the list - a real jerk > - with a real bad attitude and dissing people. We drove him off somehow. > Did we pull his list access - ban him from the list? I can't remember. > Anybody remember that incident? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion > and problem solving Subject: Re: [AccessD] Database Advisors lists > > I agree - some lists I tried this year were pretty unbelievable...... > ----- Original Message ----- > From: Stuart McLachlan > To: Access Developers discussion and problem solving > Sent: Wednesday, December 20, 2006 12:53 PM > Subject: Re: [AccessD] Database Advisors lists > > > I won't - this is certainly one of the more civilised lists. Signal to > noise ratio is waaaaay above the average. > > On 19 Dec 2006 at 20:43, Steve Conklin wrote: > > > No one has yet challenged this line: > > >>>>>>>> and without the ego trappings that you'll suffer from on other > > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Monday, December 18, 2006 12:10 PM > To: > accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: > [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > > Isn't access-d a great list? We're the kind of community that actually > > works-we get the technical help we need free, and without the ego > trappings > > that you'll suffer from on other lists. I know that I find the list > > invaluable, and there are several others-industry leaders-that agree > with > > me. Two of our members, Susan Harkins and Martin Reid, published a Jet > SQL > > book together in 2002, and this is what appears in the book's > > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > > advice and help over the years. If someone on that list can't solve your > > problem, it can't be solved." And she's right. That has been my > experience > > with the list for the last seven years. > > > > > > > > The list isn't a miracle of internet magic though. It costs money to run > the > > site and lists. So, I'll be blunt, I'm asking for donations, both large > and > > small so we can keep this great resource going. (Membership isn't tied > to > > donations. The AccessD community is free.) > > > > > > > > It's a small sacrifice considering what you get! Where else can you find > > people, from all over the globe, prepared to help you solve your > technical > > problems? Have you ever had a thread save you time? If you're like me, > that > > saves me money. And, just importantly, think of the times you've helped > > someone else. > > > > If you'd like to donate using a credit card or > PayPal, visit HYPERLINK > > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvisors.c > > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > [Make > > a Donation]. If you'd rather send a check through regular mail, please > > contact HYPERLINK > > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com > for > > mailing instructions. (Please include "donation" in the subject line.) > > > > > Donations will be listed on the web site as follows: > > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors > may* appear on our DBA Major/Corporate > Sponsors > > Support page in large type face for one month for each $10 donated > > > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their > > web site on the DBA page of their choice for the same period of time. > > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA > Friends Support page in large type face > for > > one month for each $10 donated. > > > > > > > > -DBA Donors: $60 or less > > > > Donors may* appear on our DBA Donors Support page in normal type face > for > > one month for each $10 donated. > > > > > > > > *If you'd rather not be listed on the website, let us know and we'll > keep > > your donation anonymous. > > > > > > > > Thank you for considering a donation to DBA, John Bartow, President > Database > > Advisors, Inc. Email: HYPERLINK > > > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors.com > > Website: HYPERLINK "http://www.databaseadvisors.com/" > > \nhttp://www.databaseadvisors.com > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: > 12/18/2006 > > > > -- > > 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 > > -- > Stuart > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 > 1:17 PM > > > -- > 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 -- Stuart From stuart at lexacorp.com.pg Wed Dec 20 04:37:07 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Dec 2006 20:37:07 +1000 Subject: [AccessD] Query => values not in... In-Reply-To: <20061220100107.74120.qmail@web31605.mail.mud.yahoo.com> References: <20061220100107.74120.qmail@web31605.mail.mud.yahoo.com> Message-ID: <45891253.27626.BC8579@stuart.lexacorp.com.pg> Do a left join on the four fields and select where the right field is null. Select * from staging s left join customers c on s.street = c.street, s.no = c.no, s.city = c.city, s.zipcode = c.zipcode where c.street is null On 20 Dec 2006 at 2:01, Sad Der wrote: > Hi group, > > i've got 2 tables > Customers > Staging > > Both have fields: > street > no > city > zipcode > > I need the following results: > Get all records from table Staging where (street, no, city, zipcode) not in > (select street, no, city, zipcode from Customers) > > So if the combination of "street, no, city, zipcode" in the table staging is > not in the table Customers I want to see that record/ those records How do I > do this in Access SQL??? > > TIA > > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From jwcolby at colbyconsulting.com Wed Dec 20 04:37:26 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 05:37:26 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <003201c72422$d83023b0$657aa8c0@m6805> >I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.com > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 20 05:03:16 2006 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 20 Dec 2006 03:03:16 -0800 (PST) Subject: [AccessD] Query => values not in... Message-ID: <20061220110316.44233.qmail@web31601.mail.mud.yahoo.com> Stuart, I believe this will return all records from staging and the records from Customer where the fields match and Customer.Street = NULL. I need all records from staging that are not in Customer. Eg: records in Staging: street no A 1 B 2 records in Customer: street no A 1 B 3 I need the query to return: B,2 Because this record isn't in Customer. Hope this clarifies things. Regards, Sander ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 11:37:07 AM Subject: Re: [AccessD] Query => values not in... Do a left join on the four fields and select where the right field is null. Select * from staging s left join customers c on s.street = c.street, s.no = c.no, s.city = c.city, s.zipcode = c.zipcode where c.street is null On 20 Dec 2006 at 2:01, Sad Der wrote: > Hi group, > > i've got 2 tables > Customers > Staging > > Both have fields: > street > no > city > zipcode > > I need the following results: > Get all records from table Staging where (street, no, city, zipcode) not in > (select street, no, city, zipcode from Customers) > > So if the combination of "street, no, city, zipcode" in the table staging is > not in the table Customers I want to see that record/ those records How do I > do this in Access SQL??? > > TIA > > Sander > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the be t spam protection around http://mail.yahoo.com From jwcolby at colbyconsulting.com Wed Dec 20 05:33:06 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 06:33:06 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <45891253.3599.BC852B@stuart.lexacorp.com.pg> Message-ID: <003a01c7242a$9f1aab60$657aa8c0@m6805> ROTFL. The sad part is that the phrase came from an article I read back in the 90s, where the then dictator of Chile (I believe) was fighting the Shining Path guerrillas, and allegedly ordered members to be "disappeared", again allegedly by taking them a couple of hundred miles out over the Pacific Ocean and pushing them out of an airplane - 20,000 feet, without a parachute. And I have no doubt whatsoever that it did indeed happen. Man's inhumanity to man. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, December 20, 2006 5:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Naah - we colbyized him - 20,000ft without a parachute :-) On 20 Dec 2006 at 3:57, JWColby wrote: > IIRC we hired a hit man to break his legs. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Database Advisors lists > > I seem to recall a couple years back someone came on the list - a real > jerk > - with a real bad attitude and dissing people. We drove him off somehow. > Did we pull his list access - ban him from the list? I can't remember. > Anybody remember that incident? > > Rocky From mmattys at rochester.rr.com Wed Dec 20 05:40:56 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 20 Dec 2006 06:40:56 -0500 Subject: [AccessD] Database Advisors lists References: <002001c72414$33ec0480$657aa8c0@m6805> Message-ID: <007401c7242b$b7fd1a40$0302a8c0@default> :) The list has moderators and other offices to manage conversations - and egos - gone awry. This, in part, is because the people who got together to bring this list to all of us after the first AccessD went down 'in flames.' I don't know of anyone here (who might be accused of 'having an ego') who isn't willing to publicly declare 'Sorry, I was wrong' and, in all good sense of humor, simply continue on as if walking together with a bunch of friends down the same road you walked with friends from high school. We also love our Friday Humour ... I would hate to wake up one morning to find this list gone!!!! Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, December 20, 2006 3:52 AM Subject: Re: [AccessD] Database Advisors lists > LOL, now be gentle. We all know that no one on this list even has an Ego, > never mind letting it get in the way of gently but firmly letting the list > know that I AM ALWAYS RIGHT. Ohhhh.... Uhhhhh... > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin > Sent: Tuesday, December 19, 2006 8:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > No one has yet challenged this line: >>>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? From Kwilliamson at RTKL.com Wed Dec 20 07:43:48 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 08:43:48 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: Aaaahhhhhhhhhh....uuuuummmmmmm.....NO. sorry. Only as a business expense....saaayyyyy..."Marketing." Yeah. That will do it. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, December 19, 2006 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists But, gee, it doesn't say that it's a donation or anything like that on the PayPal receipt. It looks like I bought dba support!! Nothing about tax deductible. I mean, it IS isn't it? ;o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Tuesday, December 19, 2006 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 19, 2006 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists If I can get a receipt I'm good to go $120. Keith? Jim Hale -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Tuesday, December 19, 2006 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists OK, I did my part with $120.00. Been on and off the list since about the fall of 1998. It's been great. Glad I could help. OK, who's the next person in line? John Skolits www.CorproateDatDesign.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, December 19, 2006 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Me too. Who's next? C'mon hands in pockets/wallets. All you lurkers out there - time to cough up. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 19 December 2006 16:54 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > JC, > I accept your challenge. And I up the bid to a double John dare for > the rest of the consultants. > > John R. Bartow > WinHaven Consulting > www.winhaven.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 12:37 PM > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.25/593 - Release > Date: 12/19/2006 > > > -- > 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 Kwilliamson at RTKL.com Wed Dec 20 07:45:12 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 08:45:12 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <458868B5.20604.2B4E1EE@stuart.lexacorp.com.pg> Message-ID: Well....I probably could. But do I get to keep any gains from exchange rate? Any loss would, of course, be on DBA. :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 5:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Drawn on a PNG bank? I'd like to see you try and negotiate it with your bank :-) On 19 Dec 2006 at 16:47, Keith Williamson wrote: > Personal check is fine. Simply mail. That way, we don't get charged > the transaction fee (as with PayPal.) > > I only ask that anyone sending a check, email me first....so I know it > is on its way....and can inquire if I never receive it. > > :) > > Mail Address: > > Database Advisors, Inc. > c/o Keith Williamson > 450-B Franklin Street > Havre de Grace, MD 21078 > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, December 19, 2006 4:20 PM > To: Access Developers discussion and problem solving > Cc: treasurer at databaseadvisors.com > Subject: Re: [AccessD] Database Advisors lists > > Me too. Bl**dy PayPal won't even accept a credit card payment off me. > They don't even acknowledge that Papua New Guinea exists. > > Can I use Western Union? > > On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > > > I see you, John. Now I just have to figure out how to remit it. > > > > Charlotte > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > > Sent: Monday, December 18, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Database Advisors lists > > > > I challenge all of the other consultants on this list to join me in > > Supporting Database Advisors. > > > > I am going to do the Corporate Sponsor. I am not a big company but I can > > afford $120 a year to support Database Advisors, and I certainly receive > > far more than that in benefits each year, just in emergency answers to > > questions I need answered "right now". I have been a > member of > > this list since summer of 1997 and I can say without hesitation I > would not > > be where I am today without you folks. > > > > Please join me in any way you are able. > > > > TIA, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Monday, December 18, 2006 12:10 PM To: accessd at databaseadvisors.com > > Cc: drive at databaseadvisors.com Subject: [AccessD] Database Advisors lists > > > > Dear accessd at databaseadvisors.com, > > > > Isn't access-d a great list? We're the kind of community that actually > > works-we get the technical help we need free, and without the ego > > trappings that you'll suffer from on other lists. I know that I find > the > > list invaluable, and there are several others-industry leaders-that > agree > > with me. Two of our members, Susan Harkins and Martin Reid, published > a Jet > > SQL book together in 2002, and this is what appears in the book's > > Acknowledgements section: "Thanks. to the AccessD folks for all their > great > > advice and help over the years. If someone on that list can't solve > your > > problem, it can't be solved." And she's right. That has been my > experience > > with the list for the last seven years. > > > > > > > > The list isn't a miracle of internet magic though. It costs money to > run the > > site and lists. So, I'll be blunt, I'm asking for donations, both > large and > > small so we can keep this great resource going. (Membership isn't tied > to > > donations. The AccessD community is free.) > > > > > > > > It's a small sacrifice considering what you get! Where else can you > find > > people, from all over the globe, prepared to help you solve your > technical > > problems? Have you ever had a thread save you time? If you're like me, > that > > saves me money. And, just importantly, think of the times you've > helped > > someone else. > > > > > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > > > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso > > rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click > > [Make a Donation]. If you'd rather send a check through regular mail, > please > contact HYPERLINK > > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > > mailing instructions. (Please include "donation" in the subject line.) > > > > > > > > > Donations will be listed on the web site as follows: > > > > > > > > -Major/Corporate Sponsors: $120 or more > > > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > > Sponsors Support page in large type face for one month for each $10 > > donated > > > > PLUS Major/Corporate Sponsors may* place their logo with a link to > > their web site on the DBA page of their choice for the same period of > > time. > > > > > > > > -Friends of DBA: $120 to $60 > > > > Friends may* appear on our DBA Friends Support page in large type > face for > > one month for each $10 donated. > > > > > > > > -DBA Donors: $60 or less > > > > Donors may* appear on our DBA Donors Support page in normal type > face for > > one month for each $10 donated. > > > > > > > > *If you'd rather not be listed on the website, let us know and we'll > > keep your donation anonymous. > > > > > > > > Thank you for considering a donation to DBA, John Bartow, President > > Database Advisors, Inc. > > Email: HYPERLINK > > > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors > > .com Website: HYPERLINK "http://www.databaseadvisors.com/" > > \nhttp://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 > > -- > Stuart > > > -- > 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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 07:49:57 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 08:49:57 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <003a01c7242a$9f1aab60$657aa8c0@m6805> Message-ID: Inhumane???!! Come on!! At least he gave them a CHANCE. ;) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, December 20, 2006 6:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL. The sad part is that the phrase came from an article I read back in the 90s, where the then dictator of Chile (I believe) was fighting the Shining Path guerrillas, and allegedly ordered members to be "disappeared", again allegedly by taking them a couple of hundred miles out over the Pacific Ocean and pushing them out of an airplane - 20,000 feet, without a parachute. And I have no doubt whatsoever that it did indeed happen. Man's inhumanity to man. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, December 20, 2006 5:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Naah - we colbyized him - 20,000ft without a parachute :-) On 20 Dec 2006 at 3:57, JWColby wrote: > IIRC we hired a hit man to break his legs. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access Software Sent: Wednesday, December 20, 2006 1:57 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Database Advisors lists > > I seem to recall a couple years back someone came on the list - a real > jerk > - with a real bad attitude and dissing people. We drove him off somehow. > Did we pull his list access - ban him from the list? I can't remember. > Anybody remember that incident? > > Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 09:05:05 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 10:05:05 -0500 Subject: [AccessD] Unbound Subform Revisited Message-ID: Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From bchacc at san.rr.com Wed Dec 20 09:32:50 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 07:32:50 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <003201c72422$d83023b0$657aa8c0@m6805> Message-ID: <003501c7244c$1bfb0aa0$6601a8c0@HAL9005> Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From bchacc at san.rr.com Wed Dec 20 09:36:35 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 07:36:35 -0800 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: <003601c7244c$a238bbd0$6601a8c0@HAL9005> Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From rl_stewart at highstream.net Wed Dec 20 09:54:35 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 20 Dec 2006 09:54:35 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: References: Message-ID: <200612201555.kBKFtVq09357@databaseadvisors.com> Getting a % of the sales is a whole lot better than what I got when I co-authored a book. I got a whole $660 per chapter for the 2 chapters that I wrote. Teach Yourself Access 97 in 21 Days I wrote the chapters on database design and relationships. (3 and 5) It was the first and last time that those 2 chapters were included in the 21 Days books. Too bad because that is the cornerstone of development. I have been thinking about writing one about SQL Server basics and publishing it as an ebook/PDF myself on my WeBeDb.com site. Anyone interested? Would any of you buy it for say $20 as a subscription where you could keep downloading it and all the updates/changes/additions to it? Robert At 07:31 AM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 08:19:04 -0000 >From: "Andy Lacey" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e801c7240f$82ff3060$93ba0c54 at minster33c3r25> >Content-Type: text/plain; charset="us-ascii" > >Sounds more than generous to me Martin. Well done. Let's all hope the book >sells zillions. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > > Sent: 19 December 2006 21:07 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Database Advisors lists > > > > > > Well we get 4% of whatever the book makes. Apress will do the > > paperwork. I have no idea how that will work. Is that > > enough?? So thanks to all who give permission re their code > > for the "Code you can Steal" chapter. > > > > Christmas etc so I cant make a cash donation myself at the > > moment but if the book does well the list should do OK I think. > > > > Martin > > From rl_stewart at highstream.net Wed Dec 20 09:55:37 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 20 Dec 2006 09:55:37 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: References: Message-ID: <200612201600.kBKG0Uq10659@databaseadvisors.com> As long as it is surrogate keys, I agree :-) At 07:31 AM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 03:54:29 -0500 >From: "JWColby" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <002101c72414$7636b0b0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > > >but there's no one on this list saying, "My way or the highway" like you >find on others. > >At least now that the great PK debate is settled and everyone agrees that >it's MY WAY. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com From Kwilliamson at RTKL.com Wed Dec 20 10:14:18 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 11:14:18 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: <003601c7244c$a238bbd0$6601a8c0@HAL9005> Message-ID: Here is the sql statement: me.form.RecordSource = (SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity];) Me.Form.Requery Anyone? Anyone? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Dec 20 10:19:55 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 10:19:55 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612201555.kBKFtVq09357@databaseadvisors.com> Message-ID: <060e01c72452$b02f3330$1402a8c0@ScuzzPaq> Robert, We request that our list members write articles for DBA to post on DBA's site. You are always welcome to do that, and I strongly encourage you to do so. All of our articles give full credit to the authors. However we ask that you please don't solicit our list members for personal site/gain without the express written permission of the board of directors. Thank you for your cooperation, John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, December 20, 2006 9:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Getting a % of the sales is a whole lot better than what I got when I co-authored a book. I got a whole $660 per chapter for the 2 chapters that I wrote. Teach Yourself Access 97 in 21 Days I wrote the chapters on database design and relationships. (3 and 5) It was the first and last time that those 2 chapters were included in the 21 Days books. Too bad because that is the cornerstone of development. I have been thinking about writing one about SQL Server basics and publishing it as an ebook/PDF myself on my WeBeDb.com site. Anyone interested? Would any of you buy it for say $20 as a subscription where you could keep downloading it and all the updates/changes/additions to it? Robert At 07:31 AM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 08:19:04 -0000 >From: "Andy Lacey" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e801c7240f$82ff3060$93ba0c54 at minster33c3r25> >Content-Type: text/plain; charset="us-ascii" > >Sounds more than generous to me Martin. Well done. Let's all hope the >book sells zillions. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > > Reid > > Sent: 19 December 2006 21:07 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Database Advisors lists > > > > > > Well we get 4% of whatever the book makes. Apress will do the > > paperwork. I have no idea how that will work. Is that enough?? So > > thanks to all who give permission re their code for the "Code you > > can Steal" chapter. > > > > Christmas etc so I cant make a cash donation myself at the moment > > but if the book does well the list should do OK I think. > > > > Martin > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Dec 20 10:25:00 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 10:25:00 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <002201c72414$aafb72e0$657aa8c0@m6805> Message-ID: <061d01c72453$65c60430$1402a8c0@ScuzzPaq> We also accept credit cards - please check out the web page at: http://www.databaseadvisors.com/donations.asp -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, December 20, 2006 2:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists John, Basically this is just a funding drive. You can just send a check to Keith or there is a place to use PayPal. http://www.databaseadvisors.com/donations.asp Thanks. From bchacc at san.rr.com Wed Dec 20 10:32:59 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 08:32:59 -0800 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: <004701c72454$831f2e20$6601a8c0@HAL9005> Keith: Sometimes when I can't spot a problem in a lengthy SQL statement like this I paste it into the SQL view of a new query and then switch to the design view. Sometimes you can spot the problem that way. I would also paste the original record source SQL and the modified SQL into WordPad and eyeball them for differences. The line breaks should occur in roughly the same places so you can start by checking the length of each and the end of each line to find the differences. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Here is the sql statement: me.form.RecordSource = (SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity];) Me.Form.Requery Anyone? Anyone? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From DWUTKA at marlow.com Wed Dec 20 10:45:14 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:45:14 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFCD@marlow_main2.marlow.ii-vi.net> Very true. I know JC and I have had some knock down drag out debates, but I respect his abilities as a developer, always have, and I'm pretty sure he respects mine too. Now, on OT, that's a different story! ;) Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Tuesday, December 19, 2006 8:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 10:51:44 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 11:51:44 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: <004701c72454$831f2e20$6601a8c0@HAL9005> Message-ID: Yeah. That is what is funny. That is how I got the Sql statement in the first place. I had a bound form that worked, and simply copied the recordsource. I used the same recordsource statement in my event for the click button. And when I copy that same sql statement into a new query....it works fine. ?? Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 11:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Sometimes when I can't spot a problem in a lengthy SQL statement like this I paste it into the SQL view of a new query and then switch to the design view. Sometimes you can spot the problem that way. I would also paste the original record source SQL and the modified SQL into WordPad and eyeball them for differences. The line breaks should occur in roughly the same places so you can start by checking the length of each and the end of each line to find the differences. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Here is the sql statement: me.form.RecordSource = (SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity];) Me.Form.Requery Anyone? Anyone? :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Subform Revisited Keith: Put a debug statement to print the SQL string right before the me.recordsource = and post it. Someone will see that there's probably a syntax/punctuation error. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 7:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Subform Revisited Hey Guys, If I want to change a bound form to an unbound form, am I going about it correctly if I do the following: 1) Add (3) unbound text fields for variables in form header; 2) Delete Record Source for form; 3) Add button to form header; 4) Add Event to button, to set form.recordsource = (original sql statement for record source, deleted in step 2, but also add where statements for the (3) variables in the unbound text fields) Shouldn't this run? I keep getting a syntax error on my sql statement, when I click the button. Even if I change the sql statement to exactly equal the original recordsource statement....I get the syntax error. ?? Thanks, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Dec 20 10:48:53 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:48:53 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFD1@marlow_main2.marlow.ii-vi.net> You are behaving much better now that you have crossed over to the unbound darkside..... ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 2:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >but there's no one on this list saying, "My way or the highway" like you find on others. At least now that the great PK debate is settled and everyone agrees that it's MY WAY. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, December 19, 2006 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- 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 DWUTKA at marlow.com Wed Dec 20 10:51:07 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:51:07 -0600 Subject: [AccessD] Unbound forms Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFD7@marlow_main2.marlow.ii-vi.net> Ah. By the way, I've sent a reply to you on that chapter you sent me, a few weeks ago, when I was in the hospital. But you sent me an email the other day like you didn't get my reply. Basically the chapter you sent me is not my forte, it uses a lot of stuff I don't use. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, December 20, 2006 3:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Hi Drew Its realy just a demo of the technique more than anything else. The chapter is on DAO and I need to cover most things. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 22:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms What's the purpose of locking the controls? In an unbound form, nothing is going to change in the tables unless you provide that route. Locking the controls is like putting a padlock on a wall. If you are using an unbound form for data entry/modification, you should be using a data class/collection in the background. You are in complete control of when the data gets changed. What's the real goal here Martin, why have an edit/save button instead of just a save? Personally, I use bound forms for most data entry things, if I'm using an Access front end. If I use unbound forms, it's because I want to control what's being done, so I can alert other things if necessary. With a data entry form, you could have a 'auto save' feature, where if it's one, changes are saved just like a bound form, if it's off, it prompts to save the data, or you could even hold all the changes in the classes/collection, and save in a batch process. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms Drew At the moment I already use the controls tag property to cycle (as suggested by Charlotte) to lock all the controls when the form opens. The nav buttons then operate. What I wanted was a neat way to then click edit - at the moment I unlock the controls and disable all the other buttons. Catch the change and do an update if they actually changed anything or cancel. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Tue 19/12/2006 21:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound forms More details please. When you say you have the fields locked, are we talking about table security, or do you have the controls locked? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, December 19, 2006 12:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound forms For the book I am doing Unbound. The exampel I am doing has all fields locked. How do most of you deal with the click of an Edit button? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 DWUTKA at marlow.com Wed Dec 20 10:54:41 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:54:41 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFD9@marlow_main2.marlow.ii-vi.net> 'I love everyone here.... yadda yadda' Drew's deranged.... Thanks JC, I dare ya to join OT. ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 4:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 DWUTKA at marlow.com Wed Dec 20 10:57:25 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 10:57:25 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFDC@marlow_main2.marlow.ii-vi.net> Honestly never paid much attention to the PK debate, was just a lot of yammering. ;) Drew -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, December 20, 2006 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From garykjos at gmail.com Wed Dec 20 11:00:51 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 20 Dec 2006 11:00:51 -0600 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: References: <004701c72454$831f2e20$6601a8c0@HAL9005> Message-ID: Perhaps you need quotes around the sql string? GK On 12/20/06, Keith Williamson wrote: > Yeah. That is what is funny. That is how I got the Sql statement in > the first place. I had a bound form that worked, and simply copied the > recordsource. I used the same recordsource statement in my event for > the click button. > > And when I copy that same sql statement into a new query....it works > fine. > > ?? > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 11:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Sometimes when I can't spot a problem in a lengthy SQL statement like > this I > paste it into the SQL view of a new query and then switch to the design > view. Sometimes you can spot the problem that way. > > I would also paste the original record source SQL and the modified SQL > into > WordPad and eyeball them for differences. The line breaks should occur > in > roughly the same places so you can start by checking the length of each > and > the end of each line to find the differences. > > HTH > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Here is the sql statement: > > me.form.RecordSource = (SELECT > [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > AS [Total Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > qryWeeklyTimesheetVarianceSummary ON > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > AND > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > ) ON > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > ntity]) AND > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > nth]) AND > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > r]) > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > Me.Form.Requery > > > Anyone? Anyone? > > :) > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Put a debug statement to print the SQL string right before the > me.recordsource = and post it. Someone will see that there's probably a > syntax/punctuation error. > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 7:05 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Unbound Subform Revisited > > Hey Guys, > > > > If I want to change a bound form to an unbound form, am I going about it > correctly if I do the following: > > > > 1) Add (3) unbound text fields for variables in form header; > > 2) Delete Record Source for form; > > 3) Add button to form header; > > 4) Add Event to button, to set form.recordsource = (original sql > statement for record source, deleted in step 2, but also add where > statements for the (3) variables in the unbound text fields) > > > > Shouldn't this run? I keep getting a syntax error on my sql statement, > when I click the button. Even if I change the sql statement to exactly > equal the original recordsource statement....I get the syntax error. > > > > ?? > > > > Thanks, > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > -- Gary Kjos garykjos at gmail.com From markamatte at hotmail.com Wed Dec 20 11:26:07 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 20 Dec 2006 17:26:07 +0000 Subject: [AccessD] Password Generator? Message-ID: Hello All, I was asked to look at an A97 db. At first glance it was apparently created by the addressBook wizard. When I found they paid 2 or 3 grand for it about 6 years ago...kinda made me ill...but anyway. The I noticed some of the forms required a password. I looked at the tables...and sure enough there was tblPassword that had the input mask set to 'Password'...so I switched it...and there were the passwords...so I thought...they were all numbers. I tried the numbers when opening the forms...but no luck. Here is another confusing part...the db opens to Switchboard with the db window minimized...nothing is locked down...its wide open...why a password? Anyway...I went to design view...and what I found...really amazed me. There are about 16 lines of code that takes whatever you type in...does some Asc() some MOD some -+/* and loops through all of these calculations to come up with a number. I then realized that the numbers in the password table actually matched to a word/phrase/number and case sensitive. Since there is a single number that was the result of a list of calculations...I can't think of anyway to figure out what phrase would match the existing numbers. But I can put a phrase in...step through the code...see the resulting number...then go put it in the table. Has anyone seen/done something like this? Even thought this was 'purchased'(consultant came in and built...still makes me ill)....there is no documentation...or information related to who wrote this code...It should be ok to post here? Just curious what approaches others use for security. In and .MDE this would be brilliant in my opinion. Thanks, Mark A. Matte _________________________________________________________________ Experience the magic of the holidays. Talk to Santa on Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us From jwcolby at colbyconsulting.com Wed Dec 20 11:29:22 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Dec 2006 12:29:22 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0171FFD9@marlow_main2.marlow.ii-vi.net> Message-ID: <005a01c7245c$64484ec0$657aa8c0@m6805> LOL, I stay away from there!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, December 20, 2006 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists 'I love everyone here.... yadda yadda' Drew's deranged.... Thanks JC, I dare ya to join OT. ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 4:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >I have made lifelong friends on this list and that above all is more >than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 john at winhaven.net Wed Dec 20 11:31:52 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 11:31:52 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <45885792.26284.271F424@stuart.lexacorp.com.pg> Message-ID: <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> Hi Stuart, Are you really not able to use a credit card? Geez! I have tested this in every way that I know how to. I have the same type of PayPal account set up for my company and I've gotten payments from Korea. I guess I'll have to ask you to be on the DBA funding Committee so you can be our official S. Pacific tester. Want to be on our funding committee? :o) John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, December 19, 2006 3:20 PM To: Access Developers discussion and problem solving Cc: treasurer at databaseadvisors.com Subject: Re: [AccessD] Database Advisors lists Me too. Bl**dy PayPal won't even accept a credit card payment off me. They don't even acknowledge that Papua New Guinea exists. Can I use Western Union? On 19 Dec 2006 at 10:28, Charlotte Foust wrote: > I see you, John. Now I just have to figure out how to remit it. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, December 18, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > I challenge all of the other consultants on this list to join me in > Supporting Database Advisors. > > I am going to do the Corporate Sponsor. I am not a big company but I > can afford $120 a year to support Database Advisors, and I certainly > receive far more than that in benefits each year, just in emergency > answers to questions I need answered "right now". I have been a > member of this list since summer of 1997 and I can say without > hesitation I would not be where I am today without you folks. > > Please join me in any way you are able. > > TIA, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego > trappings that you'll suffer from on other lists. I know that I find > the list invaluable, and there are several others-industry > leaders-that agree with me. Two of our members, Susan Harkins and > Martin Reid, published a Jet SQL book together in 2002, and this is > what appears in the book's Acknowledgements section: "Thanks. to the > AccessD folks for all their great advice and help over the years. If > someone on that list can't solve your problem, it can't be solved." > And she's right. That has been my experience with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to > run the site and lists. So, I'll be blunt, I'm asking for donations, > both large and small so we can keep this great resource going. > (Membership isn't tied to donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you > find people, from all over the globe, prepared to help you solve your > technical problems? Have you ever had a thread save you time? If > you're like me, that saves me money. And, just importantly, think of > the times you've helped someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadvi > so rs.c om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" > and click [Make a Donation]. If you'd rather send a check through > regular mail, please contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.c > om for mailing instructions. (Please include "donation" in the subject > line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate > Sponsors Support page in large type face for one month for each $10 > donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to > their web site on the DBA page of their choice for the same period of > time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type > face for one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type > face for one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll > keep your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President > Database Advisors, Inc. > Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadviso > rs .com Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://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 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 From DWUTKA at marlow.com Wed Dec 20 11:36:45 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 11:36:45 -0600 Subject: [AccessD] Password Generator? Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFF7@marlow_main2.marlow.ii-vi.net> Even though Access User Level security is breakable, it's a better approach to securing items then the method you've run into. No need to prompt the user at each form, the form just checks who's logged into the database. In a domain network, you could also just embed code to check the user's NT name. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Wednesday, December 20, 2006 11:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Password Generator? Hello All, I was asked to look at an A97 db. At first glance it was apparently created by the addressBook wizard. When I found they paid 2 or 3 grand for it about 6 years ago...kinda made me ill...but anyway. The I noticed some of the forms required a password. I looked at the tables...and sure enough there was tblPassword that had the input mask set to 'Password'...so I switched it...and there were the passwords...so I thought...they were all numbers. I tried the numbers when opening the forms...but no luck. Here is another confusing part...the db opens to Switchboard with the db window minimized...nothing is locked down...its wide open...why a password? Anyway...I went to design view...and what I found...really amazed me. There are about 16 lines of code that takes whatever you type in...does some Asc() some MOD some -+/* and loops through all of these calculations to come up with a number. I then realized that the numbers in the password table actually matched to a word/phrase/number and case sensitive. Since there is a single number that was the result of a list of calculations...I can't think of anyway to figure out what phrase would match the existing numbers. But I can put a phrase in...step through the code...see the resulting number...then go put it in the table. Has anyone seen/done something like this? Even thought this was 'purchased'(consultant came in and built...still makes me ill)....there is no documentation...or information related to who wrote this code...It should be ok to post here? Just curious what approaches others use for security. In and .MDE this would be brilliant in my opinion. Thanks, Mark A. Matte _________________________________________________________________ Experience the magic of the holidays. Talk to Santa on Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://ima gine-windowslive.com/minisites/santabot/default.aspx?locale=en-us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Dec 20 11:40:54 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 20 Dec 2006 11:40:54 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0171FFFB@marlow_main2.marlow.ii-vi.net> Probably a smart idea, it's not for the faint of heart! ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists LOL, I stay away from there!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, December 20, 2006 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists 'I love everyone here.... yadda yadda' Drew's deranged.... Thanks JC, I dare ya to join OT. ;) Drew -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, December 20, 2006 4:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >I have made lifelong friends on this list and that above all is more >than worth letting JC win the Great PK debate The sweet taste of victory.... Seriously though, Martin is right. This list is about many things, certainly an invaluable source of assistance, but also about getting to know people around the world. I know and respect dozens of people on this list better than I know my own physical neighbors. Some, like Drew for example, are a bit deranged but you can't fault their knowledge. Bound vs. unbound, Natural vs. surrogate, where else can you go for such entertainment? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Andy Lacey Sent: Wed 20/12/2006 08:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Sounds more than generous to me Martin. Well done. Let's all hope the book sells zillions. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 19 December 2006 21:07 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Advisors lists > > > Well we get 4% of whatever the book makes. Apress will do the > paperwork. I have no idea how that will work. Is that enough?? So > thanks to all who give permission re their code for the "Code you can > Steal" chapter. > > Christmas etc so I cant make a cash donation myself at the moment but > if the book does well the list should do OK I think. > > Martin > > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of John Skolits > Sent: Tue 19/12/2006 20:28 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Advisors lists > > > > OK, I did my part with $120.00. Been on and off the list since about > the fall of 1998. It's been great. Glad I could help. > > OK, who's the next person in line? > > John Skolits > www.CorproateDatDesign.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 markamatte at hotmail.com Wed Dec 20 11:52:21 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 20 Dec 2006 17:52:21 +0000 Subject: [AccessD] Password Generator? In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0171FFF7@marlow_main2.marlow.ii-vi.net> Message-ID: Just found it with google...so here is the code. Public Function KeyCode(Password As String) As Long 'This function will produce a unique key for the 'string that is passed as the Password. Dim I As Integer Dim Hold As Long For I = 1 To Len(Password) Select Case (Asc(Left(Password, 1)) * I) Mod 4 Case Is = 0 Hold = Hold + (Asc(Mid(Password, I, 1)) * I) Case Is = 1 Hold = Hold - (Asc(Mid(Password, I, 1)) * I) Case Is = 2 Hold = Hold + (Asc(Mid(Password, I, 1)) * _ (I - Asc(Mid(Password, I, 1)))) Case Is = 3 Hold = Hold - (Asc(Mid(Password, I, 1)) * _ (I + Len(Password))) End Select Next I KeyCode = Hold End Function >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Password Generator? >Date: Wed, 20 Dec 2006 11:36:45 -0600 > >Even though Access User Level security is breakable, it's a better approach >to securing items then the method you've run into. No need to prompt the >user at each form, the form just checks who's logged into the database. > >In a domain network, you could also just embed code to check the user's NT >name. > >Drew > >-----Original Message----- >From: Mark A Matte [mailto:markamatte at hotmail.com] >Sent: Wednesday, December 20, 2006 11:26 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Password Generator? > >Hello All, > >I was asked to look at an A97 db. At first glance it was apparently >created > >by the addressBook wizard. When I found they paid 2 or 3 grand for it about >6 years ago...kinda made me ill...but anyway. The I noticed some of the >forms required a password. I looked at the tables...and sure enough there >was tblPassword that had the input mask set to 'Password'...so I switched >it...and there were the passwords...so I thought...they were all numbers. >I > >tried the numbers when opening the forms...but no luck. > >Here is another confusing part...the db opens to Switchboard with the db >window minimized...nothing is locked down...its wide open...why a password? > >Anyway...I went to design view...and what I found...really amazed me. >There > >are about 16 lines of code that takes whatever you type in...does some >Asc() > >some MOD some -+/* and loops through all of these calculations to come up >with a number. I then realized that the numbers in the password table >actually matched to a word/phrase/number and case sensitive. > >Since there is a single number that was the result of a list of >calculations...I can't think of anyway to figure out what phrase would >match > >the existing numbers. But I can put a phrase in...step through the >code...see the resulting number...then go put it in the table. > >Has anyone seen/done something like this? > >Even thought this was 'purchased'(consultant came in and built...still >makes > >me ill)....there is no documentation...or information related to who wrote >this code...It should be ok to post here? > >Just curious what approaches others use for security. In and .MDE this >would be brilliant in my opinion. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Experience the magic of the holidays. Talk to Santa on Messenger. >http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://ima >gine-windowslive.com/minisites/santabot/default.aspx?locale=en-us > >-- >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 _________________________________________________________________ Experience the magic of the holidays. Talk to Santa on Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us From Gustav at cactus.dk Wed Dec 20 11:53:29 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Dec 2006 18:53:29 +0100 Subject: [AccessD] Password Generator? Message-ID: Hi Mark That could be an MD5 hash - you may call it a one-way encryption: http://databaseadvisors.com/pipermail/accessd/2003-September/014024.html /gustav >>> markamatte at hotmail.com 20-12-2006 18:26 >>> Hello All, I was asked to look at an A97 db. At first glance it was apparently created by the addressBook wizard. When I found they paid 2 or 3 grand for it about 6 years ago...kinda made me ill...but anyway. The I noticed some of the forms required a password. I looked at the tables...and sure enough there was tblPassword that had the input mask set to 'Password'...so I switched it...and there were the passwords...so I thought...they were all numbers. I tried the numbers when opening the forms...but no luck. Here is another confusing part...the db opens to Switchboard with the db window minimized...nothing is locked down...its wide open...why a password? Anyway...I went to design view...and what I found...really amazed me. There are about 16 lines of code that takes whatever you type in...does some Asc() some MOD some -+/* and loops through all of these calculations to come up with a number. I then realized that the numbers in the password table actually matched to a word/phrase/number and case sensitive. Since there is a single number that was the result of a list of calculations...I can't think of anyway to figure out what phrase would match the existing numbers. But I can put a phrase in...step through the code...see the resulting number...then go put it in the table. Has anyone seen/done something like this? Even thought this was 'purchased'(consultant came in and built...still makes me ill)....there is no documentation...or information related to who wrote this code...It should be ok to post here? Just curious what approaches others use for security. In and .MDE this would be brilliant in my opinion. Thanks, Mark A. Matte From shamil at users.mns.ru Wed Dec 20 12:01:36 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 20 Dec 2006 21:01:36 +0300 Subject: [AccessD] Database Advisors lists In-Reply-To: <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> Message-ID: <000301c72460$e4377ad0$6401a8c0@nant> John, Paypal is closed for Russian citizens too. (I can use my credit cards with Amazon etc.) That's funny - one of the founders of PayPal is Russian by nationality AFAIHH... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, December 20, 2006 8:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Stuart, Are you really not able to use a credit card? Geez! I have tested this in every way that I know how to. I have the same type of PayPal account set up for my company and I've gotten payments from Korea. I guess I'll have to ask you to be on the DBA funding Committee so you can be our official S. Pacific tester. Want to be on our funding committee? :o) John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com <<< tail skipped >>> From john at winhaven.net Wed Dec 20 12:22:12 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 12:22:12 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <000301c72460$e4377ad0$6401a8c0@nant> Message-ID: <069c01c72463$c52e8130$1402a8c0@ScuzzPaq> Hi Shamil, Is there an alternative that you know of that we can use to accept Russian and PNG transactions? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, December 20, 2006 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists John, Paypal is closed for Russian citizens too. (I can use my credit cards with Amazon etc.) That's funny - one of the founders of PayPal is Russian by nationality AFAIHH... -- Shamil From Kwilliamson at RTKL.com Wed Dec 20 12:35:17 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 13:35:17 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: Okay...this is getting more bizarre. I keep pasting the sql statement into the VB window....and it keeps automatically putting the statement on (4) lines....with and end quote at the back of the first line (that line only). I can't get rid of the quote....nor will it let me try to put the entire statement on one line. grrrrrrrrrrr Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Perhaps you need quotes around the sql string? GK On 12/20/06, Keith Williamson wrote: > Yeah. That is what is funny. That is how I got the Sql statement in > the first place. I had a bound form that worked, and simply copied the > recordsource. I used the same recordsource statement in my event for > the click button. > > And when I copy that same sql statement into a new query....it works > fine. > > ?? > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 11:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Sometimes when I can't spot a problem in a lengthy SQL statement like > this I > paste it into the SQL view of a new query and then switch to the design > view. Sometimes you can spot the problem that way. > > I would also paste the original record source SQL and the modified SQL > into > WordPad and eyeball them for differences. The line breaks should occur > in > roughly the same places so you can start by checking the length of each > and > the end of each line to find the differences. > > HTH > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 8:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Here is the sql statement: > > me.form.RecordSource = (SELECT > [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > AS [Total Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > qryWeeklyTimesheetVarianceSummary ON > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > AND > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > ) ON > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > ntity]) AND > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > nth]) AND > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > r]) > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > Me.Form.Requery > > > Anyone? Anyone? > > :) > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access > Software > Sent: Wednesday, December 20, 2006 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Unbound Subform Revisited > > Keith: > > Put a debug statement to print the SQL string right before the > me.recordsource = and post it. Someone will see that there's probably a > syntax/punctuation error. > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > Williamson > Sent: Wednesday, December 20, 2006 7:05 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Unbound Subform Revisited > > Hey Guys, > > > > If I want to change a bound form to an unbound form, am I going about it > correctly if I do the following: > > > > 1) Add (3) unbound text fields for variables in form header; > > 2) Delete Record Source for form; > > 3) Add button to form header; > > 4) Add Event to button, to set form.recordsource = (original sql > statement for record source, deleted in step 2, but also add where > statements for the (3) variables in the unbound text fields) > > > > Shouldn't this run? I keep getting a syntax error on my sql statement, > when I click the button. Even if I change the sql statement to exactly > equal the original recordsource statement....I get the syntax error. > > > > ?? > > > > Thanks, > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > 12/19/2006 > 1:17 PM > > > -- > 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 > -- 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 garykjos at gmail.com Wed Dec 20 12:51:08 2006 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 20 Dec 2006 12:51:08 -0600 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: References: Message-ID: There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK On 12/20/06, Keith Williamson wrote: > Okay...this is getting more bizarre. I keep pasting the sql statement > into the VB window....and it keeps automatically putting the statement > on (4) lines....with and end quote at the back of the first line (that > line only). I can't get rid of the quote....nor will it let me try to > put the entire statement on one line. > > > grrrrrrrrrrr > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Wednesday, December 20, 2006 12:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Perhaps you need quotes around the sql string? > > GK > > On 12/20/06, Keith Williamson wrote: > > Yeah. That is what is funny. That is how I got the Sql statement in > > the first place. I had a bound form that worked, and simply copied > the > > recordsource. I used the same recordsource statement in my event for > > the click button. > > > > And when I copy that same sql statement into a new query....it works > > fine. > > > > ?? > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 11:33 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Sometimes when I can't spot a problem in a lengthy SQL statement like > > this I > > paste it into the SQL view of a new query and then switch to the > design > > view. Sometimes you can spot the problem that way. > > > > I would also paste the original record source SQL and the modified SQL > > into > > WordPad and eyeball them for differences. The line breaks should > occur > > in > > roughly the same places so you can start by checking the length of > each > > and > > the end of each line to find the differences. > > > > HTH > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 8:14 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Here is the sql statement: > > > > me.form.RecordSource = (SELECT > > [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity], > > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > > Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > > AS [OT2 Standard Cost], > Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > > AS [Total Standard Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > > qryWeeklyTimesheetVarianceSummary ON > > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) > AND > > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > > AND > > > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > > ) ON > > > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > > ntity]) AND > > > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > > nth]) AND > > > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > > r]) > > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > > > Me.Form.Requery > > > > > > Anyone? Anyone? > > > > :) > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Put a debug statement to print the SQL string right before the > > me.recordsource = and post it. Someone will see that there's probably > a > > syntax/punctuation error. > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 7:05 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Unbound Subform Revisited > > > > Hey Guys, > > > > > > > > If I want to change a bound form to an unbound form, am I going about > it > > correctly if I do the following: > > > > > > > > 1) Add (3) unbound text fields for variables in form header; > > > > 2) Delete Record Source for form; > > > > 3) Add button to form header; > > > > 4) Add Event to button, to set form.recordsource = (original sql > > statement for record source, deleted in step 2, but also add where > > statements for the (3) variables in the unbound text fields) > > > > > > > > Shouldn't this run? I keep getting a syntax error on my sql > statement, > > when I click the button. Even if I change the sql statement to > exactly > > equal the original recordsource statement....I get the syntax error. > > > > > > > > ?? > > > > > > > > Thanks, > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > > -- > Gary Kjos > garykjos at gmail.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 > -- Gary Kjos garykjos at gmail.com From shamil at users.mns.ru Wed Dec 20 12:43:18 2006 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 20 Dec 2006 21:43:18 +0300 Subject: [AccessD] Database Advisors lists In-Reply-To: <069c01c72463$c52e8130$1402a8c0@ScuzzPaq> Message-ID: <000e01c72466$b7d2ad10$6401a8c0@nant> Hi John, That could be electronic banking using SWIFT if AccessD has a bank account where money could be sent via SWIFT or that could be Western Union for cash transfer: for the latter somebody's name and address there is needed - both money transfer methods are rather expensive when transferring small sums... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, December 20, 2006 9:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Shamil, Is there an alternative that you know of that we can use to accept Russian and PNG transactions? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, December 20, 2006 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists John, Paypal is closed for Russian citizens too. (I can use my credit cards with Amazon etc.) That's funny - one of the founders of PayPal is Russian by nationality AFAIHH... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 13:10:40 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 14:10:40 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: ooooooooooooOOOOOOOOOOOO!!!!! Thanks!!! I'll give that a try!! :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK On 12/20/06, Keith Williamson wrote: > Okay...this is getting more bizarre. I keep pasting the sql statement > into the VB window....and it keeps automatically putting the statement > on (4) lines....with and end quote at the back of the first line (that > line only). I can't get rid of the quote....nor will it let me try to > put the entire statement on one line. > > > grrrrrrrrrrr > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > 21231-3305 > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Wednesday, December 20, 2006 12:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound Subform Revisited > > Perhaps you need quotes around the sql string? > > GK > > On 12/20/06, Keith Williamson wrote: > > Yeah. That is what is funny. That is how I got the Sql statement in > > the first place. I had a bound form that worked, and simply copied > the > > recordsource. I used the same recordsource statement in my event for > > the click button. > > > > And when I copy that same sql statement into a new query....it works > > fine. > > > > ?? > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 11:33 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Sometimes when I can't spot a problem in a lengthy SQL statement like > > this I > > paste it into the SQL view of a new query and then switch to the > design > > view. Sometimes you can spot the problem that way. > > > > I would also paste the original record source SQL and the modified SQL > > into > > WordPad and eyeball them for differences. The line breaks should > occur > > in > > roughly the same places so you can start by checking the length of > each > > and > > the end of each line to find the differences. > > > > HTH > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 8:14 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Here is the sql statement: > > > > me.form.RecordSource = (SELECT > > [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity], > > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > > Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > > AS [OT2 Standard Cost], > Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > > AS [Total Standard Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff > > FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > > qryWeeklyTimesheetVarianceSummary ON > > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) > AND > > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > > AND > > > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > > ) ON > > > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > > ntity]) AND > > > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > > nth]) AND > > > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > > r]) > > WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 > > GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > > [qryWeeklyTimesheetVarianceSummary].[Month], > > [qryWeeklyTimesheetVarianceSummary].[Entity];) > > > > Me.Form.Requery > > > > > > Anyone? Anyone? > > > > :) > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach > Access > > Software > > Sent: Wednesday, December 20, 2006 10:37 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Unbound Subform Revisited > > > > Keith: > > > > Put a debug statement to print the SQL string right before the > > me.recordsource = and post it. Someone will see that there's probably > a > > syntax/punctuation error. > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith > > Williamson > > Sent: Wednesday, December 20, 2006 7:05 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Unbound Subform Revisited > > > > Hey Guys, > > > > > > > > If I want to change a bound form to an unbound form, am I going about > it > > correctly if I do the following: > > > > > > > > 1) Add (3) unbound text fields for variables in form header; > > > > 2) Delete Record Source for form; > > > > 3) Add button to form header; > > > > 4) Add Event to button, to set form.recordsource = (original sql > > statement for record source, deleted in step 2, but also add where > > statements for the (3) variables in the unbound text fields) > > > > > > > > Shouldn't this run? I keep getting a syntax error on my sql > statement, > > when I click the button. Even if I change the sql statement to > exactly > > equal the original recordsource statement....I get the syntax error. > > > > > > > > ?? > > > > > > > > Thanks, > > > > > > > > Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > > > > RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland > > 21231-3305 > > > > 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: > > 12/19/2006 > > 1:17 PM > > > > > > -- > > 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 > > > > > -- > Gary Kjos > garykjos at gmail.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 > -- 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 john at winhaven.net Wed Dec 20 13:10:06 2006 From: john at winhaven.net (John Bartow) Date: Wed, 20 Dec 2006 13:10:06 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <000e01c72466$b7d2ad10$6401a8c0@nant> Message-ID: <06f001c7246a$7681f470$1402a8c0@ScuzzPaq> Thanks Shamil, I'll look into them further and post here if we get a service that will work for everyone. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, December 20, 2006 12:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi John, That could be electronic banking using SWIFT if AccessD has a bank account where money could be sent via SWIFT or that could be Western Union for cash transfer: for the latter somebody's name and address there is needed - both money transfer methods are rather expensive when transferring small sums... -- Shamil From Jim.Hale at FleetPride.com Wed Dec 20 14:40:46 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 20 Dec 2006 14:40:46 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE194@corp-es01.fleetpride.com> I got what I needed. The automated credit card process worked great. :-) Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 19, 2006 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Kwilliamson at RTKL.com Wed Dec 20 14:56:30 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 15:56:30 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE194@corp-es01.fleetpride.com> Message-ID: Yipeeeeeee!!! No extra work for meeeeeee!!! :) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, December 20, 2006 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I got what I needed. The automated credit card process worked great. :-) Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Tuesday, December 19, 2006 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists RECEIPTS!!! RECEIPTS!!! Sheez!! :) If you are using PayPal, you would automatically get a receipt from that. Otherwise...I'll come up with something. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed Dec 20 16:59:27 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 20 Dec 2006 17:59:27 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. :( Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK From mmattys at rochester.rr.com Wed Dec 20 17:18:49 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 20 Dec 2006 18:18:49 -0500 Subject: [AccessD] Unbound Subform Revisited References: Message-ID: <012801c7248d$35da0de0$0302a8c0@default> Maybe this will work: strSQL = "SELECT [t1].[Year],[t1].[Month], [t1].[Entity], Sum([t1].[SumOfRegPay]) AS [Reg StandCost], Sum([t1].[SumOfOvtPay]) AS [OTStandard Cost], Sum([t1].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([t1].[ActReg]) AS [Calc Reg Cost], Sum([t1].[ActOvt]) AS [Calc OT Cost], Sum([t1].[ActOvt2]) AS [Calc OT2 Cost], Sum([t1].[actreg]+[t1].[actovt]+[t1].[actovt2]) AS [Total Calc Cost], First([t3].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([t2].[SumOfHrs]) AS FirstOfSumOfHrs, First([t2].[SumOfWageDiff]) AS FirstOfSumOfWageDiff FROM qryPayrollDiffSummary As t2 RIGHT JOIN (qryPayrollPaid As t3 RIGHT JOIN qryWeeklyTimesheetVarianceSummary As t1 ON ([t3].[Year]=[t1].[Year]) AND ([t3].[Month]=[t1].[Month]) AND ([t3].[Entity]= [t1].[Entity]) ) ON ([t2].[Entity]=[t1].[Entity]) AND ([t2].[Month]= [t1].[Month]) AND ([t2].[Year]=[t1].[Year]) WHERE [t1].[Entity] = '00' And [t1].[Month] = 10 And [t1].[Year] = 2006 GROUP BY [t1].[Year], [t1].[Month], [t1].[Entity]" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Keith Williamson" To: "Access Developers discussion and problem solving" Sent: Wednesday, December 20, 2006 5:59 PM Subject: Re: [AccessD] Unbound Subform Revisited > Well....I tried that, as follows: > > Dim strSQL As String From stuart at lexacorp.com.pg Wed Dec 20 18:01:43 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 21 Dec 2006 10:01:43 +1000 Subject: [AccessD] Database Advisors lists In-Reply-To: <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> References: <45885792.26284.271F424@stuart.lexacorp.com.pg>, <066101c7245c$bd2afa10$1402a8c0@ScuzzPaq> Message-ID: <4589CEE7.11380.1F19CA@stuart.lexacorp.com.pg> On 20 Dec 2006 at 11:31, John Bartow wrote: > Hi Stuart, > Are you really not able to use a credit card? Geez! I have tested this in > every way that I know how to. I have the same type of PayPal account set up > for my company and I've gotten payments from Korea. Follow the donations link and look at the list of 103 countries that PayPal has in the selection list for credit card payments. Korea is there, PNG along with 90 other countries isn't. If your country isn't in the list, PayPal won't accept a credit card payment since the country is a required field. How about emailing me the details of a bank account: Bank Name, Branch, BSB Code, Account Number and Name. I can do a direct transfer to any bank account in the world through my bank. -- Stuart From rl_stewart at highstream.net Wed Dec 20 13:20:27 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 20 Dec 2006 13:20:27 -0600 Subject: [AccessD] Articles? In-Reply-To: References: Message-ID: <200612201925.kBKJPOq09467@databaseadvisors.com> John, Okay, I went to the site. I tried to check previous articles so I could see the kind of articles that had been previously written, not to produce a duplicate. And amazingly enough, there is not a menu item for articles. There also does not seem to be any guidelines that I could find. No archive of articles. Can you enlighten me? Robert At 12:00 PM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 10:19:55 -0600 >From: "John Bartow" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <060e01c72452$b02f3330$1402a8c0 at ScuzzPaq> >Content-Type: text/plain; charset="us-ascii" > >Robert, >We request that our list members write articles for DBA to post on DBA's >site. > >You are always welcome to do that, and I strongly encourage you to do so. >All of our articles give full credit to the authors. > >However we ask that you please don't solicit our list members for personal >site/gain without the express written permission of the board of directors. > >Thank you for your cooperation, >John Bartow, President >Database Advisors, Inc. >Email: mailto:president at databaseadvisors.com >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Dec 20 18:18:02 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Wed, 20 Dec 2006 16:18:02 -0800 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: <00c501c72495$7ae036f0$6601a8c0@HAL9005> Did you try pasting it into the SQL view of a new query and looking at the design view? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 20, 2006 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. :( Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, December 20, 2006 1:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Subform Revisited There is a line length limit in the VB editor. you have to use a quote and a continuation terminator at the end of each line for long SQL when you build it. I would usually DIM a string field like strSQL (DIM strSQL as String) and then populate that wih something like this strSQL = "INSERT INTO tblExtItemCost ( INVENTORY_ITEM_ID, ORGANIZATION_ID, ITEM_COST ) " + _ "SELECT BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID, BOM_CST_ITEM_COSTS.ORGANIZATION_ID, BOM_CST_ITEM_COSTS.ITEM_COST " + _ "FROM BOM_CST_ITEM_COSTS INNER JOIN INV_MTL_SYSTEM_ITEMS_B ON (BOM_CST_ITEM_COSTS.ORGANIZATION_ID = INV_MTL_SYSTEM_ITEMS_B.ORGANIZATION_ID) AND (BOM_CST_ITEM_COSTS.INVENTORY_ITEM_ID = INV_MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID);" Of course email is gonna wrap thos lines eve SHORTER but you can see that the " + _ is the end of each line Then the strSQL gets loaded into your record source with the me.recordsource = strSQL or whatever. GK -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM From darrend at nimble.com.au Wed Dec 20 18:24:46 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 21 Dec 2006 11:24:46 +1100 Subject: [AccessD] Database Advisors lists In-Reply-To: <4589CEE7.11380.1F19CA@stuart.lexacorp.com.pg> Message-ID: <200612210024.kBL0Ooq02105@databaseadvisors.com> Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) From robert at servicexp.com Wed Dec 20 18:34:59 2006 From: robert at servicexp.com (Robert) Date: Wed, 20 Dec 2006 19:34:59 -0500 Subject: [AccessD] Accepting Credit Cards? In-Reply-To: <200612210024.kBL0Ooq02105@databaseadvisors.com> Message-ID: <000b01c72497$d9f2fb30$6501a8c0@roberts> For those of you who accept credit cards, who are you using and how do the rates compare with others.? I'm looking for a web and phone based solution. Robert From dajomigo at dgsolutions.net.au Wed Dec 20 22:24:18 2006 From: dajomigo at dgsolutions.net.au (David & Joanne Gould) Date: Thu, 21 Dec 2006 15:24:18 +1100 Subject: [AccessD] Query => values not in... In-Reply-To: <20061220110316.44233.qmail@web31601.mail.mud.yahoo.com> References: <20061220110316.44233.qmail@web31601.mail.mud.yahoo.com> Message-ID: <7.0.1.0.2.20061221151757.024213c0@dgsolutions.net.au> Sander If you create two queries: the first lists all the records that are in Staging (you will probably need a concatenated field for street and no - maybe called StreetAddress). The second uses the first query and the Customer table and includes in the criteria of a concatenated field for street and number the following code "Not In (select StreetAddress from qryStagingAddresses) If I understand you correctly, this should work. David At 10:03 PM 20/12/2006, you wrote: >Stuart, > >I believe this will return all records from staging and the records >from Customer where the fields match and Customer.Street = NULL. > >I need all records from staging that are not in Customer. >Eg: >records in Staging: >street no >A 1 >B 2 > >records in Customer: >street no >A 1 >B 3 > >I need the query to return: >B,2 >Because this record isn't in Customer. >Hope this clarifies things. > >Regards, > >Sander > > >----- Original Message ---- >From: Stuart McLachlan >To: Access Developers discussion and problem solving > >Sent: Wednesday, December 20, 2006 11:37:07 AM >Subject: Re: [AccessD] Query => values not in... > > >Do a left join on the four fields and select where the right field is >null. > >Select * >from staging s >left join customers c on >s.street = c.street, >s.no = c.no, >s.city = c.city, >s.zipcode = c.zipcode >where c.street is null > >On 20 Dec 2006 at 2:01, Sad Der wrote: > > > Hi group, > > > > i've got 2 tables > > Customers > > Staging > > > > Both have fields: > > street > > no > > city > > zipcode > > > > I need the following results: > > Get all records from table Staging where (street, no, city, zipcode) not in > > (select street, no, city, zipcode from Customers) > > > > So if the combination of "street, no, city, zipcode" in the table > staging is > > not in the table Customers I want to see that record/ those > records How do I > > do this in Access SQL??? > > > > TIA > > > > Sander > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >-- >Stuart > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the be >t spam protection around >http://mail.yahoo.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Dec 20 23:42:11 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 20 Dec 2006 21:42:11 -0800 Subject: [AccessD] Articles? In-Reply-To: <200612201925.kBKJPOq09467@databaseadvisors.com> Message-ID: <0JAL0013OZRBB6O1@l-daemon> Hi Robert and all: There is a general call out for articles on various Office and other MS products, to make up the next newsletters that will be posted on the DBA site. There are no specific expected criteria within that range. All that is necessary is new subject describing an area of expertise. Check out the document sections for samples: http://www.databaseadvisors.com/newsletters.asp ...and review the section called Author Guidelines at: http://www.databaseadvisors.com/newsletters/authorconventions.asp Do not be concerned if this is your first article as there are a number of people who would be glad to make suggestions and give help. All articles must be reviewed before final posting This format is an excellent opportunity to get exposure and enhance your web presents as well as helping our lists. The DBA site is current under going a number of changes and new features have been planned but a lot of this will be determined by which location the web site finally settles at. Your suggestion should definitely be a top request. Thanks for your comments Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, December 20, 2006 11:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Articles? John, Okay, I went to the site. I tried to check previous articles so I could see the kind of articles that had been previously written, not to produce a duplicate. And amazingly enough, there is not a menu item for articles. There also does not seem to be any guidelines that I could find. No archive of articles. Can you enlighten me? Robert At 12:00 PM 12/20/2006, you wrote: >Date: Wed, 20 Dec 2006 10:19:55 -0600 >From: "John Bartow" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <060e01c72452$b02f3330$1402a8c0 at ScuzzPaq> >Content-Type: text/plain; charset="us-ascii" > >Robert, >We request that our list members write articles for DBA to post on DBA's >site. > >You are always welcome to do that, and I strongly encourage you to do so. >All of our articles give full credit to the authors. > >However we ask that you please don't solicit our list members for personal >site/gain without the express written permission of the board of directors. > >Thank you for your cooperation, >John Bartow, President >Database Advisors, Inc. >Email: mailto:president at databaseadvisors.com >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 Wed Dec 20 23:43:47 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 20 Dec 2006 21:43:47 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612210024.kBL0Ooq02105@databaseadvisors.com> Message-ID: <0JAL0021RZTZW070@l-daemon> Hi Darren: I will check to see what the issues are. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, December 20, 2006 4:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Dec 21 01:45:34 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 01:45:34 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612210024.kBL0Ooq02105@databaseadvisors.com> Message-ID: <020801c724d4$004c1000$1402a8c0@ScuzzPaq> Hi Darren, Which browser were you using? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, December 20, 2006 6:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Dec 21 02:19:49 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Dec 2006 09:19:49 +0100 Subject: [AccessD] Unbound Subform Revisited Message-ID: Hi Keith This line caught my eye: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And Should read: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = '00' And /gustav >>> Kwilliamson at RTKL.com 20-12-2006 23:59 >>> Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. From Kwilliamson at RTKL.com Thu Dec 21 08:06:21 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Thu, 21 Dec 2006 09:06:21 -0500 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: Message-ID: Ooh...Thanks! I'll try that. Thanks for the review. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 21, 2006 3:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Unbound Subform Revisited Hi Keith This line caught my eye: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And Should read: "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = '00' And /gustav >>> Kwilliamson at RTKL.com 20-12-2006 23:59 >>> Well....I tried that, as follows: Dim strSQL As String strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) AS [Total Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " + _ "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN qryWeeklyTimesheetVarianceSummary ON ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) AND ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) ) ON ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E ntity]) AND ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo nth]) AND ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea r]) " + _ "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], [qryWeeklyTimesheetVarianceSummary].[Month], [qryWeeklyTimesheetVarianceSummary].[Entity]; " Me.RecordSource = strSQL Made no difference. I still got the Syntax Error. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Dec 21 07:45:48 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 21 Dec 2006 07:45:48 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: References: Message-ID: <200612211349.kBLDnsq12375@databaseadvisors.com> You might also try Moneygram International. For sums up to $500, it is $9.99 for the transfer. I send money to Russia to my fiance that way. I guess that you can send it to the USA the same way. At 01:45 AM 12/21/2006, you wrote: >Date: Wed, 20 Dec 2006 21:43:18 +0300 >From: "Shamil Salakhetdinov" >Subject: Re: [AccessD] Database Advisors lists >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000e01c72466$b7d2ad10$6401a8c0 at nant> >Content-Type: text/plain; charset="US-ASCII" > >Hi John, > >That could be electronic banking using SWIFT if AccessD has a bank account >where money could be sent via SWIFT or that could be Western Union for cash >transfer: for the latter somebody's name and address there is needed - both >money transfer methods are rather expensive when transferring small sums... > >-- >Shamil From garykjos at gmail.com Thu Dec 21 08:40:02 2006 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Dec 2006 08:40:02 -0600 Subject: [AccessD] Unbound Subform Revisited In-Reply-To: References: Message-ID: Yea Gustav Good Catch! Yes Keith you need to change any embedded double quotes in the SQL to single quotes GK On 12/21/06, Gustav Brock wrote: > Hi Keith > > This line caught my eye: > > "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > > Should read: > > "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = '00' And > > /gustav > > > >>> Kwilliamson at RTKL.com 20-12-2006 23:59 >>> > Well....I tried that, as follows: > > Dim strSQL As String > > strSQL = "SELECT [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity], > Sum([qryWeeklyTimesheetVarianceSummary].[SumOfRegPay]) AS [Reg Stand > Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvtPay]) AS [OT > Standard Cost], Sum([qryWeeklyTimesheetVarianceSummary].[SumOfOvt2Pay]) > AS [OT2 Standard Cost], Sum([sumofregpay]+[sumofovtpay]+[sumofovt2pay]) > AS [Total Standard Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActReg]) AS [Calc Reg Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt]) AS [Calc OT Cost], > Sum([qryWeeklyTimesheetVarianceSummary].[ActOvt2]) AS [Calc OT2 Cost], > Sum([actreg]+[actovt]+[actovt2]) AS [Total Calc Cost], > First([qryPayrollPaid].[SumOfAmountPaid]) AS FirstOfSumOfAmountPaid, > First([qryPayrollDiffSummary].[SumOfHrs]) AS FirstOfSumOfHrs, > First([qryPayrollDiffSummary].[SumOfWageDiff]) AS FirstOfSumOfWageDiff " > + _ > "FROM qryPayrollDiffSummary RIGHT JOIN (qryPayrollPaid RIGHT JOIN > qryWeeklyTimesheetVarianceSummary ON > ([qryPayrollPaid].[Year]=[qryWeeklyTimesheetVarianceSummary].[Year]) AND > ([qryPayrollPaid].[Month]=[qryWeeklyTimesheetVarianceSummary].[Month]) > AND > ([qryPayrollPaid].[Entity]=[qryWeeklyTimesheetVarianceSummary].[Entity]) > ) ON > ([qryPayrollDiffSummary].[Entity]=[qryWeeklyTimesheetVarianceSummary].[E > ntity]) AND > ([qryPayrollDiffSummary].[Month]=[qryWeeklyTimesheetVarianceSummary].[Mo > nth]) AND > ([qryPayrollDiffSummary].[Year]=[qryWeeklyTimesheetVarianceSummary].[Yea > r]) " + _ > "WHERE [qryWeeklyTimesheetVarianceSummary].[Entity] = "00" And > [qryWeeklyTimesheetVarianceSummary].[Month] = 10 And > [qryWeeklyTimesheetVarianceSummary].[Year] = 2006 " + _ > "GROUP BY [qryWeeklyTimesheetVarianceSummary].[Year], > [qryWeeklyTimesheetVarianceSummary].[Month], > [qryWeeklyTimesheetVarianceSummary].[Entity]; " > > Me.RecordSource = strSQL > > > > > Made no difference. I still got the Syntax Error. > > > -- > 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 cfoust at infostatsystems.com Thu Dec 21 10:13:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 08:13:09 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <003501c7244c$1bfb0aa0$6601a8c0@HAL9005> Message-ID: Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From john at winhaven.net Thu Dec 21 10:15:50 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 10:15:50 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <200612211349.kBLDnsq12375@databaseadvisors.com> Message-ID: <03cf01c7251b$48495a60$1402a8c0@ScuzzPaq> Thanks, I'll check that out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, December 21, 2006 7:46 AM You might also try Moneygram International. For sums up to $500, it is $9.99 for the transfer. I send money to Russia to my fiance that way. I guess that you can send it to the USA the same way. From cfoust at infostatsystems.com Thu Dec 21 10:17:24 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 08:17:24 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <002101c72414$7636b0b0$657aa8c0@m6805> Message-ID: HAH!! We'll see about that! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, December 20, 2006 12:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists >but there's no one on this list saying, "My way or the highway" like >you find on others. At least now that the great PK debate is settled and everyone agrees that it's MY WAY. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, December 19, 2006 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Depends on what you consider ego I suppose. What I see, daily, is just people helping one another. Occasionally, there's a conflict, but there's no one on this list saying, "My way or the highway" like you find on others. Susan H. No one has yet challenged this line: >>>>>>>> and without the ego trappings that you'll suffer from on other lists. >>>>>>>> Are you kidding me? -- 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 cfoust at infostatsystems.com Thu Dec 21 10:20:29 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 08:20:29 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <014901c7240b$fe2f2050$1402a8c0@ScuzzPaq> Message-ID: I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 Thu Dec 21 10:52:08 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 10:52:08 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <03f701c72520$68ccc560$1402a8c0@ScuzzPaq> No, not Woody's, I wouldn't do that to the good people over there! :o) I have a list of Access lists that I used to be involved with where people apparently give advice for their ego's sake alone rather than doing it to help out a fellow developer and getting warm & fuzzy for doing so (like the folks on our lists) Eww, didn't need to put that image in my mind ;o) I really have always gotten the impression from folks here that they genuinely like to help others. Of course one can get a bit of a self image boost from doing so but I don't see the attitude here that makes that a priority. The debates we have aren't necessarily about ego - they're about educating. The advice on the other lists wasn't bad advice just rude and arrogant. I would post the same question to all of the lists sometimes just to see the difference in response and attitude. I used to have nicknames for my lists so my wife would know which I was talking about. The mean list, the snob list, the nice list. Can you guess which one was the nice list? I used to be on Woody's (I may even still be subscribed?) but the forum format doesn't work out for very good. Is Helen still doing the job there? Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 DWUTKA at marlow.com Thu Dec 21 10:58:38 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 21 Dec 2006 10:58:38 -0600 Subject: [AccessD] Database Advisors lists Message-ID: <17724746D360394AA3BFE5B8D40A9C1B01720152@marlow_main2.marlow.ii-vi.net> You don't think OT is a nice list? Traitor! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, December 21, 2006 10:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists No, not Woody's, I wouldn't do that to the good people over there! :o) I have a list of Access lists that I used to be involved with where people apparently give advice for their ego's sake alone rather than doing it to help out a fellow developer and getting warm & fuzzy for doing so (like the folks on our lists) Eww, didn't need to put that image in my mind ;o) I really have always gotten the impression from folks here that they genuinely like to help others. Of course one can get a bit of a self image boost from doing so but I don't see the attitude here that makes that a priority. The debates we have aren't necessarily about ego - they're about educating. The advice on the other lists wasn't bad advice just rude and arrogant. I would post the same question to all of the lists sometimes just to see the difference in response and attitude. I used to have nicknames for my lists so my wife would know which I was talking about. The mean list, the snob list, the nice list. Can you guess which one was the nice list? I used to be on Woody's (I may even still be subscribed?) but the forum format doesn't work out for very good. Is Helen still doing the job there? Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 john at winhaven.net Thu Dec 21 11:12:34 2006 From: john at winhaven.net (John Bartow) Date: Thu, 21 Dec 2006 11:12:34 -0600 Subject: [AccessD] dba-OT (was: Database Advisors lists) In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B01720152@marlow_main2.marlow.ii-vi.net> Message-ID: <041901c72523$35e3e7c0$1402a8c0@ScuzzPaq> That was in reference to some of the other terms in my previous message :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka You don't think OT is a nice list? Traitor! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) From DWUTKA at marlow.com Thu Dec 21 11:36:50 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 21 Dec 2006 11:36:50 -0600 Subject: [AccessD] dba-OT (was: Database Advisors lists) Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0172016E@marlow_main2.marlow.ii-vi.net> Ok, you're forgiven! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, December 21, 2006 11:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] dba-OT (was: Database Advisors lists) That was in reference to some of the other terms in my previous message :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka You don't think OT is a nice list? Traitor! ;) Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Dec 21 11:49:04 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Dec 2006 09:49:04 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <03f701c72520$68ccc560$1402a8c0@ScuzzPaq> Message-ID: Thank you for that noble deed, kind sir. No, Helen (like Woody himself) is off doing books and newsletters. We have a wonderful Dutch developer who must have 10 fingers on each hand the way he answers questions as soon as they're asked. Plus a huge body of members who answer questions in the other forums. Woody's is primarily oriented toward Windows/Office, but we wander afield a bit. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, December 21, 2006 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists No, not Woody's, I wouldn't do that to the good people over there! :o) I have a list of Access lists that I used to be involved with where people apparently give advice for their ego's sake alone rather than doing it to help out a fellow developer and getting warm & fuzzy for doing so (like the folks on our lists) Eww, didn't need to put that image in my mind ;o) I really have always gotten the impression from folks here that they genuinely like to help others. Of course one can get a bit of a self image boost from doing so but I don't see the attitude here that makes that a priority. The debates we have aren't necessarily about ego - they're about educating. The advice on the other lists wasn't bad advice just rude and arrogant. I would post the same question to all of the lists sometimes just to see the difference in response and attitude. I used to have nicknames for my lists so my wife would know which I was talking about. The mean list, the snob list, the nice list. Can you guess which one was the nice list? I used to be on Woody's (I may even still be subscribed?) but the forum format doesn't work out for very good. Is Helen still doing the job there? Oh, BTW a disclaimer: Nothing I have stated above applies to the DBA-OT list :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I just hope you didn't send him to Woody's Lounge! We periodically have to ban bad apples like that and then keep banning them when they create new user names to get around the ban. The atmospheree there is much like Access-D except the range of topics is broader. Any of you who want to visit www.wopr.com are welcome any time. The Access forum is our busiest board and we need all the help we can get! :o> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, December 19, 2006 11:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists One of my first acts as Prez - I had a little talk with him. I gave him a few links to some other lists that he could try out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I seem to recall a couple years back someone came on the list - a real jerk - with a real bad attitude and dissing people. We drove him off somehow. Did we pull his list access - ban him from the list? I can't remember. Anybody remember that incident? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 19, 2006 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists I agree - some lists I tried this year were pretty unbelievable...... ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, December 20, 2006 12:53 PM Subject: Re: [AccessD] Database Advisors lists I won't - this is certainly one of the more civilised lists. Signal to noise ratio is waaaaay above the average. On 19 Dec 2006 at 20:43, Steve Conklin wrote: > No one has yet challenged this line: > >>>>>>>> and without the ego trappings that you'll suffer from on other > lists. >>>>>>>> > Are you kidding me? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Monday, December 18, 2006 12:10 PM > To: accessd at databaseadvisors.com > Cc: drive at databaseadvisors.com > Subject: [AccessD] Database Advisors lists > > Dear accessd at databaseadvisors.com, > > Isn't access-d a great list? We're the kind of community that actually > works-we get the technical help we need free, and without the ego trappings > that you'll suffer from on other lists. I know that I find the list > invaluable, and there are several others-industry leaders-that agree with > me. Two of our members, Susan Harkins and Martin Reid, published a Jet SQL > book together in 2002, and this is what appears in the book's > Acknowledgements section: "Thanks. to the AccessD folks for all their great > advice and help over the years. If someone on that list can't solve your > problem, it can't be solved." And she's right. That has been my experience > with the list for the last seven years. > > > > The list isn't a miracle of internet magic though. It costs money to run the > site and lists. So, I'll be blunt, I'm asking for donations, both large and > small so we can keep this great resource going. (Membership isn't tied to > donations. The AccessD community is free.) > > > > It's a small sacrifice considering what you get! Where else can you find > people, from all over the globe, prepared to help you solve your technical > problems? Have you ever had a thread save you time? If you're like me, that > saves me money. And, just importantly, think of the times you've helped > someone else. > > > > If you'd like to donate using a credit card or PayPal, visit HYPERLINK > "http://www.databaseadvisors.com/donations.asp"http://www.databaseadviso rs.c > om/donations.aspHYPERLINK "http://www.databaseadvisors.com/" and click [Make > a Donation]. If you'd rather send a check through regular mail, please > contact HYPERLINK > "mailto:treasurer at databaseadvisors.com%20"treasurer at databaseadvisors.com for > mailing instructions. (Please include "donation" in the subject line.) > > > > Donations will be listed on the web site as follows: > > > > -Major/Corporate Sponsors: $120 or more > > Major/Corporate Sponsors may* appear on our DBA Major/Corporate Sponsors > Support page in large type face for one month for each $10 donated > > PLUS Major/Corporate Sponsors may* place their logo with a link to their > web site on the DBA page of their choice for the same period of time. > > > > -Friends of DBA: $120 to $60 > > Friends may* appear on our DBA Friends Support page in large type face for > one month for each $10 donated. > > > > -DBA Donors: $60 or less > > Donors may* appear on our DBA Donors Support page in normal type face for > one month for each $10 donated. > > > > *If you'd rather not be listed on the website, let us know and we'll keep > your donation anonymous. > > > > Thank you for considering a donation to DBA, John Bartow, President Database > Advisors, Inc. Email: HYPERLINK > "mailto:president at databaseadvisors.com"mailto:president at databaseadvisors .com > Website: HYPERLINK "http://www.databaseadvisors.com/" > \nhttp://www.databaseadvisors.com > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 > > -- > 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 -- Stuart -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM -- 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 Thu Dec 21 15:51:59 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 21 Dec 2006 13:51:59 -0800 Subject: [AccessD] Completely OT In-Reply-To: Message-ID: <0JAN003EP8NJL0L0@l-daemon> OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim From bchacc at san.rr.com Thu Dec 21 16:54:04 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 21 Dec 2006 14:54:04 -0800 Subject: [AccessD] Completely OT In-Reply-To: <0JAN003EP8NJL0L0@l-daemon> Message-ID: <004d01c72552$ea4ded30$6901a8c0@HAL9005> It's a DVD and not a CD? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 1:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely OT OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From accessd at shaw.ca Thu Dec 21 18:32:19 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 21 Dec 2006 16:32:19 -0800 Subject: [AccessD] Completely OT In-Reply-To: <004d01c72552$ea4ded30$6901a8c0@HAL9005> Message-ID: <0JAN00751G2SBQD0@l-daemon> Hi Rocky: Well, I stand corrected. There are only two MS packages that I have never worked with... Millennium and XP Home Edition and I can now knock one more off the list. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, December 21, 2006 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Completely OT It's a DVD and not a CD? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 1:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely OT OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Dec 21 18:45:45 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Thu, 21 Dec 2006 16:45:45 -0800 Subject: [AccessD] Completely OT In-Reply-To: <0JAN00751G2SBQD0@l-daemon> Message-ID: <005701c72562$845febd0$6901a8c0@HAL9005> I just had the unfortunate occasion to work with an ME laptop. Ran like a stuck pig. I wiped it and put W2K on it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 4:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Completely OT Hi Rocky: Well, I stand corrected. There are only two MS packages that I have never worked with... Millennium and XP Home Edition and I can now knock one more off the list. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Thursday, December 21, 2006 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Completely OT It's a DVD and not a CD? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, December 21, 2006 1:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely OT OT Hi All: I have an odd question to ask. It is as follows: Would you have access to a version of the 'Home edition XP'. I just need it satisfy an installation. When it gets to a certain position, in the update process, it requests the Home edition DVD. Why the process needs it; who knows but it needs 2 files (I do not know which ones) and then the installation continues.... I have virtually every copy of MS software except that one. A client has a number of computers with OEM installations on them. The default OS is XP home edition which when installed, from the new computer hard drive it can then be deleted to create more room. The big problem is no one thought to make a backup and the systems come with no extra DVDs. Right now not having it is a complete shop stopper. If anyone can help please contact me offline. MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From darrend at nimble.com.au Thu Dec 21 19:03:35 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 22 Dec 2006 12:03:35 +1100 Subject: [AccessD] Database Advisors lists In-Reply-To: <020801c724d4$004c1000$1402a8c0@ScuzzPaq> Message-ID: <200612220103.kBM13dq30866@databaseadvisors.com> IE Darren ------------------ T: 0424 696 433 -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, 21 December 2006 6:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Darren, Which browser were you using? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, December 20, 2006 6:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Hi Team I did follow the link and started entering data and about every 6 or so seconds the whole screen refreshes and I loose all or part of my data I gave up entering my expiry date 5 times - I didn't bother with the CC details I will try other methods Darren :-)) -- 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 mwp.reid at qub.ac.uk Fri Dec 22 07:09:38 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 13:09:38 -0000 Subject: [AccessD] Unbound Again References: Message-ID: Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From bchacc at san.rr.com Fri Dec 22 07:42:04 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 22 Dec 2006 05:42:04 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <001101c725ce$f7cc71d0$6901a8c0@HAL9005> Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From mwp.reid at qub.ac.uk Fri Dec 22 08:27:55 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 14:27:55 -0000 Subject: [AccessD] Unbound Again References: <001101c725ce$f7cc71d0$6901a8c0@HAL9005> Message-ID: Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 22 08:39:31 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 09:39:31 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: Message-ID: <003c01c725d6$fed3a220$1501a8c0@m6805> The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 22 08:45:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 09:45:14 -0500 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <003d01c725d7$cb8a8e00$1501a8c0@m6805> Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From bchacc at san.rr.com Fri Dec 22 08:51:44 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 22 Dec 2006 06:51:44 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <001d01c725d8$b30f5a80$6901a8c0@HAL9005> Let me know if I can help. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From mwp.reid at qub.ac.uk Fri Dec 22 09:08:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 15:08:25 -0000 Subject: [AccessD] Unbound Again References: <001d01c725d8$b30f5a80$6901a8c0@HAL9005> Message-ID: Actually was going to ask you to read it over before I send it in. Almost finished it now. Will do a section on Locking re JCs email for information only and a few exampels and thats it done. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 14:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Let me know if I can help. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Dec 22 09:23:21 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 Dec 2006 09:23:21 -0600 Subject: [AccessD] Database Advisors lists In-Reply-To: <29665297.1166798673942.JavaMail.root@sniper62> Message-ID: <002b01c725dd$1dfe6580$0200a8c0@danwaters> Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 bchacc at san.rr.com Fri Dec 22 09:24:30 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Fri, 22 Dec 2006 07:24:30 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <002401c725dd$47401290$6901a8c0@HAL9005> Send it over when ready. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 7:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Actually was going to ask you to read it over before I send it in. Almost finished it now. Will do a section on Locking re JCs email for information only and a few exampels and thats it done. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 14:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Let me know if I can help. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Rocky I thinnk I will just use that as the example. Save time trying to think of something new when there likely isnt other than using classes which I am not up to speed with yet. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Beach Access Software Sent: Fri 22/12/2006 13:42 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin: Given the speed of the DAO update, in Bar Tracks I just updated all the fields - moved the valued of the textboxes to their respective fields. You could set up a loop to check the value of the text box against the current value of the field but it probably wouldn't save any time by the time you went through checking all the fields. If you've got an old copy of Bar Tracks, you can check the Asset View, Add, or Edit form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM From jwcolby at colbyconsulting.com Fri Dec 22 10:03:45 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 11:03:45 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <002b01c725dd$1dfe6580$0200a8c0@danwaters> Message-ID: <004c01c725e2$c2e45910$1501a8c0@m6805> ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 Fri Dec 22 10:07:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 08:07:37 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: <0JAO0045CNDIPP80@l-daemon> Hi Martin: First: the field's property 'text' and 'value' contents will be different if there has been any change in the field. Second: the content of the current record, in the recordset, used to populate the form will have differences. Third: The 'dirty' property will be set if there are any values changes in the form. One or all of these can be checked. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 5:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From jwcolby at colbyconsulting.com Fri Dec 22 10:09:30 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 11:09:30 -0500 Subject: [AccessD] #Error Message-ID: <004d01c725e3$906a7bd0$1501a8c0@m6805> I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Fri Dec 22 10:24:40 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 Dec 2006 10:24:40 -0600 Subject: [AccessD] #Error In-Reply-To: <3665957.1166804253764.JavaMail.root@sniper31> Message-ID: <003a01c725e5$b165b640$0200a8c0@danwaters> Could you first create a query for the SQL Server linked table which will only select record with data? Then do the outer join? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 10:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Dec 22 10:28:28 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 22 Dec 2006 16:28:28 +0000 Subject: [AccessD] #Error In-Reply-To: <004d01c725e3$906a7bd0$1501a8c0@m6805> Message-ID: John, Is the query you are building, or the subqueries, performing a calculation on the field in which you receive #error? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] #Error >Date: Fri, 22 Dec 2006 11:09:30 -0500 > >I am building up a query from subqueries. One of the subqueries comes from >a SQL Server view, linked to Access. When I do an outer join on that >subquery, I get #error in the fields for that subquery in any record where >there is no data coming from the SQL Server linked table. > >Has anyone ever seen this before? It looks similar to cases where you link >to a spreadsheet and the data type changes down the table. > >It is ugly and I do not want to (can't really) send this out. The end >result will be a text file sent to a bank or insurance company for >automatic >import into their database. I have never found a way to turn that #error >thing into any type of data that could be replaced with something else. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden Globes has it all. http://tv.msn.com/tv/globes2007/ From jimdettman at verizon.net Fri Dec 22 10:38:59 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 22 Dec 2006 11:38:59 -0500 Subject: [AccessD] #Error In-Reply-To: <004d01c725e3$906a7bd0$1501a8c0@m6805> Message-ID: <004f01c725e7$af0238e0$8abea8c0@XPS> John, Define the column using the function below. You can have it return whatever you want. Jim. Function AvoidError(n As Variant) On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = 0 Resume Next End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Dec 22 10:37:25 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 10:37:25 -0600 Subject: [AccessD] Unbound Again Message-ID: <17724746D360394AA3BFE5B8D40A9C1B01720254@marlow_main2.marlow.ii-vi.net> Depends how you have the background setup. If you are using a class/collection structure, you can build the class so that it is self monitoring for changes. It also depends if you want to monitor for changes, or if you just save when the user presses save. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 7:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From accessd at shaw.ca Fri Dec 22 10:48:14 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 08:48:14 -0800 Subject: [AccessD] Unbound Again In-Reply-To: <003d01c725d7$cb8a8e00$1501a8c0@m6805> Message-ID: <0JAO00BFZP97KL71@l-daemon> Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 10:50:05 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 16:50:05 -0000 Subject: [AccessD] Unbound Again References: <17724746D360394AA3BFE5B8D40A9C1B01720254@marlow_main2.marlow.ii-vi.net> Message-ID: Just out of interest and the reader would find it very informative dont suppose you have such a self aware class laying about. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Fri 22/12/2006 16:37 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Depends how you have the background setup. If you are using a class/collection structure, you can build the class so that it is self monitoring for changes. It also depends if you want to monitor for changes, or if you just save when the user presses save. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 7:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 11:08:14 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 17:08:14 -0000 Subject: [AccessD] Unbound Again References: <0JAO00BFZP97KL71@l-daemon> Message-ID: I am thinking that locking is the key to working unbound. All the other stuff is nice and easy really. Add, Edit, Delete etc is very much standard stuff. Its the locking that will catch many people out. Maybe I should write up a bit on that for this section. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Lawrence Sent: Fri 22/12/2006 16:48 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 DWUTKA at marlow.com Fri Dec 22 11:18:27 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 11:18:27 -0600 Subject: [AccessD] Unbound Again Message-ID: <17724746D360394AA3BFE5B8D40A9C1B01720267@marlow_main2.marlow.ii-vi.net> All my classes are self-aware! ;) just kidding. Honestly Martin, JC pointed out that a bound form locks records, which is the easiest way to ensure people aren't working over each other. In VB, it's much easier to create a self-aware class, because you can create control arrays on the fly, so hooking a control to a class property isn't much of a chore. If you are going completely unbound for data entry, you have to look at the usage. In a single user environment, no problem. In a multi-user environment, you have to create some sort of data checking method. Lot's of ways to do that, but it's complicated, and the bound method should be used. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Just out of interest and the reader would find it very informative dont suppose you have such a self aware class laying about. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Fri 22/12/2006 16:37 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again Depends how you have the background setup. If you are using a class/collection structure, you can build the class so that it is self monitoring for changes. It also depends if you want to monitor for changes, or if you just save when the user presses save. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, December 22, 2006 7:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Dec 22 11:28:52 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 22 Dec 2006 09:28:52 -0800 Subject: [AccessD] Unbound Again In-Reply-To: Message-ID: I assume you mean record locking, not control locking, Martin. I've done it with ADO but I can't remember ever bothering with DAO. When ADO first came in with Access 2000, you couldn't bind a form to an ADO recordset and make it editable, so you had to use unbound forms and I learned. If you're dealing with DAO, one alternative is a bound unbound form, where the form has a bound recordset, but the controls are unbound. That allows you to lock the record and still use unbound controls. It takes more work though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again I am thinking that locking is the key to working unbound. All the other stuff is nice and easy really. Add, Edit, Delete etc is very much standard stuff. Its the locking that will catch many people out. Maybe I should write up a bit on that for this section. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Lawrence Sent: Fri 22/12/2006 16:48 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 colbyconsulting.com Fri Dec 22 11:30:47 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:30:47 -0500 Subject: [AccessD] #Error In-Reply-To: <004f01c725e7$af0238e0$8abea8c0@XPS> Message-ID: <005501c725ee$ebb9b950$1501a8c0@m6805> Hey, I like that. I ended up trapping the error inside of the function that builds up the file, but with this function of yours, I could do so right in the query that is returning the error. Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, December 22, 2006 11:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] #Error John, Define the column using the function below. You can have it return whatever you want. Jim. Function AvoidError(n As Variant) On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = 0 Resume Next End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.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 cfoust at infostatsystems.com Fri Dec 22 11:31:01 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 22 Dec 2006 09:31:01 -0800 Subject: [AccessD] Database Advisors lists In-Reply-To: <004c01c725e2$c2e45910$1501a8c0@m6805> Message-ID: Well, it IS Friday! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 jwcolby at colbyconsulting.com Fri Dec 22 11:35:11 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:35:11 -0500 Subject: [AccessD] #Error In-Reply-To: Message-ID: <005601c725ef$88dbb4e0$1501a8c0@m6805> You know what, it is. I pull the data into a base query, and in that base query I run the values through ccur(), cdate() etc. and I also alias the fields (which causes no errors I think). That base query I then pass up to another query where I filter on the data. The odd point is that the base runs and the filtered query runs. Only when outer joined in the next level does the #error appear. I have seen weird anomalies like this before though, where something back in a subquery causes this kind of #error to suddenly appear. Jim's error finder function should work great though. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 22, 2006 11:28 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] #Error John, Is the query you are building, or the subqueries, performing a calculation on the field in which you receive #error? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] #Error >Date: Fri, 22 Dec 2006 11:09:30 -0500 > >I am building up a query from subqueries. One of the subqueries comes >from a SQL Server view, linked to Access. When I do an outer join on >that subquery, I get #error in the fields for that subquery in any >record where there is no data coming from the SQL Server linked table. > >Has anyone ever seen this before? It looks similar to cases where you >link to a spreadsheet and the data type changes down the table. > >It is ugly and I do not want to (can't really) send this out. The end >result will be a text file sent to a bank or insurance company for >automatic import into their database. I have never found a way to turn >that #error thing into any type of data that could be replaced with >something else. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden >Globes has it all. http://tv.msn.com/tv/globes2007/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Dec 22 11:35:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:35:29 -0500 Subject: [AccessD] #Error In-Reply-To: <003a01c725e5$b165b640$0200a8c0@danwaters> Message-ID: <005701c725ef$93b7b490$1501a8c0@m6805> In fact I am doing this. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 11:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] #Error Could you first create a query for the SQL Server linked table which will only select record with data? Then do the outer join? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 10:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.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 mwp.reid at qub.ac.uk Fri Dec 22 11:44:29 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 17:44:29 -0000 Subject: [AccessD] Unbound Again References: Message-ID: Thanks folks Actually I am thinking of adding this dicussion into the chapter. I find it interesting as well. I dont know enough about classes yet to take this on and I dont have time at the moment as this one needs to be done this evening. If anyone objects to me adding part of the conversation into the chpater drop me a line of list. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 22/12/2006 17:28 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again I assume you mean record locking, not control locking, Martin. I've done it with ADO but I can't remember ever bothering with DAO. When ADO first came in with Access 2000, you couldn't bind a form to an ADO recordset and make it editable, so you had to use unbound forms and I learned. If you're dealing with DAO, one alternative is a bound unbound form, where the form has a bound recordset, but the controls are unbound. That allows you to lock the record and still use unbound controls. It takes more work though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound Again I am thinking that locking is the key to working unbound. All the other stuff is nice and easy really. Add, Edit, Delete etc is very much standard stuff. Its the locking that will catch many people out. Maybe I should write up a bit on that for this section. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Lawrence Sent: Fri 22/12/2006 16:48 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 colbyconsulting.com Fri Dec 22 11:45:58 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 12:45:58 -0500 Subject: [AccessD] #Error In-Reply-To: <004f01c725e7$af0238e0$8abea8c0@XPS> Message-ID: <005801c725f1$0ac7a2b0$1501a8c0@m6805> I decided to do the following. Function AvoidError(n As Variant, Optional varRetOnError As Variant = "") On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = varRetOnError Resume Next End Function I then placed that in the query that wqas displaying #error and in fact it never even bothered to call the function, it simply reported #error. In my case I can use the function anyway, but use it in my function that builds up the output file. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, December 22, 2006 11:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] #Error John, Define the column using the function below. You can have it return whatever you want. Jim. Function AvoidError(n As Variant) On Error GoTo Trap AvoidError = n Exit Function Trap: AvoidError = 0 Resume Next End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] #Error I am building up a query from subqueries. One of the subqueries comes from a SQL Server view, linked to Access. When I do an outer join on that subquery, I get #error in the fields for that subquery in any record where there is no data coming from the SQL Server linked table. Has anyone ever seen this before? It looks similar to cases where you link to a spreadsheet and the data type changes down the table. It is ugly and I do not want to (can't really) send this out. The end result will be a text file sent to a bank or insurance company for automatic import into their database. I have never found a way to turn that #error thing into any type of data that could be replaced with something else. John W. Colby Colby Consulting www.ColbyConsulting.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 sgsax at ksu.edu Fri Dec 22 11:47:38 2006 From: sgsax at ksu.edu (Seth Galitzer) Date: Fri, 22 Dec 2006 11:47:38 -0600 Subject: [AccessD] fantastic article Message-ID: <458C1A3A.80901@ksu.edu> Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn?t a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax From DWUTKA at marlow.com Fri Dec 22 12:07:03 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 12:07:03 -0600 Subject: [AccessD] fantastic article Message-ID: <17724746D360394AA3BFE5B8D40A9C1B0172027A@marlow_main2.marlow.ii-vi.net> Great article Seth, thanks for sharing! Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Friday, December 22, 2006 11:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 12:10:56 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 18:10:56 -0000 Subject: [AccessD] fantastic article References: <458C1A3A.80901@ksu.edu> Message-ID: Hi Seth Great to see your still about and well Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Kwilliamson at RTKL.com Fri Dec 22 12:19:21 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 22 Dec 2006 13:19:21 -0500 Subject: [AccessD] fantastic article In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B0172027A@marlow_main2.marlow.ii-vi.net> Message-ID: Good to see your name again!! :) Merry Holidays, everybody! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, December 22, 2006 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] fantastic article Great article Seth, thanks for sharing! Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Friday, December 22, 2006 11:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- 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 colbyconsulting.com Fri Dec 22 12:56:19 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 13:56:19 -0500 Subject: [AccessD] Unbound Again In-Reply-To: <0JAO00BFZP97KL71@l-daemon> Message-ID: <007701c725fa$deb84b20$1501a8c0@m6805> Just for the record... >Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. This statement is very misleading since even in versions that supposedly allow locking to the row level, they don't always and unambiguously. And the rules for how to force locking to the row level are ambiguous. And in all cases AFAICT, if the first user in the database is not locking to the row level, no one else can either. So all in all, "locking to the row level" is almost useless in real life. AFAICT, YMMV, etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 22, 2006 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 colbyconsulting.com Fri Dec 22 12:58:31 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 22 Dec 2006 13:58:31 -0500 Subject: [AccessD] fantastic article In-Reply-To: <458C1A3A.80901@ksu.edu> Message-ID: <007801c725fb$2cf5e540$1501a8c0@m6805> OMG a ghost from the distant past. Happy Holidays Seth. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Friday, December 22, 2006 12:48 PM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Dec 22 13:08:09 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 22 Dec 2006 19:08:09 -0000 Subject: [AccessD] Happy Christmas References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: To everyone and a peaceful New Year Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From garykjos at gmail.com Fri Dec 22 13:38:12 2006 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 22 Dec 2006 13:38:12 -0600 Subject: [AccessD] Happy Christmas In-Reply-To: References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.com From Kwilliamson at RTKL.com Fri Dec 22 14:41:56 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 22 Dec 2006 15:41:56 -0500 Subject: [AccessD] Happy Christmas In-Reply-To: Message-ID: HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- 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 DWUTKA at marlow.com Fri Dec 22 14:43:28 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 14:43:28 -0600 Subject: [AccessD] Happy Christmas Message-ID: <17724746D360394AA3BFE5B8D40A9C1B017202B5@marlow_main2.marlow.ii-vi.net> Sole time? Does that involve a dance floor? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.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 reuben at gfconsultants.com Fri Dec 22 15:11:30 2006 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 22 Dec 2006 16:11:30 -0500 Subject: [AccessD] OT - Crystal Reports Message-ID: Can Crystal Reports create a report in any format? For example, I need sales data for all of 2004 and 2005 from a county. I would like it in Excel (or a text file) so that I an end up with an Access db so that I can link it to my data. Can Crystal Reports create Excel or text files? Thanks. Merry Christmas, Everyone!! Reuben Cummings GFC, LLC 812.523.1017 From Kwilliamson at RTKL.com Fri Dec 22 15:22:51 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 22 Dec 2006 16:22:51 -0500 Subject: [AccessD] Happy Christmas In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1B017202B5@marlow_main2.marlow.ii-vi.net> Message-ID: That would be SOUL. I don't have one of those.....or so my Christian friends tell me. :) Well...maybe there IS one...but it isn't mine. lol Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, December 22, 2006 3:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Sole time? Does that involve a dance floor? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.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 DWUTKA at marlow.com Fri Dec 22 15:24:20 2006 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 22 Dec 2006 15:24:20 -0600 Subject: [AccessD] Happy Christmas Message-ID: <17724746D360394AA3BFE5B8D40A9C1B017202C6@marlow_main2.marlow.ii-vi.net> No, sole, the bottom of a shoe, or the surface placed upon a dance floor. ;) Soul just helps to dance better! ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 3:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas That would be SOUL. I don't have one of those.....or so my Christian friends tell me. :) Well...maybe there IS one...but it isn't mine. lol Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, December 22, 2006 3:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Sole time? Does that involve a dance floor? ;) Drew -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Friday, December 22, 2006 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas HA! HA!! I think my wife would faint, if I came home and DIDN'T jump on the computer. :) and Heaven forbid...if I came home with flowers, and decided to spend sole time with her......she'd think I must be cheating on her, or something. :))) Yup! I'm a kept man. .......she keeps me in my office. LOL!! Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, December 22, 2006 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Happy Christmas Weird. How bout you just leave it on then ;-) Merry Christmas to you to Martin! And everyone else too of course. GK On 12/22/06, Martin Reid wrote: > To everyone and a peaceful New Year > > Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > -- Gary Kjos garykjos at gmail.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 Fri Dec 22 16:20:12 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 14:20:12 -0800 Subject: [AccessD] OT Friday In-Reply-To: <005601c725ef$88dbb4e0$1501a8c0@m6805> Message-ID: <0JAP00M1H4MFZV61@l-daemon> OT Friday Hi All: Here is a link to a 10 year old PC (http://www.uti.com/~thekeep/dusty_pc.jpg) that someone sent me the address to this morning... and they think 10 years is old why the back office has old junk twice as old... or did until senior management said 'Get rid of it.' Jim PS Did anyone notice that there was a good bit of RAM shown. From BarbaraRyan at cox.net Fri Dec 22 13:29:20 2006 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 22 Dec 2006 17:29:20 -0200 Subject: [AccessD] Happy Christmas References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: <00c601c725ff$7aa413d0$0a00a8c0@PCRURI35> Merry Christmas to all of you...Thanks for all that you do ....always so willing to help....always so kind....you seem just like family!.....Barb ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Friday, December 22, 2006 5:38 PM Subject: Re: [AccessD] Happy Christmas > Weird. How bout you just leave it on then ;-) > > Merry Christmas to you to Martin! And everyone else too of course. > > GK > > On 12/22/06, Martin Reid wrote: >> To everyone and a peaceful New Year >> >> Thats me til after Christmas Day. Tricia will kill me if I turn PC on >> after tomorrow. >> >> Martin >> >> Martin WP Reid >> Training and Assessment Unit >> Riddle Hall >> Belfast >> >> tel: 02890 974477 >> >> > > -- > 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 martyconnelly at shaw.ca Fri Dec 22 16:34:20 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 22 Dec 2006 14:34:20 -0800 Subject: [AccessD] Happy Christmas In-Reply-To: References: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: <458C5D6C.1050106@shaw.ca> Wot? Did they close all the workhouses in Belfast? Martin Reid wrote: >To everyone and a peaceful New Year > >Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Dec 22 16:39:31 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 14:39:31 -0800 Subject: [AccessD] fantastic article In-Reply-To: <458C1A3A.80901@ksu.edu> Message-ID: <0JAP000W15INQZ40@l-daemon> Hi Seth: It is good to hear from you again. Would you mind updating you bio as it seems to be slightly dated? http://www.databaseadvisors.com/newsletters/bio_pages/bio_seth.asp Thanks for the article as it is timely when so many pundits are expounding on MS Access's timely death... or near death. Many of us on the list straddle the dark side every day. One thing is for sure that the List will morph as the technology expands. Have a great holiday. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Friday, December 22, 2006 9:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] fantastic article Hi folks, I must admit, I haven't had this list in mind for a couple of years now. I'm still subbed but on eternal vacation mode. I haven't even really touched Access in ages, and with my latest job, I work more in Unix/Linux than Windows. Quickly peering at the archives today, it's nice to see that I still recognize most of the names. I don't know, maybe the holiday seasonal orgy making me feel sentimental. I have always thought this list is the best resource for Access developers anywhere and am glad that it is thriving after almost six years of independence. I am proud and happy to have been a part of that. Cheers to all of you who keep this list alive. Anyway, I'm sending this because I read a brilliant article this morning and couldn't think of a better place to share it than here. http://www.regdeveloper.co.uk/2006/12/22/access_not_relational_myth/ "Access isn't a relational database" By Mark Whitehorn A great piece for those of you who have to occasionally defend your choice of development platform. Have a great holiday week. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 http://www.cis.ksu.edu/~sgsax -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 22 16:52:01 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 14:52:01 -0800 Subject: [AccessD] Unbound Again In-Reply-To: <007701c725fa$deb84b20$1501a8c0@m6805> Message-ID: <0JAP006PX63GOTW0@l-daemon> An additional note... It would not matter whether the default record-locking could lock a specific record or only lock down to a section of records an appropriately designed manual locking system would/could ignore those issues. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 10:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Just for the record... >Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. This statement is very misleading since even in versions that supposedly allow locking to the row level, they don't always and unambiguously. And the rules for how to force locking to the row level are ambiguous. And in all cases AFAICT, if the first user in the database is not locking to the row level, no one else can either. So all in all, "locking to the row level" is almost useless in real life. AFAICT, YMMV, etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, December 22, 2006 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Hi Martin: John is right about the locking issues. Until recently when trying to lock a specific record in Access the DAO database would lock a group of records. The way to handle that is to: All tables should have a timestamp, locked and user code field. When a record's contents are pulled into a (disconnected) recordset, the records' timestamp and user code field is immediately updated and the lock field is set. After the editing process is completed the table record is updated and the lock field is cleared. This is very similar to the way both MS SQL and Oracle manage their tables. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 6:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Unbound Again Martin, One problem with unbound is the whole locking issue, which the bound method handles for you. Unless you place a lock on the record you are editing, then how do you know that the underlying record wasn't updated by another user while this user was eating lunch? Thus for simple unbound, probably only updating fields changed is the safest. If your form is going to lock the record being edited, then you can safely update the entire record. Or you could refetch the original, compare the field values of the original to the "old values" of the unbound form, and warn the user if there were changes to the original. Many different answers to that seemingly simple question. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Unbound Again Back to the unbound edit So the idea I am using is to 1. Click The Edit Button 2. Unlock fields 2. Change edit caption to save So the suer changes one field. Do you just simply update the whole record ot do you test each field and only chane the one edited? Or is there any issue with either? Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 Fri Dec 22 17:00:44 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 15:00:44 -0800 Subject: [AccessD] Happy Christmas In-Reply-To: Message-ID: <0JAP00C5E6I0FEJ0@l-daemon> Wow that must be nice. Around this nerdy family everyone uses computers... During the break I just get to work on my families' web sites and computers. ...but it is eat, drink and code. Have a great Christmas break Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, December 22, 2006 11:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Happy Christmas To everyone and a peaceful New Year Thats me til after Christmas Day. Tricia will kill me if I turn PC on after tomorrow. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From randall.anthony at cox.net Fri Dec 22 19:21:13 2006 From: randall.anthony at cox.net (Randall Anthony) Date: Fri, 22 Dec 2006 20:21:13 -0500 Subject: [AccessD] OT - Crystal Reports In-Reply-To: Message-ID: <002401c72630$a2a73020$bcccfe18@DF2PJY11> Depending on the version of CR, when you create the report, it will display an export button similar to Word's version of exporting to whatever you would like. I'm not in the office right now to verify, but check it out. HTH. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Friday, December 22, 2006 4:12 PM To: AccessD Subject: [AccessD] OT - Crystal Reports Can Crystal Reports create a report in any format? For example, I need sales data for all of 2004 and 2005 from a county. I would like it in Excel (or a text file) so that I an end up with an Access db so that I can link it to my data. Can Crystal Reports create Excel or text files? Thanks. Merry Christmas, Everyone!! Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Dec 22 20:08:21 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 22 Dec 2006 21:08:21 -0500 Subject: [AccessD] OT Friday References: <0JAP00M1H4MFZV61@l-daemon> Message-ID: <00ad01c72637$38cec440$4798eb44@50NM721> ...lol ...that "good bit of RAM" looks suspiciously like 64 or 128mb to me :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, December 22, 2006 5:20 PM Subject: [AccessD] OT Friday > OT Friday > > Hi All: > > Here is a link to a 10 year old PC > (http://www.uti.com/~thekeep/dusty_pc.jpg) that someone sent me the > address > to this morning... and they think 10 years is old why the back office has > old junk twice as old... or did until senior management said 'Get rid of > it.' > > Jim > > PS Did anyone notice that there was a good bit of RAM shown. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Dec 22 20:56:51 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 18:56:51 -0800 Subject: [AccessD] OT Friday In-Reply-To: <00ad01c72637$38cec440$4798eb44@50NM721> Message-ID: <0JAP006BYHFIXA11@l-daemon> Hi William: There is a box in the back room that has 64MB of RAM on it. It is not because it can physically not accept more it is that mother-board would not know what to do with any more. This NT rocket use to be the server for the whole office and the most powerful thing money could buy (about $3000.00). Today, it would be difficult to boot it with KNOPPIX Linux. Have a good Christmas break... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, December 22, 2006 6:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday ...lol ...that "good bit of RAM" looks suspiciously like 64 or 128mb to me :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, December 22, 2006 5:20 PM Subject: [AccessD] OT Friday > OT Friday > > Hi All: > > Here is a link to a 10 year old PC > (http://www.uti.com/~thekeep/dusty_pc.jpg) that someone sent me the > address > to this morning... and they think 10 years is old why the back office has > old junk twice as old... or did until senior management said 'Get rid of > it.' > > Jim > > PS Did anyone notice that there was a good bit of RAM shown. > > -- > 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 artful at rogers.com Fri Dec 22 21:08:44 2006 From: artful at rogers.com (artful at rogers.com) Date: Fri, 22 Dec 2006 19:08:44 -0800 (PST) Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. Message-ID: <20061223030844.56052.qmail@web88214.mail.re2.yahoo.com> I confess my age. I turned 59 about a month ago. I started out in 1982 using a Commodore 64 to which I had access once a week. The first program I wrote was a game of craps. It could accept 4 players and side bets in every direction. There was something very good about having to print out the source and not be able to modify it for a week. It caused one to think very carefully about one's revisions. In these modern instant-compile IDEs, that is gone. One simply writes code and clicks the right arrow to see if compiles correctly (not the same as Is it correct). I wouldn't wish the old days on young graduates, but there is something important that is gone: reading one's listings and deducing the flaws and not being able to adjust the code for a week, which causes one to rethink and revise and rethink and revise. Back in the old days, we had a term, "Cowboy coders". This meant code and load, no standards, load and go. Some of these people were fabulously brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell Freeland, Robert di Falco and some others that I knew personally). Brian and Rob were exceptional in their devotion to documentation, and no slight upon the others, but they were much more interested in getting it done than documenting it. One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it was machine-specific, but yes, it was way way faster than any Windows equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing with somewhat smaller problems back then (tables with only 5M rows rather that 100M rows), but we made do and it worked. It's fun to work on that old DOS 6.22 box now and then. Clipper was a fabulous program and I made a living using it and writing about it for about a decade. I benchmark it against modern things like Access or SQL 2005 and it holds its head proudly. I realize that the market has moved elsewhere, but to dismiss these previous achievements is equivalent to saying there is no value in Vivaldi or Bach. Only a complete idiot would say that. A. From dwaters at usinternet.com Fri Dec 22 21:30:54 2006 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 Dec 2006 21:30:54 -0600 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets Message-ID: <007f01c72642$c0db6810$0200a8c0@danwaters> MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters From accessd at shaw.ca Fri Dec 22 22:28:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 20:28:58 -0800 Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. In-Reply-To: <20061223030844.56052.qmail@web88214.mail.re2.yahoo.com> Message-ID: <0JAP00FR6LP1XO40@l-daemon> OT: The speed at which code is now expected to be produced, tested and shipped to market is the real issue. So many of my fellow coders; find themselves continually being prompted to produce more, better and faster. There seems to be little concern about the tightness, documentation or strict classes/top down modular. A number of years ago clients were just happy to get operational code and at the prices they had to pay they expected and got top quality work. Now the emphasis is on speed and price and as long as its functions that is acceptable. I think MS is culpable for much of the current atmosphere. They are excellent salespeople and they have sold the general public that by 'buying-up' they can get complex solutions with no more than some drags and drops and few quick hacks. Now we are being expected to live up to that dream. Still on OT Friday mode: Art gallery Curator to an artist: Great news; all your paintings have sold! The show is completely sold out!! Interestingly, the lady who bought them all says she is your doctor. ... You may be 59 but I am slowly gaining on you. Have a good Christmas all Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 22, 2006 7:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. I confess my age. I turned 59 about a month ago. I started out in 1982 using a Commodore 64 to which I had access once a week. The first program I wrote was a game of craps. It could accept 4 players and side bets in every direction. There was something very good about having to print out the source and not be able to modify it for a week. It caused one to think very carefully about one's revisions. In these modern instant-compile IDEs, that is gone. One simply writes code and clicks the right arrow to see if compiles correctly (not the same as Is it correct). I wouldn't wish the old days on young graduates, but there is something important that is gone: reading one's listings and deducing the flaws and not being able to adjust the code for a week, which causes one to rethink and revise and rethink and revise. Back in the old days, we had a term, "Cowboy coders". This meant code and load, no standards, load and go. Some of these people were fabulously brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell Freeland, Robert di Falco and some others that I knew personally). Brian and Rob were exceptional in their devotion to documentation, and no slight upon the others, but they were much more interested in getting it done than documenting it. One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it was machine-specific, but yes, it was way way faster than any Windows equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing with somewhat smaller problems back then (tables with only 5M rows rather that 100M rows), but we made do and it worked. It's fun to work on that old DOS 6.22 box now and then. Clipper was a fabulous program and I made a living using it and writing about it for about a decade. I benchmark it against modern things like Access or SQL 2005 and it holds its head proudly. I realize that the market has moved elsewhere, but to dismiss these previous achievements is equivalent to saying there is no value in Vivaldi or Bach. Only a complete idiot would say that. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 22 22:50:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 Dec 2006 20:50:37 -0800 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <007f01c72642$c0db6810$0200a8c0@danwaters> Message-ID: <0JAP00CIIMP3W120@l-daemon> Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 7:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Fri Dec 22 22:51:19 2006 From: askolits at ot.com (John Skolits) Date: Fri, 22 Dec 2006 23:51:19 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <004c01c725e2$c2e45910$1501a8c0@m6805> Message-ID: <016101c7264d$fffdaa20$800101df@officexp> I can't believe you guys are conjuring up this whole PK debate again! Wasn't that back on the 90's? :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 mikedorism at verizon.net Sat Dec 23 00:03:11 2006 From: mikedorism at verizon.net (Doris Manning) Date: Sat, 23 Dec 2006 01:03:11 -0500 Subject: [AccessD] OT - Crystal Reports In-Reply-To: Message-ID: <000001c72658$072e7090$2f01a8c0@Kermit> Crystal Reports can output in Word, PDF, and Excel format. Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Friday, December 22, 2006 4:12 PM To: AccessD Subject: [AccessD] OT - Crystal Reports Can Crystal Reports create a report in any format? For example, I need sales data for all of 2004 and 2005 from a county. I would like it in Excel (or a text file) so that I an end up with an Access db so that I can link it to my data. Can Crystal Reports create Excel or text files? Thanks. Merry Christmas, Everyone!! Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Sat Dec 23 06:47:04 2006 From: accessd666 at yahoo.com (Sad Der) Date: Sat, 23 Dec 2006 04:47:04 -0800 (PST) Subject: [AccessD] link subform to subform Message-ID: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com> Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Sat Dec 23 07:28:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Dec 2006 14:28:32 +0100 Subject: [AccessD] link subform to subform Message-ID: Hi Sander Include subform2 as a subform in subform1 (?) ... /gustav >>> accessd666 at yahoo.com 23-12-2006 13:47 >>> Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander From bchacc at san.rr.com Sat Dec 23 07:37:36 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 23 Dec 2006 05:37:36 -0800 Subject: [AccessD] link subform to subform In-Reply-To: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com> Message-ID: <001401c72697$829c7f80$6901a8c0@HAL9005> Sander: If you can't make subform2 a Subform of subform1 then I would requery subform2 in the Current event of Subform 1. Either make the record source of Subform 2 have a WHERE clause pointing to some value in Subform 1, or us Me.Filter on subform2 HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Saturday, December 23, 2006 4:47 AM To: Acces User Group Subject: [AccessD] link subform to subform Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/598 - Release Date: 12/22/2006 3:22 PM From Gustav at cactus.dk Sat Dec 23 08:00:06 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Dec 2006 15:00:06 +0100 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on Message-ID: Hi all, a follow-up warning My colleague asked me to direct your attention to the fact that "Windows Server 2003 Web Edition" carries a ridiculous limitation for how much ram it will handle of 2 GB. This has caused it to be nicknamed among pros as "Windows Personal Server 2003 Web Edition". More seriously, this means that "Windows Server 2003 Web Edition" may be a perfect OS to run inside a virtual machine (client), while the limitation renders it useless for most applications for _hosting_ virtual machines. In fact, you may even need an expensive enterprise license for Windows Server 2003 for the host which, of course, forces one to look at Linux as the OS for the host. I just counted. It's hard to believe, but this is my 9th Christmas joining the list, so: Merry Christmas to all! /gustav >>> Gustav at cactus.dk 02-11-2006 16:44 >>> Hi John I didn't catch your original post, but installing SBS is not "just to do it". Microsoft has training courses in nothing else than this discipline. That said, I'm sure you could handle it following some of the guides around and good advice but at a cost of many hours. However, the install wizard will not know what you want. You have to decide. >From your post it seems like you need only the server OS and SQL Server 2005. That could be established much simpler with "Windows Server 2003 Web Edition" - which is part of your Action Pack - and "SQL Server 2005 Express" which is a free download. For anyone else being tempted by all the fun stuff in SBS, stop for a moment and consider seriously the hard core Web Edition, which really is a piece of cake to install and leaves a totally clean desktop you will love. Also, consider seriously to run this in a virtual machine like the free edition of VMware Virtual Server - which itself runs perfectly on the Web Edition server. For deployment, a license for "Windows Server 2003 Web Edition" is only slightly more than that for WinXP - and no CALs as it is not a file server. /gustav From stuart at lexacorp.com.pg Sat Dec 23 08:11:26 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 24 Dec 2006 00:11:26 +1000 Subject: [AccessD] link subform to subform In-Reply-To: <001401c72697$829c7f80$6901a8c0@HAL9005> References: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com>, <001401c72697$829c7f80$6901a8c0@HAL9005> Message-ID: <458D390E.12656.D75AF37@stuart.lexacorp.com.pg> > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: Saturday, December 23, 2006 4:47 AM > To: Acces User Group > Subject: [AccessD] link subform to subform > > Hi group, > > i've got a form with 2 subforms eg: > Mainform = fParent > Subform1 = fsubParent_Child > Subform2 = fsubChild > > > Subform1 links to mainform. > Subform2 needs to link to subform1 > > Question: > how can i link subform2 to subform1?? Create a text box txtLink on fParent. Set its Visible property to False Set it's ControlSource = fsubParent_Child.Form!txtKey (where txtKey is a text box on fsubParent_child containing the PK of its record source. Set the Link Parent Field of fsubChild = txtLink and its Link Child Field to the FK of its own record source. -- Stuart From garykjos at gmail.com Sat Dec 23 08:40:48 2006 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 23 Dec 2006 08:40:48 -0600 Subject: [AccessD] Installing SBS2003 - was [dba-SQLServer] What is going on In-Reply-To: References: Message-ID: Thank you Gustav. For this and ALL your contributions. Nine years already? Time flys by quickly doesn't it? Have a Merry Christmas and a great new years too! Gary Kjos On 12/23/06, Gustav Brock wrote: > Hi all, a follow-up warning > > My colleague asked me to direct your attention to the fact that "Windows Server 2003 Web Edition" carries a ridiculous limitation for how much ram it will handle of 2 GB. > This has caused it to be nicknamed among pros as "Windows Personal Server 2003 Web Edition". > > More seriously, this means that "Windows Server 2003 Web Edition" may be a perfect OS to run inside a virtual machine (client), while the limitation renders it useless for most applications for _hosting_ virtual machines. In fact, you may even need an expensive enterprise license for Windows Server 2003 for the host which, of course, forces one to look at Linux as the OS for the host. > > I just counted. It's hard to believe, but this is my 9th Christmas joining the list, so: > > Merry Christmas to all! > > /gustav > > >>> Gustav at cactus.dk 02-11-2006 16:44 >>> > Hi John > > I didn't catch your original post, but installing SBS is not "just to do it". Microsoft has training courses in nothing else than this discipline. That said, I'm sure you could handle it following some of the guides around and good advice but at a cost of many hours. > > However, the install wizard will not know what you want. You have to decide. > > >From your post it seems like you need only the server OS and SQL Server 2005. That could be established much simpler with "Windows Server 2003 Web Edition" - which is part of your Action Pack - and "SQL Server 2005 Express" which is a free download. > > For anyone else being tempted by all the fun stuff in SBS, stop for a moment and consider seriously the hard core Web Edition, which really is a piece of cake to install and leaves a totally clean desktop you will love. Also, consider seriously to run this in a virtual machine like the free edition of VMware Virtual Server - which itself runs perfectly on the Web Edition server. For deployment, a license for "Windows Server 2003 Web Edition" is only slightly more than that for WinXP - and no CALs as it is not a file server. > > /gustav > > -- > 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 krosenstiel at comcast.net Sat Dec 23 09:08:09 2006 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Sat, 23 Dec 2006 07:08:09 -0800 Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. In-Reply-To: <20061223030844.56052.qmail@web88214.mail.re2.yahoo.com> Message-ID: <200612231508.kBNF8Dq18324@databaseadvisors.com> I remember noodling around with Clipper. I think I finally tossed out the diskettes a couple of years ago. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com Sent: Friday, December 22, 2006 7:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. I confess my age. I turned 59 about a month ago. I started out in 1982 using a Commodore 64 to which I had access once a week. The first program I wrote was a game of craps. It could accept 4 players and side bets in every direction. There was something very good about having to print out the source and not be able to modify it for a week. It caused one to think very carefully about one's revisions. In these modern instant-compile IDEs, that is gone. One simply writes code and clicks the right arrow to see if compiles correctly (not the same as Is it correct). I wouldn't wish the old days on young graduates, but there is something important that is gone: reading one's listings and deducing the flaws and not being able to adjust the code for a week, which causes one to rethink and revise and rethink and revise. Back in the old days, we had a term, "Cowboy coders". This meant code and load, no standards, load and go. Some of these people were fabulously brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell Freeland, Robert di Falco and some others that I knew personally). Brian and Rob were exceptional in their devotion to documentation, and no slight upon the others, but they were much more interested in getting it done than documenting it. One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it was machine-specific, but yes, it was way way faster than any Windows equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing with somewhat smaller problems back then (tables with only 5M rows rather that 100M rows), but we made do and it worked. It's fun to work on that old DOS 6.22 box now and then. Clipper was a fabulous program and I made a living using it and writing about it for about a decade. I benchmark it against modern things like Access or SQL 2005 and it holds its head proudly. I realize that the market has moved elsewhere, but to dismiss these previous achievements is equivalent to saying there is no value in Vivaldi or Bach. Only a complete idiot would say that. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 23 09:14:11 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 10:14:11 -0500 Subject: [AccessD] Database Advisors lists In-Reply-To: <016101c7264d$fffdaa20$800101df@officexp> Message-ID: <00a801c726a5$006b9ba0$1501a8c0@m6805> It comes around every couple of years. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, December 22, 2006 11:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists I can't believe you guys are conjuring up this whole PK debate again! Wasn't that back on the 90's? :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 11:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists ROTFL, yea, that would be the time. Are you saying you were just mollifying me? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, December 22, 2006 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Was this the time we finally decided that using Autonumbers instead of 'natural' keys was the right thing to do? Dan Waters ;-) ;-) ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, December 22, 2006 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists The right side of course! ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 21, 2006 11:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Whaddaya mean, 'let John win'? I can't even recall which side he was on! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Beach Access Software Sent: Wednesday, December 20, 2006 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Advisors lists Well, I second that Martin. I can't often offer any direct help to the list anymore. Even when I know an answer, the heavyweights always beat me to it. And they still regularly save my bacon. It is perhaps the most remarkable organization I've ever been involved with - a totally cyber-corporation, international. And with a unique corporate culture. So, we 'let John win' the great PK debate? See how generous and compassionate we are? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, December 20, 2006 4:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Advisors lists Well if it goes well the list will do ok I think. I hope so. I have said this before on many occasions. I would not be able to do stuff I have done nor would I be in the job I am in without this list and its members. I have made lifelong friends on this list and that above all is more than worth letting JC win the Great PK debate (<: But being serious this list and the people on it anre much more than emails on a computer. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- 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 jwcolby at colbyconsulting.com Sat Dec 23 09:17:20 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 10:17:20 -0500 Subject: [AccessD] link subform to subform In-Reply-To: <20061223124704.5432.qmail@web31604.mail.mud.yahoo.com> Message-ID: <00a901c726a5$71983bd0$1501a8c0@m6805> I am assuming that two subforms are both physically in the main form, i.e. one subform is not inside the other subform. The way to do this is to have a control on the main form, whose source data is a control in the one of the child forms. Thus when the child form changes record, the control up on the main form changes. Now link the second subform to that control up in the main form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Saturday, December 23, 2006 7:47 AM To: Acces User Group Subject: [AccessD] link subform to subform Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Dec 23 09:18:07 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 10:18:07 -0500 Subject: [AccessD] link subform to subform In-Reply-To: <458D390E.12656.D75AF37@stuart.lexacorp.com.pg> Message-ID: <00aa01c726a5$8d4d4820$1501a8c0@m6805> That's it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 23, 2006 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] link subform to subform > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: Saturday, December 23, 2006 4:47 AM > To: Acces User Group > Subject: [AccessD] link subform to subform > > Hi group, > > i've got a form with 2 subforms eg: > Mainform = fParent > Subform1 = fsubParent_Child > Subform2 = fsubChild > > > Subform1 links to mainform. > Subform2 needs to link to subform1 > > Question: > how can i link subform2 to subform1?? Create a text box txtLink on fParent. Set its Visible property to False Set it's ControlSource = fsubParent_Child.Form!txtKey (where txtKey is a text box on fsubParent_child containing the PK of its record source. Set the Link Parent Field of fsubChild = txtLink and its Link Child Field to the FK of its own record source. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Dec 23 10:00:48 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 23 Dec 2006 10:00:48 -0600 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <31658281.1166849566568.JavaMail.root@sniper63> Message-ID: <001001c726ab$8404f910$0200a8c0@danwaters> Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters From martyconnelly at shaw.ca Sat Dec 23 11:25:15 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 23 Dec 2006 09:25:15 -0800 Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, etc. In-Reply-To: <0JAP00FR6LP1XO40@l-daemon> References: <0JAP00FR6LP1XO40@l-daemon> Message-ID: <458D667B.7090409@shaw.ca> Having worked for a number of oil firms, I put it down to something attributed to Red Adair an oil well firefighter (in the form, "I can do the job, Good. Fast or Cheap. Pick any two.") Just remember most computer salespeople are out hunting elephants and have no interest in the squirrels, the SMB's. Jim Lawrence wrote: >OT: > > >The speed at which code is now expected to be produced, tested and shipped >to market is the real issue. So many of my fellow coders; find themselves >continually being prompted to produce more, better and faster. There seems >to be little concern about the tightness, documentation or strict >classes/top down modular. > >A number of years ago clients were just happy to get operational code and at >the prices they had to pay they expected and got top quality work. Now the >emphasis is on speed and price and as long as its functions that is >acceptable. I think MS is culpable for much of the current atmosphere. > >They are excellent salespeople and they have sold the general public that by >'buying-up' they can get complex solutions with no more than some drags and >drops and few quick hacks. Now we are being expected to live up to that >dream. > > >Still on OT Friday mode: > >Art gallery Curator to an artist: > >Great news; all your paintings have sold! >The show is completely sold out!! > >Interestingly, the lady who bought them all says she is your doctor. > > >... You may be 59 but I am slowly gaining on you. > > >Have a good Christmas all >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of artful at rogers.com >Sent: Friday, December 22, 2006 7:09 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Operating Systems, Progress, The Illusion of Progess, >etc. > >I confess my age. I turned 59 about a month ago. > >I started out in 1982 using a Commodore 64 to which I had access once a >week. The first program I wrote was a game of craps. It could accept 4 >players and side bets in every direction. There was something very good >about having to print out the source and not be able to modify it for a >week. It caused one to think very carefully about one's revisions. > >In these modern instant-compile IDEs, that is gone. One simply writes code >and clicks the right arrow to see if compiles correctly (not the same as Is >it correct). I wouldn't wish the old days on young graduates, but there is >something important that is gone: reading one's listings and deducing the >flaws and not being able to adjust the code for a week, which causes one to >rethink and revise and rethink and revise. > >Back in the old days, we had a term, "Cowboy coders". This meant code and >load, no standards, load and go. Some of these people were fabulously >brilliant (Brian Russell, Rob McConnell, Denny Diaz, Tom Rettig, Russell >Freeland, Robert di Falco and some others that I knew personally). Brian and >Rob were exceptional in their devotion to documentation, and no slight upon >the others, but they were much more interested in getting it done than >documenting it. > >One of my many computers runs DOS 6.22 with Clipper and Artful.Lib. Yes it >was machine-specific, but yes, it was way way faster than any Windows >equivalent, even with 2GB of RAM and 2GZ of speed. Granted, we were dealing >with somewhat smaller problems back then (tables with only 5M rows rather >that 100M rows), but we made do and it worked. > >It's fun to work on that old DOS 6.22 box now and then. Clipper was a >fabulous program and I made a living using it and writing about it for about >a decade. I benchmark it against modern things like Access or SQL 2005 and >it holds its head proudly. > >I realize that the market has moved elsewhere, but to dismiss these previous >achievements is equivalent to saying there is no value in Vivaldi or Bach. >Only a complete idiot would say that. > >A. > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Sat Dec 23 12:23:59 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 23 Dec 2006 10:23:59 -0800 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <001001c726ab$8404f910$0200a8c0@danwaters> Message-ID: <0JAQ00CUAOCNW141@l-daemon> Hi Dan: I have worked with similar systems but they have only extended province wide. One of the most interesting ones connected to 18 offices. The architecture was created for a number of reasons given a series of limitations and a fixed budget. 1. The MS SQL database only had 12 connection licenses. 2. Some tables had up to .5 million records 3. It had to be very fast. 4. The FE Access 2000. 5. It had to be deployed from a central location. 6. It had to be able to support up to a hundred simultaneous users. 7. A tech would not be on all sites so any pre-configuration was difficult. 8. On some sites the connections were unstable. 1. The first issue that had to be handled was that there were insufficient licenses to have all the users directly connected (bound) at all times. So an unbound structure had to be implemented. 2 and 3. With large volumes of data and the requirements for big reports with 30 to 100 thousand records, data had to be moved quickly. Using ADO-OLE allowed data to stream at about 40,000 records per second over high speed lines. Using pass-through queries were a joke and ODBC connection, among other considerations was still too slow. 4 and 5. That was the best part as the Access presentation manager allowed the creation of full featured forms and excellent reports with no additional applications or expenses. MS Access was of course on every station by default so the application could be downloaded to any location and would run immediately. 6. By using an unbound concept, access to the data could be judiciously controlled. The FE would attach to the server, pull the data and then disconnect again or connect quickly to make adds, updates and deletions. The connection process was so fast that users rarely noticed any delays in service even under heavy load. 7. One of the main problems with ODBC is that the interface required tech support onsite or through the phone to properly install. Though this is one of the best connection methods it is slower than ADO-OLE direct connection. ADO on the other hand is installed and fully operational on all current Window OS computers... no tech support needed. 8. In summary, ADO-OLE, with unbound forms has very fast data transfer, if a connection is lost it can be quick established again, with not corruption or data lost. The only downside is that the initial design requires more work but subsequent support issues are minor. Sorry for the long winded description but I have used these concepts for over 10 years and my clients once their applications are up and running only call me back to add new features.... and to attend Christmas parties. (No, it is not that good but I thought I would throw that in but it has been a good year.) Regards Jim PS It works great with SQL Express but I have not tried building an application with Access 2007; yet. If you need any help just give me a call off-line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, December 23, 2006 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Sat Dec 23 15:49:51 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 23 Dec 2006 22:49:51 +0100 Subject: [AccessD] overflow Message-ID: <000c01c726dc$468461d0$4001a8c0@qmotionfaa3ad9> Hello Group, when using the search function below and when the position of the word that is used in the search-string in field "Plaats" is above 32,767 (memofield), i get an runtime error 6, overflow . I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", but still have the same error. I don't understand why? Pedro Janssen ------------------code------------------------------- Option Compare Database Dim plaats As Integer Private Sub Knop21_Click() If dummy <> "" Then tekstplaats = plaats If tekstplaats = 0 Then tekstplaats = 1 End If INHOUD.SetFocus plaats = INHOUD.SelStart + Len(dummy) + 1 plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) If plaats <> 0 Then INHOUD.SelStart = plaats - 1 INHOUD.SelLength = Len(dummy) Else INHOUD.SelStart = 0 INHOUD.SelLength = 0 End If tekstplaats = plaats Else MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" End If End Sub ------------------/code-------------------------- From gustav at cactus.dk Sat Dec 23 16:47:14 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Dec 2006 23:47:14 +0100 Subject: [AccessD] overflow Message-ID: Hi Pedro The value of SelStart itself is limited to the max. positive value of an Integer. /gustav >>> pedro at plex.nl 23-12-06 22:49 >>> Hello Group, when using the search function below and when the position of the word that is used in the search-string in field "Plaats" is above 32,767 (memofield), i get an runtime error 6, overflow . I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", but still have the same error. I don't understand why? Pedro Janssen ------------------code------------------------------- Option Compare Database Dim plaats As Integer Private Sub Knop21_Click() If dummy <> "" Then tekstplaats = plaats If tekstplaats = 0 Then tekstplaats = 1 End If INHOUD.SetFocus plaats = INHOUD.SelStart + Len(dummy) + 1 plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) If plaats <> 0 Then INHOUD.SelStart = plaats - 1 INHOUD.SelLength = Len(dummy) Else INHOUD.SelStart = 0 INHOUD.SelLength = 0 End If tekstplaats = plaats Else MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" End If End Sub ------------------/code-------------------------- -- From pedro at plex.nl Sat Dec 23 17:00:47 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 24 Dec 2006 00:00:47 +0100 Subject: [AccessD] overflow References: Message-ID: <000c01c726e6$31228d30$4001a8c0@qmotionfaa3ad9> Hello Gustav, i didn't know that. Can i use something else for this, or work around. Otherwise i have to use an other search function. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, December 23, 2006 11:47 PM Subject: Re: [AccessD] overflow > Hi Pedro > > The value of SelStart itself is limited to the max. positive value of an > Integer. > > /gustav > >>>> pedro at plex.nl 23-12-06 22:49 >>> > Hello Group, > > when using the search function below and when the position of the word > that is used in the search-string in field "Plaats" is above 32,767 > (memofield), i get an runtime error 6, overflow . > I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", > but still have the same error. I don't understand why? > > Pedro Janssen > > > > ------------------code------------------------------- > Option Compare Database > Dim plaats As Integer > > Private Sub Knop21_Click() > > If dummy <> "" Then > tekstplaats = plaats > If tekstplaats = 0 Then > tekstplaats = 1 > End If > INHOUD.SetFocus > > plaats = INHOUD.SelStart + Len(dummy) + 1 > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) > If plaats <> 0 Then > INHOUD.SelStart = plaats - 1 > INHOUD.SelLength = Len(dummy) > Else > INHOUD.SelStart = 0 > INHOUD.SelLength = 0 > End If > tekstplaats = plaats > Else > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" > End If > > End Sub > > ------------------/code-------------------------- > -- > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sat Dec 23 17:16:05 2006 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 24 Dec 2006 00:16:05 +0100 Subject: [AccessD] overflow Message-ID: Hi Pedro You could read in the memo field in chunks of 32K until a match or the last chunk is read. That should be fine, if all you need is to display a match. If you wish to edit the text, the plot thickens ... /gustav >>> pedro at plex.nl 24-12-06 0:00 >>> Hello Gustav, i didn't know that. Can i use something else for this, or work around. Otherwise i have to use an other search function. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, December 23, 2006 11:47 PM Subject: Re: [AccessD] overflow > Hi Pedro > > The value of SelStart itself is limited to the max. positive value of an > Integer. > > /gustav > >>>> pedro at plex.nl 23-12-06 22:49 >>> > Hello Group, > > when using the search function below and when the position of the word > that is used in the search-string in field "Plaats" is above 32,767 > (memofield), i get an runtime error 6, overflow . > I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", > but still have the same error. I don't understand why? > > Pedro Janssen > > > > ------------------code------------------------------- > Option Compare Database > Dim plaats As Integer > > Private Sub Knop21_Click() > > If dummy <> "" Then > tekstplaats = plaats > If tekstplaats = 0 Then > tekstplaats = 1 > End If > INHOUD.SetFocus > > plaats = INHOUD.SelStart + Len(dummy) + 1 > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) > If plaats <> 0 Then > INHOUD.SelStart = plaats - 1 > INHOUD.SelLength = Len(dummy) > Else > INHOUD.SelStart = 0 > INHOUD.SelLength = 0 > End If > tekstplaats = plaats > Else > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" > End If > > End Sub > > ------------------/code-------------------------- > -- From stuart at lexacorp.com.pg Sat Dec 23 17:58:36 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 24 Dec 2006 09:58:36 +1000 Subject: [AccessD] overflow In-Reply-To: References: Message-ID: <458DC2AC.20430.F8F3A6B@stuart.lexacorp.com.pg> Just a WAG, but sInce the maximum size of a textbox is 64K, a negative SelStart may work, so try: If plaats > 32767 then plaats = plaats - 65536 On 24 Dec 2006 at 0:16, Gustav Brock wrote: > Hi Pedro > > You could read in the memo field in chunks of 32K until a match or the last > chunk is read. That should be fine, if all you need is to display a match. > If you wish to edit the text, the plot thickens ... /gustav > > > >>> pedro at plex.nl 24-12-06 0:00 >>> > Hello Gustav, > > i didn't know that. > Can i use something else for this, or work around. > Otherwise i have to use an other search function. > > Pedro > > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, December 23, 2006 11:47 PM > Subject: Re: [AccessD] overflow > > > > Hi Pedro > > > > The value of SelStart itself is limited to the max. positive value of an > > Integer. > > > > /gustav > > > >>>> pedro at plex.nl 23-12-06 22:49 >>> > > Hello Group, > > > > when using the search function below and when the position of the word > > that is used in the search-string in field "Plaats" is above 32,767 > > (memofield), i get an runtime error 6, overflow . I changed in the code: > > "Dim plaats As Integer" to "Dim plaats As Long", but still have the same > > error. I don't understand why? > > > > Pedro Janssen > > > > > > > > ------------------code------------------------------- > > Option Compare Database > > Dim plaats As Integer > > > > Private Sub Knop21_Click() > > > > If dummy <> "" Then > > tekstplaats = plaats > > If tekstplaats = 0 Then > > tekstplaats = 1 > > End If > > INHOUD.SetFocus > > > > plaats = INHOUD.SelStart + Len(dummy) + 1 > > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) > > If plaats <> 0 Then > > INHOUD.SelStart = plaats - 1 > > INHOUD.SelLength = Len(dummy) > > Else > > INHOUD.SelStart = 0 > > INHOUD.SelLength = 0 > > End If > > tekstplaats = plaats > > Else > > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" > > End If > > > > End Sub > > > > ------------------/code-------------------------- > > -- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From jwcolby at colbyconsulting.com Sat Dec 23 21:47:53 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 23 Dec 2006 22:47:53 -0500 Subject: [AccessD] Interesting reading Message-ID: <00d401c7270e$4b3972b0$1501a8c0@m6805> http://www.realworldtech.com/page.cfm?ArticleID=RWT121106171654 &p=1 John W. Colby Colby Consulting www.ColbyConsulting.com From pedro at plex.nl Sun Dec 24 07:11:48 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 24 Dec 2006 14:11:48 +0100 Subject: [AccessD] overflow References: <458DC2AC.20430.F8F3A6B@stuart.lexacorp.com.pg> Message-ID: <001801c7275d$11b14320$4001a8c0@qmotionfaa3ad9> Hello Stuart, i changed the code (see below), but now it isn't working. After clicking the button, nothing happens. The second time clicking the button, the first word of the text is selected, the third time clicking, i get an error: Run-time error 5, invalid procedure call or argument. Pedro ------code---------------- Private Sub cmdSearch_Click() If dummy <> "" Then tekstplaats = plaats If tekstplaats = 0 Then tekstplaats = 1 End If INHOUD.SetFocus plaats = INHOUD.SelStart + Len(dummy) + 1 plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) If plaats > 32767 Then plaats = plaats - 65536 INHOUD.SelLength = Len(dummy) Else INHOUD.SelStart = 0 INHOUD.SelLength = 0 End If tekstplaats = plaats Else MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" End If End Sub -------------/code---------------------- ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 12:58 AM Subject: Re: [AccessD] overflow > Just a WAG, but sInce the maximum size of a textbox is 64K, > a negative SelStart may work, so try: > > If plaats > 32767 then plaats = plaats - 65536 > > > On 24 Dec 2006 at 0:16, Gustav Brock wrote: > >> Hi Pedro >> >> You could read in the memo field in chunks of 32K until a match or the >> last >> chunk is read. That should be fine, if all you need is to display a >> match. >> If you wish to edit the text, the plot thickens ... /gustav >> >> >> >>> pedro at plex.nl 24-12-06 0:00 >>> >> Hello Gustav, >> >> i didn't know that. >> Can i use something else for this, or work around. >> Otherwise i have to use an other search function. >> >> Pedro >> >> >> >> ----- Original Message ----- >> From: "Gustav Brock" >> To: >> Sent: Saturday, December 23, 2006 11:47 PM >> Subject: Re: [AccessD] overflow >> >> >> > Hi Pedro >> > >> > The value of SelStart itself is limited to the max. positive value of >> > an >> > Integer. >> > >> > /gustav >> > >> >>>> pedro at plex.nl 23-12-06 22:49 >>> >> > Hello Group, >> > >> > when using the search function below and when the position of the word >> > that is used in the search-string in field "Plaats" is above 32,767 >> > (memofield), i get an runtime error 6, overflow . I changed in the >> > code: >> > "Dim plaats As Integer" to "Dim plaats As Long", but still have the >> > same >> > error. I don't understand why? >> > >> > Pedro Janssen >> > >> > >> > >> > ------------------code------------------------------- >> > Option Compare Database >> > Dim plaats As Integer >> > >> > Private Sub Knop21_Click() >> > >> > If dummy <> "" Then >> > tekstplaats = plaats >> > If tekstplaats = 0 Then >> > tekstplaats = 1 >> > End If >> > INHOUD.SetFocus >> > >> > plaats = INHOUD.SelStart + Len(dummy) + 1 >> > plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) >> > If plaats <> 0 Then >> > INHOUD.SelStart = plaats - 1 >> > INHOUD.SelLength = Len(dummy) >> > Else >> > INHOUD.SelStart = 0 >> > INHOUD.SelLength = 0 >> > End If >> > tekstplaats = plaats >> > Else >> > MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" >> > End If >> > >> > End Sub >> > >> > ------------------/code-------------------------- >> > -- >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Sun Dec 24 07:14:32 2006 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 24 Dec 2006 14:14:32 +0100 Subject: [AccessD] overflow References: Message-ID: <001d01c7275d$735e9a50$4001a8c0@qmotionfaa3ad9> Hello Gustav, i don't need to edit so, how can i set the reading in chunks of 32K??? Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, December 24, 2006 12:16 AM Subject: Re: [AccessD] overflow > Hi Pedro > > You could read in the memo field in chunks of 32K until a match or the > last chunk is read. > That should be fine, if all you need is to display a match. If you wish to > edit the text, the plot thickens ... > /gustav > > >>>> pedro at plex.nl 24-12-06 0:00 >>> > Hello Gustav, > > i didn't know that. > Can i use something else for this, or work around. > Otherwise i have to use an other search function. > > Pedro > > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, December 23, 2006 11:47 PM > Subject: Re: [AccessD] overflow > > >> Hi Pedro >> >> The value of SelStart itself is limited to the max. positive value of an >> Integer. >> >> /gustav >> >>>>> pedro at plex.nl 23-12-06 22:49 >>> >> Hello Group, >> >> when using the search function below and when the position of the word >> that is used in the search-string in field "Plaats" is above 32,767 >> (memofield), i get an runtime error 6, overflow . >> I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", >> but still have the same error. I don't understand why? >> >> Pedro Janssen >> >> >> >> ------------------code------------------------------- >> Option Compare Database >> Dim plaats As Integer >> >> Private Sub Knop21_Click() >> >> If dummy <> "" Then >> tekstplaats = plaats >> If tekstplaats = 0 Then >> tekstplaats = 1 >> End If >> INHOUD.SetFocus >> >> plaats = INHOUD.SelStart + Len(dummy) + 1 >> plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) >> If plaats <> 0 Then >> INHOUD.SelStart = plaats - 1 >> INHOUD.SelLength = Len(dummy) >> Else >> INHOUD.SelStart = 0 >> INHOUD.SelLength = 0 >> End If >> tekstplaats = plaats >> Else >> MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" >> End If >> >> End Sub >> >> ------------------/code-------------------------- >> -- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sun Dec 24 08:27:21 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sun, 24 Dec 2006 06:27:21 -0800 Subject: [AccessD] Spanish Translations Message-ID: <000601c72767$a02f7d10$6901a8c0@HAL9005> Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com From dwaters at usinternet.com Sun Dec 24 09:34:35 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 24 Dec 2006 09:34:35 -0600 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <20578046.1166898433823.JavaMail.root@sniper41> Message-ID: <003e01c72771$04a3cd60$0200a8c0@danwaters> Hi Jim, I am going to keep your description to demonstrate that a system like this can be developed and used successfully! Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have worked with similar systems but they have only extended province wide. One of the most interesting ones connected to 18 offices. The architecture was created for a number of reasons given a series of limitations and a fixed budget. 1. The MS SQL database only had 12 connection licenses. 2. Some tables had up to .5 million records 3. It had to be very fast. 4. The FE Access 2000. 5. It had to be deployed from a central location. 6. It had to be able to support up to a hundred simultaneous users. 7. A tech would not be on all sites so any pre-configuration was difficult. 8. On some sites the connections were unstable. 1. The first issue that had to be handled was that there were insufficient licenses to have all the users directly connected (bound) at all times. So an unbound structure had to be implemented. 2 and 3. With large volumes of data and the requirements for big reports with 30 to 100 thousand records, data had to be moved quickly. Using ADO-OLE allowed data to stream at about 40,000 records per second over high speed lines. Using pass-through queries were a joke and ODBC connection, among other considerations was still too slow. 4 and 5. That was the best part as the Access presentation manager allowed the creation of full featured forms and excellent reports with no additional applications or expenses. MS Access was of course on every station by default so the application could be downloaded to any location and would run immediately. 6. By using an unbound concept, access to the data could be judiciously controlled. The FE would attach to the server, pull the data and then disconnect again or connect quickly to make adds, updates and deletions. The connection process was so fast that users rarely noticed any delays in service even under heavy load. 7. One of the main problems with ODBC is that the interface required tech support onsite or through the phone to properly install. Though this is one of the best connection methods it is slower than ADO-OLE direct connection. ADO on the other hand is installed and fully operational on all current Window OS computers... no tech support needed. 8. In summary, ADO-OLE, with unbound forms has very fast data transfer, if a connection is lost it can be quick established again, with not corruption or data lost. The only downside is that the initial design requires more work but subsequent support issues are minor. Sorry for the long winded description but I have used these concepts for over 10 years and my clients once their applications are up and running only call me back to add new features.... and to attend Christmas parties. (No, it is not that good but I thought I would throw that in but it has been a good year.) Regards Jim PS It works great with SQL Express but I have not tried building an application with Access 2007; yet. If you need any help just give me a call off-line. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, December 23, 2006 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters -- 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 colbyconsulting.com Sun Dec 24 12:42:49 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 24 Dec 2006 13:42:49 -0500 Subject: [AccessD] Interesting reading 2 Message-ID: <00ed01c7278b$508b1ca0$1501a8c0@m6805> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt From accessd at shaw.ca Sun Dec 24 15:35:23 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 24 Dec 2006 13:35:23 -0800 Subject: [AccessD] Interesting reading 2 In-Reply-To: <00ed01c7278b$508b1ca0$1501a8c0@m6805> Message-ID: <0JAS001QRRVJU971@l-daemon> Hi John: That article is down right frightening. If this implementation proceeds as described the ramifications are horrific. I hope this is just the ranting of George Orwellian paranoid...and not a real warning that some truly twisted people going for absolute control. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 24, 2006 10:43 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Interesting reading 2 http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Sun Dec 24 15:39:45 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 24 Dec 2006 16:39:45 -0500 Subject: [AccessD] Interesting reading 2 References: <00ed01c7278b$508b1ca0$1501a8c0@m6805> Message-ID: <002401c727a4$0899de90$0302a8c0@default> A most heroic act by Bill Gates ... A truly philanthropic effort to curb so-called 'free speech' ... Alas, it is merely a sandcastle against the tide. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, December 24, 2006 1:42 PM Subject: [AccessD] Interesting reading 2 > http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Dec 24 16:40:54 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 Dec 2006 17:40:54 -0500 Subject: [AccessD] Interesting reading 2 References: <0JAS001QRRVJU971@l-daemon> Message-ID: <001c01c727ac$92fe8380$4798eb44@50NM721> JC ...seems very xmas you do your best to dump coals here :) ...given the legal ramifications of software provider liability embedded in the successful RIAA suits against the peer to peer networks, I can't imagine MS doing anything else ...doesn't mean I like it or that it will be successful ...but something along these lines is inevitable. ...and the bell tolls for Apple, Sun, and Linux as well ...if you think for a minute that the legal eagles wont force them to adopt similar and compatible measures to avoid extensive liability awards, you're smoking something other than tobacco. ...just wish I knew which way to dodge to avoid my clients becoming collateral damage ...the thing that struck me hardest is that staying with XP isn't a solution :( ...hope you and Mary and the kids enjoy the best xmas yet :) William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Sunday, December 24, 2006 4:35 PM Subject: Re: [AccessD] Interesting reading 2 > Hi John: > > That article is down right frightening. If this implementation proceeds as > described the ramifications are horrific. I hope this is just the ranting > of > George Orwellian paranoid...and not a real warning that some truly twisted > people going for absolute control. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Sunday, December 24, 2006 10:43 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Interesting reading 2 > > http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt > > -- > 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 Sun Dec 24 17:35:55 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 25 Dec 2006 09:35:55 +1000 Subject: [AccessD] Interesting reading 2 In-Reply-To: <0JAS001QRRVJU971@l-daemon> References: <00ed01c7278b$508b1ca0$1501a8c0@m6805>, <0JAS001QRRVJU971@l-daemon> Message-ID: <458F0EDB.12588.14A0CA72@stuart.lexacorp.com.pg> On 24 Dec 2006 at 13:35, Jim Lawrence wrote: > Hi John: > > That article is down right frightening. If this implementation proceeds as > described the ramifications are horrific. I hope this is just the ranting of > George Orwellian paranoid...and not a real warning that some truly twisted > people going for absolute control. Peter Gutmann describes himself as "Professional Paranoid" but there's no doubting his knowledge in the field. Although he tends to use very emotive language, I'd be hard pressed to argue with his facts. -- Stuart From mmattys at rochester.rr.com Sun Dec 24 17:46:05 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 24 Dec 2006 18:46:05 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon> <001c01c727ac$92fe8380$4798eb44@50NM721> Message-ID: <004901c727b5$aff08d90$0302a8c0@default> http://www.watleyreview.com/2003/093003-1.html "Microsoft has filed 6,324 lawsuits in hundreds of courts around the country targeting anyone who has published what Microsoft considers to be "defamatory material." Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 5:40 PM Subject: Re: [AccessD] Interesting reading 2 > JC > > ...seems very xmas you do your best to dump coals here :) > > ...given the legal ramifications of software provider liability embedded > in > the successful RIAA suits against the peer to peer networks, I can't > imagine > MS doing anything else ...doesn't mean I like it or that it will be > successful ...but something along these lines is inevitable. > > ...and the bell tolls for Apple, Sun, and Linux as well ...if you think > for > a minute that the legal eagles wont force them to adopt similar and > compatible measures to avoid extensive liability awards, you're smoking > something other than tobacco. > > ...just wish I knew which way to dodge to avoid my clients becoming > collateral damage ...the thing that struck me hardest is that staying with > XP isn't a solution :( > > ...hope you and Mary and the kids enjoy the best xmas yet :) > > William Hindman > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, December 24, 2006 4:35 PM > Subject: Re: [AccessD] Interesting reading 2 > > >> Hi John: >> >> That article is down right frightening. If this implementation proceeds >> as >> described the ramifications are horrific. I hope this is just the ranting >> of >> George Orwellian paranoid...and not a real warning that some truly >> twisted >> people going for absolute control. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Sunday, December 24, 2006 10:43 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Interesting reading 2 >> >> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >> >> -- >> 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 wdhindman at dejpolsystems.com Sun Dec 24 22:00:59 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 Dec 2006 23:00:59 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon><001c01c727ac$92fe8380$4798eb44@50NM721> <004901c727b5$aff08d90$0302a8c0@default> Message-ID: <000501c727d9$4a7cd530$4798eb44@50NM721> ...there ought William Hindman ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 6:46 PM Subject: [AccessD] Interesting reading 3 > http://www.watleyreview.com/2003/093003-1.html > > "Microsoft has filed 6,324 lawsuits in hundreds of courts around the > country > targeting anyone who has published what Microsoft considers to be > "defamatory material." > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 5:40 PM > Subject: Re: [AccessD] Interesting reading 2 > > >> JC >> >> ...seems very xmas you do your best to dump coals here :) >> >> ...given the legal ramifications of software provider liability embedded >> in >> the successful RIAA suits against the peer to peer networks, I can't >> imagine >> MS doing anything else ...doesn't mean I like it or that it will be >> successful ...but something along these lines is inevitable. >> >> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think >> for >> a minute that the legal eagles wont force them to adopt similar and >> compatible measures to avoid extensive liability awards, you're smoking >> something other than tobacco. >> >> ...just wish I knew which way to dodge to avoid my clients becoming >> collateral damage ...the thing that struck me hardest is that staying >> with >> XP isn't a solution :( >> >> ...hope you and Mary and the kids enjoy the best xmas yet :) >> >> William Hindman >> >> ----- Original Message ----- >> From: "Jim Lawrence" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, December 24, 2006 4:35 PM >> Subject: Re: [AccessD] Interesting reading 2 >> >> >>> Hi John: >>> >>> That article is down right frightening. If this implementation proceeds >>> as >>> described the ramifications are horrific. I hope this is just the >>> ranting >>> of >>> George Orwellian paranoid...and not a real warning that some truly >>> twisted >>> people going for absolute control. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Sunday, December 24, 2006 10:43 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: [AccessD] Interesting reading 2 >>> >>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >>> >>> -- >>> 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 wdhindman at dejpolsystems.com Sun Dec 24 22:05:00 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 Dec 2006 23:05:00 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon><001c01c727ac$92fe8380$4798eb44@50NM721> <004901c727b5$aff08d90$0302a8c0@default> Message-ID: <000801c727d9$d9a31a80$4798eb44@50NM721> ...there ought to be an open season on all lawyers ...twice as long for tort lawyers ...all year long for government lawyers ...this country is sue crazy :( William Hindman ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 6:46 PM Subject: [AccessD] Interesting reading 3 > http://www.watleyreview.com/2003/093003-1.html > > "Microsoft has filed 6,324 lawsuits in hundreds of courts around the > country > targeting anyone who has published what Microsoft considers to be > "defamatory material." > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 5:40 PM > Subject: Re: [AccessD] Interesting reading 2 > > >> JC >> >> ...seems very xmas you do your best to dump coals here :) >> >> ...given the legal ramifications of software provider liability embedded >> in >> the successful RIAA suits against the peer to peer networks, I can't >> imagine >> MS doing anything else ...doesn't mean I like it or that it will be >> successful ...but something along these lines is inevitable. >> >> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think >> for >> a minute that the legal eagles wont force them to adopt similar and >> compatible measures to avoid extensive liability awards, you're smoking >> something other than tobacco. >> >> ...just wish I knew which way to dodge to avoid my clients becoming >> collateral damage ...the thing that struck me hardest is that staying >> with >> XP isn't a solution :( >> >> ...hope you and Mary and the kids enjoy the best xmas yet :) >> >> William Hindman >> >> ----- Original Message ----- >> From: "Jim Lawrence" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, December 24, 2006 4:35 PM >> Subject: Re: [AccessD] Interesting reading 2 >> >> >>> Hi John: >>> >>> That article is down right frightening. If this implementation proceeds >>> as >>> described the ramifications are horrific. I hope this is just the >>> ranting >>> of >>> George Orwellian paranoid...and not a real warning that some truly >>> twisted >>> people going for absolute control. >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>> Sent: Sunday, December 24, 2006 10:43 AM >>> To: 'Access Developers discussion and problem solving' >>> Subject: [AccessD] Interesting reading 2 >>> >>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >>> >>> -- >>> 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 mmattys at rochester.rr.com Sun Dec 24 22:11:50 2006 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 24 Dec 2006 23:11:50 -0500 Subject: [AccessD] Interesting reading 3 References: <0JAS001QRRVJU971@l-daemon> <001c01c727ac$92fe8380$4798eb44@50NM721> <004901c727b5$aff08d90$0302a8c0@default> <000801c727d9$d9a31a80$4798eb44@50NM721> Message-ID: <00a601c727da$cea3bee0$0302a8c0@default> None of that website is true, its satire. Spin is a powerful thing. It looks like the truth but it isn't. It almost killed me. (I agree with the thought on lawyers, though) Mattys ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, December 24, 2006 11:05 PM Subject: Re: [AccessD] Interesting reading 3 > ...there ought to be an open season on all lawyers ...twice as long for > tort > lawyers ...all year long for government lawyers ...this country is sue > crazy > :( > > William Hindman > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 6:46 PM > Subject: [AccessD] Interesting reading 3 > > >> http://www.watleyreview.com/2003/093003-1.html >> >> "Microsoft has filed 6,324 lawsuits in hundreds of courts around the >> country >> targeting anyone who has published what Microsoft considers to be >> "defamatory material." >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "William Hindman" >> To: "Access Developers discussion and problem solving" >> >> Sent: Sunday, December 24, 2006 5:40 PM >> Subject: Re: [AccessD] Interesting reading 2 >> >> >>> JC >>> >>> ...seems very xmas you do your best to dump coals here :) >>> >>> ...given the legal ramifications of software provider liability embedded >>> in >>> the successful RIAA suits against the peer to peer networks, I can't >>> imagine >>> MS doing anything else ...doesn't mean I like it or that it will be >>> successful ...but something along these lines is inevitable. >>> >>> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think >>> for >>> a minute that the legal eagles wont force them to adopt similar and >>> compatible measures to avoid extensive liability awards, you're smoking >>> something other than tobacco. >>> >>> ...just wish I knew which way to dodge to avoid my clients becoming >>> collateral damage ...the thing that struck me hardest is that staying >>> with >>> XP isn't a solution :( >>> >>> ...hope you and Mary and the kids enjoy the best xmas yet :) >>> >>> William Hindman >>> >>> ----- Original Message ----- >>> From: "Jim Lawrence" >>> To: "'Access Developers discussion and problem solving'" >>> >>> Sent: Sunday, December 24, 2006 4:35 PM >>> Subject: Re: [AccessD] Interesting reading 2 >>> >>> >>>> Hi John: >>>> >>>> That article is down right frightening. If this implementation proceeds >>>> as >>>> described the ramifications are horrific. I hope this is just the >>>> ranting >>>> of >>>> George Orwellian paranoid...and not a real warning that some truly >>>> twisted >>>> people going for absolute control. >>>> >>>> Jim >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >>>> Sent: Sunday, December 24, 2006 10:43 AM >>>> To: 'Access Developers discussion and problem solving' >>>> Subject: [AccessD] Interesting reading 2 >>>> >>>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt >>>> >>>> -- >>>> 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 Sun Dec 24 22:18:29 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 25 Dec 2006 14:18:29 +1000 Subject: [AccessD] Interesting reading 3 In-Reply-To: <000801c727d9$d9a31a80$4798eb44@50NM721> References: <0JAS001QRRVJU971@l-daemon>, <000801c727d9$d9a31a80$4798eb44@50NM721> Message-ID: <458F5115.32175.15A37D60@stuart.lexacorp.com.pg> Read the whole article again. Then, if still necessary, look up the definition of satire :-) Also see http://www.watleyreview.com/About.html On 24 Dec 2006 at 23:05, William Hindman wrote: > ...there ought to be an open season on all lawyers ...twice as long for tort > lawyers ...all year long for government lawyers ...this country is sue crazy > :( > > William Hindman > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, December 24, 2006 6:46 PM > Subject: [AccessD] Interesting reading 3 > > > > http://www.watleyreview.com/2003/093003-1.html > > > > "Microsoft has filed 6,324 lawsuits in hundreds of courts around the > > country targeting anyone who has published what Microsoft considers to be > > "defamatory material." > > > > Michael R. Mattys > > MapPoint & Access Dev > > www.mattysconsulting.com > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Sunday, December 24, 2006 5:40 PM > > Subject: Re: [AccessD] Interesting reading 2 > > > > > >> JC > >> > >> ...seems very xmas you do your best to dump coals here :) > >> > >> ...given the legal ramifications of software provider liability embedded > >> in the successful RIAA suits against the peer to peer networks, I can't > >> imagine MS doing anything else ...doesn't mean I like it or that it will > >> be successful ...but something along these lines is inevitable. > >> > >> ...and the bell tolls for Apple, Sun, and Linux as well ...if you think > >> for a minute that the legal eagles wont force them to adopt similar and > >> compatible measures to avoid extensive liability awards, you're smoking > >> something other than tobacco. > >> > >> ...just wish I knew which way to dodge to avoid my clients becoming > >> collateral damage ...the thing that struck me hardest is that staying > >> with XP isn't a solution :( > >> > >> ...hope you and Mary and the kids enjoy the best xmas yet :) > >> > >> William Hindman > >> > >> ----- Original Message ----- > >> From: "Jim Lawrence" > >> To: "'Access Developers discussion and problem solving'" > >> > >> Sent: Sunday, December 24, 2006 4:35 PM > >> Subject: Re: [AccessD] Interesting reading 2 > >> > >> > >>> Hi John: > >>> > >>> That article is down right frightening. If this implementation proceeds > >>> as described the ramifications are horrific. I hope this is just the > >>> ranting of George Orwellian paranoid...and not a real warning that some > >>> truly twisted people going for absolute control. > >>> > >>> Jim > >>> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > >>> Sent: Sunday, December 24, 2006 10:43 AM > >>> To: 'Access Developers discussion and problem solving' > >>> Subject: [AccessD] Interesting reading 2 > >>> > >>> http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt > >>> > >>> -- > >>> 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 -- Stuart From artful at rogers.com Sun Dec 24 22:52:00 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 24 Dec 2006 20:52:00 -0800 (PST) Subject: [AccessD] Interesting reading 3 Message-ID: <20061225045200.3251.qmail@web88205.mail.re2.yahoo.com> For a brilliant novel on exactly your conclusion, see my favorite American novelist's "A Frolic of His Own", by William Gaddis. I think he is the best novelist of the 20th century. "A Frolic" has many subplots among which is a guy who sues himself -- and on logically plausible grounds. I won't spoil it, in case you decide to read it. It's a little "difficult" in the sense that Tom Pynchon is, but it's also hysterically funny and a magnificent assault on the lawsuit industry. Merry Christmas. Arthur ----- Original Message ---- From: William Hindman To: Access Developers discussion and problem solving Sent: Sunday, December 24, 2006 11:05:00 PM Subject: Re: [AccessD] Interesting reading 3 ...there ought to be an open season on all lawyers ...twice as long for tort lawyers ...all year long for government lawyers ...this country is sue crazy :( William Hindman From Jim.Hale at FleetPride.com Tue Dec 26 09:18:02 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Dec 2006 09:18:02 -0600 Subject: [AccessD] Spanish Translations Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A0@corp-es01.fleetpride.com> Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Tue Dec 26 10:53:06 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 Dec 2006 08:53:06 -0800 Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets In-Reply-To: <001001c726ab$8404f910$0200a8c0@danwaters> Message-ID: I don't think it's a case of "must" any more, although it was in Access 2000. I haven't had occasion to work with ADO in Access since moving to XP and then 2003, so I can't say whether bound forms work right or not. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, December 23, 2006 8:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Jim, This OLEDB Provider could be used with an mdb as well as an adp (especially with SQL Server 2005 Express using Management Studio). Also, I think I read that Access 2007 can be used as an ADP with SQL Server 2005, but could also used with SQL Server 2000 in some sort of 'crippled' mode. All the discussions in this list seem to state that if you're using ADO you must use unbound forms, and bound forms are recommended for DAO/Jet but unbound forms could be used. This OLEDB provider: .provider = "Microsoft.Access.OLEDB.10.0" describes using bound forms with an ADO recordset. I have a currently working mdb database using DAO/Jet in one location that my client wants to have installed at various plants in North America. All these plants are on the same WAN, so a switch to ADO is completely feasible. But, my system has about 25,000 lines of code where all forms are bound. If I can use essentially the same system connected to ADO, I can switch over with a minimum of code rewriting and become much more valuable to them in the long term. My plan is to use Access 2003 (mdb) with SQL Server 2005 Express with Management Studio Express using this provider. Dan Waters -----Original Message----- Subject: Re: [AccessD] Updateable Access Forms Bound to ADO Recordsets Hi Dan: I have done most of my Access work with direct ADO-OLE connecting to MS SQL and Oracle databases since 1997. Performance increases are on another magnitude. Some jobs that would take an hour could be reduced to seconds by not using pass-through queries, ODBC drivers... and never using DAO MDB databases except to stash temporary local data. Note; that the MS article is describing an ADP type database and as far as I know that technology has a tenuous future... though my knowledge on its survival may not be current or complete and some other member may have further comment. HTH Jim PS I have rarely used bound forms -----Original Message----- Subject: [AccessD] Updateable Access Forms Bound to ADO Recordsets MS has published a seven page KB article on using updateable Access forms bound to an ADO recordset. This uses a specific OLEDB Provider with A2002 or A2003. The article discusses requirements for SQL Server, Oracle, and ODBC databases. Has anyone tried this or have any thoughts on what the performance might be on a WAN? http://support.microsoft.com/kb/281998 Thanks! Dan Waters From dwaters at usinternet.com Tue Dec 26 11:02:42 2006 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 Dec 2006 11:02:42 -0600 Subject: [AccessD] Test for Recordset Existence Message-ID: <002f01c7290f$ab029570$0200a8c0@danwaters> During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters From Jim.Hale at FleetPride.com Tue Dec 26 11:23:47 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Dec 2006 11:23:47 -0600 Subject: [AccessD] Test for Recordset Existence Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A2@corp-es01.fleetpride.com> How about this Jim Hale If Not (recset Is Nothing) Then recset.Close: Set recset = Nothing -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, December 26, 2006 11:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Tue Dec 26 11:30:30 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 26 Dec 2006 09:30:30 -0800 Subject: [AccessD] Test for Recordset Existence In-Reply-To: <002f01c7290f$ab029570$0200a8c0@danwaters> Message-ID: <0JAW00BGT5VUWYQ0@l-daemon> Hi Dan: I do not think you can test for all open recordsets. It is the programmer's responsibility to keep track of what is opened or closed. The following code will check to see if a specific recordset is open and close it: If Not MyRecordset Is Nothing Then MyRecordset.Close: Set MyRecordset = Nothing HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, December 26, 2006 9:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Dec 26 11:59:45 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Dec 2006 11:59:45 -0600 Subject: [AccessD] Test for Recordset Existence Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A3@corp-es01.fleetpride.com> something like this will work if you set up your recordsets as array elements. Jim Hale dim recset(1 To 5) As Recordset ....... For x = 1 To 5 If Not (recset(x) Is Nothing) Then recset(x).Close: Set recset(x) = Nothing Next x -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Tuesday, December 26, 2006 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test for Recordset Existence Hi Dan: I do not think you can test for all open recordsets. It is the programmer's responsibility to keep track of what is opened or closed. The following code will check to see if a specific recordset is open and close it: If Not MyRecordset Is Nothing Then MyRecordset.Close: Set MyRecordset = Nothing HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, December 26, 2006 9:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Tue Dec 26 12:06:02 2006 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 Dec 2006 12:06:02 -0600 Subject: [AccessD] Test for Recordset Existence In-Reply-To: <28623093.1167154285839.JavaMail.root@sniper47> Message-ID: <003001c72918$81d0fee0$0200a8c0@danwaters> Jim & Jim! Thanks for the quick response! I'm working again! :-) Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, December 26, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test for Recordset Existence How about this Jim Hale If Not (recset Is Nothing) Then recset.Close: Set recset = Nothing -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, December 26, 2006 11:03 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Test for Recordset Existence During error handling, I want to test for the existence of a DAO recordset. If the recordset has been set but not closed and set to nothing, then I want to close it and set it to nothing. How do I do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Dec 26 16:23:21 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 26 Dec 2006 14:23:21 -0800 (PST) Subject: [AccessD] Script an Access database? Message-ID: <20061226222321.90209.qmail@web88202.mail.re2.yahoo.com> Is there a built-in or freeware or shareware tool that can script an Access database? By that I mean, generate the create-table statements and the insert statements required to populate the tables. Ideally, the tool would let me choose the tables of interest. What I want is the MS-SQL version of said statements. Normally I would use SSIS to import the data, or alternatively the upsizing wizard. In the former case, it doesn't like something about the database. In the latter case, I'm running into a real oddity (Access 2003) -- if the database is open I get a message that says I cannot run the import/export wizard with any databases open, and if I close the database, the wizard is greyed out. TIA, Arthur From artful at rogers.com Tue Dec 26 16:27:49 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 26 Dec 2006 14:27:49 -0800 (PST) Subject: [AccessD] Script an Access Database Message-ID: <20061226222749.91536.qmail@web88202.mail.re2.yahoo.com> I don't know what changed, but I just ran SSIS again and this time it was successful, so I have solved my immediate problem. Arthur From kp at sdsonline.net Tue Dec 26 17:31:54 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Wed, 27 Dec 2006 10:31:54 +1100 Subject: [AccessD] Spanish Translations References: <000601c72767$a02f7d10$6901a8c0@HAL9005> Message-ID: <000c01c72946$082fd330$6501a8c0@office> Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gwsmith at iowatelecom.net Tue Dec 26 22:33:02 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Tue, 26 Dec 2006 22:33:02 -0600 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <000c01c72946$082fd330$6501a8c0@office> Message-ID: <002701c72970$18a3c350$0202fea9@dads> Hi everyone. Has anyone gotten this message, with no body, just Subject and the From: From: drive-bounces at databaseadvisors.com And the subject was: You have been unsubscribed from the Drive mailing list I think it's a spam, and I'm still receiving your posts, so ? Greg From askolits at ot.com Tue Dec 26 22:37:11 2006 From: askolits at ot.com (John Skolits) Date: Tue, 26 Dec 2006 23:37:11 -0500 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <002701c72970$18a3c350$0202fea9@dads> Message-ID: <000001c72970$acce36a0$800101df@officexp> I did not get it -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Tuesday, December 26, 2006 11:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Has anyone else gotten this? Hi everyone. Has anyone gotten this message, with no body, just Subject and the From: From: drive-bounces at databaseadvisors.com And the subject was: You have been unsubscribed from the Drive mailing list I think it's a spam, and I'm still receiving your posts, so ? Greg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Dec 27 01:31:19 2006 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 26 Dec 2006 23:31:19 -0800 (PST) Subject: [AccessD] link subform to subform Message-ID: <20061227073119.45323.qmail@web31609.mail.mud.yahoo.com> Thnx. That did it. ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving Sent: Saturday, December 23, 2006 4:17:20 PM Subject: Re: [AccessD] link subform to subform I am assuming that two subforms are both physically in the main form, i.e. one subform is not inside the other subform. The way to do this is to have a control on the main form, whose source data is a control in the one of the child forms. Thus when the child form changes record, the control up on the main form changes. Now link the second subform to that control up in the main form. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Saturday, December 23, 2006 7:47 AM To: Acces User Group Subject: [AccessD] link subform to subform Hi group, i've got a form with 2 subforms eg: Mainform = fParent Subform1 = fsubParent_Child Subform2 = fsubChild Subform1 links to mainform. Subform2 needs to link to subform1 Question: how can i link subform2 to subform1?? TIA Sander __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Wed Dec 27 02:50:18 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Dec 2006 09:50:18 +0100 Subject: [AccessD] GeoNames (was: pull data from web page) Message-ID: Hi John et al And Arthur, didn't you work with look up of regions, cities, and streets? > I look for the day that all tabular data is available this way. Maybe this site can prove useful: http://www.geonames.org The geonames.org geographical database is available for download free of charge under a creative commons attribution license. It contains over eight million geographical names and consists of 6.3 million unique features whereof 2.2 million populated places and 1.8 million alternate names. All features are categorized into one out of nine feature classes and further subcategorized into one out of 645 feature codes. (more statistics ...). The data is accessible free of charge through a number of webservices and a daily database export. Geonames.org is already serving up to over 3 million web service requests per day. The page on how to retrieve data: http://www.geonames.org/export/ I have no idea of the fidelity of the information except that I searched for some places I know. Most were right, but the tiny Rosenborg Castle (Rosenborg Slot) and the Citadel Fort (Kastellet) were both off by some hundred meters. However, you can create an account and do your own corrections which I did. Now the positions are correct. So don't rely too much on attractions and the like. More hard facts like postal codes seem to be correct. /gustav >>> jwcolby at colbyconsulting.com 19-12-2006 13:47 >>> I was particularly intrigued by the fact that the XML object could just load the xml file right off the internet without having to go through explorer. Things are getting better. I look for the day that all tabular data is available this way. From pedro at plex.nl Wed Dec 27 04:18:53 2006 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 27 Dec 2006 11:18:53 +0100 Subject: [AccessD] overflow References: <000c01c726e6$31228d30$4001a8c0@qmotionfaa3ad9> Message-ID: <007601c729a0$69121f50$4001a8c0@qmotionfaa3ad9> Hello Gustav and Stuart, have you received the response to your mail, on my question, by accessd. I ask this because it was Christmas eve, so it could have slipped your attention. Pedro Janssen From Gustav at cactus.dk Wed Dec 27 05:38:32 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Dec 2006 12:38:32 +0100 Subject: [AccessD] overflow Message-ID: Hi Pedro You could also find the chunk, assign it to an unbound textbox, and then search that textbox: Public Function GetMemoChunk( _ ByVal strMemo As String, _ ByVal strSearch As String) _ As String Const clngChunk As Long = &H8000& Dim lngPos As Long Dim strChunk As String lngPos = InStr(1, strMemo, strSearch, vbTextCompare) If lngPos > 0 Then Debug.Print Int(lngPos / clngChunk) strChunk = Mid(strMemo, 1 + (Int(lngPos / clngChunk) * clngChunk), clngChunk) End If GetMemoChunk = strChunk End Function Then: Set rst = Me.RecordsetClone ' varMemo = rst!BigMemoField.Value If Not IsNull(varMemo) Then strChunk = GetMemoChunk(varMemo, strSearch) If Len(strChunk) = 0 Then ' Search string not found in memo. Else With Me!txtMemoSearch .Value = strChunk ' Perform search in txtMemoSearch textbox to display found string. ' ' Clean up. .Value = Null End With End If End If rst.Close Set rst = Nothing /gustav >>> pedro at plex.nl 24-12-2006 14:14 >>> Hello Gustav, i don't need to edit so, how can i set the reading in chunks of 32K??? Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, December 24, 2006 12:16 AM Subject: Re: [AccessD] overflow > Hi Pedro > > You could read in the memo field in chunks of 32K until a match or the > last chunk is read. > That should be fine, if all you need is to display a match. If you wish to > edit the text, the plot thickens ... > /gustav > > >>>> pedro at plex.nl 24-12-06 0:00 >>> > Hello Gustav, > > i didn't know that. > Can i use something else for this, or work around. > Otherwise i have to use an other search function. > > Pedro > > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, December 23, 2006 11:47 PM > Subject: Re: [AccessD] overflow > > >> Hi Pedro >> >> The value of SelStart itself is limited to the max. positive value of an >> Integer. >> >> /gustav >> >>>>> pedro at plex.nl 23-12-06 22:49 >>> >> Hello Group, >> >> when using the search function below and when the position of the word >> that is used in the search-string in field "Plaats" is above 32,767 >> (memofield), i get an runtime error 6, overflow . >> I changed in the code: "Dim plaats As Integer" to "Dim plaats As Long", >> but still have the same error. I don't understand why? >> >> Pedro Janssen >> >> >> >> ------------------code------------------------------- >> Option Compare Database >> Dim plaats As Integer >> >> Private Sub Knop21_Click() >> >> If dummy <> "" Then >> tekstplaats = plaats >> If tekstplaats = 0 Then >> tekstplaats = 1 >> End If >> INHOUD.SetFocus >> >> plaats = INHOUD.SelStart + Len(dummy) + 1 >> plaats = InStr(tekstplaats + 1, INHOUD, dummy, 1) >> If plaats <> 0 Then >> INHOUD.SelStart = plaats - 1 >> INHOUD.SelLength = Len(dummy) >> Else >> INHOUD.SelStart = 0 >> INHOUD.SelLength = 0 >> End If >> tekstplaats = plaats >> Else >> MsgBox "Kan geen lege tekst zoeken !!", 16, "Tekst zoeken" >> End If >> >> End Sub >> >> ------------------/code-------------------------- From andy at minstersystems.co.uk Wed Dec 27 05:38:43 2006 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 27 Dec 2006 11:38:43 -0000 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <000001c72970$acce36a0$800101df@officexp> Message-ID: <00e801c729ab$93eda540$ceb10c54@minster33c3r25> Nor me. Just spam I reckon Greg -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Skolits > Sent: 27 December 2006 04:37 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Has anyone else gotten this? > > > I did not get it > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Tuesday, December 26, 2006 11:33 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Has anyone else gotten this? > > > Hi everyone. > > Has anyone gotten this message, with no body, just Subject > and the From: > > From: > drive-bounces at databaseadvisors.com > > And the subject was: > You have been unsubscribed from the Drive mailing list > > I think it's a spam, and I'm still receiving your posts, so ? > > Greg > > > -- > 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 bchacc at san.rr.com Wed Dec 27 08:07:49 2006 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Wed, 27 Dec 2006 09:07:49 -0500 Subject: [AccessD] Spanish Translations Message-ID: <380-220061232714749949@M2W010.mail2web.com> Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From bchacc at san.rr.com Wed Dec 27 08:09:36 2006 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Wed, 27 Dec 2006 09:09:36 -0500 Subject: [AccessD] Spanish Translations Message-ID: <380-22006123271493649@M2W004.mail2web.com> Kath: I may ask you for some of the message boxes, then. Thanks. Rocky Original Message: ----------------- From: Kath Pelletti kp at sdsonline.net Date: Wed, 27 Dec 2006 10:31:54 +1100 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.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 -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From carbonnb at gmail.com Wed Dec 27 08:15:20 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 27 Dec 2006 09:15:20 -0500 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <002701c72970$18a3c350$0202fea9@dads> References: <000c01c72946$082fd330$6501a8c0@office> <002701c72970$18a3c350$0202fea9@dads> Message-ID: On 12/26/06, Greg Smith wrote: > > Hi everyone. > > Has anyone gotten this message, with no body, just Subject and the From: > > From: > drive-bounces at databaseadvisors.com > > And the subject was: > You have been unsubscribed from the Drive mailing list > > I think it's a spam, and I'm still receiving your posts, so ? It's not spam. It's a little burp that the mail server has had over the holidays. I think it had too much egg nog. -- 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 Kwilliamson at RTKL.com Wed Dec 27 09:31:33 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 27 Dec 2006 10:31:33 -0500 Subject: [AccessD] Query Mathematics Message-ID: Hi all, Is it possible to do a "percent of total" calculation within a summary query? I have a query that sums up actual hours worked, by profit center; and then divides this by the standard actual hours in the pay period. This gives me the FTE (full-time equivalents) employees per profit center. I, then, want to take the total FTE of each center, and calculate the percent of all FTE's. Is it possible to do this in the query? Here is the Center FTE expression: CenterFTE: Sum([ActReg])/(First([countoftimewkend])*40) And I'd like to divide the above, by the total of all CenterFTE expressions. I've been doing this in a report, but am trying to get this calculation down to the query level, for ease of exporting into excel. Thanks for any help. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com From gwsmith at iowatelecom.net Wed Dec 27 10:00:31 2006 From: gwsmith at iowatelecom.net (Greg Smith) Date: Wed, 27 Dec 2006 10:00:31 -0600 (CST) Subject: [AccessD] Has anyone else gotten this? In-Reply-To: References: <000c01c72946$082fd330$6501a8c0@office> <002701c72970$18a3c350$0202fea9@dads> Message-ID: <16165.65.118.249.214.1167235231.squirrel@webmail.iowatelecom.net> Ok...thanks Bryan.? It obviously was WRONG since we are having this conversation...:D Greg ? On 12/26/06, Greg Smith wrote: > > Hi everyone. > > Has anyone gotten this message, with no body, just Subject and the From: > > From: > drive-bounces at databaseadvisors.com > > And the subject was: > You have been unsubscribed from the Drive mailing list > > I think it's a spam, and I'm still receiving your posts, so ? It's not spam. It's a little burp that the mail server has had over the holidays. I think it had too much egg nog. -- 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!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Wed Dec 27 10:16:27 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 27 Dec 2006 11:16:27 -0500 Subject: [AccessD] Has anyone else gotten this? In-Reply-To: <16165.65.118.249.214.1167235231.squirrel@webmail.iowatelecom.net> References: <000c01c72946$082fd330$6501a8c0@office> <002701c72970$18a3c350$0202fea9@dads> <16165.65.118.249.214.1167235231.squirrel@webmail.iowatelecom.net> Message-ID: On 12/27/06, Greg Smith wrote: > Ok...thanks Bryan. It obviously was WRONG since we are having > this conversation...:D Glad to help. Glad I had time to read the list. Gotta love 10 days off work :) -- 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 askolits at ot.com Wed Dec 27 10:24:17 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 11:24:17 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <380-220061232714749949@M2W010.mail2web.com> Message-ID: <000e01c729d3$7801a340$800101df@officexp> Rocky, You may already know about this, but are you using Alex Dybenko language translator program. I sued it quite a few years ago and it was slick. You still have to map translations but you can switch between the languages on the fly. I just visited his website and didn't see the program mentioned. Maybe he gave up on it, but when I used it, it worked really well. His web site is: http://alex.dybenko.com/ John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Wed Dec 27 10:25:02 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 11:25:02 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <380-220061232714749949@M2W010.mail2web.com> Message-ID: <001101c729d3$92c5bfe0$800101df@officexp> Oh, I just found the link to the translation program: http://www.pointltd.com/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szayko at secor.com Wed Dec 27 10:36:31 2006 From: szayko at secor.com (Steve Zayko) Date: Wed, 27 Dec 2006 08:36:31 -0800 Subject: [AccessD] Spanish Translations Message-ID: <5D71EC0BA06F7C41B6088EF70CA4014E0EA2AE@exchangecolo.secor.com> Hey Rocky: I do a lot of engineering work in Central America and have some contacts that I could use to help with some of the smaller technical items. -Z Stephen R. Zayko PE SECOR International Inc 2321 Club Meridian Drive Ste E Okemos, MI 48864 (517) 349-9499 ext 224 (517) 204-5136 (c) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 26, 2006 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.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 Kwilliamson at RTKL.com Wed Dec 27 14:58:01 2006 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 27 Dec 2006 15:58:01 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <000e01c729d3$7801a340$800101df@officexp> Message-ID: Did you Sue them, or Use them? ;)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, December 27, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spanish Translations Rocky, You may already know about this, but are you using Alex Dybenko language translator program. I sued it quite a few years ago and it was slick. You still have to map translations but you can switch between the languages on the fly. I just visited his website and didn't see the program mentioned. Maybe he gave up on it, but when I used it, it worked really well. His web site is: http://alex.dybenko.com/ John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.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 DorisH3 at aol.com Wed Dec 27 15:19:40 2006 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Wed, 27 Dec 2006 16:19:40 EST Subject: [AccessD] question on report Message-ID: I have a report that summarizes and cannot get it to summarize properly. I have a group of volunteers that volunteer their time and each one will work several events and several days in the office. I am keeping track of their hours in a special table...that is TimeIn and TimeOut...each volunteer has a number and the only thing I keep in this table is VolunteerNum, Date, TimeIn, TimeOut and the EventNumber. I have a query, thanks to A.D.Tejpal, that uses the following fields: VolunteerNum, VolunteerNm, TimeIn, TimeOut, DtWorked(using Count in the Totals row), then in the Total row used Expression for the following two fields: ElapsedMinutes: Fn_GetMinutes([TimeInHW],[TimeOutHW]) and ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes([TimeInHW],[TimeOutHW])) along with VB code as follows: Public Function HoursAndMinutes(interval As Variant) As String '*********************************************************************** ' Function HoursAndMinutes(interval As Variant) As String ' Returns time interval formatted as a hours:minutes string '*********************************************************************** Dim totalminutes As Long, totalseconds As Long Dim Hours As Long, Minutes As Long, seconds As Long If IsNull(interval) = True Then Exit Function Hours = Int(CSng(interval * 24)) totalminutes = Int(CSng(interval * 1440)) ' 1440 = 24 hrs * 60 mins Minutes = totalminutes Mod 60 totalseconds = Int(CSng(interval * 86400)) ' 86400 = 1440 * 60 secs seconds = totalseconds Mod 60 If seconds > 30 Then Minutes = Minutes + 1 ' round up the minutes and If Minutes > 59 Then Hours = Hours + 1: Minutes = 0 ' adjust hours HoursAndMinutes = Hours & ":" & Format(Minutes, "00") End Function Public Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed between a starting Date/Time and an ending ' Date/Time formatted as a string that looks like this: ' "10 days, 20 hours, 30 minutes, 40 seconds". '********************************************************************* Dim interval As Double, str As String, days As Variant Dim Hours As String, Minutes As String, seconds As String If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) Hours = Format(interval, "h") Minutes = Format(interval, "n") seconds = Format(interval, "s") ' Days part of the string str = IIf(days = 0, "", _ IIf(days = 1, days & " Day", days & " Days")) str = str & IIf(days = 0, "", _ IIf(Hours & Minutes & seconds <> "000", ", ", " ")) ' Hours part of the string str = str & IIf(Hours = "0", "", _ IIf(Hours = "1", Hours & " Hour", Hours & " Hours")) str = str & IIf(Hours = "0", "", _ IIf(Minutes & seconds <> "00", ", ", " ")) ' Minutes part of the string str = str & IIf(Minutes = "0", "", _ IIf(Minutes = "1", Minutes & " Minute", Minutes & " Minutes")) str = str & IIf(Minutes = "0", "", IIf(seconds <> "0", ", ", " ")) ' Seconds part of the string str = str & IIf(seconds = "0", "", _ IIf(seconds = "1", seconds & " Second", seconds & " Seconds")) ElapsedTimeString = IIf(str = "", "0", str) End Function Public Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed in days between a starting Date/Time and ' an ending Date/Time formatted as a string that looks like this: ' "10 days" or "1 day". '********************************************************************* Dim interval As Double, days As Variant If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) ElapsedDays = IIf(days = 1, days & " Day", days & " Days") End Function Now, in the report I need to summarize each volunteer doing a count of the days worked, summarize the total hours that they worked, then I need to multiply the workmens comp rate($6.15) by the number of hours they worked. Then at the end of the report I have to give a grand total for the hours and grand total for the dollars. I have tried several ways to do the calculation on number of hours worked and workmens comp rate but have had no success. Thanks in advance for any help that comes my way...I appreciate this list that's for sure. Doris From askolits at ot.com Wed Dec 27 15:33:08 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 16:33:08 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: Message-ID: <001a01c729fe$9d9b6f70$6701a8c0@LaptopXP> Oh well, I actually 'used' them but suing them must have been on my mind at the time I suggested it. (I guess.) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, December 27, 2006 3:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations Did you Sue them, or Use them? ;)) Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, December 27, 2006 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spanish Translations Rocky, You may already know about this, but are you using Alex Dybenko language translator program. I sued it quite a few years ago and it was slick. You still have to map translations but you can switch between the languages on the fly. I just visited his website and didn't see the program mentioned. Maybe he gave up on it, but when I used it, it worked really well. His web site is: http://alex.dybenko.com/ John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of bchacc at san.rr.com Sent: Wednesday, December 27, 2006 9:08 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Thanks Jim. That will be really helpful. I'll try not to take advantage. Regards, Rocky Original Message: ----------------- From: Hale, Jim Jim.Hale at fleetpride.com Date: Tue, 26 Dec 2006 09:18:02 -0600 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Rocky, My wife's native language is spanish and she has a business background. She'll be happy to help. Write her at nhale at houston.rr.com Regards, Jim Hale -----Original Message----- From: Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, December 24, 2006 8:27 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.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 martyconnelly at shaw.ca Wed Dec 27 15:47:08 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Dec 2006 13:47:08 -0800 Subject: [AccessD] Spanish Translations In-Reply-To: <001a01c729fe$9d9b6f70$6701a8c0@LaptopXP> References: <001a01c729fe$9d9b6f70$6701a8c0@LaptopXP> Message-ID: <4592E9DC.7040007@shaw.ca> I remember the original program was sold from the Moscow Access User Group site. Michael Kaplan gave it his recommendation and he wrote a book on VB6 Internationalization. John Skolits wrote: >Oh well, I actually 'used' them but suing them must have been on my mind at >the time I suggested it. (I guess.) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Wednesday, December 27, 2006 3:58 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Spanish Translations > >Did you Sue them, or Use them? ;)) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, December 27, 2006 11:24 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Spanish Translations > >Rocky, > >You may already know about this, but are you using Alex Dybenko language >translator program. I sued it quite a few years ago and it was slick. >You >still have to map translations but you can switch between the languages >on >the fly. I just visited his website and didn't see the program >mentioned. >Maybe he gave up on it, but when I used it, it worked really well. > >His web site is: http://alex.dybenko.com/ > >John Skolits > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >bchacc at san.rr.com >Sent: Wednesday, December 27, 2006 9:08 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > >Thanks Jim. That will be really helpful. I'll try not to take >advantage. > >Regards, > >Rocky > > >Original Message: >----------------- >From: Hale, Jim Jim.Hale at fleetpride.com >Date: Tue, 26 Dec 2006 09:18:02 -0600 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > > >Rocky, >My wife's native language is spanish and she has a business background. >She'll be happy to help. Write her at nhale at houston.rr.com > >Regards, >Jim Hale > >-----Original Message----- >From: Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Sunday, December 24, 2006 8:27 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Spanish Translations > > >Dear List: > > > >I am translating my manufacturing software into Spanish with the help of >my >son and a couple of users of the system in Mexico. Is there anyone on >the >list here who speaks Spanish of whom I could ask a few translations of >technical and manufacturing terms? > > > >MTIA, > > > > > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Wed Dec 27 16:02:18 2006 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 27 Dec 2006 16:02:18 -0600 Subject: [AccessD] Query Mathematics Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> Keith, create a query that generates the total you want as the denominator. In the query grid add this query without any join to the other query . Add the field from this summary query to the grid. When you run the query you will see the total from the summary query will appear in every record. This will enable you to create a new field dividing each number by the total. HTH Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Wednesday, December 27, 2006 9:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Query Mathematics Hi all, Is it possible to do a "percent of total" calculation within a summary query? I have a query that sums up actual hours worked, by profit center; and then divides this by the standard actual hours in the pay period. This gives me the FTE (full-time equivalents) employees per profit center. I, then, want to take the total FTE of each center, and calculate the percent of all FTE's. Is it possible to do this in the query? Here is the Center FTE expression: CenterFTE: Sum([ActReg])/(First([countoftimewkend])*40) And I'd like to divide the above, by the total of all CenterFTE expressions. I've been doing this in a report, but am trying to get this calculation down to the query level, for ease of exporting into excel. Thanks for any help. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Wed Dec 27 16:12:19 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Dec 2006 14:12:19 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> Message-ID: <4592EFC3.4070400@shaw.ca> A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada From darrend at nimble.com.au Wed Dec 27 17:09:22 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 28 Dec 2006 10:09:22 +1100 Subject: [AccessD] Bit OT: Restore Network Connections in a batch file Message-ID: <200612272309.kBRN9QR23895@databaseadvisors.com> Hi All I have a batch file that moves files from various places to other places - servers etc But from time to time if I haven't refreshed my Drive letters in the My computer window - by actually double clicking them to see the root folders -then I get all sorts of error messages about not being able to connect to drive such and such or invalid drive spec or just errors in the copy routines What I wanted was a line or two that I could just drop at the top of the batch file that will reconnect to the drives and send usernames and passwords with it without having to remember to open My Computer and double click the drives Is this an easy thing to do? Anyone got any samples / links? Many thanks in advance Darren From stuart at lexacorp.com.pg Wed Dec 27 17:35:08 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 Dec 2006 09:35:08 +1000 Subject: [AccessD] Bit OT: Restore Network Connections in a batch file In-Reply-To: <200612272309.kBRN9QR23895@databaseadvisors.com> References: <200612272309.kBRN9QR23895@databaseadvisors.com> Message-ID: <4593032C.917.2CC5B44@stuart.lexacorp.com.pg> On 28 Dec 2006 at 10:09, Darren DICK wrote: > What I wanted was a line or two that I could just drop at the top of the > batch file that will reconnect to the drives and send usernames and > passwords with it without having to remember to open My Computer and double > click the drives "Net use" Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. net use [devicename | *] [\\computername\sharename[\volume]] [password | *]] [/user:[domainname\]username] [[/delete] | [/persistent:{yes | no}]] net use devicename [/home[password | *]] [/delete:{yes | no}] net use [/persistent:{yes | no}] Parameters none Used without parameters, net use retrieves a list of network connections. devicename Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of device names: disk drives (D: through Z:) and printers (LPT1: through LPT3:). Type an asterisk instead of a specific device name to assign the next available device name. \\computername\sharename Specifies the name of the server and the shared resource. If computername contains blank characters, enclose the entire computer name from the double backslash (\\) to the end of the computer name in quotation marks (" "). The computer name may be from 1 to 15 characters long. \volume Specifies a NetWare volume on the server. You must have Client Service for NetWare (Windows 2000 Professional) or Gateway Service for NetWare (Windows 2000 Server) installed and running to connect to NetWare servers, password Specifies the password needed to access the shared resource. * Produces a prompt for the password. The password is not displayed when you type it at the password prompt. /user Specifies a different user name with which the connection is made. domainname Specifies another domain. For example, net use d:\\server\share /user:admin\mariel connects the user identifier mariel as if the connection were made from the admin domain. If domainname is omitted, the current logged on domain is used. username Specifies the user name with which to log on. /delete Cancels the specified network connection. If the user specifies the connection with an asterisk, all network connections are canceled. /home Connects a user to the home directory. /persistent Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. yes Saves all connections as they are made, and restores them at next logon. no Does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use the /delete switch to remove persistent connections. -- Stuart From askolits at ot.com Wed Dec 27 18:11:04 2006 From: askolits at ot.com (John Skolits) Date: Wed, 27 Dec 2006 19:11:04 -0500 Subject: [AccessD] Spanish Translations In-Reply-To: <4592E9DC.7040007@shaw.ca> Message-ID: <002601c72a14$ae00f7c0$6701a8c0@LaptopXP> Well, I was asked by a customer about translating my app to about 5 different languages. I got Alex's program, customized it a bit and had it finished in a day. They were amazed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, December 27, 2006 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations I remember the original program was sold from the Moscow Access User Group site. Michael Kaplan gave it his recommendation and he wrote a book on VB6 Internationalization. John Skolits wrote: >Oh well, I actually 'used' them but suing them must have been on my mind at >the time I suggested it. (I guess.) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Wednesday, December 27, 2006 3:58 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Spanish Translations > >Did you Sue them, or Use them? ;)) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, December 27, 2006 11:24 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Spanish Translations > >Rocky, > >You may already know about this, but are you using Alex Dybenko language >translator program. I sued it quite a few years ago and it was slick. >You >still have to map translations but you can switch between the languages >on >the fly. I just visited his website and didn't see the program >mentioned. >Maybe he gave up on it, but when I used it, it worked really well. > >His web site is: http://alex.dybenko.com/ > >John Skolits > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >bchacc at san.rr.com >Sent: Wednesday, December 27, 2006 9:08 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > >Thanks Jim. That will be really helpful. I'll try not to take >advantage. > >Regards, > >Rocky > > >Original Message: >----------------- >From: Hale, Jim Jim.Hale at fleetpride.com >Date: Tue, 26 Dec 2006 09:18:02 -0600 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > > >Rocky, >My wife's native language is spanish and she has a business background. >She'll be happy to help. Write her at nhale at houston.rr.com > >Regards, >Jim Hale > >-----Original Message----- >From: Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Sunday, December 24, 2006 8:27 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Spanish Translations > > >Dear List: > > > >I am translating my manufacturing software into Spanish with the help of >my >son and a couple of users of the system in Mexico. Is there anyone on >the >list here who speaks Spanish of whom I could ask a few translations of >technical and manufacturing terms? > > > >MTIA, > > > > > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darrend at nimble.com.au Wed Dec 27 18:33:09 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 28 Dec 2006 11:33:09 +1100 Subject: [AccessD] Bit OT: Restore Network Connections in a batch file In-Reply-To: <4593032C.917.2CC5B44@stuart.lexacorp.com.pg> Message-ID: <200612280033.kBS0XBR14141@databaseadvisors.com> Hi Stuart Brilliant - thanks How's the H3 going? Darren ------------------ T: 0424 696 433 -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, 28 December 2006 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bit OT: Restore Network Connections in a batch file On 28 Dec 2006 at 10:09, Darren DICK wrote: > What I wanted was a line or two that I could just drop at the top of the > batch file that will reconnect to the drives and send usernames and > passwords with it without having to remember to open My Computer and double > click the drives "Net use" Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. net use [devicename | *] [\\computername\sharename[\volume]] [password | *]] [/user:[domainname\]username] [[/delete] | [/persistent:{yes | no}]] net use devicename [/home[password | *]] [/delete:{yes | no}] net use [/persistent:{yes | no}] Parameters none Used without parameters, net use retrieves a list of network connections. devicename Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of device names: disk drives (D: through Z:) and printers (LPT1: through LPT3:). Type an asterisk instead of a specific device name to assign the next available device name. \\computername\sharename Specifies the name of the server and the shared resource. If computername contains blank characters, enclose the entire computer name from the double backslash (\\) to the end of the computer name in quotation marks (" "). The computer name may be from 1 to 15 characters long. \volume Specifies a NetWare volume on the server. You must have Client Service for NetWare (Windows 2000 Professional) or Gateway Service for NetWare (Windows 2000 Server) installed and running to connect to NetWare servers, password Specifies the password needed to access the shared resource. * Produces a prompt for the password. The password is not displayed when you type it at the password prompt. /user Specifies a different user name with which the connection is made. domainname Specifies another domain. For example, net use d:\\server\share /user:admin\mariel connects the user identifier mariel as if the connection were made from the admin domain. If domainname is omitted, the current logged on domain is used. username Specifies the user name with which to log on. /delete Cancels the specified network connection. If the user specifies the connection with an asterisk, all network connections are canceled. /home Connects a user to the home directory. /persistent Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. yes Saves all connections as they are made, and restores them at next logon. no Does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use the /delete switch to remove persistent connections. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From k.williamson5 at verizon.net Wed Dec 27 19:50:26 2006 From: k.williamson5 at verizon.net (Keith Williamson) Date: Wed, 27 Dec 2006 20:50:26 -0500 Subject: [AccessD] Query Mathematics In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DE1A6@corp-es01.fleetpride.com> Message-ID: <002001c72a22$91046ef0$650010ac@KeithHome> Cool! Thanks!! I'll give that a try. Regards, Keith -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, December 27, 2006 5:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Mathematics Keith, create a query that generates the total you want as the denominator. In the query grid add this query without any join to the other query . Add the field from this summary query to the grid. When you run the query you will see the total from the summary query will appear in every record. This will enable you to create a new field dividing each number by the total. HTH Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Wednesday, December 27, 2006 9:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Query Mathematics Hi all, Is it possible to do a "percent of total" calculation within a summary query? I have a query that sums up actual hours worked, by profit center; and then divides this by the standard actual hours in the pay period. This gives me the FTE (full-time equivalents) employees per profit center. I, then, want to take the total FTE of each center, and calculate the percent of all FTE's. Is it possible to do this in the query? Here is the Center FTE expression: CenterFTE: Sum([ActReg])/(First([countoftimewkend])*40) And I'd like to divide the above, by the total of all CenterFTE expressions. I've been doing this in a report, but am trying to get this calculation down to the query level, for ease of exporting into excel. Thanks for any help. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Dec 27 20:39:43 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 27 Dec 2006 20:39:43 -0600 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: <002001c72a22$91046ef0$650010ac@KeithHome> Message-ID: <091701c72a29$6f5bee70$026fa8c0@lcmdv8000> Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From ssharkins at setel.com Wed Dec 27 20:54:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 27 Dec 2006 21:54:01 -0500 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: <091701c72a29$6f5bee70$026fa8c0@lcmdv8000> Message-ID: <002e01c72a2b$6e95cd60$e732fad1@SUSANONE> I've seen this work in rare cases. Open Excel and then open the mdb file in Excel (choose All Files from the File Type option). If it works, save the worksheet with the Access data as an xls file. Then, import the data from the xls file back into your database. Susan H. Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.18/585 - Release Date: 12/13/2006 From adtp at airtelbroadband.in Wed Dec 27 23:11:11 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 28 Dec 2006 10:41:11 +0530 Subject: [AccessD] question on report References: Message-ID: <001d01c72a3e$cb6102e0$ba06177d@pcadt> Doris, Apparently, you wish to incorporate some additional features, subsequent to your earlier thread. It would be helpful to have a look at the latest state of your db. If you send a zipped copy of your file along with self contained note, I could look into it. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: DorisH3 at aol.com To: accessd at databaseadvisors.com Sent: Thursday, December 28, 2006 02:49 Subject: [AccessD] question on report I have a report that summarizes and cannot get it to summarize properly. I have a group of volunteers that volunteer their time and each one will work several events and several days in the office. I am keeping track of their hours in a special table...that is TimeIn and TimeOut...each volunteer has a number and the only thing I keep in this table is VolunteerNum, Date, TimeIn, TimeOut and the EventNumber. I have a query, thanks to A.D.Tejpal, that uses the following fields: VolunteerNum, VolunteerNm, TimeIn, TimeOut, DtWorked(using Count in the Totals row), then in the Total row used Expression for the following two fields: ElapsedMinutes: Fn_GetMinutes([TimeInHW],[TimeOutHW]) and ElapsedTime: Fn_FormatMinutes(Fn_GetMinutes([TimeInHW],[TimeOutHW])) along with VB code as follows: Public Function HoursAndMinutes(interval As Variant) As String '*********************************************************************** ' Function HoursAndMinutes(interval As Variant) As String ' Returns time interval formatted as a hours:minutes string '*********************************************************************** Dim totalminutes As Long, totalseconds As Long Dim Hours As Long, Minutes As Long, seconds As Long If IsNull(interval) = True Then Exit Function Hours = Int(CSng(interval * 24)) totalminutes = Int(CSng(interval * 1440)) ' 1440 = 24 hrs * 60 mins Minutes = totalminutes Mod 60 totalseconds = Int(CSng(interval * 86400)) ' 86400 = 1440 * 60 secs seconds = totalseconds Mod 60 If seconds > 30 Then Minutes = Minutes + 1 ' round up the minutes and If Minutes > 59 Then Hours = Hours + 1: Minutes = 0 ' adjust hours HoursAndMinutes = Hours & ":" & Format(Minutes, "00") End Function Public Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedTimeString(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed between a starting Date/Time and an ending ' Date/Time formatted as a string that looks like this: ' "10 days, 20 hours, 30 minutes, 40 seconds". '********************************************************************* Dim interval As Double, str As String, days As Variant Dim Hours As String, Minutes As String, seconds As String If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) Hours = Format(interval, "h") Minutes = Format(interval, "n") seconds = Format(interval, "s") ' Days part of the string str = IIf(days = 0, "", _ IIf(days = 1, days & " Day", days & " Days")) str = str & IIf(days = 0, "", _ IIf(Hours & Minutes & seconds <> "000", ", ", " ")) ' Hours part of the string str = str & IIf(Hours = "0", "", _ IIf(Hours = "1", Hours & " Hour", Hours & " Hours")) str = str & IIf(Hours = "0", "", _ IIf(Minutes & seconds <> "00", ", ", " ")) ' Minutes part of the string str = str & IIf(Minutes = "0", "", _ IIf(Minutes = "1", Minutes & " Minute", Minutes & " Minutes")) str = str & IIf(Minutes = "0", "", IIf(seconds <> "0", ", ", " ")) ' Seconds part of the string str = str & IIf(seconds = "0", "", _ IIf(seconds = "1", seconds & " Second", seconds & " Seconds")) ElapsedTimeString = IIf(str = "", "0", str) End Function Public Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String '********************************************************************* ' Function ElapsedDays(dateTimeStart As Date, dateTimeEnd As Date) As String ' Returns the time elapsed in days between a starting Date/Time and ' an ending Date/Time formatted as a string that looks like this: ' "10 days" or "1 day". '********************************************************************* Dim interval As Double, days As Variant If IsNull(dateTimeStart) = True Or _ IsNull(dateTimeEnd) = True Then Exit Function interval = dateTimeEnd - dateTimeStart days = Fix(CSng(interval)) ElapsedDays = IIf(days = 1, days & " Day", days & " Days") End Function Now, in the report I need to summarize each volunteer doing a count of the days worked, summarize the total hours that they worked, then I need to multiply the workmens comp rate($6.15) by the number of hours they worked. Then at the end of the report I have to give a grand total for the hours and grand total for the dollars. I have tried several ways to do the calculation on number of hours worked and workmens comp rate but have had no success. Thanks in advance for any help that comes my way...I appreciate this list that's for sure. Doris From artful at rogers.com Wed Dec 27 23:43:04 2006 From: artful at rogers.com (artful at rogers.com) Date: Wed, 27 Dec 2006 21:43:04 -0800 (PST) Subject: [AccessD] Surrogates vs Natural Message-ID: <20061228054304.70928.qmail@web88214.mail.re2.yahoo.com> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Dec 28 01:18:43 2006 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 27 Dec 2006 23:18:43 -0800 (PST) Subject: [AccessD] Handle quotes (') in strings Message-ID: <20061228071843.51670.qmail@web31603.mail.mud.yahoo.com> Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From accessd at shaw.ca Thu Dec 28 02:22:22 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Dec 2006 00:22:22 -0800 Subject: [AccessD] Handle quotes (') in strings In-Reply-To: <20061228071843.51670.qmail@web31603.mail.mud.yahoo.com> Message-ID: <0JAZ008HM5U3SAM0@l-daemon> Hi Sad: Here is a function that I standardly use in a number of my applications for removing particular strings: Public Function StripInvalidCharacter(ChkText As String, strInvalidCharacter As String) Dim lbPosition As Integer Dim lbLength As Integer lbLength = Len(ChkText) lbPosition = InStr(1, ChkText, strInvalidCharacter) Do While lbPosition > 0 And lbPosition < lbLength ChkText = Left(ChkText, lbPosition - 1) & Mid(ChkText, lbPosition + 1) lbPosition = InStr(lbPosition + 2, ChkText, strInvalidCharacter) Loop StripInvalidCharacter = ChkText End Function The previous code takes the string to be stripped and the string to be removed and then returns a clean string. This routine works with any Access versions. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Wednesday, December 27, 2006 11:19 PM To: Acces User Group Subject: [AccessD] Handle quotes (') in strings Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Dec 28 04:22:28 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 11:22:28 +0100 Subject: [AccessD] DB Corruption, Memo field? Message-ID: Hi Larry Perhaps you could attach the table from a new db. The create a query SELECT TOP n * FROM tblTable ORDER BY ID ASC Narrow n down to return as many records as possible. Now reverse it to pick from the bottom: SELECT TOP n * FROM tblTable ORDER BY ID DESC The combined output from these two queries should retrieve all but the corrupted record(s). /gustav >>> lmrazek at lcm-res.com 28-12-2006 03:39 >>> Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From Gustav at cactus.dk Thu Dec 28 04:44:03 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 11:44:03 +0100 Subject: [AccessD] Surrogates vs Natural Message-ID: Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Thu Dec 28 04:53:01 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 11:53:01 +0100 Subject: [AccessD] Handle quotes (') in strings Message-ID: Hi Sander Look up Stuart's message of 2006-11-01: Dealing with single quotes and double quotes at the same time You can use Replace() to perform the task. /gustav >>> accessd666 at yahoo.com 28-12-2006 08:18 >>> Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... From ssharkins at setel.com Thu Dec 28 07:43:16 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 28 Dec 2006 08:43:16 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <000301c72a86$25697140$b234fad1@SUSANONE> There's really nothing wrong with letting the user view the primary key value, just can't let the user change it. I can see a situation where a user might use an AutoNumber primary key value for some kind of paper trail -- auditing purposes for quick lists or something like that. Years ago, I tracked PO's and one of the things the controller forced me to do was to keep a running list of PO numbers and who had them. Now, I could do that using the software, but he insisted on having a hand-written list that I was responsible for. I use an Access database to store all my article/book topics and track payments. I use an AutoNumber pk, which I use to quickly find records. My work orders (internal, just for me) have the pk and when I need to update the record, I just find that record. Now, admittedly, if I had built this for users, I wouldn't force them to do this -- but for me, it's a shortcut. I think I can see users needing to see some kind of identifying value in some cases. You could go to the trouble to create a number for this purpose, but I don't see why you would. In the end, development has evolved beyond the original rules. Yes, they're the foundation of all the decisions we make, but everything changes. Susan H. Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav From bchacc at san.rr.com Thu Dec 28 08:18:50 2006 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Thu, 28 Dec 2006 09:18:50 -0500 Subject: [AccessD] Spanish Translations Message-ID: <380-2200612428141850509@M2W025.mail2web.com> Stephen: Thanks for the offer. I'll definitely take you up on that. At the moment I'm looking for the current term for Burden Percent or Burden Rate. Thanks and regards, Rocky Original Message: ----------------- From: Steve Zayko szayko at secor.com Date: Wed, 27 Dec 2006 08:36:31 -0800 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Spanish Translations Hey Rocky: I do a lot of engineering work in Central America and have some contacts that I could use to help with some of the smaller technical items. -Z Stephen R. Zayko PE SECOR International Inc 2321 Club Meridian Drive Ste E Okemos, MI 48864 (517) 349-9499 ext 224 (517) 204-5136 (c) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, December 26, 2006 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations Hi Rocky - I speak Spanish but technical and manufacturing terms would be beyond me I think, Kath ----- Original Message ----- From: Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, December 25, 2006 1:27 AM Subject: [AccessD] Spanish Translations Dear List: I am translating my manufacturing software into Spanish with the help of my son and a couple of users of the system in Mexico. Is there anyone on the list here who speaks Spanish of whom I could ask a few translations of technical and manufacturing terms? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.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 -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From askolits at ot.com Thu Dec 28 08:50:02 2006 From: askolits at ot.com (John Skolits) Date: Thu, 28 Dec 2006 09:50:02 -0500 Subject: [AccessD] Month Control Vs a Calendar control In-Reply-To: <380-2200612428141850509@M2W025.mail2web.com> Message-ID: <001201c72a8f$77f1be50$6701a8c0@LaptopXP> I use the calendar control often, but does anyone have a quick 'Month' control where it displays the months. I can certainly create a custom form and make it a pop-up but didn't know if there was a slick control out there that would return the Month/Year. Thanks, John From dwaters at usinternet.com Thu Dec 28 09:00:51 2006 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 28 Dec 2006 09:00:51 -0600 Subject: [AccessD] Handle quotes (') in strings In-Reply-To: <33406201.1167290889323.JavaMail.root@sniper55> Message-ID: <001901c72a90$f821cb50$0200a8c0@danwaters> Hi Sander, You can use the Replace function. Try this: stgStringVariable = "'s-hertogenbosch" stgSQL = "INSERT INTO tblTest (FieldName)" _ & " VALUES('" & Replace(stgStringVariable, "'", "''") & "')" Docmd.RunSQL stgSQL Dan Waters -----Original Message----- Subject: [AccessD] Handle quotes (') in strings Hi group, I need to insert several strings in a table. These strings CAN contain quotes ('). Does anybody have a routine lying around that handles these quotes? e.g. I need to insert values like: 's-hertogenbosch I need this urgently!! TIA!!! Sander PS Sorry for being so blunt... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Dec 28 09:01:34 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 15:01:34 +0000 Subject: [AccessD] Month Control Vs a Calendar control In-Reply-To: <001201c72a8f$77f1be50$6701a8c0@LaptopXP> Message-ID: John, This may be oversimplifying your problem...but could you use =Format(Date(),"mmm") to get the month and then a + or - button with DateAdd("m", 1, Me!MyDate)...to create your own month display? Hope it helps, Mark A. Matte >From: "John Skolits" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] Month Control Vs a Calendar control >Date: Thu, 28 Dec 2006 09:50:02 -0500 > >I use the calendar control often, but does anyone have a quick 'Month' >control where it displays the months. I can certainly create a custom form >and make it a pop-up but didn't know if there was a slick control out >there >that would return the Month/Year. > >Thanks, > >John > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=football&icid=T001MSN30A0701 From wdhindman at dejpolsystems.com Thu Dec 28 09:29:13 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 10:29:13 -0500 Subject: [AccessD] Month Control Vs a Calendar control References: <001201c72a8f$77f1be50$6701a8c0@LaptopXP> Message-ID: <000b01c72a94$ee67e0a0$5658eb44@50NM721> www.lebans.com William Hindman ----- Original Message ----- From: "John Skolits" To: "'Access Developers discussion and problem solving'" Sent: Thursday, December 28, 2006 9:50 AM Subject: [AccessD] Month Control Vs a Calendar control >I use the calendar control often, but does anyone have a quick 'Month' > control where it displays the months. I can certainly create a custom form > and make it a pop-up but didn't know if there was a slick control out > there > that would return the Month/Year. > > Thanks, > > John > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lmrazek at lcm-res.com Thu Dec 28 10:10:09 2006 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 28 Dec 2006 10:10:09 -0600 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: Message-ID: <09ba01c72a9a$a67d7b00$026fa8c0@lcmdv8000> Thanks Gustav and Susan: No dice on Susan's idea ... Still received the error message and shutdown (in Excel this time! ). Gustav's idea should work (hopefully), since I can browse the records OK up until a certain point. I'll let you know my results. Thanks again! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 4:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DB Corruption, Memo field? Hi Larry Perhaps you could attach the table from a new db. The create a query SELECT TOP n * FROM tblTable ORDER BY ID ASC Narrow n down to return as many records as possible. Now reverse it to pick from the bottom: SELECT TOP n * FROM tblTable ORDER BY ID DESC The combined output from these two queries should retrieve all but the corrupted record(s). /gustav >>> lmrazek at lcm-res.com 28-12-2006 03:39 >>> Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Dec 28 10:43:43 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 16:43:43 +0000 Subject: [AccessD] DB Corruption, Memo field? Message-ID: Larry, Its been awhile since I've dealt with corruption...There was an extensive discussion here, summer '05 I believe, you might find it in the archives. Another method I've used in the past was opening the table in VBA as a recordset(NO sorting) and looping through the records one at a time. I think you can then use LEN() of the memo field(or field that is corrupted) to test for errors/value. At this point you can do 1 of 2 things...or both: 1. Test the LEN() and append the good records and skip the bad. 2. Test the LEN() and skip the GOOD records and append the PK of the bad in a new table(so you can look at the bad later. If you can't get it to work...I would be happy, if you want/can, to take a stab at it. Good Luck, Mark A. Matte P.S...In '05 someone on the list asked me to write an article, or something, about isolating/removing corrupt records. About the same time I ended up having a couple of major surgeries and completely forgot about it until this thread came up. I want to apologize to Someone...but not sure Who. If someone reading this is that Who or Someone, I apologize...and if there is still a want/need for the article, outline, or whatever it was...please let me know. Thanks, Mark A. Matte >From: "Lawrence Mrazek" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] DB Corruption, Memo field? >Date: Thu, 28 Dec 2006 10:10:09 -0600 > >Thanks Gustav and Susan: > >No dice on Susan's idea ... Still received the error message and shutdown >(in Excel this time! ). > >Gustav's idea should work (hopefully), since I can browse the records OK up >until a certain point. I'll let you know my results. > >Thanks again! > >Larry Mrazek >LCM Research, Inc. >www.lcm-res.com >lmrazek at lcm-res.com >ph. 314-432-5886 >mobile: 314-496-1645 > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Thursday, December 28, 2006 4:22 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] DB Corruption, Memo field? > >Hi Larry > >Perhaps you could attach the table from a new db. >The create a query > > SELECT TOP n * FROM tblTable > ORDER BY ID ASC > >Narrow n down to return as many records as possible. >Now reverse it to pick from the bottom: > > SELECT TOP n * FROM tblTable > ORDER BY ID DESC > >The combined output from these two queries should retrieve all but the >corrupted record(s). > >/gustav > > >>> lmrazek at lcm-res.com 28-12-2006 03:39 >>> >Hi Folks: > >Using Access XP/2002 > >I'm currently troubleshooting a corruption issue that I think I've narrowed >down to a specific table in my DB (we'll call it tblAnnoyance ), as I >can >import / export every other table in the db without any problems except >"tblAnnoyance". > >Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet >Utility), with no luck ... The compact gets to a certain point and then >Access shuts down. > >I've also tried to browse the table to see if I can find any errors, but >once I get to a certain point, the db shuts down as well. I've found that >if >I delete a memo field in the table (tblAnnoyance) using a copy of the >database, the Access will compact and repair. So I guess the problem is >with >the specific memo field, but I really don't want to have to delete the >field, since I've been having problems copying data from the field as well. > >Any hints as to where I should go from here? > >Larry Mrazek >LCM Research, Inc. >www.lcm-res.com >lmrazek at lcm-res.com >ph. 314-432-5886 >mobile: 314-496-1645 > > >-- >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 _________________________________________________________________ Get FREE Web site and company branded e-mail from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From askolits at ot.com Thu Dec 28 10:47:24 2006 From: askolits at ot.com (John Skolits) Date: Thu, 28 Dec 2006 11:47:24 -0500 Subject: [AccessD] Month Control Vs a Calendar control In-Reply-To: Message-ID: <003f01c72a9f$dceb4000$6701a8c0@LaptopXP> Mark, Sure, I could do that but I was looking for something a bit fancier. William, Thanks. That's what I was looking for! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, December 28, 2006 10:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Month Control Vs a Calendar control John, This may be oversimplifying your problem...but could you use =Format(Date(),"mmm") to get the month and then a + or - button with DateAdd("m", 1, Me!MyDate)...to create your own month display? Hope it helps, Mark A. Matte >From: "John Skolits" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] Month Control Vs a Calendar control >Date: Thu, 28 Dec 2006 09:50:02 -0500 > >I use the calendar control often, but does anyone have a quick 'Month' >control where it displays the months. I can certainly create a custom form >and make it a pop-up but didn't know if there was a slick control out >there >that would return the Month/Year. > >Thanks, > >John > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=football&icid=T001MSN30A0701 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Dec 28 10:49:02 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 28 Dec 2006 11:49:02 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <007901c72aa0$165d84b0$8abea8c0@XPS> Gustav, <<".. never used in queries' resultsets, DRI or anything else that a user does.">> That's the way I understood it as well; not exposed to the user. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 5:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." http://www.tdan.com/i038ht04.htm -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Dec 28 10:50:09 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 08:50:09 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." From markamatte at hotmail.com Thu Dec 28 10:56:20 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 16:56:20 +0000 Subject: [AccessD] Searching our archives In-Reply-To: <007901c72aa0$165d84b0$8abea8c0@XPS> Message-ID: Hello All, Can someone explain how searching the AccessD archives work? For example: I search for a key word and it gives me a bunch of results...no dates...but if I open one of the results I have the option to sort by date...when I do this...still no dates shown...but the header states that the results are from 1 month only (not sure how that month is determined). With this how would I isolate something in a specific time frame? Thanks, Mark A. Matte _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden Globes has it all. http://tv.msn.com/tv/globes2007/ From Gustav at cactus.dk Thu Dec 28 11:06:09 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Dec 2006 18:06:09 +0100 Subject: [AccessD] Surrogates vs Natural Message-ID: Hi Charlotte > If not one can see it, how can you use it?? I think he means "you" or the user can't see it; the "system" uses it (for relations between tables). But these discussions remind me of what we here label bodega-talk - endless discussions with no real purpose and with the ends tied together so it can continue forever. /gustav PS: "Bodega" here is not a nice place where people are tasting wine but a sort of low-level pub with lots of smoke and filled with "clever" people. >>> cfoust at infostatsystems.com 28-12-2006 17:50 >>> >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." From jimdettman at verizon.net Thu Dec 28 11:49:58 2006 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 28 Dec 2006 12:49:58 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <008a01c72aa8$9851abb0$8abea8c0@XPS> Charlotte, << If not one can see it, how can you use it??>> I think the point he was trying to make is that since it is not verifiable, a user should not be exposed to it. It doesn't relate to anything. As John has said in the past last time we had this discussion, true surrogates function as a physical pointer. Based on that functionality, why would you show it to the user? But if you use an auto number as a natural key (ie. use it as a Purchase Order Number), then you would want it exposed. A lot of this boils down to semantics and what you consider a "natural" key to be. Is a VIN # on a car natural? Certainly not in the same sense that a fingerprint is for a human. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 28, 2006 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Surrogates vs Natural >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Thu Dec 28 11:59:01 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 28 Dec 2006 12:59:01 -0500 Subject: [AccessD] DB Corruption, Memo field? In-Reply-To: Message-ID: <003601c72aa9$de1b01e0$b234fad1@SUSANONE> P.S...In '05 someone on the list asked me to write an article, or something, about isolating/removing corrupt records. About the same time I ended up having a couple of major surgeries and completely forgot about it until this thread came up. I want to apologize to Someone...but not sure Who. If someone reading this is that Who or Someone, I apologize...and if there is still a want/need for the article, outline, or whatever it was...please let me know. Thanks, Mark A. Matte ========Most likely, that was me. If you're still interested, contact me privately at ssharkins at setel.com. For the whole gang, I'm always interested in solutions that I can write up as articles. Don't wait for me to ask if you think you've got something good that you'd like to share. I can't promise it'll make print, but might as well try -- no guts no glory and all that... ;) Susan H. From cfoust at infostatsystems.com Thu Dec 28 11:59:50 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 09:59:50 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: <008a01c72aa8$9851abb0$8abea8c0@XPS> Message-ID: OK, I never use autonumbers as anything but pointers. They have no other meaning anyhow, and should not. That still leaves me confused by his denunciation of autonumbers as surrogates, since they are certainly not natural. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, December 28, 2006 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Surrogates vs Natural Charlotte, << If not one can see it, how can you use it??>> I think the point he was trying to make is that since it is not verifiable, a user should not be exposed to it. It doesn't relate to anything. As John has said in the past last time we had this discussion, true surrogates function as a physical pointer. Based on that functionality, why would you show it to the user? But if you use an auto number as a natural key (ie. use it as a Purchase Order Number), then you would want it exposed. A lot of this boils down to semantics and what you consider a "natural" key to be. Is a VIN # on a car natural? Certainly not in the same sense that a fingerprint is for a human. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, December 28, 2006 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Surrogates vs Natural >>Auto-numbering is an exposed physical locator and not a surrogate." The problem I have with that is how you're supposed to be able to hide a surrogate. I don't normally let users see my autonumbers, so does that make them OK? His statement doesn't sound like it, so I'm baffled by what he would consider a "real" surrogate key. If not one can see it, how can you use it?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 28, 2006 2:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Surrogates vs Natural Hi Marty and Arthur I've found that you always should wear glasses when reading Joe's stuff. But I think he is right here; what is the problem by switching from 10-digit UPC to 14-digit EAN numbers for retail articles? And I guess this is nothing more than a typo: ".. never used in queries, DRI or anything else that a user does." Should read: ".. never used in queries' resultsets, DRI or anything else that a user does." /gustav >>> artful at rogers.com 28-12-2006 06:43 >>> Joe and I have corresponded occasionally for several years. I deeply respect his knowledge and depth but here and there I take issue with him. This is one case in point. Suppose that I create a table Sales with an Autonumber (or Identity if in SQL). What is wrong with exposing this value to the user? Of course, the front end should prevent editing of this value, but that is another question. I do not see the problem with exposing the ANPK to the user. It becomes the SalesID and the printout exposes it and the customer uses this number when calling to question about the Sale. What is wrong with that? Maybe I'm missing something here, but I've been doing it this way for 20+ years and cannot recall a problem with it. I don't care about sequences without gaps. I don't care if you attempt to insert then cancel 100 times in a row. Not my issue. But should you insert and save and then print it (to PDF for email or whatever), then the customer has a unique number to refer to this sale. I don't understand why we should add a new number. What is wrong with the PK? Granted, the systems should not allow this number to be edited, but aside from that, what is the problem? Arthur ----- Original Message ---- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 5:12:19 PM Subject: [AccessD] Surrogates vs Natural A Bit More on Defining Keys Joe Celko spouts off on one of the basics of database design. This statement should set it off. " This means that a surrogate ought to act like an index; created by the user," managed by the system and NEVER seen by a user. That means never used in queries, DRI or anything else that a user does. Auto-numbering is an exposed physical locator and not a surrogate." -- 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 ssharkins at setel.com Thu Dec 28 12:03:49 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 28 Dec 2006 13:03:49 -0500 Subject: [AccessD] Surrogates vs Natural In-Reply-To: Message-ID: <003701c72aaa$8768fcc0$b234fad1@SUSANONE> Charlotte, it sounds like he doesn't like surrogates -- that's what I got out of the comment. Susan H. OK, I never use autonumbers as anything but pointers. They have no other meaning anyhow, and should not. That still leaves me confused by his denunciation of autonumbers as surrogates, since they are certainly not natural. From hollisvj at pgdp.usec.com Thu Dec 28 12:39:48 2006 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Thu, 28 Dec 2006 12:39:48 -0600 Subject: [AccessD] Read-Only Tables Message-ID: <703BDA18A87DFA4CB265A86F42E4178D0188B437@c2k3exchange.pgdp.corp.usec.com> Is there a way to let users create their own reports & queries but locking down the tables so they can't change the data? The data needs to be read-only. If you make the database read-only, it grays out 'new' so they can't create the queries or reports. Virginia From artful at rogers.com Thu Dec 28 13:04:50 2006 From: artful at rogers.com (artful at rogers.com) Date: Thu, 28 Dec 2006 11:04:50 -0800 (PST) Subject: [AccessD] Read-Only Tables Message-ID: <20061228190450.16976.qmail@web88205.mail.re2.yahoo.com> I have never tried this so it's just a wag, but how about placing the tables of interest in a read/only db and then the the user queries and reports in another db that is linked to the former? A. ----- Original Message ---- From: "Hollis, Virginia" To: accessD at databaseadvisors.com Sent: Thursday, December 28, 2006 1:39:48 PM Subject: [AccessD] Read-Only Tables Is there a way to let users create their own reports & queries but locking down the tables so they can't change the data? The data needs to be read-only. If you make the database read-only, it grays out 'new' so they can't create the queries or reports. Virginia From newsgrps at dalyn.co.nz Thu Dec 28 13:09:50 2006 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 29 Dec 2006 08:09:50 +1300 Subject: [AccessD] Tab Label Wrap Message-ID: <20061228190735.RDSF17716.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Group, Access XP - Is there an easy way to have the text in a tab label wrap onto two lines? Setting the Tab Fixed Height property increases the height of a tab header, but doesn't cause a wrap. Setting the Fixed Width property just causes the text to cut off either side. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From prodevmg at yahoo.com Thu Dec 28 13:15:51 2006 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 28 Dec 2006 11:15:51 -0800 (PST) Subject: [AccessD] Tab Label Wrap Message-ID: <20061228191551.74267.qmail@web33102.mail.mud.yahoo.com> Nope. The best you can do is set the property of the tab to multiple rows so that if you have a lot of tabs or tabs with long label text then it will create mulitiple rows of tabs to fit on your form. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: David Emerson To: accessd at databaseadvisors.com Sent: Thursday, December 28, 2006 1:09:50 PM Subject: [AccessD] Tab Label Wrap Group, Access XP - Is there an easy way to have the text in a tab label wrap onto two lines? Setting the Tab Fixed Height property increases the height of a tab header, but doesn't cause a wrap. Setting the Fixed Width property just causes the text to cut off either side. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From markamatte at hotmail.com Thu Dec 28 15:37:33 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 28 Dec 2006 21:37:33 +0000 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: <20061228191551.74267.qmail@web33102.mail.mud.yahoo.com> Message-ID: Hello All, I have an OnCurrent event on a subform. Can I call, or cause to fire from the main form. Thanks, Mark A. Matte _________________________________________________________________ Type your favorite song.? Get a customized station.? Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 From wdhindman at dejpolsystems.com Thu Dec 28 15:57:48 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 16:57:48 -0500 Subject: [AccessD] Tab Label Wrap References: <20061228190735.RDSF17716.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <000901c72acb$370d88b0$5658eb44@50NM721> ...no "easy" way I'm aware of unless you use a 3rd party ocx ...but you can use bitmaps sized to the tabs and simulate wrapped text in that way ...www.lebans.com has a sample mdb that demonstrates doing that ...hth William Hindman ----- Original Message ----- From: "David Emerson" To: Sent: Thursday, December 28, 2006 2:09 PM Subject: [AccessD] Tab Label Wrap > Group, > > Access XP - Is there an easy way to have the text in a tab label wrap > onto two lines? Setting the Tab Fixed Height property increases the > height of a tab header, but doesn't cause a wrap. Setting the Fixed > Width property just causes the text to cut off either side. > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dmcafee at pacbell.net Thu Dec 28 16:19:31 2006 From: dmcafee at pacbell.net (David Mcafee) Date: Thu, 28 Dec 2006 14:19:31 -0800 (PST) Subject: [AccessD] DB Corruption, Memo field? Message-ID: <20061228221931.71925.qmail@web80810.mail.mud.yahoo.com> http://rogersaccesslibrary.com/Otherdownload.asp?SampleName='Fix%20Corrupt%20Access%20Database%20v4.5' Some good reading from Jerry Whittle David ----- Original Message ---- From: Lawrence Mrazek To: Access Developers discussion and problem solving Sent: Wednesday, December 27, 2006 6:39:43 PM Subject: [AccessD] DB Corruption, Memo field? Hi Folks: Using Access XP/2002 I'm currently troubleshooting a corruption issue that I think I've narrowed down to a specific table in my DB (we'll call it tblAnnoyance ), as I can import / export every other table in the db without any problems except "tblAnnoyance". Thus far, I've tried all of the built-in tools (Compact and Repair, the Jet Utility), with no luck ... The compact gets to a certain point and then Access shuts down. I've also tried to browse the table to see if I can find any errors, but once I get to a certain point, the db shuts down as well. I've found that if I delete a memo field in the table (tblAnnoyance) using a copy of the database, the Access will compact and repair. So I guess the problem is with the specific memo field, but I really don't want to have to delete the field, since I've been having problems copying data from the field as well. Any hints as to where I should go from here? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Dec 28 16:20:35 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 14:20:35 -0800 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: Message-ID: Why not put the operative code in a public routine on the subform and then call it from both the OnCurrent event of the subform and from the main form when you need it? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, December 28, 2006 1:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Call SubForm Event Procedure Hello All, I have an OnCurrent event on a subform. Can I call, or cause to fire from the main form. Thanks, Mark A. Matte _________________________________________________________________ Type your favorite song.? Get a customized station.? Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 From cfoust at infostatsystems.com Thu Dec 28 16:22:40 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 28 Dec 2006 14:22:40 -0800 Subject: [AccessD] Surrogates vs Natural In-Reply-To: <003701c72aaa$8768fcc0$b234fad1@SUSANONE> Message-ID: Yeah, well try working with multi-table joins on multifield surrogate keys and see how handy it is! :o< Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, December 28, 2006 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Surrogates vs Natural Charlotte, it sounds like he doesn't like surrogates -- that's what I got out of the comment. Susan H. OK, I never use autonumbers as anything but pointers. They have no other meaning anyhow, and should not. That still leaves me confused by his denunciation of autonumbers as surrogates, since they are certainly not natural. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Dec 28 16:34:34 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 29 Dec 2006 08:34:34 +1000 Subject: [AccessD] Surrogates vs Natural In-Reply-To: References: <003701c72aaa$8768fcc0$b234fad1@SUSANONE>, Message-ID: <4594467A.3044.7BB456B@stuart.lexacorp.com.pg> ?multifield surrogate keys? I presume you mean "natural". I can't think of any reason to have a multifield surrogate. On 28 Dec 2006 at 14:22, Charlotte Foust wrote: > Yeah, well try working with multi-table joins on multifield surrogate > keys and see how handy it is! :o< -- Stuart From artful at rogers.com Thu Dec 28 17:59:19 2006 From: artful at rogers.com (artful at rogers.com) Date: Thu, 28 Dec 2006 15:59:19 -0800 (PST) Subject: [AccessD] Surrogates vs Natural Message-ID: <20061228235919.91512.qmail@web88208.mail.re2.yahoo.com> AFAIK there is no such thing as a multi-column surrogate key. If I'm wrong, it wouldn't be the first time, but the concept itself makes me dizzy. ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Thursday, December 28, 2006 5:34:34 PM Subject: Re: [AccessD] Surrogates vs Natural ?multifield surrogate keys? I presume you mean "natural". I can't think of any reason to have a multifield surrogate. On 28 Dec 2006 at 14:22, Charlotte Foust wrote: > Yeah, well try working with multi-table joins on multifield surrogate > keys and see how handy it is! :o< -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Dec 28 18:14:39 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 28 Dec 2006 19:14:39 -0500 Subject: [AccessD] Searching our archives In-Reply-To: References: <007901c72aa0$165d84b0$8abea8c0@XPS> Message-ID: On 12/28/06, Mark A Matte wrote: > Hello All, > > Can someone explain how searching the AccessD archives work? For example: I'll do my best. > I search for a key word and it gives me a bunch of results...no dates...but > if I open one of the results I have the option to sort by date...when I do > this...still no dates shown...but the header states that the results are > from 1 month only (not sure how that month is determined). With this how > would I isolate something in a specific time frame? The results that you get are in relevance order assuming that you didn't change the Sort By drop down, iow, the most relevant answers are displayed first. The more stars you get, the more relevant the search results are. IIRC 5 stars is the highest rating. The date (and, thread, subject & author) link at the top are NOT for the search results. They are for the archive in general. When you click the date link it will take you to the index for the month that the post was made in, so if you are looking at a post for Oct 2004 and you click the date link it will take you to the date index for October 2004. Same deal, but different index, for the other links. AFAIK there is no way to limit the search by date, but I'll have a look when I get a chance. Does this help Mark? If not, ask and I'll try and clarify. -- 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 wdhindman at dejpolsystems.com Thu Dec 28 20:32:01 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 21:32:01 -0500 Subject: [AccessD] Searching our archives References: <007901c72aa0$165d84b0$8abea8c0@XPS> Message-ID: <001401c72af1$85f8aba0$5658eb44@50NM721> ...would that the instructions were half so clear where they are needed most, there rather than here ...you'd think his obtusity himself wrote them, eh :) William Hindman ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Thursday, December 28, 2006 7:14 PM Subject: Re: [AccessD] Searching our archives > On 12/28/06, Mark A Matte wrote: >> Hello All, >> >> Can someone explain how searching the AccessD archives work? For >> example: > > I'll do my best. > >> I search for a key word and it gives me a bunch of results...no >> dates...but >> if I open one of the results I have the option to sort by date...when I >> do >> this...still no dates shown...but the header states that the results are >> from 1 month only (not sure how that month is determined). With this how >> would I isolate something in a specific time frame? > > The results that you get are in relevance order assuming that you > didn't change the Sort By drop down, iow, the most relevant answers > are displayed first. The more stars you get, the more relevant the > search results are. IIRC 5 stars is the highest rating. > > The date (and, thread, subject & author) link at the top are NOT for > the search results. They are for the archive in general. When you > click the date link it will take you to the index for the month that > the post was made in, so if you are looking at a post for Oct 2004 and > you click the date link it will take you to the date index for October > 2004. Same deal, but different index, for the other links. > > AFAIK there is no way to limit the search by date, but I'll have a > look when I get a chance. > > Does this help Mark? If not, ask and I'll try and clarify. > > -- > 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!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Dec 28 21:33:01 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 28 Dec 2006 22:33:01 -0500 Subject: [AccessD] Searching our archives In-Reply-To: <001401c72af1$85f8aba0$5658eb44@50NM721> Message-ID: <004901c72afa$0dfb6bc0$ccfbc34b@m6805> Hey, I resemble that remark. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, December 28, 2006 9:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Searching our archives ...would that the instructions were half so clear where they are needed most, there rather than here ...you'd think his obtusity himself wrote them, eh :) William Hindman ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Thursday, December 28, 2006 7:14 PM Subject: Re: [AccessD] Searching our archives > On 12/28/06, Mark A Matte wrote: >> Hello All, >> >> Can someone explain how searching the AccessD archives work? For >> example: > > I'll do my best. > >> I search for a key word and it gives me a bunch of results...no >> dates...but >> if I open one of the results I have the option to sort by date...when I >> do >> this...still no dates shown...but the header states that the results are >> from 1 month only (not sure how that month is determined). With this how >> would I isolate something in a specific time frame? > > The results that you get are in relevance order assuming that you > didn't change the Sort By drop down, iow, the most relevant answers > are displayed first. The more stars you get, the more relevant the > search results are. IIRC 5 stars is the highest rating. > > The date (and, thread, subject & author) link at the top are NOT for > the search results. They are for the archive in general. When you > click the date link it will take you to the index for the month that > the post was made in, so if you are looking at a post for Oct 2004 and > you click the date link it will take you to the date index for October > 2004. Same deal, but different index, for the other links. > > AFAIK there is no way to limit the search by date, but I'll have a > look when I get a chance. > > Does this help Mark? If not, ask and I'll try and clarify. > > -- > 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!" > -- > 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 Thu Dec 28 22:22:58 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 29 Dec 2006 14:22:58 +1000 Subject: [AccessD] Searching our archives In-Reply-To: <004901c72afa$0dfb6bc0$ccfbc34b@m6805> References: <001401c72af1$85f8aba0$5658eb44@50NM721>, <004901c72afa$0dfb6bc0$ccfbc34b@m6805> Message-ID: <45949822.28975.8FA3D3E@stuart.lexacorp.com.pg> We're talking about you, not to you! :-) Cheers Stuart On 28 Dec 2006 at 22:33, JWColby wrote: > Hey, I resemble that remark. ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Thursday, December 28, 2006 9:32 PM To: Access Developers discussion > and problem solving Subject: Re: [AccessD] Searching our archives > > ...would that the instructions were half so clear where they are needed > most, there rather than here ...you'd think his obtusity himself wrote them, > eh :) > > William Hindman > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, December 28, 2006 7:14 PM > Subject: Re: [AccessD] Searching our archives > > > > On 12/28/06, Mark A Matte wrote: > >> Hello All, > >> > >> Can someone explain how searching the AccessD archives work? For > >> example: > > > > I'll do my best. > > > >> I search for a key word and it gives me a bunch of results...no > >> dates...but > >> if I open one of the results I have the option to sort by date...when I > >> do this...still no dates shown...but the header states that the results > >> are from 1 month only (not sure how that month is determined). With this > >> how would I isolate something in a specific time frame? > > > > The results that you get are in relevance order assuming that you > > didn't change the Sort By drop down, iow, the most relevant answers > > are displayed first. The more stars you get, the more relevant the > > search results are. IIRC 5 stars is the highest rating. > > > > The date (and, thread, subject & author) link at the top are NOT for > > the search results. They are for the archive in general. When you > > click the date link it will take you to the index for the month that > > the post was made in, so if you are looking at a post for Oct 2004 and you > > click the date link it will take you to the date index for October 2004. > > Same deal, but different index, for the other links. > > > > AFAIK there is no way to limit the search by date, but I'll have a > > look when I get a chance. > > > > Does this help Mark? If not, ask and I'll try and clarify. > > > > -- > > 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!" > > -- > > 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 wdhindman at dejpolsystems.com Thu Dec 28 22:39:35 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 Dec 2006 23:39:35 -0500 Subject: [AccessD] Searching our archives References: <004901c72afa$0dfb6bc0$ccfbc34b@m6805> Message-ID: <000301c72b03$582c8f40$5658eb44@50NM721> ...hey! ...here I was tryin' to be subtle and all that :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, December 28, 2006 10:33 PM Subject: Re: [AccessD] Searching our archives > Hey, I resemble that remark. ;-) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Thursday, December 28, 2006 9:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Searching our archives > > ...would that the instructions were half so clear where they are needed > most, there rather than here ...you'd think his obtusity himself wrote > them, > eh :) > > William Hindman > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, December 28, 2006 7:14 PM > Subject: Re: [AccessD] Searching our archives > > >> On 12/28/06, Mark A Matte wrote: >>> Hello All, >>> >>> Can someone explain how searching the AccessD archives work? For >>> example: >> >> I'll do my best. >> >>> I search for a key word and it gives me a bunch of results...no >>> dates...but >>> if I open one of the results I have the option to sort by date...when I >>> do >>> this...still no dates shown...but the header states that the results are >>> from 1 month only (not sure how that month is determined). With this >>> how >>> would I isolate something in a specific time frame? >> >> The results that you get are in relevance order assuming that you >> didn't change the Sort By drop down, iow, the most relevant answers >> are displayed first. The more stars you get, the more relevant the >> search results are. IIRC 5 stars is the highest rating. >> >> The date (and, thread, subject & author) link at the top are NOT for >> the search results. They are for the archive in general. When you >> click the date link it will take you to the index for the month that >> the post was made in, so if you are looking at a post for Oct 2004 and >> you click the date link it will take you to the date index for October >> 2004. Same deal, but different index, for the other links. >> >> AFAIK there is no way to limit the search by date, but I'll have a >> look when I get a chance. >> >> Does this help Mark? If not, ask and I'll try and clarify. >> >> -- >> 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!" >> -- >> 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 Gustav at cactus.dk Fri Dec 29 04:09:12 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Dec 2006 11:09:12 +0100 Subject: [AccessD] Surrogates vs Natural Message-ID: Hi Stuart and Arthur Well I can, or maybe not ... If you, say, assemble input data from a table from several external databases into one central table. Each table will have an autonumber ID but - as each ID may be represented in several tables - you have to have an additional field in the central table. This field can either be a fixed value for each of the external tables (1, 2, 3 etc.) or - better - an surrogate key identifying the external tables hold in a separate table describing these external tables. For the second method, this field combined with the original ID will be a compound key which represents a surrogate unique ID for the records in the central table. However, you could also regard these fields as simple foreign keys to the original tables. Thus, a new surrogate key had to be added to the central table, a bit like you do when you add a replication ID. This ID could be an autonumber or a GUID. I can see no reason not to follow this last method, except for situations where a new surrogate key is not needed for anything. This could be the case if you just collect data for statistics where you summarize and so on without a need for identifying the single record, or for a central archive of the external tables. /gustav >>> artful at rogers.com 29-12-2006 00:59 >>> AFAIK there is no such thing as a multi-column surrogate key. If I'm wrong, it wouldn't be the first time, but the concept itself makes me dizzy. ----- Original Message ---- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Thursday, December 28, 2006 5:34:34 PM Subject: Re: [AccessD] Surrogates vs Natural ?multifield surrogate keys? I presume you mean "natural". I can't think of any reason to have a multifield surrogate. On 28 Dec 2006 at 14:22, Charlotte Foust wrote: > Yeah, well try working with multi-table joins on multifield surrogate > keys and see how handy it is! :o< -- Stuart From carbonnb at gmail.com Fri Dec 29 07:22:13 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Dec 2006 08:22:13 -0500 Subject: [AccessD] Searching our archives In-Reply-To: <001401c72af1$85f8aba0$5658eb44@50NM721> References: <007901c72aa0$165d84b0$8abea8c0@XPS> <001401c72af1$85f8aba0$5658eb44@50NM721> Message-ID: On 12/28/06, William Hindman wrote: > ...would that the instructions were half so clear where they are needed > most, there rather than here ...you'd think his obtusity himself wrote them, > eh :) So what's unclear and I'll try better, eh? :) -- 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 wdhindman at dejpolsystems.com Fri Dec 29 08:58:24 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 29 Dec 2006 09:58:24 -0500 Subject: [AccessD] Searching our archives References: <007901c72aa0$165d84b0$8abea8c0@XPS><001401c72af1$85f8aba0$5658eb44@50NM721> Message-ID: <000301c72b59$cc43af20$5658eb44@50NM721> ...yours are very clear Bryan ...they just need to be available at the archives rather than here, eh :) William Hindman ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Friday, December 29, 2006 8:22 AM Subject: Re: [AccessD] Searching our archives > On 12/28/06, William Hindman wrote: >> ...would that the instructions were half so clear where they are needed >> most, there rather than here ...you'd think his obtusity himself wrote >> them, >> eh :) > > So what's unclear and I'll try better, eh? :) > > -- > 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!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Fri Dec 29 09:10:14 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Dec 2006 10:10:14 -0500 Subject: [AccessD] Searching our archives In-Reply-To: <000301c72b59$cc43af20$5658eb44@50NM721> References: <007901c72aa0$165d84b0$8abea8c0@XPS> <001401c72af1$85f8aba0$5658eb44@50NM721> <000301c72b59$cc43af20$5658eb44@50NM721> Message-ID: On 12/29/06, William Hindman wrote: > ...yours are very clear Bryan ...they just need to be available at the > archives rather than here, eh :) Ah, OK. -- 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 markamatte at hotmail.com Fri Dec 29 09:25:09 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 15:25:09 +0000 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: Message-ID: Thanks, normally I would...but I would still like to know how to call the event of a subform. Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Thu, 28 Dec 2006 14:20:35 -0800 > >Why not put the operative code in a public routine on the subform and then >call it from both the OnCurrent event of the subform and from the main form >when you need it? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, December 28, 2006 1:38 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Call SubForm Event Procedure > >Hello All, > >I have an OnCurrent event on a subform. Can I call, or cause to fire from >the main form. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Type your favorite song.? Get a customized station.? Try MSN Radio powered >by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series. ?Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 From cfoust at infostatsystems.com Fri Dec 29 10:15:24 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Dec 2006 08:15:24 -0800 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: Message-ID: You can call it only if it is declared public. In that case, you call it like any other method of the subform. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 29, 2006 7:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Call SubForm Event Procedure Thanks, normally I would...but I would still like to know how to call the event of a subform. Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Thu, 28 Dec 2006 14:20:35 -0800 > >Why not put the operative code in a public routine on the subform and >then call it from both the OnCurrent event of the subform and from the >main form when you need it? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, December 28, 2006 1:38 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Call SubForm Event Procedure > >Hello All, > >I have an OnCurrent event on a subform. Can I call, or cause to fire >from the main form. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Type your favorite song.? Get a customized station.? Try MSN Radio >powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series. ?Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 From herringb at charter.net Fri Dec 29 11:36:21 2006 From: herringb at charter.net (Barry G. Herring) Date: Fri, 29 Dec 2006 9:36:21 -0800 Subject: [AccessD] Call SubForm Event Procedure Message-ID: <1076310780.1167413781037.JavaMail.root@fepweb07> Me.subformname.form.nameofprocedure Example: Me.WorkPlanDetailForm.Form.AddMeetingTime Fires a procedure (AddMeetingTime) that runs a sql statement to insert records to database. Barry G. Herring ---- Mark A Matte wrote: ============= Thanks, normally I would...but I would still like to know how to call the event of a subform. Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Thu, 28 Dec 2006 14:20:35 -0800 > >Why not put the operative code in a public routine on the subform and then >call it from both the OnCurrent event of the subform and from the main form >when you need it? > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, December 28, 2006 1:38 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Call SubForm Event Procedure > >Hello All, > >I have an OnCurrent event on a subform. Can I call, or cause to fire from >the main form. > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Type your favorite song.? Get a customized station.? Try MSN Radio powered >by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series. ?Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 From adtp at airtelbroadband.in Fri Dec 29 11:40:03 2006 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 29 Dec 2006 23:10:03 +0530 Subject: [AccessD] Call SubForm Event Procedure References: Message-ID: <013b01c72b70$7d585160$5f0e65cb@pcadt> Mark, The target procedure in a form or subform, that you wish to call externally should be made public. In sample code given at (A) & (B) below, if CmdMainMaster located on the parent form is clicked, it will execute the click event of CmdSubSlave on the subform. Similarly, if CmdSubMaster located on the subform is clicked, it will execute the click event of CmdMainSlave on the main form. Important: (a) While calling a subform's public subroutine from code in main form's module, use of Form. qualifier is essential. On the other hand, while calling main form's public subroutine from code in subform's module, use of Form. qualifier is to be AVOIDED. (b) Similar precaution is applicable while triggering the events on a form or its subform, via code located in an external form's module, for example (F_Main is the name of main form while SF_Sub is the name of subform control acting as container for the subform): (1) Call main form's public event via code in external form: Forms("F_Main").CmdMainSlave_Click (2) Call subform's public event via code in external form: Forms("F_Main")("SF_Sub").Form.CmdSubSlave_Click My sample db named FormsSubformsReference might also be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Best wishes, A.D.Tejpal --------------- A) Code in main form's module (SF_Sub is the name of subform control acting as container for the subform) ============================ Private Sub CmdMainMaster_Click() Me.SF_Sub.Form.CmdSubSlave_Click End Sub Public Sub CmdMainSlave_Click() MsgBox "CmdMainSlave" End Sub ============================ B) Code in subform's module ============================ Private Sub CmdSubMaster_Click() Me.Parent.CmdMainSlave_Click End Sub Public Sub CmdSubSlave_Click() MsgBox "CmdSubSlave" End Sub ============================ ----- Original Message ----- From: Mark A Matte To: accessd at databaseadvisors.com Sent: Friday, December 29, 2006 03:07 Subject: [AccessD] Call SubForm Event Procedure Hello All, I have an OnCurrent event on a subform. Can I call, or cause to fire from the main form. Thanks, Mark A. Matte From markamatte at hotmail.com Fri Dec 29 12:04:47 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 18:04:47 +0000 Subject: [AccessD] Call SubForm Event Procedure In-Reply-To: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Thank You All for the feedback. It worked like a charm. Thanks, Mark A. Matte >From: "A.D.TEJPAL" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Call SubForm Event Procedure >Date: Fri, 29 Dec 2006 23:10:03 +0530 > >Mark, > > The target procedure in a form or subform, that you wish to call >externally should be made public. > > In sample code given at (A) & (B) below, if CmdMainMaster located on >the parent form is clicked, it will execute the click event of CmdSubSlave >on the subform. Similarly, if CmdSubMaster located on the subform is >clicked, it will execute the click event of CmdMainSlave on the main form. > > Important: > (a) While calling a subform's public subroutine from code in main >form's module, use of Form. qualifier is essential. On the other hand, >while calling main form's public subroutine from code in subform's module, >use of Form. qualifier is to be AVOIDED. > (b) Similar precaution is applicable while triggering the events >on a form or its subform, via code located in an external form's module, >for example (F_Main is the name of main form while SF_Sub is the name of >subform control acting as container for the subform): > (1) Call main form's public event via code in external form: > Forms("F_Main").CmdMainSlave_Click > (2) Call subform's public event via code in external form: > Forms("F_Main")("SF_Sub").Form.CmdSubSlave_Click > > > My sample db named FormsSubformsReference might also be of interest to >you. It is available at Rogers Access Library (other developers library). >Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > >Best wishes, >A.D.Tejpal >--------------- > >A) Code in main form's module >(SF_Sub is the name of subform control >acting as container for the subform) >============================ >Private Sub CmdMainMaster_Click() > Me.SF_Sub.Form.CmdSubSlave_Click >End Sub > >Public Sub CmdMainSlave_Click() > MsgBox "CmdMainSlave" >End Sub >============================ > >B) Code in subform's module >============================ >Private Sub CmdSubMaster_Click() > Me.Parent.CmdMainSlave_Click >End Sub > >Public Sub CmdSubSlave_Click() > MsgBox "CmdSubSlave" >End Sub >============================ > > ----- Original Message ----- > From: Mark A Matte > To: accessd at databaseadvisors.com > Sent: Friday, December 29, 2006 03:07 > Subject: [AccessD] Call SubForm Event Procedure > > > Hello All, > > I have an OnCurrent event on a subform. Can I call, or cause to fire >from the main form. > > Thanks, > > Mark A. Matte >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find sales, coupons, and free shipping, all in one place! ?MSN Shopping Sales & Deals http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639 From markamatte at hotmail.com Fri Dec 29 14:29:36 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 20:29:36 +0000 Subject: [AccessD] (no subject) In-Reply-To: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Hello All, I have a subform (continuous)...it has about 5 fields...3 are editable. I want to 'do something'(generate record in other table about what fields were changed) each time they leave a record. I don't want it to fire each time they edit a field...I would like it to fire when they are done with the entire record. An audit trail of sorts. Any ideas/suggestions? Thanks, Mark A. Matte P.S...I thought I could use the DIRTY property...googled it...didn't find what I needed...but did find a nice article by Susan H. http://articles.techrepublic.com.com/5100-10877-6135056.html _________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From markamatte at hotmail.com Fri Dec 29 14:31:00 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 29 Dec 2006 20:31:00 +0000 Subject: [AccessD] Audit trail A97? In-Reply-To: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Hello All, I have a subform (continuous)...it has about 5 fields...3 are editable. I want to 'do something'(generate record in other table about what fields were changed) each time they leave a record. I don't want it to fire each time they edit a field...I would like it to fire when they are done with the entire record. An audit trail of sorts. Any ideas/suggestions? Thanks, Mark A. Matte P.S...I thought I could use the DIRTY property...googled it...didn't find what I needed...but did find a nice article by Susan H. http://articles.techrepublic.com.com/5100-10877-6135056.html _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG From mikedorism at verizon.net Fri Dec 29 14:55:08 2006 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 29 Dec 2006 15:55:08 -0500 Subject: [AccessD] Audit trail A97? In-Reply-To: Message-ID: <002601c72b8b$a0b4cb00$2f01a8c0@Kermit> Form BeforeUpdate or AfterUpdate event Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, December 29, 2006 3:31 PM To: accessd at databaseadvisors.com Subject: [AccessD] Audit trail A97? Hello All, I have a subform (continuous)...it has about 5 fields...3 are editable. I want to 'do something'(generate record in other table about what fields were changed) each time they leave a record. I don't want it to fire each time they edit a field...I would like it to fire when they are done with the entire record. An audit trail of sorts. Any ideas/suggestions? Thanks, Mark A. Matte P.S...I thought I could use the DIRTY property...googled it...didn't find what I needed...but did find a nice article by Susan H. http://articles.techrepublic.com.com/5100-10877-6135056.html _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e n-US&source=hmemailtaglinenov06&FORM=WLMTAG -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Dec 29 17:21:01 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 29 Dec 2006 15:21:01 -0800 Subject: [AccessD] OT Friday In-Reply-To: <20061228221931.71925.qmail@web80810.mail.mud.yahoo.com> Message-ID: <0JB20068G63NO2V0@l-daemon> OT Friday Hi All: There are now some positive steps in controlling people. Much like an advanced form of MS 'Remote Desktop' or Vista SP4 release 'Remote Desktop'. http://www.infowars.com/articles/science/remote_control_device_control_human s.htm All though in its enfant stages some social interactive potential exists. See a YouTube example: http://www.youtube.com/watch?v=ZlNfBrXYYTc Regards Jim From wdhindman at dejpolsystems.com Fri Dec 29 18:13:17 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 29 Dec 2006 19:13:17 -0500 Subject: [AccessD] Audit trail A97? References: Message-ID: <001101c72ba7$4ecda020$5658eb44@50NM721> http://www.rogersaccesslibrary.com/download3.asp?SampleName=AuditTrail2.mdb ...I used this to build my own version ...hth. William Hindman ----- Original Message ----- From: "Mark A Matte" To: Sent: Friday, December 29, 2006 3:31 PM Subject: [AccessD] Audit trail A97? > Hello All, > > I have a subform (continuous)...it has about 5 fields...3 are editable. I > want to 'do something'(generate record in other table about what fields > were > changed) each time they leave a record. I don't want it to fire each time > they edit a field...I would like it to fire when they are done with the > entire record. An audit trail of sorts. > > Any ideas/suggestions? > > Thanks, > > Mark A. Matte > > P.S...I thought I could use the DIRTY property...googled it...didn't find > what I needed...but did find a nice article by Susan H. > http://articles.techrepublic.com.com/5100-10877-6135056.html > > _________________________________________________________________ > Fixing up the home? Live Search can help > http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Dec 29 23:57:29 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 30 Dec 2006 00:57:29 -0500 Subject: [AccessD] Classes and development power Message-ID: <000001c72bd7$64c4ca90$0b01a8c0@m6805> As many of you know I am a strong proponent of classes and further, of the organization of classes into an active framework. I just wanted to throw out an example of the power of classes (and frameworks) for the group. I have designed a (bound form) framework for use in building my applications. One of the classes is dclsFrm which is a class for handling the form object. Each form which needs one is provided an instance of this class. This class does many things, but one of the things it does is scan the form looking for controls which have classes. Controls such as text boxes, combos, radio buttons, command buttons each have a class which I have designed, and an instance of these control classes is automatically loaded by the control scanner in dclsFrm. Long ago I realized the concept of dependent objects, and in fact we have seen this subject surface very recently in this forum. A combo changes, and another combo needs to be requeried because it "is dependent upon" the combo that changed. In my dclsCtlCbo (the combo control class) there is a variable for a dependent objects class which I will call mclsDepObj. Private mclsDepObj As clsDepObjs 'dimensions a dependent object class There is a method of dclsCtlCbo which takes a paramArray (a very useful construct) which essentially allows me to feed in as many objects as I wish in one call to the function. I call the function DependentSet. ' 'Many objects can have other objects dependent on it, which need to be requeried 'if the parent object is requeried. I call these "chained" or "dependent" objects. ' 'A combo may be used as a filter for another combo, i.e. it may have a dependent combo 'assigned to it. This function allows the developer to assign an object that is dependent on this one. 'Whenever this object is re-queried (using the re-query function in this class), the dependent 'objects will then be re-queried. ' Public Function DependentSet(ParamArray objs() As Variant) On Error GoTo Err_DependentSet Dim obj As Variant 'if the dependent object class doesn't exist, instantiate it If mclsDepObj Is Nothing Then Set mclsDepObj = New clsDepObjs mclsDepObj.Init Me End If For Each obj In objs() Set mclsDepObj.DependentSet = obj Next obj Exit_DependentSet: On Error Resume Next Exit Function Err_DependentSet: MsgBox err.Description, , "Error in Property Set dclsCtlCbo. DependentSet" Resume Exit_DependentSet Resume 0 '.FOR TROUBLESHOOTING End Function ' Thus by calling clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject I can tell clsMyCbo that there are two "objects" which are dependent on that combo, and if MyCbo changes, go requery all of the dependent objects. I do this in several places for a combo box, for example in the cblClick event (which opens a form for editing the data behind the combo), in AfterUpdate (which changes the value selected in the combo) etc. Private Sub mcbo_AfterUpdate() mclsDepObj.ReQueryDependencies True 'Requery any dependent objects end sub In the case of dclsCtlCbo , I also have a simple Requery method which requeries the associated combo for dclsCtlCbo, and then calls mclsDepObj.requery to requery all of the dependent objects of this combo. In a real life example, I have a form with three combos that are dependent on another combo. In the OnOpen of the form that contains these four combos, I set up the dclsFrm to scan for all controls and load classes for each control. Once the form class has finished loading, I then tell one of the combos that there are three other combos dependent on it. Having done this, whenever that parent combo changes, it triggers a requery of the dependent combos automatically. I can just hear people saying "holy smoke batman, that's a lot of development work just to query a couple of combos. That is true, but consider that once the development work is done I can extend the concept to every other control that can potentially have dependent objects. Once I design the clsDepObj, I can add one to a text box class so that if a text box changes, it can automatically requery any dependent objects it may have. Pretty much all data controls may have dependent objects. Things like radio buttons and check boxes, text boxes, lists, and combos can all have other objects that, if the parent object changes, may need to cause its dependent objects to requery to display different sets of data. Having developed the concept, I can now go into the classes for these other controls, add a mclsDepObj to it and a requery method, and allow that control class to control an entire list of dependent objects. Additionally the dependent objects can be ANYTHING that may need to "depend" on a control, and has a requery method. Real live Access lists and combo, forms, other control classes etc. This is very powerful stuff since I can now look at this as a logical problem, "those objects over there need to requery when this object changes" instead of "how do I program this (again, and again, and again) ".. I simply feed a pointer to the object needing requerying in to the class for the object which is the "parent" in the requery chain. Additionally, this can extend way down a chain. A combo may cause a pair of lists to requery. Those lists may need to cause 3 different combos to requery. Those combos... As long as I know "this object 'depends' on that object, I can just "feed them in" as the form opens, and then the requery always happens, every time. And if some unforeseen circumstance calls for a requery of one of those objects, the class has a requery I can call which causes that specific object to requery, then requeries all of its dependent objects, child, grandchild on down. Automatically. Classes are a powerful thing. Frameworks leverage classes to create a whole new level of functionality. Think about being able to code: clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject, frmSomeDependentForm and have all three of those objects requery automatically if MyCbo changes. That's what I do. John W. Colby Colby Consulting www.ColbyConsulting.com From robert at servicexp.com Sat Dec 30 09:09:16 2006 From: robert at servicexp.com (Robert) Date: Sat, 30 Dec 2006 10:09:16 -0500 Subject: [AccessD] Classes and development power In-Reply-To: <000001c72bd7$64c4ca90$0b01a8c0@m6805> Message-ID: <000301c72c24$79ea9510$6501a8c0@roberts> Nice!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, December 30, 2006 12:57 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Classes and development power As many of you know I am a strong proponent of classes and further, of the organization of classes into an active framework. I just wanted to throw out an example of the power of classes (and frameworks) for the group. I have designed a (bound form) framework for use in building my applications. One of the classes is dclsFrm which is a class for handling the form object. Each form which needs one is provided an instance of this class. This class does many things, but one of the things it does is scan the form looking for controls which have classes. Controls such as text boxes, combos, radio buttons, command buttons each have a class which I have designed, and an instance of these control classes is automatically loaded by the control scanner in dclsFrm. Long ago I realized the concept of dependent objects, and in fact we have seen this subject surface very recently in this forum. A combo changes, and another combo needs to be requeried because it "is dependent upon" the combo that changed. In my dclsCtlCbo (the combo control class) there is a variable for a dependent objects class which I will call mclsDepObj. Private mclsDepObj As clsDepObjs 'dimensions a dependent object class There is a method of dclsCtlCbo which takes a paramArray (a very useful construct) which essentially allows me to feed in as many objects as I wish in one call to the function. I call the function DependentSet. ' 'Many objects can have other objects dependent on it, which need to be requeried 'if the parent object is requeried. I call these "chained" or "dependent" objects. ' 'A combo may be used as a filter for another combo, i.e. it may have a dependent combo 'assigned to it. This function allows the developer to assign an object that is dependent on this one. 'Whenever this object is re-queried (using the re-query function in this class), the dependent 'objects will then be re-queried. ' Public Function DependentSet(ParamArray objs() As Variant) On Error GoTo Err_DependentSet Dim obj As Variant 'if the dependent object class doesn't exist, instantiate it If mclsDepObj Is Nothing Then Set mclsDepObj = New clsDepObjs mclsDepObj.Init Me End If For Each obj In objs() Set mclsDepObj.DependentSet = obj Next obj Exit_DependentSet: On Error Resume Next Exit Function Err_DependentSet: MsgBox err.Description, , "Error in Property Set dclsCtlCbo. DependentSet" Resume Exit_DependentSet Resume 0 '.FOR TROUBLESHOOTING End Function ' Thus by calling clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject I can tell clsMyCbo that there are two "objects" which are dependent on that combo, and if MyCbo changes, go requery all of the dependent objects. I do this in several places for a combo box, for example in the cblClick event (which opens a form for editing the data behind the combo), in AfterUpdate (which changes the value selected in the combo) etc. Private Sub mcbo_AfterUpdate() mclsDepObj.ReQueryDependencies True 'Requery any dependent objects end sub In the case of dclsCtlCbo , I also have a simple Requery method which requeries the associated combo for dclsCtlCbo, and then calls mclsDepObj.requery to requery all of the dependent objects of this combo. In a real life example, I have a form with three combos that are dependent on another combo. In the OnOpen of the form that contains these four combos, I set up the dclsFrm to scan for all controls and load classes for each control. Once the form class has finished loading, I then tell one of the combos that there are three other combos dependent on it. Having done this, whenever that parent combo changes, it triggers a requery of the dependent combos automatically. I can just hear people saying "holy smoke batman, that's a lot of development work just to query a couple of combos. That is true, but consider that once the development work is done I can extend the concept to every other control that can potentially have dependent objects. Once I design the clsDepObj, I can add one to a text box class so that if a text box changes, it can automatically requery any dependent objects it may have. Pretty much all data controls may have dependent objects. Things like radio buttons and check boxes, text boxes, lists, and combos can all have other objects that, if the parent object changes, may need to cause its dependent objects to requery to display different sets of data. Having developed the concept, I can now go into the classes for these other controls, add a mclsDepObj to it and a requery method, and allow that control class to control an entire list of dependent objects. Additionally the dependent objects can be ANYTHING that may need to "depend" on a control, and has a requery method. Real live Access lists and combo, forms, other control classes etc. This is very powerful stuff since I can now look at this as a logical problem, "those objects over there need to requery when this object changes" instead of "how do I program this (again, and again, and again) ".. I simply feed a pointer to the object needing requerying in to the class for the object which is the "parent" in the requery chain. Additionally, this can extend way down a chain. A combo may cause a pair of lists to requery. Those lists may need to cause 3 different combos to requery. Those combos... As long as I know "this object 'depends' on that object, I can just "feed them in" as the form opens, and then the requery always happens, every time. And if some unforeseen circumstance calls for a requery of one of those objects, the class has a requery I can call which causes that specific object to requery, then requeries all of its dependent objects, child, grandchild on down. Automatically. Classes are a powerful thing. Frameworks leverage classes to create a whole new level of functionality. Think about being able to code: clsMyCbo.DependentSet cboSomeDependentObject, lstSomeOtherDependentObject, frmSomeDependentForm and have all three of those objects requery automatically if MyCbo changes. That's what I do. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Dec 30 09:27:35 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 30 Dec 2006 15:27:35 -0000 Subject: [AccessD] Classes and development power References: <000001c72bd7$64c4ca90$0b01a8c0@m6805> Message-ID: You really need to write that book JC! Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mwp.reid at qub.ac.uk Sat Dec 30 12:59:05 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 30 Dec 2006 18:59:05 -0000 Subject: [AccessD] Save as Text References: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. Martin Public Sub createtemplate() Dim db As Database Dim doc As Document Dim conn As Container Dim strPath As String Dim I As Integer Set db = CurrentDb() strPath = "C:\forms\" 'Export the forms Set conn = db.Containers("Forms") For Each doc In conn.Documents Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " Next doc 'Export the Rreports Set conn = db.Containers("Reports") For Each doc In conn.Documents Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" Next doc Set conn = db.Containers("Modules") For Each doc In conn.Documents Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" Next doc For Each td In db.TableDefs If Left(td.Name, 4) <> "MSys" Then DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True End If Next td For I = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" Next I Set db = Nothing Set conn = Nothing Set doc = Nothing Exit_createtemplate: Exit Sub End Sub Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Gustav at cactus.dk Sat Dec 30 13:54:37 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Dec 2006 20:54:37 +0100 Subject: [AccessD] Save as Text Message-ID: Hi Martin Correct your typo: DoCmd.TransferText , acExportDelim, , td.Name, strPath & "Table " & td.Name & "text", True Don't you use Option Explicit? Highly recommended! /gustav >>> mwp.reid at qub.ac.uk 30-12-2006 19:59 >>> Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. Martin Public Sub createtemplate() Dim db As Database Dim doc As Document Dim conn As Container Dim strPath As String Dim I As Integer Set db = CurrentDb() strPath = "C:\forms\" 'Export the forms Set conn = db.Containers("Forms") For Each doc In conn.Documents Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " Next doc 'Export the Rreports Set conn = db.Containers("Reports") For Each doc In conn.Documents Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" Next doc Set conn = db.Containers("Modules") For Each doc In conn.Documents Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" Next doc For Each td In db.TableDefs If Left(td.Name, 4) <> "MSys" Then DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True End If Next td For I = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" Next I Set db = Nothing Set conn = Nothing Set doc = Nothing Exit_createtemplate: Exit Sub End Sub Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mwp.reid at qub.ac.uk Sat Dec 30 14:38:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 30 Dec 2006 20:38:25 -0000 Subject: [AccessD] Save as Text References: Message-ID: You think i of all people would check typos first! I do its and cut and paste into email. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Gustav Brock Sent: Sat 30/12/2006 19:54 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Save as Text Hi Martin Correct your typo: DoCmd.TransferText , acExportDelim, , td.Name, strPath & "Table " & td.Name & "text", True Don't you use Option Explicit? Highly recommended! /gustav >>> mwp.reid at qub.ac.uk 30-12-2006 19:59 >>> Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. Martin Public Sub createtemplate() Dim db As Database Dim doc As Document Dim conn As Container Dim strPath As String Dim I As Integer Set db = CurrentDb() strPath = "C:\forms\" 'Export the forms Set conn = db.Containers("Forms") For Each doc In conn.Documents Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " Next doc 'Export the Rreports Set conn = db.Containers("Reports") For Each doc In conn.Documents Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" Next doc Set conn = db.Containers("Modules") For Each doc In conn.Documents Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" Next doc For Each td In db.TableDefs If Left(td.Name, 4) <> "MSys" Then DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True End If Next td For I = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" Next I Set db = Nothing Set conn = Nothing Set doc = Nothing Exit_createtemplate: Exit Sub End Sub Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Dec 30 15:15:29 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 30 Dec 2006 13:15:29 -0800 Subject: [AccessD] Save as Text In-Reply-To: References: <013b01c72b70$7d585160$5f0e65cb@pcadt> Message-ID: <4596D6F1.1060101@shaw.ca> Saving tables is the one exception to this method instead use the DAP pages method, it is a carryover from the original Access 97 method where it was really undocumented as opposed to just MS undocumented. I got the original hint from Larry Lawson. 'This saves all tables, references, relationships, ' DAP's and command menus to one file. SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" 'Save only once to one file so exit. ' the constant acDataAccessPage doesn't exist in Access 97 ' so use the magic number 6 Also you may not want to save temp Queries so If dbs.QueryDefs(i).Name, 1) <> "~" Then 'remove temp queries from selection 'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 ' you will get saveastext 2487 error. Martin Reid wrote: >Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. > >Martin > > > >Public Sub createtemplate() > > Dim db As Database > Dim doc As Document > Dim conn As Container > Dim strPath As String > Dim I As Integer > Set db = CurrentDb() > strPath = "C:\forms\" > 'Export the forms > Set conn = db.Containers("Forms") > For Each doc In conn.Documents > Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " > Next doc > 'Export the Rreports > Set conn = db.Containers("Reports") > For Each doc In conn.Documents > Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" > Next doc > Set conn = db.Containers("Modules") > For Each doc In conn.Documents > Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" > Next doc >For Each td In db.TableDefs > If Left(td.Name, 4) <> "MSys" Then > DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True > End If >Next td >For I = 0 To dbs.QueryDefs.Count - 1 > Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" >Next I > > Set db = Nothing > Set conn = Nothing > Set doc = Nothing >Exit_createtemplate: > Exit Sub > >End Sub > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.432 / Virus Database: 268.16.0/610 - Release Date: 30/12/2006 2:59 PM > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Dec 30 20:00:18 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 30 Dec 2006 21:00:18 -0500 Subject: [AccessD] Classes and development power In-Reply-To: Message-ID: <001301c72c7f$6ccd4890$0301a8c0@m6805> Martin, The move to North Carolina and then the getting back on my feet financially has completely sucked all of my time. Publishers want schedules, and the last thing I wanted to do is commit to doing it and then not have the time. I will get back on it in the first few months of 2007. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Saturday, December 30, 2006 10:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Classes and development power You really need to write that book JC! Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From bchacc at san.rr.com Sat Dec 30 21:26:06 2006 From: bchacc at san.rr.com (Beach Access Software) Date: Sat, 30 Dec 2006 19:26:06 -0800 Subject: [AccessD] Spanish Translations In-Reply-To: <002601c72a14$ae00f7c0$6701a8c0@LaptopXP> Message-ID: <001501c72c8b$688fcf80$0701a8c0@HAL9005> I got the demo and saw that actually it was using the translation service in Word. His program just took care of the export/import. I already had everything in tables so I exported the English to a word doc and used this research-->translate function which I never knew was there. There's still going to be a lot of tweaking because the translations are different lengths than the English so the label and button widths need to be adjusted for every new language. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, December 27, 2006 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Spanish Translations Well, I was asked by a customer about translating my app to about 5 different languages. I got Alex's program, customized it a bit and had it finished in a day. They were amazed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, December 27, 2006 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Spanish Translations I remember the original program was sold from the Moscow Access User Group site. Michael Kaplan gave it his recommendation and he wrote a book on VB6 Internationalization. John Skolits wrote: >Oh well, I actually 'used' them but suing them must have been on my mind at >the time I suggested it. (I guess.) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson >Sent: Wednesday, December 27, 2006 3:58 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Spanish Translations > >Did you Sue them, or Use them? ;)) > >Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com > >RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland >21231-3305 > >410-537-6098 direct | 410-276-2136 fax | www.rtkl.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, December 27, 2006 11:24 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Spanish Translations > >Rocky, > >You may already know about this, but are you using Alex Dybenko language >translator program. I sued it quite a few years ago and it was slick. >You >still have to map translations but you can switch between the languages >on >the fly. I just visited his website and didn't see the program >mentioned. >Maybe he gave up on it, but when I used it, it worked really well. > >His web site is: http://alex.dybenko.com/ > >John Skolits > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >bchacc at san.rr.com >Sent: Wednesday, December 27, 2006 9:08 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > >Thanks Jim. That will be really helpful. I'll try not to take >advantage. > >Regards, > >Rocky > > >Original Message: >----------------- >From: Hale, Jim Jim.Hale at fleetpride.com >Date: Tue, 26 Dec 2006 09:18:02 -0600 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Spanish Translations > > >Rocky, >My wife's native language is spanish and she has a business background. >She'll be happy to help. Write her at nhale at houston.rr.com > >Regards, >Jim Hale > >-----Original Message----- >From: Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Sunday, December 24, 2006 8:27 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Spanish Translations > > >Dear List: > > > >I am translating my manufacturing software into Spanish with the help of >my >son and a couple of users of the system in Mexico. Is there anyone on >the >list here who speaks Spanish of whom I could ask a few translations of >technical and manufacturing terms? > > > >MTIA, > > > > > >Rocky Smolin > >Beach Access Software > >858-259-4334 > >www.e-z-mrp.com > > > > > -- Marty Connelly Victoria, B.C. Canada -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.29/607 - Release Date: 12/28/2006 12:31 PM From accessd at shaw.ca Sat Dec 30 22:15:53 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 Dec 2006 20:15:53 -0800 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <4596D6F1.1060101@shaw.ca> Message-ID: <0JB4001C4EEYSK00@l-daemon> Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards Jim From jwcolby at colbyconsulting.com Sat Dec 30 22:57:14 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 30 Dec 2006 23:57:14 -0500 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <0JB4001C4EEYSK00@l-daemon> Message-ID: <001401c72c98$241f9850$0301a8c0@m6805> Jim, I am having my sister-in-law design a "logo" for me and when I get home from this "vacation" I will make the paypal donation (got that set up) and send you the info. Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 30, 2006 11:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Donators added to the DBA site Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sat Dec 30 23:43:37 2006 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 31 Dec 2006 00:43:37 -0500 Subject: [AccessD] Donators added to the DBA site References: <001401c72c98$241f9850$0301a8c0@m6805> Message-ID: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721> ...got to be better than your current one, eh :)))) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 30, 2006 11:57 PM Subject: Re: [AccessD] Donators added to the DBA site > Jim, > > I am having my sister-in-law design a "logo" for me and when I get home > from > this "vacation" I will make the paypal donation (got that set up) and send > you the info. > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, December 30, 2006 11:16 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Donators added to the DBA site > > Hi All: > > The current group of donators have been added to the DBA site. > > http://www.databaseadvisors.com/donations/donor.asp > http://www.databaseadvisors.com/donations/friends.asp > http://www.databaseadvisors.com/donations/corporate.asp > > If you do not see you name of company added or added appropriately please > inform me at your nearest convenience at webmaster at databaseadvisors.com > > Regards > 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 Sun Dec 31 00:31:47 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 Dec 2006 22:31:47 -0800 Subject: [AccessD] Additios to the DBA site In-Reply-To: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721> Message-ID: <0JB40066YKPEQA10@l-daemon> Hi All: I have, with Shamil's help added a Russian translator to the DBA web site. http://www.databaseadvisors.com/index.asp There are a number of translation programs out there which can be used to make a decent translation and some very poor ones... Babel Fish comes to mind. But if there are no other options that will have to do. To that end we need some good free translators that will give us a reasonable to good translation for the following languages: Danish French Chinese Japanese Portuguese Spanish East Indian Etc... Of course if you would like to do a manual super translation I would be glad to help in any way I can........ Regards Jim From stuart at lexacorp.com.pg Sun Dec 31 01:24:42 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 31 Dec 2006 17:24:42 +1000 Subject: [AccessD] Additios to the DBA site In-Reply-To: <0JB40066YKPEQA10@l-daemon> References: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721>, <0JB40066YKPEQA10@l-daemon> Message-ID: <459765BA.18.13ED5568@stuart.lexacorp.com.pg> What language is "East Indian"? Presumably that covers India's 23 official languages, plus Burmese, Thai, Vietnamese, Malay, Tagalog and a few others. On 30 Dec 2006 at 22:31, Jim Lawrence wrote: > Hi All: > > I have, with Shamil's help added a Russian translator to the DBA web site. > http://www.databaseadvisors.com/index.asp > > There are a number of translation programs out there which can be used to > make a decent translation and some very poor ones... Babel Fish comes to > mind. But if there are no other options that will have to do. > > To that end we need some good free translators that will give us a > reasonable to good translation for the following languages: > > Danish > French > Chinese > Japanese > Portuguese > Spanish > East Indian > Etc... > > Of course if you would like to do a manual super translation I would be glad > to help in any way I can........ > > Regards > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From accessd at shaw.ca Sun Dec 31 01:47:41 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 Dec 2006 23:47:41 -0800 Subject: [AccessD] Additios to the DBA site In-Reply-To: <459765BA.18.13ED5568@stuart.lexacorp.com.pg> Message-ID: <0JB400DB6O7VMN20@l-daemon> Hi Stuart: Yes.... did I forget to mention Swahili? Just kidding.... :-) ...but any language translator insights and help would be great. Every time I notice another connection from another part of the planet I keep thinking it would nice to be able to accommodate, at least, some of the main language groups. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, December 30, 2006 11:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Additios to the DBA site What language is "East Indian"? Presumably that covers India's 23 official languages, plus Burmese, Thai, Vietnamese, Malay, Tagalog and a few others. On 30 Dec 2006 at 22:31, Jim Lawrence wrote: > Hi All: > > I have, with Shamil's help added a Russian translator to the DBA web site. > http://www.databaseadvisors.com/index.asp > > There are a number of translation programs out there which can be used to > make a decent translation and some very poor ones... Babel Fish comes to > mind. But if there are no other options that will have to do. > > To that end we need some good free translators that will give us a > reasonable to good translation for the following languages: > > Danish > French > Chinese > Japanese > Portuguese > Spanish > East Indian > Etc... > > Of course if you would like to do a manual super translation I would be glad > to help in any way I can........ > > Regards > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Dec 31 04:31:57 2006 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 31 Dec 2006 11:31:57 +0100 Subject: [AccessD] Save as Text Message-ID: Hi Marty It is slightly different. I know, because you wrote about it in July 2004 - as a method for creating a backup of tables, queries, and relations in a database file: http://databaseadvisors.com/pipermail/accessd/2004-July/026305.html So the saved file is not a text file but a normal mdb file. /gustav >>> martyconnelly at shaw.ca 30-12-2006 22:15 >>> Saving tables is the one exception to this method instead use the DAP pages method, it is a carryover from the original Access 97 method where it was really undocumented as opposed to just MS undocumented. I got the original hint from Larry Lawson. 'This saves all tables, references, relationships, ' DAP's and command menus to one file. SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" 'Save only once to one file so exit. ' the constant acDataAccessPage doesn't exist in Access 97 ' so use the magic number 6 Also you may not want to save temp Queries so If dbs.QueryDefs(i).Name, 1) <> "~" Then 'remove temp queries from selection 'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 ' you will get saveastext 2487 error. Martin Reid wrote: >Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. > >Martin > > > >Public Sub createtemplate() > > Dim db As Database > Dim doc As Document > Dim conn As Container > Dim strPath As String > Dim I As Integer > Set db = CurrentDb() > strPath = "C:\forms\" > 'Export the forms > Set conn = db.Containers("Forms") > For Each doc In conn.Documents > Application.SaveAsText acForm, doc.Name, strPath & "Form_" & doc.Name & ".txt " > Next doc > 'Export the Rreports > Set conn = db.Containers("Reports") > For Each doc In conn.Documents > Application.SaveAsText acReport, doc.Name, strPath & "Report_" & doc.Name & ".txt" > Next doc > Set conn = db.Containers("Modules") > For Each doc In conn.Documents > Application.SaveAsText acModule, doc.Name, strPath & "Module_" & doc.Name & ".txt" > Next doc >For Each td In db.TableDefs > If Left(td.Name, 4) <> "MSys" Then > DoCmd.TransferText , acExportDelim, , tb.Name, strPath & "Table " & td.Name & "text", True > End If >Next td >For I = 0 To dbs.QueryDefs.Count - 1 > Application.SaveAsText acQuery, dbs.QueryDefs(I).Name, "strPath" & dbs.QueryDefs(I).Name & ".txt" >Next I > > Set db = Nothing > Set conn = Nothing > Set doc = Nothing >Exit_createtemplate: > Exit Sub > >End Sub > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 From mwp.reid at qub.ac.uk Sun Dec 31 06:29:05 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 31 Dec 2006 12:29:05 -0000 Subject: [AccessD] Save as Text References: Message-ID: Marty Can you explain a little. I have based the intro on the templates on the save as text stuff. This is the copy edit stage so cant change to much. Oh ny the way Gustav even with the typo fixed the procedure still fails! Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast Saving tables is the one exception to this method instead use the DAP pages method, it is a carryover from the original Access 97 method where it was really undocumented as opposed to just MS undocumented. I got the original hint from Larry Lawson. 'This saves all tables, references, relationships, ' DAP's and command menus to one file. SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" 'Save only once to one file so exit. ' the constant acDataAccessPage doesn't exist in Access 97 ' so use the magic number 6 Also you may not want to save temp Queries so If dbs.QueryDefs(i).Name, 1) <> "~" Then 'remove temp queries from selection 'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 ' you will get saveastext 2487 error. Martin Reid wrote: >Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. > >Martin > > From jwcolby at colbyconsulting.com Sun Dec 31 13:20:43 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 31 Dec 2006 14:20:43 -0500 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <002c01c72c9e$9ed5b8d0$5658eb44@50NM721> Message-ID: <000e01c72d10$c7d39f50$657aa8c0@m6805> LOL, ya think? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, December 31, 2006 12:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Donators added to the DBA site ...got to be better than your current one, eh :)))) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 30, 2006 11:57 PM Subject: Re: [AccessD] Donators added to the DBA site > Jim, > > I am having my sister-in-law design a "logo" for me and when I get home > from > this "vacation" I will make the paypal donation (got that set up) and send > you the info. > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, December 30, 2006 11:16 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Donators added to the DBA site > > Hi All: > > The current group of donators have been added to the DBA site. > > http://www.databaseadvisors.com/donations/donor.asp > http://www.databaseadvisors.com/donations/friends.asp > http://www.databaseadvisors.com/donations/corporate.asp > > If you do not see you name of company added or added appropriately please > inform me at your nearest convenience at webmaster at databaseadvisors.com > > Regards > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Dec 31 15:16:54 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 13:16:54 -0800 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <000e01c72d10$c7d39f50$657aa8c0@m6805> Message-ID: <0JB500JIWPOJ6N00@l-daemon> Hi John: If you need any help with the graphics just let me know. Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, December 31, 2006 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Donators added to the DBA site LOL, ya think? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, December 31, 2006 12:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Donators added to the DBA site ...got to be better than your current one, eh :)))) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, December 30, 2006 11:57 PM Subject: Re: [AccessD] Donators added to the DBA site > Jim, > > I am having my sister-in-law design a "logo" for me and when I get home > from > this "vacation" I will make the paypal donation (got that set up) and send > you the info. > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, December 30, 2006 11:16 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Donators added to the DBA site > > Hi All: > > The current group of donators have been added to the DBA site. > > http://www.databaseadvisors.com/donations/donor.asp > http://www.databaseadvisors.com/donations/friends.asp > http://www.databaseadvisors.com/donations/corporate.asp > > If you do not see you name of company added or added appropriately please > inform me at your nearest convenience at webmaster at databaseadvisors.com > > Regards > 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 > -- 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 Dec 31 17:05:50 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 15:05:50 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <0JB500JIWPOJ6N00@l-daemon> Message-ID: <0JB500FVVUQ31650@l-daemon> Hi All: A group of translations have been added to the DBA web site. From the opening page you can now select amongst: English - we seem to have got that one fairly well done. Russian - It using one of the best English to Russian converter but it could of course be improved. (Once using this translator it is not as easy to jump to another language... not as easy to trick in code.) Chinese - It is from the Babel Fish translator which I have been told is not good and it is supports only one of the major dialects. (Will add another if there is an interest.) French - This uses Babel Fish Translator. German - ditto... Japanese - ditto... Portuguese - ditto... Espana - ditto... To my understanding there are better translation filters out there but it will be up to more capable individuals to bring the options to my attention. ... of course if some brave individual wishes to do an expert translation, I will be more than happy to assist in any way I can. Jim From askolits at ot.com Sun Dec 31 17:21:48 2006 From: askolits at ot.com (John Skolits) Date: Sun, 31 Dec 2006 18:21:48 -0500 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <0JB4001C4EEYSK00@l-daemon> Message-ID: <005101c72d32$7206a000$6501a8c0@LaptopXP> Gee, I made the top of the list! JC, Actually my sister and law did mine. Jim, The one I sent was in color, do I need to send you a new one? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 30, 2006 11:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Donators added to the DBA site Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Dec 31 18:32:26 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Dec 2006 16:32:26 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <0JB500FVVUQ31650@l-daemon> References: <0JB500FVVUQ31650@l-daemon> Message-ID: <4598569A.9090205@shaw.ca> Uh Oh this could be "Lo lightning has struck my postillion" Jim Lawrence wrote: >Hi All: > >A group of translations have been added to the DBA web site. From the >opening page you can now select amongst: > >English - we seem to have got that one fairly well done. >Russian - It using one of the best English to Russian converter but it could >of course be improved. (Once using this translator it is not as easy to jump >to another language... not as easy to trick in code.) >Chinese - It is from the Babel Fish translator which I have been told is not >good and it is supports only one of the major dialects. (Will add another if >there is an interest.) >French - This uses Babel Fish Translator. >German - ditto... >Japanese - ditto... >Portuguese - ditto... >Espana - ditto... > >To my understanding there are better translation filters out there but it >will be up to more capable individuals to bring the options to my attention. >... of course if some brave individual wishes to do an expert translation, I >will be more than happy to assist in any way I can. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Dec 31 18:49:37 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Dec 2006 16:49:37 -0800 Subject: [AccessD] Save as Text In-Reply-To: References: Message-ID: <45985AA1.2090602@shaw.ca> I think Microsoft did it this way in oder to save all DAP's, relationships, references, tables and command menus. It would require a boatload of code to do this in text files. So it just saves them to a basic mdb file with everything else stripped out like forms and queries. It achieves the same result as text file but simpler. You could export the tables as say a csv text file but that has it's own problems dropping formatting to only two decimal places and handling of binary OLE fields. Martin Reid wrote: >Marty > >Can you explain a little. I have based the intro on the templates on the save as text stuff. This is the copy edit stage so cant change to much. > >Oh ny the way Gustav even with the typo fixed the procedure still fails! > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast >Saving tables is the one exception to this method instead use the >DAP pages method, it is a carryover from the original Access 97 method >where it was really undocumented as opposed to just MS undocumented. >I got the original hint from Larry Lawson. > > 'This saves all tables, references, relationships, > ' DAP's and command menus to one file. > > SaveAsText acDataAccessPage, "", strPath & "dbAllTablesText.txt" > > 'Save only once to one file so exit. > ' the constant acDataAccessPage doesn't exist in Access 97 > ' so use the magic number 6 > >Also you may not want to save temp Queries so > > If dbs.QueryDefs(i).Name, 1) <> "~" Then > 'remove temp queries from selection > > >'using acTable = 0 with SaveAsText 'Tables won't work in 2003 or 97 > ' you will get saveastext 2487 error. > > >Martin Reid wrote: > > > >>Just fixing some stuff up. ANyone any idea whats the problem with this. It fails as soon as it tried to export the tables. >> >>Martin >> >> >> -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Sun Dec 31 21:02:37 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 19:02:37 -0800 Subject: [AccessD] Donators added to the DBA site In-Reply-To: <005101c72d32$7206a000$6501a8c0@LaptopXP> Message-ID: <0JB60016H5OPSF11@l-daemon> Hi John: I have been just putting them in alphabetically order... that seems fairest at the moment. Your initial graphic was very big and had to be reduced and sharpened (unsharpen mask) for it to fit and so the graphic would not break down. If you would like you could send another graphic but this time create it with a width no greater than 500 pixels. Less is best... less distortion. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Sunday, December 31, 2006 3:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Donators added to the DBA site Gee, I made the top of the list! JC, Actually my sister and law did mine. Jim, The one I sent was in color, do I need to send you a new one? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, December 30, 2006 11:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Donators added to the DBA site Hi All: The current group of donators have been added to the DBA site. http://www.databaseadvisors.com/donations/donor.asp http://www.databaseadvisors.com/donations/friends.asp http://www.databaseadvisors.com/donations/corporate.asp If you do not see you name of company added or added appropriately please inform me at your nearest convenience at webmaster at databaseadvisors.com Regards 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 Sun Dec 31 21:16:29 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 31 Dec 2006 19:16:29 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <4598569A.9090205@shaw.ca> Message-ID: <0JB600GIB6BTQB91@l-daemon> Hi Marty ...and your point is???... :-) Try double translating a passage and see if you can even understand what was meant. English: If you're like me, that saves me money. To Chinese and back to English again: If you look like me, that preserves my money. Close within a couple of feet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, December 31, 2006 4:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Translations added to the DBA site Uh Oh this could be "Lo lightning has struck my postillion" Jim Lawrence wrote: >Hi All: > >A group of translations have been added to the DBA web site. From the >opening page you can now select amongst: > >English - we seem to have got that one fairly well done. >Russian - It using one of the best English to Russian converter but it could >of course be improved. (Once using this translator it is not as easy to jump >to another language... not as easy to trick in code.) >Chinese - It is from the Babel Fish translator which I have been told is not >good and it is supports only one of the major dialects. (Will add another if >there is an interest.) >French - This uses Babel Fish Translator. >German - ditto... >Japanese - ditto... >Portuguese - ditto... >Espana - ditto... > >To my understanding there are better translation filters out there but it >will be up to more capable individuals to bring the options to my attention. >... of course if some brave individual wishes to do an expert translation, I >will be more than happy to assist in any way I can. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Dec 31 23:47:28 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Dec 2006 21:47:28 -0800 Subject: [AccessD] Translations added to the DBA site In-Reply-To: <0JB600GIB6BTQB91@l-daemon> References: <0JB600GIB6BTQB91@l-daemon> Message-ID: <4598A070.9000700@shaw.ca> Just quoting from Karl Baedeker's The Traveller's Manual of Conversation in Four Languages (1836 ed.) can be found: 'Postilion, stop; we wish to get down; a spoke of one of the wheels is broken.' In an 1886 edition I have found: 'Are the postilions insolent?; the lightning has struck; the coachman is drunk.' You could sense the browsers default language like http:\\www.trigeminal.com Jim Lawrence wrote: >Hi Marty > >...and your point is???... :-) > >Try double translating a passage and see if you can even understand what was >meant. > >English: >If you're like me, that saves me money. > >To Chinese and back to English again: >If you look like me, that preserves my money. > >Close within a couple of feet. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Sunday, December 31, 2006 4:32 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Translations added to the DBA site > >Uh Oh this could be "Lo lightning has struck my postillion" > >Jim Lawrence wrote: > > > >>Hi All: >> >>A group of translations have been added to the DBA web site. From the >>opening page you can now select amongst: >> >>English - we seem to have got that one fairly well done. >>Russian - It using one of the best English to Russian converter but it >> >> >could > > >>of course be improved. (Once using this translator it is not as easy to >> >> >jump > > >>to another language... not as easy to trick in code.) >>Chinese - It is from the Babel Fish translator which I have been told is >> >> >not > > >>good and it is supports only one of the major dialects. (Will add another >> >> >if > > >>there is an interest.) >>French - This uses Babel Fish Translator. >>German - ditto... >>Japanese - ditto... >>Portuguese - ditto... >>Espana - ditto... >> >>To my understanding there are better translation filters out there but it >>will be up to more capable individuals to bring the options to my >> >> >attention. > > >>... of course if some brave individual wishes to do an expert translation, >> >> >I > > >>will be more than happy to assist in any way I can. >> >>Jim >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada