From DWUTKA at Marlow.com Tue Jan 1 10:01:30 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 1 Jan 2008 10:01:30 -0600 Subject: [AccessD] A2k7 Runtime In-Reply-To: <29f585dd0712280934j4ab07920v191b7d0af8b18644@mail.gmail.com> Message-ID: Sounds like you need to be running Virtual PC. It's free ya know, and you can have all the test platforms you want on one machine. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, December 28, 2007 11:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2k7 Runtime I haven't licensed the A2K7 product (principally because the ribbon stuff totally bewildered me, but that's beside the point). I'm wondering if, using the Eval version, I can deliver a RunTime version to a client who doesn't have A2K7 installed. Anyone know? I could test this myself except that I'm in the midst of moving out of my house and only one of my computers is still working, so I can't test on a machine that doesn't have A2K7 installed. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Tue Jan 1 10:01:30 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 1 Jan 2008 10:01:30 -0600 Subject: [AccessD] Document Caused Serious Error In-Reply-To: <20071230175749.XHVS18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Is it giving you this error in terminal server? We use Terminal Server at work, and I get various 'serious errors' from time to time from different apps. This is basically someone using an app, then killing their session, without properly logging off. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, December 30, 2007 11:58 AM To: accessd at databaseadvisors.com Subject: [AccessD] Document Caused Serious Error I have an Access XP ade which is being opened in Access 2003 SP3 through terminal server. About every second time that I open it, I get an error message saying that the document caused a serious error last time it was opened. I follow the instructions for removing it from the disabled items list but it keeps coming back. I have replaced the file but it makes no difference. If I ignore the message then the database opens ok and seems to run fine. Anyone have any pointers on how to permanently fix this? 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 newsgrps at dalyn.co.nz Tue Jan 1 12:12:14 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 02 Jan 2008 07:12:14 +1300 Subject: [AccessD] Document Caused Serious Error In-Reply-To: References: <20071230175749.XHVS18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20080101181529.YLYV18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> I am getting the error in TS, but also when I use remote desktop to access the server direct. I need to go into the clients office and try it direct on their server. David At 2/01/2008, you wrote: >Is it giving you this error in terminal server? > >We use Terminal Server at work, and I get various 'serious errors' from >time to time from different apps. This is basically someone using an >app, then killing their session, without properly logging off. > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 30, 2007 11:58 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Document Caused Serious Error > >I have an Access XP ade which is being opened in Access 2003 SP3 >through terminal server. > >About every second time that I open it, I get an error message saying >that the document caused a serious error last time it was opened. I >follow the instructions for removing it from the disabled items list >but it keeps coming back. I have replaced the file but it makes no >difference. > >If I ignore the message then the database opens ok and seems to run >fine. > >Anyone have any pointers on how to permanently fix this? > >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 > >-- >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 Jan 1 12:15:41 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 02 Jan 2008 07:15:41 +1300 Subject: [AccessD] Document Caused Serious Error In-Reply-To: <20080101155148.DKX56974@dommail.onthenet.com.au> References: <20080101155148.DKX56974@dommail.onthenet.com.au> Message-ID: <20080101181534.YMAQ18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> I haven't installed the hotfix, however none of the errors mentioned in the article are the one I am experiencing. David At 1/01/2008, you wrote: >David, >Can't be much of a direct help here, but have you tried to >install the hotfix that Steve alerted us about on 28 >December. > >http://support.microsoft.com/kb/945674 > >Regards >Borge >... > >Date: Fri 28 Dec 16:28:49 EST 2007 >From: Steve Schapel Add To Address >Book | This is Spam >Subject: [AccessD] Office 2003 SP3 Hotfix >To: "'Access Developers discussion and problem solving'" > >Hi all, >It may be of interest to you to know that some of the >problems caused by >Office 2003 SP3 have been addressed... >http://support.microsoft.com/kb/945674 >Regards >Steve > >---- Original message ---- > >Date: Tue, 01 Jan 2008 13:43:30 +1300 > >From: David Emerson > >Subject: Re: [AccessD] Document Caused Serious Error > >To: Access Developers discussion and problem solving > > > > >Following from my previous message, I find that the error >shows even > >if I open Access 2003, Open the Access XP ade file using >the shift > >key so that the program doesn't actually start, and then >close the > >access database without doing anything. > > > >Could there be a problem with Access 2003 and Access XP >ade's? > > > >David > > > >At 31/12/2007, you wrote: > >>I have an Access XP ade which is being opened in Access >2003 SP3 > >>through terminal server. > >> > >>About every second time that I open it, I get an error >message saying > >>that the document caused a serious error last time it was >opened. I > >>follow the instructions for removing it from the disabled >items list > >>but it keeps coming back. I have replaced the file but it >makes no > >>difference. > >> > >>If I ignore the message then the database opens ok and >seems to run fine. > >> > >>Anyone have any pointers on how to permanently fix this? > >> > >>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 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Jan 1 13:01:32 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 1 Jan 2008 14:01:32 -0500 Subject: [AccessD] Screen Flutter In-Reply-To: <003d01c84bdc$4476e4f0$8119fea9@LTVM> References: <004701c84bda$3de04200$0301a8c0@HAL9005> <003d01c84bdc$4476e4f0$8119fea9@LTVM> Message-ID: <29f585dd0801011101v62c46415v46babcbc6d201aff@mail.gmail.com> Reminds me of the opposing soldiers in WWI singing Silent Night across enemy lines, one side in German and the other in English. On 12/31/07, Max Wanadoo wrote: > > Aha! Gives up easy huh? > Not going into battle with you then! > Max > From fuller.artful at gmail.com Tue Jan 1 13:25:49 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 1 Jan 2008 14:25:49 -0500 Subject: [AccessD] Extend Switchboard Manager Message-ID: <29f585dd0801011125o1be2c875j65303b6089afd0ed@mail.gmail.com> Is the source code for Switchboard Manager available? I like to use this tool but it irritates me that the imposed limit on # of items is 8, especially given today's large screens. The 8-item limit made sense way back when but now it's silly, given the screen estate available. I have built a couple of work-arounds to let me add items beyond 8, but it would be so much simpler to revise the existing code, preserve all its niceties, and be able to expand its max-number to whatever I wish. So, is the original source for Switchboard Manager available anywhere? TIA and Happy New Year, everyone. Arthur From max.wanadoo at gmail.com Tue Jan 1 13:39:29 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 1 Jan 2008 19:39:29 -0000 Subject: [AccessD] Extend Switchboard Manager In-Reply-To: <29f585dd0801011125o1be2c875j65303b6089afd0ed@mail.gmail.com> Message-ID: <000001c84cae$079a1ca0$8119fea9@LTVM> Arthur, If you create a menu using the Switchboard Wizard and the open it in design view and all the code is there. Not sure if this will give you what you need. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, January 01, 2008 7:26 PM To: Access Developers discussion and problem solving Subject: [AccessD] Extend Switchboard Manager Is the source code for Switchboard Manager available? I like to use this tool but it irritates me that the imposed limit on # of items is 8, especially given today's large screens. The 8-item limit made sense way back when but now it's silly, given the screen estate available. I have built a couple of work-arounds to let me add items beyond 8, but it would be so much simpler to revise the existing code, preserve all its niceties, and be able to expand its max-number to whatever I wish. So, is the original source for Switchboard Manager available anywhere? TIA and Happy New Year, everyone. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Jan 1 14:55:28 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 1 Jan 2008 15:55:28 -0500 Subject: [AccessD] Extend Switchboard Manager In-Reply-To: <000001c84cae$079a1ca0$8119fea9@LTVM> References: <29f585dd0801011125o1be2c875j65303b6089afd0ed@mail.gmail.com> <000001c84cae$079a1ca0$8119fea9@LTVM> Message-ID: <29f585dd0801011255sf610033nf44c63eea156d0a3@mail.gmail.com> Thanks, Max. I already knew that. The problem is that this affects and accesses only the result, not the Manager itself. What I want is the source to the Manager, so I can transcend its limit of 8 options per switchboard. I built a rough equivalent, but it lacks the "Move Up/Move Down" functionality, so I have to do that part by hand, and that's annoying. Arthur On 1/1/08, Max Wanadoo wrote: > > Arthur, > If you create a menu using the Switchboard Wizard and the open it in > design > view and all the code is there. > Not sure if this will give you what you need. > Max > > From max.wanadoo at gmail.com Tue Jan 1 15:24:23 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 1 Jan 2008 21:24:23 -0000 Subject: [AccessD] Extend Switchboard Manager In-Reply-To: <29f585dd0801011255sf610033nf44c63eea156d0a3@mail.gmail.com> Message-ID: <000101c84cbc$aeeeb020$8119fea9@LTVM> Arthur: Have a look at : http://www.accessmvp.com/JConrad/accessjunkie/switchboardfaq.html It might help, also the stuff it links to. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, January 01, 2008 8:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Extend Switchboard Manager Thanks, Max. I already knew that. The problem is that this affects and accesses only the result, not the Manager itself. What I want is the source to the Manager, so I can transcend its limit of 8 options per switchboard. I built a rough equivalent, but it lacks the "Move Up/Move Down" functionality, so I have to do that part by hand, and that's annoying. Arthur On 1/1/08, Max Wanadoo wrote: > > Arthur, > If you create a menu using the Switchboard Wizard and the open it in > design view and all the code is there. > Not sure if this will give you what you need. > Max > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Wed Jan 2 10:05:12 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 2 Jan 2008 10:05:12 -0600 Subject: [AccessD] Document Caused Serious Error In-Reply-To: <20080101181529.YLYV18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: Yes, do that, technically, TS and Remote Desktop (on a TS Server) are the same thing. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, January 01, 2008 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Document Caused Serious Error I am getting the error in TS, but also when I use remote desktop to access the server direct. I need to go into the clients office and try it direct on their server. David At 2/01/2008, you wrote: >Is it giving you this error in terminal server? > >We use Terminal Server at work, and I get various 'serious errors' from >time to time from different apps. This is basically someone using an >app, then killing their session, without properly logging off. > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, December 30, 2007 11:58 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Document Caused Serious Error > >I have an Access XP ade which is being opened in Access 2003 SP3 >through terminal server. > >About every second time that I open it, I get an error message saying >that the document caused a serious error last time it was opened. I >follow the instructions for removing it from the disabled items list >but it keeps coming back. I have replaced the file but it makes no >difference. > >If I ignore the message then the database opens ok and seems to run >fine. > >Anyone have any pointers on how to permanently fix this? > >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 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jan 2 10:51:57 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 2 Jan 2008 10:51:57 -0600 Subject: [AccessD] I need a better way to do this - looping Message-ID: I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(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 ssharkins at gmail.com Wed Jan 2 11:08:32 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 2 Jan 2008 12:08:32 -0500 Subject: [AccessD] I need a better way to do this - looping References: Message-ID: <006e01c84d62$1e494070$4b3a8343@SusanOne> Wouldn't it be easier to just "find" the first 100, as in rst.Find 100? That might not be the right syntax -- but should be close enough. Susan H. >I use the following code to loop through a record set until the field > being checked is less than 100. This works great unless I run out of > records before the condition is met. When that happens > > Earliest date is equated to nothing (no current record). What might be a > better way to do this? Thanks. > > > > Do Until Myds1.EOF > > Select Case Myds1.Fields(4) > > Case Is > 100 > > Myds1.MoveNext > > Case Else > > Exit Do > > End Select > > Loop > > EarliestDate = Myds1.Fields(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 Chester_Kaup at kindermorgan.com Wed Jan 2 11:15:42 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 2 Jan 2008 11:15:42 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: <006e01c84d62$1e494070$4b3a8343@SusanOne> References: <006e01c84d62$1e494070$4b3a8343@SusanOne> Message-ID: Guess I did not explain this well. The dataset is sorted by date descending. I need to move down the dates finding the date of the first record where the value in myds.fields(4) is less than 100. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, January 02, 2008 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Wouldn't it be easier to just "find" the first 100, as in rst.Find 100? That might not be the right syntax -- but should be close enough. Susan H. >I use the following code to loop through a record set until the field > being checked is less than 100. This works great unless I run out of > records before the condition is met. When that happens > > Earliest date is equated to nothing (no current record). What might be a > better way to do this? Thanks. > > > > Do Until Myds1.EOF > > Select Case Myds1.Fields(4) > > Case Is > 100 > > Myds1.MoveNext > > Case Else > > Exit Do > > End Select > > Loop > > EarliestDate = Myds1.Fields(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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Jan 2 11:27:52 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 2 Jan 2008 12:27:52 -0500 Subject: [AccessD] I need a better way to do this - looping References: <006e01c84d62$1e494070$4b3a8343@SusanOne> Message-ID: <009101c84d64$cf0bbb20$4b3a8343@SusanOne> Why wouldn't Find work in this case? I'm sure I'm just being dense and I apologize up front. Wait... does Find return multiple records? Susan H. > Guess I did not explain this well. The dataset is sorted by date > descending. I need to move down the dates finding the date of the first > record where the value in myds.fields(4) is less than 100. From cfoust at infostatsystems.com Wed Jan 2 11:30:11 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 2 Jan 2008 09:30:11 -0800 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From ssharkins at gmail.com Wed Jan 2 11:51:56 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 2 Jan 2008 12:51:56 -0500 Subject: [AccessD] I need a better way to do this - looping References: Message-ID: <00a501c84d68$2c65dd70$4b3a8343@SusanOne> >I don't understand. If you run out of records before the condition is > met, then isn't Nothing the right answer? ========Oh wise one, you shine your light in the darkest places. :) I hang my head in shame. Susan H. From mmattys at rochester.rr.com Wed Jan 2 12:04:44 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 2 Jan 2008 13:04:44 -0500 Subject: [AccessD] I need a better way to do this - looping References: <00a501c84d68$2c65dd70$4b3a8343@SusanOne> Message-ID: <002001c84d69$f578f930$0202a8c0@Laptop> Well, if a date was an object ... Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, January 02, 2008 12:51 PM Subject: Re: [AccessD] I need a better way to do this - looping > > >>I don't understand. If you run out of records before the condition is >> met, then isn't Nothing the right answer? > > ========Oh wise one, you shine your light in the darkest places. :) I hang > my head in shame. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Jan 2 12:10:07 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 2 Jan 2008 18:10:07 +0000 Subject: [AccessD] Screen Flutter In-Reply-To: <29f585dd0801011101v62c46415v46babcbc6d201aff@mail.gmail.com> References: <004701c84bda$3de04200$0301a8c0@HAL9005> <003d01c84bdc$4476e4f0$8119fea9@LTVM> <29f585dd0801011101v62c46415v46babcbc6d201aff@mail.gmail.com> Message-ID: "Belleau Wood" is a song by Garth Brooks...about this story. Mark > Date: Tue, 1 Jan 2008 14:01:32 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Screen Flutter > > Reminds me of the opposing soldiers in WWI singing Silent Night across enemy > lines, one side in German and the other in English. > > On 12/31/07, Max Wanadoo wrote: >> >> Aha! Gives up easy huh? >> Not going into battle with you then! >> Max >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007 From Chester_Kaup at kindermorgan.com Wed Jan 2 12:34:39 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 2 Jan 2008 12:34:39 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jan 2 12:48:34 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 2 Jan 2008 10:48:34 -0800 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: So if you wind up with Nothing, you use the count of records, NO? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From Chester_Kaup at kindermorgan.com Wed Jan 2 12:57:06 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 2 Jan 2008 12:57:06 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: Here is the solution I can up with. Not elegant but works. If someone has a better one enhance my skills. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop If Myds1.EOF Then Myds1.Move -1 EarliestDate = Myds1.Fields(1) Else EarliestDate = Myds1.Fields(1) End If DaysAbove100 = Myds.Fields(1) - Myds1.Fields(1) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 12:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping So if you wind up with Nothing, you use the count of records, NO? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 2 13:04:33 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 2 Jan 2008 14:04:33 -0500 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: <002f01c84d72$51039960$657aa8c0@M90> Why don't you just put in a "where Myds1.Fields(4) > 100" and count the resulting records? 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 Kaup, Chester Sent: Wednesday, January 02, 2008 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Here is the solution I can up with. Not elegant but works. If someone has a better one enhance my skills. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop If Myds1.EOF Then Myds1.Move -1 EarliestDate = Myds1.Fields(1) Else EarliestDate = Myds1.Fields(1) End If DaysAbove100 = Myds.Fields(1) - Myds1.Fields(1) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 12:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping So if you wind up with Nothing, you use the count of records, NO? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Wed Jan 2 13:16:44 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 2 Jan 2008 19:16:44 -0000 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: <00d101c84d74$03e89b60$8119fea9@LTVM> You could try this (aircode):- Dim dbs as dao.database, rst as dao.recorset, sql as string Dim varDateResponse as variant Set dbs = currentdb Sql = "Select PressureDate,PressureReading from tblReadings where PressureReading < 100 Order By PressureDate DESC" Set rst = dbs.openrecordset(sql) If rst.eof then varDateResponse = dcount("*","tblReadings") Else varDateResponse = rst!Pressuredate ' take first record End if Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 6:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 2 13:16:46 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 2 Jan 2008 13:16:46 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: <002f01c84d72$51039960$657aa8c0@M90> References: <002f01c84d72$51039960$657aa8c0@M90> Message-ID: Something like this? Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext DaysAbove100 = DaysAbove100 +1 Case Else Exit Do End Select Loop -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 02, 2008 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I need a better way to do this - looping Why don't you just put in a "where Myds1.Fields(4) > 100" and count the resulting records? 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 Kaup, Chester Sent: Wednesday, January 02, 2008 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Here is the solution I can up with. Not elegant but works. If someone has a better one enhance my skills. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop If Myds1.EOF Then Myds1.Move -1 EarliestDate = Myds1.Fields(1) Else EarliestDate = Myds1.Fields(1) End If DaysAbove100 = Myds.Fields(1) - Myds1.Fields(1) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 12:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping So if you wind up with Nothing, you use the count of records, NO? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Jan 2 13:18:47 2008 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 2 Jan 2008 13:18:47 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 mmattys at rochester.rr.com Wed Jan 2 13:21:58 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 2 Jan 2008 14:21:58 -0500 Subject: [AccessD] I need a better way to do this - looping References: Message-ID: <006401c84d74$bfcff080$0202a8c0@Laptop> Chester, Sounds like you just need a running total in a query. http://www.groupacg.com/AqryTip.htm#RUNNING Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Wednesday, January 02, 2008 1:57 PM Subject: Re: [AccessD] I need a better way to do this - looping > Here is the solution I can up with. Not elegant but works. If someone > has a better one enhance my skills. > > Do Until Myds1.EOF > Select Case Myds1.Fields(4) > Case Is > 100 > Myds1.MoveNext > Case Else > Exit Do > End Select > Loop > If Myds1.EOF Then > Myds1.Move -1 > EarliestDate = Myds1.Fields(1) > Else > EarliestDate = Myds1.Fields(1) > End If > > DaysAbove100 = Myds.Fields(1) - Myds1.Fields(1) From Chester_Kaup at kindermorgan.com Wed Jan 2 13:30:39 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 2 Jan 2008 13:30:39 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 ssharkins at gmail.com Wed Jan 2 13:35:57 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 2 Jan 2008 14:35:57 -0500 Subject: [AccessD] I need a better way to do this - looping References: Message-ID: <004901c84d76$b3f114e0$4b3a8343@SusanOne> So, you're counting in subsets? Susan H. >I don't think this will work because I only need to count the number of > records between the last record and the first record (date descending) > where the measurement is greater than 100. There may records further > down in the table that are also above 100 but there are records below > 100 between these and the first group. For example From jimdettman at verizon.net Wed Jan 2 13:55:37 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 02 Jan 2008 14:55:37 -0500 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: <000001c84d79$72d6cb00$8abea8c0@XPS> That works, but assumes that there is always one record per date. If your OK with that, then that's fine, but I might add a DateDiff() on the last statement just to make it clear what's going on. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Here is the solution I can up with. Not elegant but works. If someone has a better one enhance my skills. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop If Myds1.EOF Then Myds1.Move -1 EarliestDate = Myds1.Fields(1) Else EarliestDate = Myds1.Fields(1) End If DaysAbove100 = Myds.Fields(1) - Myds1.Fields(1) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 12:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping So if you wind up with Nothing, you use the count of records, NO? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 02, 2008 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't understand. If you run out of records before the condition is met, then isn't Nothing the right answer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 8:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(1) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jan 2 13:58:16 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 2 Jan 2008 13:58:16 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: <000e01c84d79$d0724370$0300a8c0@danwaters> Below you would set a default date, and if you never have a record where Myds1.Fields(4) > 100, then your variable equals the default date. EarliestDate = [DefaultValue] Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 EarliestDate = Myds1.Fields(1) Myds1.MoveNext Case Else Exit Do End Select Loop Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 10:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need a better way to do this - looping I use the following code to loop through a record set until the field being checked is less than 100. This works great unless I run out of records before the condition is met. When that happens Earliest date is equated to nothing (no current record). What might be a better way to do this? Thanks. Do Until Myds1.EOF Select Case Myds1.Fields(4) Case Is > 100 Myds1.MoveNext Case Else Exit Do End Select Loop EarliestDate = Myds1.Fields(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 papparuff at comcast.net Wed Jan 2 14:23:05 2008 From: papparuff at comcast.net (papparuff at comcast.net) Date: Wed, 02 Jan 2008 20:23:05 +0000 Subject: [AccessD] I need a better way to do this - looping Message-ID: <010220082023.29827.477BF2A90006EE6800007483220681509300009A9D0E9F9F0E9F@comcast.net> Chester, I would use two queries and code to capture your data. 1. Query 1 captures the last date where the measurement is < 101. I called this query qryLastMeasurement. SELECT Last(tblTest.fldDate) AS LastDateUnder101 FROM tblTest WHERE (((tblTest.fldMeasurement)<101)); 2. Query 2 would use query 1 and capture the number of records that are greater than 100 with dates greater than the one captured in the first query. This query's name is qryTotalMeasurements. SELECT Count(tblTest.fldMeasurement) AS TotalOver100 FROM tblTest, qryLastMeasurement WHERE (((tblTest.fldDate)>[Lastofflddate]) AND ((tblTest.fldMeasurement)>100)); 3. Here's the procedure to capture the total. Public Sub CountMeasurements() Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim intTotal As Integer Set dbs = CurrentDb Set rst = dbs.OpenRecordset("qryTotalMeasurements") intTotal = 0 Do While Not rst.EOF intTotal = rst.Fields(0) rst.MoveNext Loop EarliestDate = intTotal rst.Close dbs.Close Set rst = Nothing Set dbs = Nothing End Sub Will this work for you? papparuff -- John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -------------- Original message -------------- From: "Kaup, Chester" > I use the following code to loop through a record set until the field > being checked is less than 100. This works great unless I run out of > records before the condition is met. When that happens > > Earliest date is equated to nothing (no current record). What might be a > better way to do this? Thanks. > > > > Do Until Myds1.EOF > > Select Case Myds1.Fields(4) > > Case Is > 100 > > Myds1.MoveNext > > Case Else > > Exit Do > > End Select > > Loop > > EarliestDate = Myds1.Fields(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 fuller.artful at gmail.com Wed Jan 2 14:56:43 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 2 Jan 2008 15:56:43 -0500 Subject: [AccessD] Conditional Formatting bug? Message-ID: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> Hi all, I have an A2K app with one continuous form "browser" screen that displays a calculated column called Balance that has conditional formatting. It is behaving strangely so I'm wondering whether there is a bug in Access on conditional formatting. There are two formats applied: if the balance is negative, display it in red. If the balance is positive, display it in green. The default is black. What happens here is that even with only one rule, the red rule, all non-zero balances get colored red. It doesn't matter whether I add the second rule or not. Just adding one conditional format exhibits this behavior. Can anyone verify that it works correctly on some A2K database? I mean, this is so simple, it has to be a bug in Access. TIA, Arthur From miscellany at mvps.org Wed Jan 2 15:09:10 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 03 Jan 2008 10:09:10 +1300 Subject: [AccessD] Conditional Formatting bug? In-Reply-To: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> References: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> Message-ID: <477BFD76.7060000@mvps.org> Hi Arthur, I have used Conditional Formatting fairly often, both in Access 2000 and Access 2003, with more than one condition, based on the value of a calculated control, and I have never experienced the type of problem you have described. Can you give us the details of how you have the CF set up? Regards Steve Arthur Fuller wrote: > Hi all, > > I have an A2K app with one continuous form "browser" screen that displays a > calculated column called Balance that has conditional formatting. It is > behaving strangely so I'm wondering whether there is a bug in Access on > conditional formatting. There are two formats applied: if the balance is > negative, display it in red. If the balance is positive, display it in > green. The default is black. What happens here is that even with only one > rule, the red rule, all non-zero balances get colored red. It doesn't matter > whether I add the second rule or not. Just adding one conditional format > exhibits this behavior. > > Can anyone verify that it works correctly on some A2K database? I mean, this > is so simple, it has to be a bug in Access. > > TIA, > Arthur From szayko at secor.com Wed Jan 2 15:24:09 2008 From: szayko at secor.com (Steve Zayko) Date: Wed, 2 Jan 2008 13:24:09 -0800 Subject: [AccessD] MSAccess XP to SQL2005 Backend In-Reply-To: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <5D71EC0BA06F7C41B6088EF70CA4014E01AF591D@exchangecolo.secor.com> I have been using an MSAccess adp project FE that connects to a SQL2000 BE database for about 3 years now. The administrative powers that be will be upgrading the SQL 2000 server to SQL 2005 next month. I did a test upgrade and got the following error message: You have connected to a version of SQL Server later than SQL Server 2000. The version of Access that you are using was released before the version of SQL Server to which you are connected. For this reason, you might encounter problems. The problem I am having is that all tables and queries are not visible/accessible/usable. Does anyone know of a service pack or patch that would give me an easy solution? Thanks -Z Stephen R. Zayko P.E. SECOR International Inc 2321 Club Meridian Drive, Ste E. Okemos, MI 48864 (517) 349-9499 (ph) ext 224 (517) 204-5136 (cell) From ssharkins at gmail.com Wed Jan 2 15:29:42 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 2 Jan 2008 16:29:42 -0500 Subject: [AccessD] Conditional Formatting bug? References: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> Message-ID: <004201c84d86$9c587b60$4b3a8343@SusanOne> I've run into it before, but I'm not help -- never could get it to work. Susan H. > Hi all, > > Can anyone verify that it works correctly on some A2K database? I mean, > this > is so simple, it has to be a bug in Access. From DWUTKA at Marlow.com Wed Jan 2 15:36:37 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 2 Jan 2008 15:36:37 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 markamatte at hotmail.com Wed Jan 2 15:37:25 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 2 Jan 2008 21:37:25 +0000 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: I agree with some of the other posts...this can be done in a single query. for this example a single table...with 2 fields DT(date) and MS(Measure)...Use a subquery to find the max date where the MS was under 100...use that as a filter in your query and ask for everything greater than that date. **********START SQL************* SELECT Count(*) AS Records FROM tblTest WHERE (((tblTest.dt)>(SELECT Max(tblTest.dt) AS MaxOfdt FROM tblTest WHERE (((tblTest.MS) Date: Wed, 2 Jan 2008 10:51:57 -0600 > From: Chester_Kaup at kindermorgan.com > To: accessd at databaseadvisors.com > Subject: [AccessD] I need a better way to do this - looping > > I use the following code to loop through a record set until the field > being checked is less than 100. This works great unless I run out of > records before the condition is met. When that happens > > Earliest date is equated to nothing (no current record). What might be a > better way to do this? Thanks. > > > > Do Until Myds1.EOF > > Select Case Myds1.Fields(4) > > Case Is> 100 > > Myds1.MoveNext > > Case Else > > Exit Do > > End Select > > Loop > > EarliestDate = Myds1.Fields(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 _________________________________________________________________ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007 From fuller.artful at gmail.com Wed Jan 2 16:59:41 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 2 Jan 2008 17:59:41 -0500 Subject: [AccessD] Conditional Formatting bug? In-Reply-To: <477BFD76.7060000@mvps.org> References: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> <477BFD76.7060000@mvps.org> Message-ID: <29f585dd0801021459x1f2fc37akbe64e23b9403ef73@mail.gmail.com> The formatted column calls a function and returns a currency value that is positive or negative or zero. The name of the column is CalculatedBalance. There are two formatting rules: Condition1: Field Value is greater than zero, paint the foreground green. Condition2: Field Value is less than zero, paint the foreground red. The behavior is that all non-zero values are painted green. Zero values are left alone (black on white). Arthur On 1/2/08, Steve Schapel wrote: > > Hi Arthur, > > I have used Conditional Formatting fairly often, both in Access 2000 and > Access 2003, with more than one condition, based on the value of a > calculated control, and I have never experienced the type of problem you > have described. > > Can you give us the details of how you have the CF set up? > > Regards > Steve > > Arthur Fuller wrote: > > Hi all, > > > > I have an A2K app with one continuous form "browser" screen that > displays a > > calculated column called Balance that has conditional formatting. It is > > behaving strangely so I'm wondering whether there is a bug in Access on > > conditional formatting. There are two formats applied: if the balance is > > negative, display it in red. If the balance is positive, display it in > > green. The default is black. What happens here is that even with only > one > > rule, the red rule, all non-zero balances get colored red. It doesn't > matter > > whether I add the second rule or not. Just adding one conditional format > > exhibits this behavior. > > > > Can anyone verify that it works correctly on some A2K database? I mean, > this > > is so simple, it has to be a bug in Access. > > > > TIA, > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Wed Jan 2 17:04:19 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 2 Jan 2008 18:04:19 -0500 Subject: [AccessD] MSAccess XP to SQL2005 Backend In-Reply-To: <5D71EC0BA06F7C41B6088EF70CA4014E01AF591D@exchangecolo.secor.com> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> <5D71EC0BA06F7C41B6088EF70CA4014E01AF591D@exchangecolo.secor.com> Message-ID: <29f585dd0801021504ta1235fexf95b5217d47fd7b6@mail.gmail.com> There is no easy solution that a service pack could fix, because SQL 2005 differs significantly in its architecture. What will work, I think, is upgrading the Access app to Access 2007. Arthur On 1/2/08, Steve Zayko wrote: > > I have been using an MSAccess adp project FE that connects to a SQL2000 > BE database for about 3 years now. The administrative powers that be > will be upgrading the SQL 2000 server to SQL 2005 next month. I did a > test upgrade and got the following error message: > > You have connected to a version of SQL Server later than SQL Server > 2000. The version of Access that you are using was released before the > version of SQL Server to which you are connected. For this reason, you > might encounter problems. > > The problem I am having is that all tables and queries are not > visible/accessible/usable. > > Does anyone know of a service pack or patch that would give me an easy > solution? > > Thanks > > -Z > From miscellany at mvps.org Wed Jan 2 18:28:05 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 03 Jan 2008 13:28:05 +1300 Subject: [AccessD] Conditional Formatting bug? In-Reply-To: <29f585dd0801021459x1f2fc37akbe64e23b9403ef73@mail.gmail.com> References: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> <477BFD76.7060000@mvps.org> <29f585dd0801021459x1f2fc37akbe64e23b9403ef73@mail.gmail.com> Message-ID: <477C2C15.7020804@mvps.org> Arthur, I am away from my computer today, so can't play with it as I would like. As an experiment, can you change the Conditions to use the 'Expression is...' option, and then enter like this: [CalculatedBalance]>0 See if that works correctly. If not, try then with an expression back to raw data, e.g... YourFunction([YourField])>0 Regards Steve Arthur Fuller wrote: > The formatted column calls a function and returns a currency value that is > positive or negative or zero. The name of the column is CalculatedBalance. > There are two formatting rules: > > Condition1: Field Value is greater than zero, paint the foreground green. > Condition2: Field Value is less than zero, paint the foreground red. > > The behavior is that all non-zero values are painted green. Zero values are > left alone (black on white). From fuller.artful at gmail.com Wed Jan 2 19:51:26 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 2 Jan 2008 20:51:26 -0500 Subject: [AccessD] Conditional Formatting bug? In-Reply-To: <477C2C15.7020804@mvps.org> References: <29f585dd0801021256w5280ff45hc4ae37e2383a5ddf@mail.gmail.com> <477BFD76.7060000@mvps.org> <29f585dd0801021459x1f2fc37akbe64e23b9403ef73@mail.gmail.com> <477C2C15.7020804@mvps.org> Message-ID: <29f585dd0801021751x4b23ff13od70fc2dc509d97e2@mail.gmail.com> Thanks for the ideas. I'll give them a shot. On 1/2/08, Steve Schapel wrote: > > Arthur, > > I am away from my computer today, so can't play with it as I would like. > > As an experiment, can you change the Conditions to use the 'Expression > is...' option, and then enter like this: > [CalculatedBalance]>0 > See if that works correctly. > > If not, try then with an expression back to raw data, e.g... > YourFunction([YourField])>0 > > Regards > Steve > From jimdettman at verizon.net Wed Jan 2 21:14:29 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 02 Jan 2008 22:14:29 -0500 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: <000801c84db6$c151cf90$8abea8c0@XPS> Drew, If he's got a hefty table though, that sub select is going to be slow unless it can run against indexes. The loop would most likely be faster. He needs to test it both ways. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 4:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 robert at webedb.com Thu Jan 3 07:44:26 2008 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 03 Jan 2008 07:44:26 -0600 Subject: [AccessD] MSAccess XP to SQL2005 Backend In-Reply-To: References: Message-ID: <200801031348.m03DmotO009481@databaseadvisors.com> Steve, Everything will work correctly. You cannot use Access to make changes in the database any longer. You will have to use Management Studio to do it from now on. Robert At 04:59 PM 1/2/2008, you wrote: >Date: Wed, 2 Jan 2008 13:24:09 -0800 >From: "Steve Zayko" >Subject: [AccessD] MSAccess XP to SQL2005 Backend >To: "Access Developers discussion and problem solving" > >Message-ID: > <5D71EC0BA06F7C41B6088EF70CA4014E01AF591D at exchangecolo.secor.com> >Content-Type: text/plain; charset="us-ascii" > >I have been using an MSAccess adp project FE that connects to a SQL2000 >BE database for about 3 years now. The administrative powers that be >will be upgrading the SQL 2000 server to SQL 2005 next month. I did a >test upgrade and got the following error message: > >You have connected to a version of SQL Server later than SQL Server >2000. The version of Access that you are using was released before the >version of SQL Server to which you are connected. For this reason, you >might encounter problems. > >The problem I am having is that all tables and queries are not >visible/accessible/usable. > >Does anyone know of a service pack or patch that would give me an easy >solution? > >Thanks > >-Z > >Stephen R. Zayko P.E. >SECOR International Inc >2321 Club Meridian Drive, Ste E. >Okemos, MI 48864 > >(517) 349-9499 (ph) ext 224 >(517) 204-5136 (cell) From szayko at secor.com Thu Jan 3 08:13:01 2008 From: szayko at secor.com (Steve Zayko) Date: Thu, 3 Jan 2008 06:13:01 -0800 Subject: [AccessD] MSAccess XP to SQL2005 Backend In-Reply-To: <200801031348.m03DmotO009481@databaseadvisors.com> Message-ID: <5D71EC0BA06F7C41B6088EF70CA4014E01AF5BB8@exchangecolo.secor.com> Robert/Arthur: Thanks for the insights. Upgrading Office would seem to be the logical solution. However, the cost of upgrading 1000 employees from XP to 2007 would be a bit high. The cost of Mgmt Studio for me and a few others would be easily justifiable. Plus I get a new toy to learn and play with. Thanks again. -Z Stephen R. Zayko P.E. SECOR International Inc 2321 Club Meridian Drive, Ste E. Okemos, MI 48864 (517) 349-9499 (ph) ext 224 (517) 204-5136 (cell) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, January 03, 2008 8:44 AM To: accessd at databaseadvisors.com Cc: Steve Zayko Subject: Re: [AccessD] MSAccess XP to SQL2005 Backend Steve, Everything will work correctly. You cannot use Access to make changes in the database any longer. You will have to use Management Studio to do it from now on. Robert At 04:59 PM 1/2/2008, you wrote: >Date: Wed, 2 Jan 2008 13:24:09 -0800 >From: "Steve Zayko" >Subject: [AccessD] MSAccess XP to SQL2005 Backend >To: "Access Developers discussion and problem solving" > >Message-ID: > <5D71EC0BA06F7C41B6088EF70CA4014E01AF591D at exchangecolo.secor.com> >Content-Type: text/plain; charset="us-ascii" > >I have been using an MSAccess adp project FE that connects to a SQL2000 >BE database for about 3 years now. The administrative powers that be >will be upgrading the SQL 2000 server to SQL 2005 next month. I did a >test upgrade and got the following error message: > >You have connected to a version of SQL Server later than SQL Server >2000. The version of Access that you are using was released before the >version of SQL Server to which you are connected. For this reason, you >might encounter problems. > >The problem I am having is that all tables and queries are not >visible/accessible/usable. > >Does anyone know of a service pack or patch that would give me an easy >solution? > >Thanks > >-Z > >Stephen R. Zayko P.E. >SECOR International Inc >2321 Club Meridian Drive, Ste E. >Okemos, MI 48864 > >(517) 349-9499 (ph) ext 224 >(517) 204-5136 (cell) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Jan 3 08:54:22 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 3 Jan 2008 08:54:22 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: Upon study I don't believe this method will work. The problem being there is not a record for every day. I thus have to calculate the number of days between the most recent record for a particular well if the pressure variance on that record is over 100 and next record for the same well with a pressure variance below 100. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 Chester_Kaup at kindermorgan.com Thu Jan 3 09:09:18 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 3 Jan 2008 09:09:18 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: <000801c84db6$c151cf90$8abea8c0@XPS> References: <000801c84db6$c151cf90$8abea8c0@XPS> Message-ID: Here is what I came up with. The master table contains pressure records for many different wells over a long time period. CODE METHOD: I first select the wells with a variance over 100 on the most recent record. Next I extract all the records for each of these wells one at a time looping through the master table. Next I move down through this subset of records until I find the first one with a variance of less than 100. Lastly I calculate the number of days between the record found in the last step and the first record. I continue this process for each of the selected wells. This takes about 5 minutes to run. QUERY METHOD 1. Run a select query to find wells with a variance over 100 on most recent record. 2. Run a query to find the max date with a variance less than 101 using the above subset of wells 3. Run a query to calculate the date difference between the most recent record date for the wells in the subset determined in step 1 and the date determined in step 2 Run time is about 11 seconds. Why the code is slow I don't know. Maybe something to do with extracting a subset from the master table 149 times. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, January 02, 2008 9:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I need a better way to do this - looping Drew, If he's got a hefty table though, that sub select is going to be slow unless it can run against indexes. The loop would most likely be faster. He needs to test it both ways. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 4:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Jan 3 09:10:08 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 3 Jan 2008 10:10:08 -0500 Subject: [AccessD] MSAccess XP to SQL2005 Backend In-Reply-To: <5D71EC0BA06F7C41B6088EF70CA4014E01AF5BB8@exchangecolo.secor.com> References: <200801031348.m03DmotO009481@databaseadvisors.com> <5D71EC0BA06F7C41B6088EF70CA4014E01AF5BB8@exchangecolo.secor.com> Message-ID: <29f585dd0801030710j4f86c6b8k87f8158ff9afd963@mail.gmail.com> Be forewarned that some of the coolest new capabilities in SQL 2005 will be off limits to your Access apps, including table UDFs and schemas and Common Table Expressions (CTEs). But if you avoid using these, you should be fine. Arthur On 1/3/08, Steve Zayko wrote: > > Robert/Arthur: > > Thanks for the insights. Upgrading Office would seem to be the logical > solution. However, the cost of upgrading 1000 employees from XP to 2007 > would be a bit high. The cost of Mgmt Studio for me and a few others > would be easily justifiable. Plus I get a new toy to learn and play > with. > > Thanks again. > > -Z > From DWUTKA at Marlow.com Thu Jan 3 10:07:39 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 3 Jan 2008 10:07:39 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: That's a pretty easy fix. Wouldn't it be better to get the 'results' in one query? I mean, it sounds like you are doing this for each well. If you could give me the field names (and table name) for : The ID for each well The pressure variance The date field Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, January 03, 2008 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Upon study I don't believe this method will work. The problem being there is not a record for every day. I thus have to calculate the number of days between the most recent record for a particular well if the pressure variance on that record is over 100 and next record for the same well with a pressure variance below 100. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Thu Jan 3 10:09:35 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 3 Jan 2008 10:09:35 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: Yes, a query is typically going to be faster then code, if the query is doing the same thing. Quite simply, you are letting Jet do all the work. What you are trying to do should be feasible with just one query though. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, January 03, 2008 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Here is what I came up with. The master table contains pressure records for many different wells over a long time period. CODE METHOD: I first select the wells with a variance over 100 on the most recent record. Next I extract all the records for each of these wells one at a time looping through the master table. Next I move down through this subset of records until I find the first one with a variance of less than 100. Lastly I calculate the number of days between the record found in the last step and the first record. I continue this process for each of the selected wells. This takes about 5 minutes to run. QUERY METHOD 1. Run a select query to find wells with a variance over 100 on most recent record. 2. Run a query to find the max date with a variance less than 101 using the above subset of wells 3. Run a query to calculate the date difference between the most recent record date for the wells in the subset determined in step 1 and the date determined in step 2 Run time is about 11 seconds. Why the code is slow I don't know. Maybe something to do with extracting a subset from the master table 149 times. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, January 02, 2008 9:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I need a better way to do this - looping Drew, If he's got a hefty table though, that sub select is going to be slow unless it can run against indexes. The loop would most likely be faster. He needs to test it both ways. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 4:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jan 3 10:31:17 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 3 Jan 2008 10:31:17 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: That might be pretty easy for someone a lot sharper in access than me. As you have probably picked up from this discussion I only need to calculate the number of days for a subset of all the wells in the master table. Master Table info Table Name Field Name ID for each well dbo_Inj_Tests IT_Well Pressure Variance Calculated Field Lin_Pres-Tbg_Pres from table dbo_Inj_Tests Date Field dbo_Inj_Tests IT_Date Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, January 03, 2008 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping That's a pretty easy fix. Wouldn't it be better to get the 'results' in one query? I mean, it sounds like you are doing this for each well. If you could give me the field names (and table name) for : The ID for each well The pressure variance The date field Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, January 03, 2008 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Upon study I don't believe this method will work. The problem being there is not a record for every day. I thus have to calculate the number of days between the most recent record for a particular well if the pressure variance on that record is over 100 and next record for the same well with a pressure variance below 100. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jan 3 11:48:33 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 03 Jan 2008 18:48:33 +0100 Subject: [AccessD] Office 2003 SP3 Hotfix Message-ID: Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve From robert at webedb.com Thu Jan 3 12:23:52 2008 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 03 Jan 2008 12:23:52 -0600 Subject: [AccessD] MSAccess XP to SQL2005 Backend In-Reply-To: References: Message-ID: <200801031829.m03ITEtk021627@databaseadvisors.com> Also, there is no ADP in Access 2007. So, that would be an issue with upgrading also. The Management studio is essentially free with the express version or as an install of the workstation tools from the full version. At 12:00 PM 1/3/2008, you wrote: >Date: Thu, 3 Jan 2008 10:10:08 -0500 >From: "Arthur Fuller" >Subject: Re: [AccessD] MSAccess XP to SQL2005 Backend >To: "Access Developers discussion and problem solving" > >Message-ID: > <29f585dd0801030710j4f86c6b8k87f8158ff9afd963 at mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >Be forewarned that some of the coolest new capabilities in SQL 2005 will be >off limits to your Access apps, including table UDFs and schemas and Common >Table Expressions (CTEs). But if you avoid using these, you should be fine. > >Arthur > >On 1/3/08, Steve Zayko wrote: > > > > Robert/Arthur: > > > > Thanks for the insights. Upgrading Office would seem to be the logical > > solution. However, the cost of upgrading 1000 employees from XP to 2007 > > would be a bit high. The cost of Mgmt Studio for me and a few others > > would be easily justifiable. Plus I get a new toy to learn and play > > with. > > > > Thanks again. > > > > -Z > > From newsgrps at dalyn.co.nz Thu Jan 3 13:18:53 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 04 Jan 2008 08:18:53 +1300 Subject: [AccessD] Document Caused Serious Error In-Reply-To: References: <20080101181529.YLYV18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20080103191802.FPWB18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> OK - Further test results: 1) The same problem happens when I try it direct on the server. 2) I have applied all the Microsoft Office Updates - Same Problem. 3) I have run Detect and Repair from the help menu (ticking reset defaults as well) - Same Problem. 4) I find that I don't even need to open the database program. If I open Access, then close it, then open it again, I get a message "Access failed to start correctly last time. Starting Access in safe Mode will help you correct or isolate a start up problem in order to successfully start the program. Some functionality may be disabled in this mode.". Starting in safe mode doesn't seem to offer any advice on how to solve the problem. Any further thoughts? David At 3/01/2008, you wrote: >Yes, do that, technically, TS and Remote Desktop (on a TS Server) are >the same thing. > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Tuesday, January 01, 2008 12:12 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Document Caused Serious Error > >I am getting the error in TS, but also when I use remote desktop to >access the server direct. > >I need to go into the clients office and try it direct on their server. > >David > >At 2/01/2008, you wrote: > >Is it giving you this error in terminal server? > > > >We use Terminal Server at work, and I get various 'serious errors' from > >time to time from different apps. This is basically someone using an > >app, then killing their session, without properly logging off. > > > >Drew > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David >Emerson > >Sent: Sunday, December 30, 2007 11:58 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Document Caused Serious Error > > > >I have an Access XP ade which is being opened in Access 2003 SP3 > >through terminal server. > > > >About every second time that I open it, I get an error message saying > >that the document caused a serious error last time it was opened. I > >follow the instructions for removing it from the disabled items list > >but it keeps coming back. I have replaced the file but it makes no > >difference. > > > >If I ignore the message then the database opens ok and seems to run > >fine. > > > >Anyone have any pointers on how to permanently fix this? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand From fuller.artful at gmail.com Thu Jan 3 13:21:19 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 3 Jan 2008 14:21:19 -0500 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: References: Message-ID: <29f585dd0801031121w6596531pa071be3f47c96698@mail.gmail.com> Some of the problems.... I don't like the sound of that. A. On 1/3/08, Gustav Brock wrote: > > Hi all > > Updated. > Now for direct download without begging. > > /gustav > > From DWUTKA at Marlow.com Thu Jan 3 14:07:15 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 3 Jan 2008 14:07:15 -0600 Subject: [AccessD] Document Caused Serious Error In-Reply-To: <20080103191802.FPWB18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: What OS is the server running, Windows 2003? I would look through the event log, and look for any errors in the system or application logs. (Then google those events, to start tracking down the problem). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, January 03, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Document Caused Serious Error OK - Further test results: 1) The same problem happens when I try it direct on the server. 2) I have applied all the Microsoft Office Updates - Same Problem. 3) I have run Detect and Repair from the help menu (ticking reset defaults as well) - Same Problem. 4) I find that I don't even need to open the database program. If I open Access, then close it, then open it again, I get a message "Access failed to start correctly last time. Starting Access in safe Mode will help you correct or isolate a start up problem in order to successfully start the program. Some functionality may be disabled in this mode.". Starting in safe mode doesn't seem to offer any advice on how to solve the problem. Any further thoughts? David At 3/01/2008, you wrote: >Yes, do that, technically, TS and Remote Desktop (on a TS Server) are >the same thing. > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Tuesday, January 01, 2008 12:12 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Document Caused Serious Error > >I am getting the error in TS, but also when I use remote desktop to >access the server direct. > >I need to go into the clients office and try it direct on their server. > >David > >At 2/01/2008, you wrote: > >Is it giving you this error in terminal server? > > > >We use Terminal Server at work, and I get various 'serious errors' from > >time to time from different apps. This is basically someone using an > >app, then killing their session, without properly logging off. > > > >Drew > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David >Emerson > >Sent: Sunday, December 30, 2007 11:58 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Document Caused Serious Error > > > >I have an Access XP ade which is being opened in Access 2003 SP3 > >through terminal server. > > > >About every second time that I open it, I get an error message saying > >that the document caused a serious error last time it was opened. I > >follow the instructions for removing it from the disabled items list > >but it keeps coming back. I have replaced the file but it makes no > >difference. > > > >If I ignore the message then the database opens ok and seems to run > >fine. > > > >Anyone have any pointers on how to permanently fix this? > > > >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 DWUTKA at Marlow.com Thu Jan 3 14:08:23 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 3 Jan 2008 14:08:23 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: Quick question, these are listed as dbo, are these tables in a SQL Server database? If so, do you have the ability to create a view in this SQL Server database? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, January 03, 2008 10:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping That might be pretty easy for someone a lot sharper in access than me. As you have probably picked up from this discussion I only need to calculate the number of days for a subset of all the wells in the master table. Master Table info Table Name Field Name ID for each well dbo_Inj_Tests IT_Well Pressure Variance Calculated Field Lin_Pres-Tbg_Pres from table dbo_Inj_Tests Date Field dbo_Inj_Tests IT_Date Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, January 03, 2008 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping That's a pretty easy fix. Wouldn't it be better to get the 'results' in one query? I mean, it sounds like you are doing this for each well. If you could give me the field names (and table name) for : The ID for each well The pressure variance The date field Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, January 03, 2008 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Upon study I don't believe this method will work. The problem being there is not a record for every day. I thus have to calculate the number of days between the most recent record for a particular well if the pressure variance on that record is over 100 and next record for the same well with a pressure variance below 100. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 02, 2008 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I made a table with the data below. Fields: ID (Just an Autonumber), RecordDate (The date of the record), PressureVariance (the number you want to find the first one less then 100. This Query produces what you are looking for: SELECT Count(ID) AS CountOfID FROM tblData WHERE RecordDate>(SELECT IIF(IsNull(First(RecordDate)),#01/01/1800#,First(RecordDate)) AS FirstOfRecordDate FROM tblData WHERE PressureVariance<100 ORDER BY First(RecordDate)) Basically, we are getting the count of ID (you can use any field you want), FROM the table (I called mine tblData), WHERE RecordDate is greater then a sub query. The subquery gets the FIRST RecordDate field value FROM tblData WHERE PressureVariance is less then 100, ORDERed BY the RecordDate field (since it's a totals query, the ORDER BY has to have First(RecordDate), not just RecordDate, otherwise you get an error about RecordDate not being part of an aggregate function.) The IIF statement in the subquery will return January 1st of 1800 if there are no records with a Pressure Variance of less then 100, which allows the main query to return the total count of records. So Replace (ID) with (WhateverFieldYouWant), RecordDate with the name of your date field, tblData with the name of your table, and PressureVariance with the name of your Pressure Variance field. One shot query, no code required. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping I don't think this will work because I only need to count the number of records between the last record and the first record (date descending) where the measurement is greater than 100. There may records further down in the table that are also above 100 but there are records below 100 between these and the first group. For example 12/31/2007 145 12/30/2007 175 12/29/2007 207 12/28/2007 123 12/27/2007 114 12/26/2007 90 12/25/2007 45 12/24/2007 73 12/23/2007 304 The correct answer in this case would be 5 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, January 02, 2008 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Couldn't you use a groupby query- something like SELECT Count(tblWellData.[fldMeasure date]) AS [CountOffldMeasure date] FROM tblWellData WHERE (((tblWellData.fldWellNo)=1) AND ((tblWellData.fldMeasure)<100)); For well 1 this gives you the number of records where the measurement is <100 HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, January 02, 2008 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Let me try to explain what I am trying to calculate. Myds.Fields(4) is a pressure variance measurement on an oilfield injection well. It should always be below 100. The goal is to count the number of records (date descending) from the most recent to the first one where Myds1.Fields(4) is less than 100 for each well. The number of records per well varies. If all the records for a well have Myds.fields(4) with a value above 100 the correct answer is the number of records for the well. If record 11 descending from the most recent is less than 100 then the correct answer would be 10. Hope this makes sense. *********************************************************************** 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Thu Jan 3 13:02:40 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 03 Jan 2008 11:02:40 -0800 Subject: [AccessD] OT: Web Page Message-ID: <477D3150.3050108@nanaimo.ark.com> Hey All Before I start Googling. I know many of you have created your own excellent Web Pages. Can anyone recommend a good online tutorial or book I could purchase that would provide me with the basic steps I need to follow to create my own Web Page. Or should I be hiring someone to create it for me? To avoid baggage on the list could you contact me directly. And please no comments like "Arrrrrrrrrrgggg you twit, it is a no brainer". From DWUTKA at Marlow.com Thu Jan 3 15:18:15 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 3 Jan 2008 15:18:15 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: SELECT T1.IT_Well, IIf(((SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well))<0,0,(SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well)) AS NumberOfDaysOver100 FROM dbo_Inj_Tests AS T1 GROUP BY T1.IT_Well; Ok, this is plain text, so you shouldn't get word wrap issues, but who knows. To pull off what you are really looking for, the subquery gets a little more complex. I went off the four fields you gave me, with the table name, so this query should just work by cutting and pasting the SQL into a new query. Here's the results: For each IT_Well, if the latest record is less then 100, then it returns 0 for 'NumberOfDaysOver100'. If the latest record is equal or greater then 100, then it returns the number of DAYS that the well has been over 100. Thus, if there IS a date where it was less then 100, then you get the difference between that date and the existing date. Ie: 12/29/2007 - 300 12/27/2007 - 95 This set (whether there is a record for the 28th or not (unless of course there was one under 100) will return 2, which would be the number of days over 100. If there are NO records where it's under 100, then it returns the number of days between the first and last records, INCLUDING the last day, ie: 12/29/2007 - 300 12/27/2007 - 195 This would return 3, since it was over 100 on the 27th, it includes that day. Hope this helps. Drew From newsgrps at dalyn.co.nz Thu Jan 3 15:28:22 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 04 Jan 2008 10:28:22 +1300 Subject: [AccessD] Document Caused Serious Error Message-ID: <20080103212722.LPAT17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Drew. Looking at the application log it seems that Windows is not able to save the registry due to some other program conflict. A job for the Server people to look at. David At 4/01/2008, you wrote: >What OS is the server running, Windows 2003? > >I would look through the event log, and look for any errors in the >system or application logs. (Then google those events, to start tracking >down the problem). > > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Thursday, January 03, 2008 1:19 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Document Caused Serious Error > >OK - Further test results: > >1) The same problem happens when I try it direct on the server. >2) I have applied all the Microsoft Office Updates - Same Problem. >3) I have run Detect and Repair from the help menu (ticking reset >defaults as well) - Same Problem. >4) I find that I don't even need to open the database program. If I >open Access, then close it, then open it again, I get a message >"Access failed to start correctly last time. Starting Access in safe >Mode will help you correct or isolate a start up problem in order to >successfully start the program. Some functionality may be disabled >in this mode.". Starting in safe mode doesn't seem to offer any >advice on how to solve the problem. > >Any further thoughts? > >David > >At 3/01/2008, you wrote: > >Yes, do that, technically, TS and Remote Desktop (on a TS Server) are > >the same thing. > > > >Drew > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David >Emerson > >Sent: Tuesday, January 01, 2008 12:12 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Document Caused Serious Error > > > >I am getting the error in TS, but also when I use remote desktop to > >access the server direct. > > > >I need to go into the clients office and try it direct on their server. > > > >David > > > >At 2/01/2008, you wrote: > > >Is it giving you this error in terminal server? > > > > > >We use Terminal Server at work, and I get various 'serious errors' >from > > >time to time from different apps. This is basically someone using an > > >app, then killing their session, without properly logging off. > > > > > >Drew > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David > >Emerson > > >Sent: Sunday, December 30, 2007 11:58 AM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] Document Caused Serious Error > > > > > >I have an Access XP ade which is being opened in Access 2003 SP3 > > >through terminal server. > > > > > >About every second time that I open it, I get an error message saying > > >that the document caused a serious error last time it was opened. I > > >follow the instructions for removing it from the disabled items list > > >but it keeps coming back. I have replaced the file but it makes no > > >difference. > > > > > >If I ignore the message then the database opens ok and seems to run > > >fine. > > > > > >Anyone have any pointers on how to permanently fix this? > > > > > >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 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Jan 3 15:34:56 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 3 Jan 2008 16:34:56 -0500 Subject: [AccessD] Document Caused Serious Error In-Reply-To: <20080103212722.LPAT17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20080103212722.LPAT17371.fep04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <29f585dd0801031334r1ec30e11x2674d88cf972c32b@mail.gmail.com> The Server People.... that sounds like some NYC geek-village band that does TCIP to the tune of YMCA, and wears outfits. A. On 1/3/08, David Emerson wrote: > > Thanks Drew. Looking at the application log it seems that Windows is > not able to save the registry due to some other program conflict. A > job for the Server people to look at. > > David > From dwaters at usinternet.com Thu Jan 3 21:02:30 2008 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 3 Jan 2008 21:02:30 -0600 Subject: [AccessD] Migrating Access to SQL Server 2005 Message-ID: <001a01c84e7e$3ef3a5a0$0300a8c0@danwaters> Last month, MS published a 52 page white paper on how to do this here: http://www.microsoft.com/sql/techinfo/whitepapers/MigrAccessSQL2005.mspx About half of this paper is a list of how to rewrite Access query syntax into SQL Server 2005 syntax, and it lists which ones will be converted by SSMA and which ones won?t. This will help me ? hope it helps someone else! Dan Oh - and the authors are all Russian - Shamil prot?g?s no doubt! From fuller.artful at gmail.com Fri Jan 4 06:52:45 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 4 Jan 2008 07:52:45 -0500 Subject: [AccessD] SSM Access Migration Wizard Message-ID: <29f585dd0801040452s2763d5e0q59a9150ed23ea2c2@mail.gmail.com> I'm reading a paper about migrating access apps to SQL Server, and it's all about something called the SSM Access Migration Wizard, which I've never heard of before. Where does one obtain this? Is it already installed on my machine? If so, where do I find it? If not, where do I download it? (Access 2000, 2003 and 2007 are all installed; so are SQL 2000 and 2005, and Visual Studio.NET 2005.) TIA, Arthur From fuller.artful at gmail.com Fri Jan 4 06:57:56 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 4 Jan 2008 07:57:56 -0500 Subject: [AccessD] SSMA Message-ID: <29f585dd0801040457t27d7b02bs31869177f49601cb@mail.gmail.com> I found it. Migration wizards are also available for Oracle, Sybase and others, at http://www.microsoft.com/sql/solutions/migration/default.mspx, in case anyone is interested. A. From phpons at gmail.com Fri Jan 4 07:02:47 2008 From: phpons at gmail.com (philippe pons) Date: Fri, 4 Jan 2008 14:02:47 +0100 Subject: [AccessD] SSM Access Migration Wizard In-Reply-To: <29f585dd0801040452s2763d5e0q59a9150ed23ea2c2@mail.gmail.com> References: <29f585dd0801040452s2763d5e0q59a9150ed23ea2c2@mail.gmail.com> Message-ID: <57144ced0801040502g36f8087fsdee2f30bd069b27f@mail.gmail.com> Hi Arthur, Google is your friend: http://www.microsoft.com/sql/solutions/migration/access/default.mspx Regards, Philippe 2008/1/4, Arthur Fuller : > > I'm reading a paper about migrating access apps to SQL Server, and it's > all > about something called the SSM Access Migration Wizard, which I've never > heard of before. Where does one obtain this? Is it already installed on my > machine? If so, where do I find it? If not, where do I download it? > (Access > 2000, 2003 and 2007 are all installed; so are SQL 2000 and 2005, and > Visual > Studio.NET 2005.) > > TIA, > Arthur > -- > 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 Jan 4 12:30:15 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Jan 2008 21:30:15 +0300 Subject: [AccessD] OT: LEGO Mindstorms NXT In-Reply-To: <019101c83dbb$feaf9e40$da9cd355@minster33c3r25> Message-ID: <000001c84eff$d98e7c80$6501a8c0@nant> Hi All, It's Friday - and I'm reporting on the subject "hunting" results: - I have got purchased "LEGO Mindstorms NXT" in Finland on 29th of December in TOYS'4'US shop at 10:05 a.m., right after the shop get opened :) That was quite a task to find it there because this shop is not in the Helsinki downtown, and I needed to go by bus to suburbs, and then look for the shop there for some time :) But I have got it! And my sons have made this toy programmed... BTW, I have found MS has MS Robotics Studio (http://msdn2.microsoft.com/ru-ru/robotics/default(en-us).aspx ), supports programming of LEGO Mindstorms NXT using e.g. C# (http://blogs.msdn.com/coding4fun/archive/2007/07/16/3902344.aspx ) :) No time yet to do that, maybe later... Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, December 13, 2007 10:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Shamil, Amazon.de has it. Any chance they'd deliver to you? -- Andy Lacey From cfoust at infostatsystems.com Fri Jan 4 12:43:48 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 4 Jan 2008 10:43:48 -0800 Subject: [AccessD] OT: LEGO Mindstorms NXT In-Reply-To: <000001c84eff$d98e7c80$6501a8c0@nant> References: <019101c83dbb$feaf9e40$da9cd355@minster33c3r25> <000001c84eff$d98e7c80$6501a8c0@nant> Message-ID: Congratulations, Shamil! I'm sure your sons think you are a hero ... for now. LOL You'll figure it out before the rest of us have figured out what it IS!! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 04, 2008 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Hi All, It's Friday - and I'm reporting on the subject "hunting" results: - I have got purchased "LEGO Mindstorms NXT" in Finland on 29th of December in TOYS'4'US shop at 10:05 a.m., right after the shop get opened :) That was quite a task to find it there because this shop is not in the Helsinki downtown, and I needed to go by bus to suburbs, and then look for the shop there for some time :) But I have got it! And my sons have made this toy programmed... BTW, I have found MS has MS Robotics Studio (http://msdn2.microsoft.com/ru-ru/robotics/default(en-us).aspx ), supports programming of LEGO Mindstorms NXT using e.g. C# (http://blogs.msdn.com/coding4fun/archive/2007/07/16/3902344.aspx ) :) No time yet to do that, maybe later... Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, December 13, 2007 10:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Shamil, Amazon.de has it. Any chance they'd deliver to you? -- Andy Lacey -- 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 Jan 4 14:34:35 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Jan 2008 23:34:35 +0300 Subject: [AccessD] OT: LEGO Mindstorms NXT In-Reply-To: Message-ID: <000301c84f11$387020d0$6501a8c0@nant> Hi Charlotte, My minor son (6+ years old) thinks that was Santa Claus who brought him this toy: here in Russia we don't have usual there Christmas celebration and holidays - the main events are New Year Eve (since Soviet times) and Russian Orthodox Church Christmas on 7th of January.... ...and kids here get their New Year Eve gifts on 1st of January morning - they get them by looking under the Christmas tree - this is where my minor son found his LEGO Mindstorms NXT on 1st of January :) ... ... when I left for Finland short shuttle trip a few days before I did tell my minor son I go there to tell Santa's about his wish - and kids here know that Santa Claus is living in Laplandia on North of Finland - not that far from St.Petersburg... ...my minor son seems to still believe in Santa... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, January 04, 2008 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Congratulations, Shamil! I'm sure your sons think you are a hero ... for now. LOL You'll figure it out before the rest of us have figured out what it IS!! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 04, 2008 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Hi All, It's Friday - and I'm reporting on the subject "hunting" results: - I have got purchased "LEGO Mindstorms NXT" in Finland on 29th of December in TOYS'4'US shop at 10:05 a.m., right after the shop get opened :) That was quite a task to find it there because this shop is not in the Helsinki downtown, and I needed to go by bus to suburbs, and then look for the shop there for some time :) But I have got it! And my sons have made this toy programmed... BTW, I have found MS has MS Robotics Studio (http://msdn2.microsoft.com/ru-ru/robotics/default(en-us).aspx ), supports programming of LEGO Mindstorms NXT using e.g. C# (http://blogs.msdn.com/coding4fun/archive/2007/07/16/3902344.aspx ) :) No time yet to do that, maybe later... Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, December 13, 2007 10:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Shamil, Amazon.de has it. Any chance they'd deliver to you? -- Andy Lacey -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 4 15:49:27 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 4 Jan 2008 16:49:27 -0500 Subject: [AccessD] Language In-Reply-To: <000301c84f11$387020d0$6501a8c0@nant> References: <000301c84f11$387020d0$6501a8c0@nant> Message-ID: <004501c84f1b$ae15ba70$657aa8c0@M90> And if you'd rather that I not correct your English please say so. 8-) 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, January 04, 2008 3:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Hi Charlotte, My minor son (6+ years old) thinks that was Santa Claus who brought him this toy: here in Russia we don't have usual there Christmas celebration and holidays - the main events are New Year Eve (since Soviet times) and Russian Orthodox Church Christmas on 7th of January.... ...and kids here get their New Year Eve gifts on 1st of January morning - they get them by looking under the Christmas tree - this is where my minor son found his LEGO Mindstorms NXT on 1st of January :) ... ... when I left for Finland short shuttle trip a few days before I did tell my minor son I go there to tell Santa's about his wish - and kids here know that Santa Claus is living in Laplandia on North of Finland - not that far from St.Petersburg... ...my minor son seems to still believe in Santa... -- Shamil From DWUTKA at Marlow.com Fri Jan 4 17:03:02 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 4 Jan 2008 17:03:02 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: Hey Chester, I'm curious if you have tried this yet. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, January 03, 2008 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping SELECT T1.IT_Well, IIf(((SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well))<0,0,(SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well)) AS NumberOfDaysOver100 FROM dbo_Inj_Tests AS T1 GROUP BY T1.IT_Well; Ok, this is plain text, so you shouldn't get word wrap issues, but who knows. To pull off what you are really looking for, the subquery gets a little more complex. I went off the four fields you gave me, with the table name, so this query should just work by cutting and pasting the SQL into a new query. Here's the results: For each IT_Well, if the latest record is less then 100, then it returns 0 for 'NumberOfDaysOver100'. If the latest record is equal or greater then 100, then it returns the number of DAYS that the well has been over 100. Thus, if there IS a date where it was less then 100, then you get the difference between that date and the existing date. Ie: 12/29/2007 - 300 12/27/2007 - 95 This set (whether there is a record for the 28th or not (unless of course there was one under 100) will return 2, which would be the number of days over 100. If there are NO records where it's under 100, then it returns the number of days between the first and last records, INCLUDING the last day, ie: 12/29/2007 - 300 12/27/2007 - 195 This would return 3, since it was over 100 on the 27th, it includes that day. Hope this helps. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Jan 5 08:50:31 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 5 Jan 2008 06:50:31 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: References: Message-ID: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM From fuller.artful at gmail.com Sat Jan 5 09:04:06 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 5 Jan 2008 10:04:06 -0500 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> Message-ID: <29f585dd0801050704q42ef2116o249eeda707eee907@mail.gmail.com> Rocky, Close your eyes and think of England. LOL. A. On 1/5/08, Rocky Smolin at Beach Access Software wrote: > > Gustav: > > I downloaded and started to run it - looks like it's doing a complete > reinstall of Office - so I got a little gun-shy. Should I just close my > eyes and keep clicking Next? > > Rocky > > From rockysmolin at bchacc.com Sat Jan 5 09:13:31 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 5 Jan 2008 07:13:31 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <29f585dd0801050704q42ef2116o249eeda707eee907@mail.gmail.com> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> <29f585dd0801050704q42ef2116o249eeda707eee907@mail.gmail.com> Message-ID: <00a901c84fad$88d8b860$0301a8c0@HAL9005> C'mon. This is serous. I'm scared to death of Microsoft and their 'hotfixes'. Now hold my hand and give me bland reassurances. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, January 05, 2008 7:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2003 SP3 Hotfix Rocky, Close your eyes and think of England. LOL. A. On 1/5/08, Rocky Smolin at Beach Access Software wrote: > > Gustav: > > I downloaded and started to run it - looks like it's doing a complete > reinstall of Office - so I got a little gun-shy. Should I just close > my eyes and keep clicking Next? > > Rocky > > -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM From fuller.artful at gmail.com Sat Jan 5 09:22:40 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 5 Jan 2008 10:22:40 -0500 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <00a901c84fad$88d8b860$0301a8c0@HAL9005> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> <29f585dd0801050704q42ef2116o249eeda707eee907@mail.gmail.com> <00a901c84fad$88d8b860$0301a8c0@HAL9005> Message-ID: <29f585dd0801050722s1047a414scdb94b8c081b0611@mail.gmail.com> (Holding your hand as Balmer might...) Trust us, Rocky. We know what's good for you. Your largest leap forward is the Leap of Faith. Send all your money and convertible assets to the Church of Arthur and ye shall be saved. A. On 1/5/08, Rocky Smolin at Beach Access Software wrote: > > C'mon. This is serous. I'm scared to death of Microsoft and their > 'hotfixes'. Now hold my hand and give me bland reassurances. > > Rocky > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, January 05, 2008 7:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Office 2003 SP3 Hotfix > > Rocky, > > Close your eyes and think of England. > > LOL. > > A. > > On 1/5/08, Rocky Smolin at Beach Access Software > wrote: > > > > Gustav: > > > > I downloaded and started to run it - looks like it's doing a complete > > reinstall of Office - so I got a little gun-shy. Should I just close > > my eyes and keep clicking Next? > > > > Rocky > > > > > -- > 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 > 12:05 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Sat Jan 5 09:25:45 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 5 Jan 2008 10:25:45 -0500 Subject: [AccessD] Office 2003 SP3 Hotfix References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005><29f585dd0801050704q42ef2116o249eeda707eee907@mail.gmail.com> <00a901c84fad$88d8b860$0301a8c0@HAL9005> Message-ID: <004d01c84faf$3fcc3dc0$4b3a8343@SusanOne> It'll be Okay Rocky. Honestly. And if it's not, you work for yourself. It's not like anybody can fire you! ;) AHAHAHAHAHAHAHAHAHA Seriously -- bloggers are saying it works fine, but then, I didn't install SP3, so I can't give you any personal experience. :) Susan H. > C'mon. This is serous. I'm scared to death of Microsoft and their > 'hotfixes'. Now hold my hand and give me bland reassurances. > > Rocky > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, January 05, 2008 7:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Office 2003 SP3 Hotfix > > Rocky, > > Close your eyes and think of England. > > LOL. > > A. > > On 1/5/08, Rocky Smolin at Beach Access Software > wrote: >> >> Gustav: >> >> I downloaded and started to run it - looks like it's doing a complete >> reinstall of Office - so I got a little gun-shy. Should I just close >> my eyes and keep clicking Next? >> >> Rocky >> >> > -- > 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 > 12:05 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat Jan 5 09:31:46 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 5 Jan 2008 15:31:46 -0000 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> Message-ID: <001001c84fb0$15d7ed10$8119fea9@LTVM> Do a Backup. Do a System Restore Then update If not ok, rewind ... Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 05, 2008 2:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Jan 5 10:24:48 2008 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 5 Jan 2008 08:24:48 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> Message-ID: <4C333C8BC9C547D78A0812E2F8F6798D@BPCS> Rocky, One of my clients IT departments upgraded all their machines to SP3, unfortunately for me, about the same time I sent new release of my software. Several days after I shipped it I got a call that every time the technician tried to save his work-order it marked it as complete and closed it. Not what it is supposed to do. I could not duplicate the problem, but remembered reading about a bit problem with ADP's and SQL server and SP3. So I upgraded my laptop to SP3 and lo and behold I could duplicate the problem. I tried Hotfix KB945674 and it corrected the problem. Like you I thought the way the hot fix worked was strange but it worked. I think what it does is install Access 2003 Runtime, that would upgrade MSAccess.exe and I guess a few other DLL's. Who cares, it works, so click away. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 6:50 AM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Jan 5 10:31:25 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 5 Jan 2008 08:31:25 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <4C333C8BC9C547D78A0812E2F8F6798D@BPCS> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005> <4C333C8BC9C547D78A0812E2F8F6798D@BPCS> Message-ID: <00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005> Okaayyyy...here goes... I suppose the worst that could happen is that I uninstall Office, reinstall, & do SP3. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, January 05, 2008 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2003 SP3 Hotfix Rocky, One of my clients IT departments upgraded all their machines to SP3, unfortunately for me, about the same time I sent new release of my software. Several days after I shipped it I got a call that every time the technician tried to save his work-order it marked it as complete and closed it. Not what it is supposed to do. I could not duplicate the problem, but remembered reading about a bit problem with ADP's and SQL server and SP3. So I upgraded my laptop to SP3 and lo and behold I could duplicate the problem. I tried Hotfix KB945674 and it corrected the problem. Like you I thought the way the hot fix worked was strange but it worked. I think what it does is install Access 2003 Runtime, that would upgrade MSAccess.exe and I guess a few other DLL's. Who cares, it works, so click away. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 6:50 AM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM From jwcolby at colbyconsulting.com Sat Jan 5 14:35:01 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 5 Jan 2008 15:35:01 -0500 Subject: [AccessD] X64 Message-ID: <001001c84fda$72906670$657aa8c0@M90> I built a new system last night and this morning, installing Windows Server 2003 X64 and SQL Server 2005 X64. The system currently has a dual proc AMD code but once I get the chance to wring it out I will probably move my quad core in there. The system currently has 4 gigs ram but I have a matching 4 gigs in another system which I will pull out of that system and drop in this one so that I can test X64 with 8 gigs RAM. It will be interesting to see what effect this will have on my large databases. I have some queries that take awhile to run (5+ minutes) that I can run "side by side" on the x32 and x64 systems. Interestingly these same queries dropped from 20-30 minutes down to 5-6 minutes by using "cover queries" that included the PKID and a single field together in a single index, rather than my old method of just using that single field in the index (not including the PKID). The x32 system will have the same processor (different / older motherboard though) running Windows 2003 x32 and SQL Server 2005 x32 with only 4 gigs or ram. I think I will run the same 5 minute query on both systems with 4 gigs, then move the additional 4 gigs into the x64 system and run again, then move the quad core into the x64 system and run again. This will provide a fairly "apples to apples" test of x32 vs. x64, 4 gigs vs. 8 gigs, and dual cores vs. quad cores. Unfortunately the system is low level formatting a 400 gig partition right now which is taking FOREVER! Once I have that 400 gig partition to use to hold the database I will run these tests. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Jan 5 15:04:53 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 5 Jan 2008 16:04:53 -0500 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005><4C333C8BC9C547D78A0812E2F8F6798D@BPCS> <00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005> Message-ID: <001101c84fde$9fa12010$657aa8c0@M90> If this an XP machine just make sure you do a snapshot before doing it. You can roll it back if it fails. 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 Rocky Smolin at Beach Access Software Sent: Saturday, January 05, 2008 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix Okaayyyy...here goes... I suppose the worst that could happen is that I uninstall Office, reinstall, & do SP3. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, January 05, 2008 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2003 SP3 Hotfix Rocky, One of my clients IT departments upgraded all their machines to SP3, unfortunately for me, about the same time I sent new release of my software. Several days after I shipped it I got a call that every time the technician tried to save his work-order it marked it as complete and closed it. Not what it is supposed to do. I could not duplicate the problem, but remembered reading about a bit problem with ADP's and SQL server and SP3. So I upgraded my laptop to SP3 and lo and behold I could duplicate the problem. I tried Hotfix KB945674 and it corrected the problem. Like you I thought the way the hot fix worked was strange but it worked. I think what it does is install Access 2003 Runtime, that would upgrade MSAccess.exe and I guess a few other DLL's. Who cares, it works, so click away. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 6:50 AM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jan 5 15:05:27 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 5 Jan 2008 16:05:27 -0500 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005><4C333C8BC9C547D78A0812E2F8F6798D@BPCS> <00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005> Message-ID: <001201c84fde$b2acc420$657aa8c0@M90> If you had WHS you could backup to WHS and the just move back to the save if it failed. ;-) 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 Rocky Smolin at Beach Access Software Sent: Saturday, January 05, 2008 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix Okaayyyy...here goes... I suppose the worst that could happen is that I uninstall Office, reinstall, & do SP3. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, January 05, 2008 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2003 SP3 Hotfix Rocky, One of my clients IT departments upgraded all their machines to SP3, unfortunately for me, about the same time I sent new release of my software. Several days after I shipped it I got a call that every time the technician tried to save his work-order it marked it as complete and closed it. Not what it is supposed to do. I could not duplicate the problem, but remembered reading about a bit problem with ADP's and SQL server and SP3. So I upgraded my laptop to SP3 and lo and behold I could duplicate the problem. I tried Hotfix KB945674 and it corrected the problem. Like you I thought the way the hot fix worked was strange but it worked. I think what it does is install Access 2003 Runtime, that would upgrade MSAccess.exe and I guess a few other DLL's. Who cares, it works, so click away. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 6:50 AM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Sat Jan 5 15:56:30 2008 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 5 Jan 2008 15:56:30 -0600 Subject: [AccessD] [dba-Tech] X64 In-Reply-To: <001001c84fda$72906670$657aa8c0@M90> References: <001001c84fda$72906670$657aa8c0@M90> Message-ID: Some guys have all the fun. I just worked to get my Christmas decorations taken down today and the top put up on the convertible which Ishould have done in Mid November when I last drive it but figured I had a couple more rides yet at that point. Then the cold snap hit. Today we have near 40 so I had my chance to get it put up and I took advantage of it. So I did have some accomplishments at least. Now football is on so that will shoot the rest of the day for me ;-) GK On Jan 5, 2008 2:35 PM, jwcolby wrote: > I built a new system last night and this morning, installing Windows Server > 2003 X64 and SQL Server 2005 X64. The system currently has a dual proc AMD > code but once I get the chance to wring it out I will probably move my quad > core in there. The system currently has 4 gigs ram but I have a matching 4 > gigs in another system which I will pull out of that system and drop in this > one so that I can test X64 with 8 gigs RAM. It will be interesting to see > what effect this will have on my large databases. I have some queries that > take awhile to run (5+ minutes) that I can run "side by side" on the x32 and > x64 systems. > > Interestingly these same queries dropped from 20-30 minutes down to 5-6 > minutes by using "cover queries" that included the PKID and a single field > together in a single index, rather than my old method of just using that > single field in the index (not including the PKID). > > The x32 system will have the same processor (different / older motherboard > though) running Windows 2003 x32 and SQL Server 2005 x32 with only 4 gigs or > ram. I think I will run the same 5 minute query on both systems with 4 > gigs, then move the additional 4 gigs into the x64 system and run again, > then move the quad core into the x64 system and run again. This will > provide a fairly "apples to apples" test of x32 vs. x64, 4 gigs vs. 8 gigs, > and dual cores vs. quad cores. > > Unfortunately the system is low level formatting a 400 gig partition right > now which is taking FOREVER! > > Once I have that 400 gig partition to use to hold the database I will run > these tests. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From markamatte at hotmail.com Sat Jan 5 16:40:23 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Sat, 5 Jan 2008 22:40:23 +0000 Subject: [AccessD] Data Access Pages...desperate!?!?!?!? In-Reply-To: References: <001001c84fda$72906670$657aa8c0@M90> Message-ID: Hello All, I'm trying out some Data Access Pages(DAP) in Access XP. I have a pop up form that I want the user to add rows on...but I want to Populate one of the fields. So everytime they add a new record...the phone# is automatically copied into new record. I have the value stored in code...I just don't know on what event to fire this thing. Thanks, Mark A. Matte _________________________________________________________________ Make distant family not so distant with Windows Vista? + Windows Live?. http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 From rockysmolin at bchacc.com Sat Jan 5 16:43:47 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 5 Jan 2008 14:43:47 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <001101c84fde$9fa12010$657aa8c0@M90> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005><4C333C8BC9C547D78A0812E2F8F6798D@BPCS><00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005> <001101c84fde$9fa12010$657aa8c0@M90> Message-ID: <004201c84fec$6f4afa40$0301a8c0@HAL9005> Seemed to go OK. I probably won't know until it's too late. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, January 05, 2008 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix If this an XP machine just make sure you do a snapshot before doing it. You can roll it back if it fails. 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 Rocky Smolin at Beach Access Software Sent: Saturday, January 05, 2008 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix Okaayyyy...here goes... I suppose the worst that could happen is that I uninstall Office, reinstall, & do SP3. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, January 05, 2008 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2003 SP3 Hotfix Rocky, One of my clients IT departments upgraded all their machines to SP3, unfortunately for me, about the same time I sent new release of my software. Several days after I shipped it I got a call that every time the technician tried to save his work-order it marked it as complete and closed it. Not what it is supposed to do. I could not duplicate the problem, but remembered reading about a bit problem with ADP's and SQL server and SP3. So I upgraded my laptop to SP3 and lo and behold I could duplicate the problem. I tried Hotfix KB945674 and it corrected the problem. Like you I thought the way the hot fix worked was strange but it worked. I think what it does is install Access 2003 Runtime, that would upgrade MSAccess.exe and I guess a few other DLL's. Who cares, it works, so click away. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 6:50 AM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM From bill_patten at embarqmail.com Sat Jan 5 16:59:50 2008 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 5 Jan 2008 14:59:50 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: <004201c84fec$6f4afa40$0301a8c0@HAL9005> References: <00a801c84faa$51dd6e80$0301a8c0@HAL9005><4C333C8BC9C547D78A0812E2F8F6798D@BPCS><00bd01c84fb8$6aa7fcb0$0301a8c0@HAL9005><001101c84fde$9fa12010$657aa8c0@M90> <004201c84fec$6f4afa40$0301a8c0@HAL9005> Message-ID: <1F4F3948B2F643DF828404CE05A9F857@BPCS> Glad it worked, I have been running Access 2003 SP1 because SP2 (and SP3) would crash every time I tried to compact an ADP or customize a menu in Vista 64. Since the patch KB945674 fixed the problems on my laptop as I mentioned this morning, I decided to try SP3 on my main machine again. SP3 went in and sure enough, I still could not compact or customize menu's again. Then I ran the KB Patch, and lo and behold, I can now compact and customize menu's. So If you have to go to SP3 as I did, for one of my clients I'd sure recommend KB945674. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 2:43 PM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Seemed to go OK. I probably won't know until it's too late. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, January 05, 2008 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix If this an XP machine just make sure you do a snapshot before doing it. You can roll it back if it fails. 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 Rocky Smolin at Beach Access Software Sent: Saturday, January 05, 2008 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Office 2003 SP3 Hotfix Okaayyyy...here goes... I suppose the worst that could happen is that I uninstall Office, reinstall, & do SP3. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, January 05, 2008 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Office 2003 SP3 Hotfix Rocky, One of my clients IT departments upgraded all their machines to SP3, unfortunately for me, about the same time I sent new release of my software. Several days after I shipped it I got a call that every time the technician tried to save his work-order it marked it as complete and closed it. Not what it is supposed to do. I could not duplicate the problem, but remembered reading about a bit problem with ADP's and SQL server and SP3. So I upgraded my laptop to SP3 and lo and behold I could duplicate the problem. I tried Hotfix KB945674 and it corrected the problem. Like you I thought the way the hot fix worked was strange but it worked. I think what it does is install Access 2003 Runtime, that would upgrade MSAccess.exe and I guess a few other DLL's. Who cares, it works, so click away. Bill ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 05, 2008 6:50 AM Subject: Re: [AccessD] Office 2003 SP3 Hotfix Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 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.516 / Virus Database: 269.17.13/1209 - Release Date: 1/4/2008 12:05 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jan 5 20:13:14 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 5 Jan 2008 21:13:14 -0500 Subject: [AccessD] x64 tests Message-ID: <001c01c85009$b22731e0$657aa8c0@M90> OK, I have the x64 system up and running. I am doing tests on the same four databases. I have: HSID which contains data used in selection criteria, with a PK. 50 million records. AZHSID contains address validated records of name / address fields originally in HSID. With a PK matching the PKs in HSID. 50 million records ZipCodeWorld contains about 80K records of valid zip codes. It has information that allows me to exclude prisons, military FPOs etc. PSM11132 contains all of the queries required for me to fill an actual order of addresses (112000) going out to a client. The order asks for: Source File FIELD Select Codes Description Geography HSID/INF 074 2, 3, 6 OR Female 35 44 HSID/INF 073 2, 3, 6 Female 45-54 AND HSID/INF 091 7-9, A-T INC $50,000+ AND HSID/INF 282 Y Tennis HSID/INF 283 Y OR Golf HSID/INF 284 Y OR Snow Skiing HSID/INF 288 Y OR Bicycling HSID/INF 292 Y OR Running HSID/INF 294 Y OR Horseback Riding HSID/INF 298 Y OR Power Boating HSID/INF 299 Y Sailing AND Zip Code World 015 16980 CBSA Chicago Zip Code World 015 19820 OR CBSA Detroit Zip Code World 015 12580 OR CBSA Baltimore Zip Code World 015 31100 OR CBSA Los Angeles Zip Code World 015 35620 OR CBSA New York Zip Code World 015 37980 OR CBSA Philadelphia Zip Code World 015 47900 CBSA Washington DC As you can see basically they want women 35 to 54, income > 50K who participate in various hobbies, and live in selected big metropolitan areas. In order to prep the order I had to build cover indexes (field and PK) on the hobby fields. I already had cover indexes on the income and PK, and a single cover index on ALL of the age fields plus the PK. I then built FOUR different views. One for Age/Sex, one for income, and one for hobbies. Those three are ANDS so by pulling the PKs for each of those views I could do an inner join to get the AND. From these queries I actually only pulled the PK field itself to minimize data pulled out of the table. I did not need the select data itself, just the PKs for the joins. I then built a fourth view of Zip Code World (ZCW) using the CBSA code that selected ZIPS in specific metropolitan areas. From this view I pulled ONLY the zip field. I built a FIFTH master view that pulled in the four views above, PLUS the AZHSID table. AZHSID contains the PK to match the HSID select views, plus address validated name / address information. That information will be actually extracted and written into a flat file on disk, zipped and sent to the client. So I have age/sex, income, hobbies and AZHSID inner joined. The data pulled is just the PKID and name / address which includes Zip. I then inner join the zip from the ZCW view to limit the addresses to those in the right zip codes. Whew. OK, so the thing I am going to time is the COUNT of the PKs in this big query (how many people match all the criteria and live in the right zips). I am going to time the count on my original system that I actually used to run this order, and then on the new system. The original system (Stonehenge) is a AMD "3800" X2 with 4 gigs ram, Windows 2003 x32, SQL Server 2005 x32, with a dedicated raid controller card with an 8 drive raid 6 array. The new system (W2k3x64) is (currently) an AMD "3800" x2 with 4 gigs ram, Windows 2003 x64, SQL Server 2005 x64, with a pair of 650 gig IDE 100 hard disks. No raid. The databases reside on one of the 650 gig drives and the OS resides on the other. Stonehenge runs the count query in 5:32 (5 minutes, 32 seconds) and counts 630,025 valid addresses with the criteria above, in the zips specified. W2k3x64 runs the query in 9:26 (9 minutes and 32 seconds) and counts 630,025 records (just a check that we are counting the same thing). So the first thing that we see is that the new system is slower. The difference is likely caused by the fact that the Raid array in Stonehenge STREAMS data at 400 mbytes / sec whereas the single disk in W2k3x64 streams MUCH slower, probably around 50 mbytes / second. We do not KNOW that is the reason for the difference at this point, but it is a pretty good bet. I "sacrificed" the video controller from Azul to build the new system (yea, poor planning, forgot the damned video card) so I will probably move the raid array into the new system, or more likely move the new system (and boot disk) into the cabinet that Azul currently occupies. Moving a raid array with 8 disks is not something I want to do if I can avoid it. Next, I am going to pull the other 4 gigs (two 2 gig sticks) out of Azul and move it into W2k3x64. I have a video card on order, will be here next week but for now Azul is dead anyway so I might as well scrounge the memory as well. I did not take CPU and memory usage readings with just the 4 gigs, but with 8 in there both processors are pegging (100%) and the memory usage is maximum (only about 200 megs available) and it is using about 8 gigs of page file as well. W2k3x64 runs the same query in 9:11 after adding two additional sticks of memory and boosting the total to 8 gigs. Oddly, SQL Server has a little control for telling it how much it can have max, and it is maxed at ~2 gig bytes. I was under the impression that it would now allow SQL Server to natively use more ram. Sigh. there is an unchecked box for "Use AWE to allocate memory" which I just checked and am now rerunning the query a third time. With AWE memory enabled, the query ran in 8:27. A slight boost but certainly not stellar. So why is SQL Server not using more memory natively? What I really need to do is create a dual boot with Windows 2003 x32 and SQL Server 2003 x32, and then run the count query again for that. I suspect though that the Raid card and array would do more than anything to bump the speed back up. I am going to swap the quad core processor from Azul and see what that does for me. I think I will swap the view card and memory back in to Azul and try running the same database on Azul. It is virtually identical to Stonehenge. It has a quad core AMD, 4 gigs of memory and an 8 disk raid array on the same controller card that Stonehenge has. I could also TRY to do a dual boot to W2K3x64 but it currently boots off the raid which makes installing the new OS difficult (adds the issue of x64 raid drivers at install time). F6, floppy and all that. I hate that stuff. Well, more later. John W. Colby Colby Consulting www.ColbyConsulting.com From shamil at users.mns.ru Sun Jan 6 08:10:37 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 6 Jan 2008 17:10:37 +0300 Subject: [AccessD] x64 tests In-Reply-To: <001c01c85009$b22731e0$657aa8c0@M90> Message-ID: <000001c8506d$e9a410c0$6501a8c0@nant> Hello John, Did you ever try to just "pipe-through" your millions of records and processing them in code? I mean nowadays memory and processors are so incredibly quick, and your query (selection) criteria are looking rather simple - therefore it could be (much) quicker to get results if using some custom coding... I do not have millions records to test this hypothesis but here is a sample C# code, which runs against a Db with 30000+ of member records and then cycle 2500 times to get the counter to 80+ millions, and it does get data into local vars for further processing - the result is that it takes 3 min 30 sec for 89+ million records on "slow" dual core Pentium with 2GB ram and simple 200GB IDE... Please correct me if I did some mistakes below. Thanks. -- Shamil P.S. Result: Started: 06.01.2008 16:54:44 06.01.2008 16:54:44: 1 records processed. 06.01.2008 16:55:07: 10000001 records processed. 06.01.2008 16:55:29: 20000001 records processed. 06.01.2008 16:55:51: 30000001 records processed. 06.01.2008 16:56:15: 40000001 records processed. 06.01.2008 16:56:40: 50000001 records processed. 06.01.2008 16:57:05: 60000001 records processed. 06.01.2008 16:57:30: 70000001 records processed. 06.01.2008 16:57:53: 80000001 records processed. Done => 89025000 06.01.2008 16:58:14 Press any key to continue... Code: public static void Run() { string connectionString = {{type your connection string here}}; using (System.Data.SqlClient.SqlConnection cnn = new SqlConnection(connectionString)) { string memberRecordsSql = "select top 10000 memberid,firstname, surname, birthdate, countryid from member where memberId > {0} order by memberid asc"; SqlCommand cmd = new SqlCommand(); cmd.Connection = cnn; cmd.CommandType = CommandType.Text; SqlDataReader rdr = null; cnn.Open(); long counter = 0; Console.WriteLine("Started: " + DateTime.Now.ToString()); for (int i = 1; i <= 2500; i++) { bool getNext = true; int memId = 0; while (getNext) { getNext = false; cmd.CommandText = string.Format(memberRecordsSql, memId); rdr = cmd.ExecuteReader(); while (rdr.Read()) { counter++; memId = rdr.GetInt32(0); string firstname = rdr.GetString(1); string surname = rdr.GetString(2); DateTime birthdate = (DateTime)(rdr[3] != DBNull.Value ? rdr[3] :DateTime.MinValue); int? countryid = rdr.GetInt32(4); if (counter % 10000000 == 1) Console.WriteLine(DateTime.Now.ToString() + ": " + counter.ToString() + " records processed."); getNext = true; }; rdr.Close(); } } Console.WriteLine("Done => " + counter.ToString()); Console.WriteLine(DateTime.Now.ToString()); Console.WriteLine("Press any key to continue..."); Console.ReadKey(); cnn.Close(); } } -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 5:13 AM To: 'Access Developers discussion and problem solving' Cc: 'Discussion of Hardware and Software issues'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] x64 tests OK, I have the x64 system up and running. I am doing tests on the same four databases. I have: HSID which contains data used in selection criteria, with a PK. 50 million records. AZHSID contains address validated records of name / address fields originally in HSID. With a PK matching the PKs in HSID. 50 million records ZipCodeWorld contains about 80K records of valid zip codes. It has information that allows me to exclude prisons, military FPOs etc. PSM11132 contains all of the queries required for me to fill an actual order of addresses (112000) going out to a client. The order asks for: Source File FIELD Select Codes Description Geography HSID/INF 074 2, 3, 6 OR Female 35 44 HSID/INF 073 2, 3, 6 Female 45-54 AND HSID/INF 091 7-9, A-T INC $50,000+ AND HSID/INF 282 Y Tennis HSID/INF 283 Y OR Golf HSID/INF 284 Y OR Snow Skiing HSID/INF 288 Y OR Bicycling HSID/INF 292 Y OR Running HSID/INF 294 Y OR Horseback Riding HSID/INF 298 Y OR Power Boating HSID/INF 299 Y Sailing AND Zip Code World 015 16980 CBSA Chicago Zip Code World 015 19820 OR CBSA Detroit Zip Code World 015 12580 OR CBSA Baltimore Zip Code World 015 31100 OR CBSA Los Angeles Zip Code World 015 35620 OR CBSA New York Zip Code World 015 37980 OR CBSA Philadelphia Zip Code World 015 47900 CBSA Washington DC As you can see basically they want women 35 to 54, income > 50K who participate in various hobbies, and live in selected big metropolitan areas. In order to prep the order I had to build cover indexes (field and PK) on the hobby fields. I already had cover indexes on the income and PK, and a single cover index on ALL of the age fields plus the PK. I then built FOUR different views. One for Age/Sex, one for income, and one for hobbies. Those three are ANDS so by pulling the PKs for each of those views I could do an inner join to get the AND. From these queries I actually only pulled the PK field itself to minimize data pulled out of the table. I did not need the select data itself, just the PKs for the joins. I then built a fourth view of Zip Code World (ZCW) using the CBSA code that selected ZIPS in specific metropolitan areas. From this view I pulled ONLY the zip field. I built a FIFTH master view that pulled in the four views above, PLUS the AZHSID table. AZHSID contains the PK to match the HSID select views, plus address validated name / address information. That information will be actually extracted and written into a flat file on disk, zipped and sent to the client. So I have age/sex, income, hobbies and AZHSID inner joined. The data pulled is just the PKID and name / address which includes Zip. I then inner join the zip from the ZCW view to limit the addresses to those in the right zip codes. Whew. OK, so the thing I am going to time is the COUNT of the PKs in this big query (how many people match all the criteria and live in the right zips). I am going to time the count on my original system that I actually used to run this order, and then on the new system. The original system (Stonehenge) is a AMD "3800" X2 with 4 gigs ram, Windows 2003 x32, SQL Server 2005 x32, with a dedicated raid controller card with an 8 drive raid 6 array. The new system (W2k3x64) is (currently) an AMD "3800" x2 with 4 gigs ram, Windows 2003 x64, SQL Server 2005 x64, with a pair of 650 gig IDE 100 hard disks. No raid. The databases reside on one of the 650 gig drives and the OS resides on the other. Stonehenge runs the count query in 5:32 (5 minutes, 32 seconds) and counts 630,025 valid addresses with the criteria above, in the zips specified. W2k3x64 runs the query in 9:26 (9 minutes and 32 seconds) and counts 630,025 records (just a check that we are counting the same thing). So the first thing that we see is that the new system is slower. The difference is likely caused by the fact that the Raid array in Stonehenge STREAMS data at 400 mbytes / sec whereas the single disk in W2k3x64 streams MUCH slower, probably around 50 mbytes / second. We do not KNOW that is the reason for the difference at this point, but it is a pretty good bet. I "sacrificed" the video controller from Azul to build the new system (yea, poor planning, forgot the damned video card) so I will probably move the raid array into the new system, or more likely move the new system (and boot disk) into the cabinet that Azul currently occupies. Moving a raid array with 8 disks is not something I want to do if I can avoid it. Next, I am going to pull the other 4 gigs (two 2 gig sticks) out of Azul and move it into W2k3x64. I have a video card on order, will be here next week but for now Azul is dead anyway so I might as well scrounge the memory as well. I did not take CPU and memory usage readings with just the 4 gigs, but with 8 in there both processors are pegging (100%) and the memory usage is maximum (only about 200 megs available) and it is using about 8 gigs of page file as well. W2k3x64 runs the same query in 9:11 after adding two additional sticks of memory and boosting the total to 8 gigs. Oddly, SQL Server has a little control for telling it how much it can have max, and it is maxed at ~2 gig bytes. I was under the impression that it would now allow SQL Server to natively use more ram. Sigh. there is an unchecked box for "Use AWE to allocate memory" which I just checked and am now rerunning the query a third time. With AWE memory enabled, the query ran in 8:27. A slight boost but certainly not stellar. So why is SQL Server not using more memory natively? What I really need to do is create a dual boot with Windows 2003 x32 and SQL Server 2003 x32, and then run the count query again for that. I suspect though that the Raid card and array would do more than anything to bump the speed back up. I am going to swap the quad core processor from Azul and see what that does for me. I think I will swap the view card and memory back in to Azul and try running the same database on Azul. It is virtually identical to Stonehenge. It has a quad core AMD, 4 gigs of memory and an 8 disk raid array on the same controller card that Stonehenge has. I could also TRY to do a dual boot to W2K3x64 but it currently boots off the raid which makes installing the new OS difficult (adds the issue of x64 raid drivers at install time). F6, floppy and all that. I hate that stuff. Well, more later. 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 EdTesiny at oasas.state.ny.us Sun Jan 6 09:58:03 2008 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Sun, 6 Jan 2008 10:58:03 -0500 Subject: [AccessD] OT: For Gustav Message-ID: Hello Gustav, We're planning to visit Copenhagen sometime in May. When we visited Germany last year, we were there on Ascension Day, most things closed and on Sunday everything closed except the hauptbahnhof (sp?) Are there any times/holidays etc. that we should avoid, any tips would be appreciated. Regards, Ed From rockysmolin at bchacc.com Sun Jan 6 10:18:45 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 08:18:45 -0800 Subject: [AccessD] Number of Users Message-ID: <004b01c8507f$d03b6040$0301a8c0@HAL9005> Dear List: What is the easiest way to restrict the number of users in a FE/BE application? MTIA Rocky From fuller.artful at gmail.com Sun Jan 6 10:51:26 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 6 Jan 2008 11:51:26 -0500 Subject: [AccessD] Puzzling Behavior Message-ID: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> Maybe I'm just having a senior moment, but I can't figure out why I'm getting the results I am. This is a really simple task. I have a system parameters table containing two tax rate fields, GST and PST, whose values are .05 and .08 respectively. I wrote a pair of wrapper functions to return these values: Function GSTRate() As Long GSTRate = DLookup("GST", "Company") End Function The function should return 0.05 but instead it returns zero. In the immediate window, if I type this: ? Dlookup("GST", "Company") I get back 0.05 Why doesn't the function return the same value? I even tried multiplying it by 100, but it still gives me zero. What am I doing wrong? TIA, Arthur From newsgrps at dalyn.co.nz Sun Jan 6 11:00:15 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 07 Jan 2008 06:00:15 +1300 Subject: [AccessD] Puzzling Behavior In-Reply-To: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.co m> References: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> Message-ID: <20080106165940.CCQX18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Arthur, You have set Function GSTRate as Long - it is returning a number with no decimals. Try Single. Regards David At 7/01/2008, you wrote: >Maybe I'm just having a senior moment, but I can't figure out why I'm >getting the results I am. This is a really simple task. I have a system >parameters table containing two tax rate fields, GST and PST, whose values >are .05 and .08 respectively. I wrote a pair of wrapper functions to return >these values: > >Function GSTRate() As Long > GSTRate = DLookup("GST", "Company") >End Function > >The function should return 0.05 but instead it returns zero. In the >immediate window, if I type this: > >? Dlookup("GST", "Company") >I get back 0.05 > >Why doesn't the function return the same value? I even tried multiplying it >by 100, but it still gives me zero. What am I doing wrong? > >TIA, >Arthur >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun Jan 6 10:59:50 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 6 Jan 2008 16:59:50 -0000 Subject: [AccessD] Puzzling Behavior In-Reply-To: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> Message-ID: <001601c85085$8da9d850$8119fea9@LTVM> Is the calling value (the one receiving the returned value) also a LONG? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, January 06, 2008 4:51 PM To: Access Developers discussion and problem solving Subject: [AccessD] Puzzling Behavior Maybe I'm just having a senior moment, but I can't figure out why I'm getting the results I am. This is a really simple task. I have a system parameters table containing two tax rate fields, GST and PST, whose values are .05 and .08 respectively. I wrote a pair of wrapper functions to return these values: Function GSTRate() As Long GSTRate = DLookup("GST", "Company") End Function The function should return 0.05 but instead it returns zero. In the immediate window, if I type this: ? Dlookup("GST", "Company") I get back 0.05 Why doesn't the function return the same value? I even tried multiplying it by 100, but it still gives me zero. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Jan 6 11:00:21 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 6 Jan 2008 12:00:21 -0500 Subject: [AccessD] Puzzling Behavior References: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> Message-ID: <01f501c85085$a119bc70$4b3a8343@SusanOne> Can a Long handle a decimal? Susan H. > Maybe I'm just having a senior moment, but I can't figure out why I'm > getting the results I am. This is a really simple task. I have a system > parameters table containing two tax rate fields, GST and PST, whose values > are .05 and .08 respectively. I wrote a pair of wrapper functions to > return > these values: > > Function GSTRate() As Long > GSTRate = DLookup("GST", "Company") > End Function > > The function should return 0.05 but instead it returns zero. In the > immediate window, if I type this: > > ? Dlookup("GST", "Company") > I get back 0.05 > > Why doesn't the function return the same value? I even tried multiplying > it > by 100, but it still gives me zero. What am I doing wrong? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun Jan 6 11:09:18 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 6 Jan 2008 17:09:18 -0000 Subject: [AccessD] Number of Users In-Reply-To: <004b01c8507f$d03b6040$0301a8c0@HAL9005> Message-ID: <001801c85086$e000fce0$8119fea9@LTVM> Rocky: Some years ago, I had to do this. There may be better ways, but what I done then was. 1. Set up TWO custom property on the BE (say, MaxUSersAllowed, UsersLoggedOn). 2. Set the MaxUsersAllowed to the appropriate value. 3. Each time a FE opened, it checked the UsersLoggedOn against the MaxUsersAllowed and if it was at the max value, it gave a message and closed down the FE else it increments this value. 4. Each time a FE closes, it decrements this UsersLoggedOn value. If at zero, it left it alone.( see below). You will need a mechanism to clear down the UsersLoggedOn value as it sometimes happens that people "bomb out" of the FE and the UsersLoggedOn value is not decremented properly. I therefore had a separate mde (compiled so no user can access the code with password access for the SyAdmin) which when run, resets the UsersLoggedOn value to 0 and close the BE (thus dropping all connections). With suitable messages/warning first of course. (ie, Get everybody out of the system 'cos it is shutting down, etc) HTH Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 4:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Jan 6 11:09:31 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 6 Jan 2008 11:09:31 -0600 Subject: [AccessD] Puzzling Behavior In-Reply-To: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> References: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> Message-ID: <000801c85086$e776a010$0300a8c0@danwaters> Hi Arthur, You've set up your function as Long, which is an integer, and will round down to 0. You need a Weekend! ;-) Or maybe a pint! Yeah - a pint will do it! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, January 06, 2008 10:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Puzzling Behavior Maybe I'm just having a senior moment, but I can't figure out why I'm getting the results I am. This is a really simple task. I have a system parameters table containing two tax rate fields, GST and PST, whose values are .05 and .08 respectively. I wrote a pair of wrapper functions to return these values: Function GSTRate() As Long GSTRate = DLookup("GST", "Company") End Function The function should return 0.05 but instead it returns zero. In the immediate window, if I type this: ? Dlookup("GST", "Company") I get back 0.05 Why doesn't the function return the same value? I even tried multiplying it by 100, but it still gives me zero. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Jan 6 11:20:24 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 6 Jan 2008 12:20:24 -0500 Subject: [AccessD] Puzzling Behavior In-Reply-To: <20080106165940.CCQX18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> References: <29f585dd0801060851q737e2e7bmd4fd4e0062dc9e3f@mail.gmail.com> <20080106165940.CCQX18083.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <29f585dd0801060920w578dfc7by16233020a32a1017@mail.gmail.com> That did it. Thanks! The strange thing is that in the table the field is defined as a long integer, so I assumed... On 1/6/08, David Emerson wrote: > > Arthur, > > You have set Function GSTRate as Long - it is returning a number with > no decimals. Try Single. > > Regards > > David > From jwcolby at colbyconsulting.com Sun Jan 6 11:40:25 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 6 Jan 2008 12:40:25 -0500 Subject: [AccessD] x64 tests In-Reply-To: <000001c8506d$e9a410c0$6501a8c0@nant> References: <001c01c85009$b22731e0$657aa8c0@M90> <000001c8506d$e9a410c0$6501a8c0@nant> Message-ID: <002301c8508b$38f64900$657aa8c0@M90> I don't really understand what you are doing. I suppose you are saying just get the select fields and process the "do they match the criteria" in code? Before we go further remember that we are simply trying to select name address fields for export, based on a set of criteria. We have to use three different tables: HSID has a PK field and 640 fields of data. I would need to select 50 million records of the PK and N criteria fields (2 age fields, 1 income field and 8 hobby fields). I also have a table AZHSID which has the PKID and the name / address fields. So I would need to get the PKID plus fname, lname, city, state, zip and a HashFamily field, 50 million records of that data. Then I have ZipCodeWorld that has the zip code information that tells me what zips are in a specific metropolitan code. I have to build a query to join the HSID, AZHSID and Accuzip tables and pull all of the fields, then process them in code? I would also have to write some sort of generic code to do the selection. Of course there are many ways to perform the queries anyway, and I should go back and build them differently just to see what happens. I could have simply built up one big query. In the past I hesitated to do this because the queries would take 20-30 minutes to run. If anything went wrong I would have to make changes and retest, waiting another 20-30 minutes. I learned to break things down into pieces so that the pieces only took a few minutes each. My client had counts that he thought represented the number of records for each criteria. I was trying to check counts on my tables against what he thought he had. He had a count of the age / sex, the income, and then each hobby. So I built up separate queries for those pieces so that I could count the pieces. In the end, the point of this exercise was not to optimize the process but rather to see how moving from x32 to x64 changed the time required. Unfortunately that part is masked by the disk subsystem so I didn't really learn anything there. Then I wanted to learn how moving from 4 gigs to 8 gigs changed the time required, and likewise how moving from dual to quad core changed the time. I really expected the doubling of memory to substantially change the times, but it did not. I also expected SQL Server x64 to be able to natively handle large amounts of memory, not depend on AWE which I understand to be "paging" of memory. At this point I am actually quite happy with a 5 minute time to grab all the data and get it out to a text file. I think that for processing 50 million records in two tables, and narrow it down to 600 thousand records using about 10 select fields and three joins 5 minutes is doing OK. Especially since it was taking me 20-30 minutes before I moved to the "cover" queries. I do think I will go back and built this as one big query and see how long that takes. 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: Sunday, January 06, 2008 9:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Hello John, Did you ever try to just "pipe-through" your millions of records and processing them in code? I mean nowadays memory and processors are so incredibly quick, and your query (selection) criteria are looking rather simple - therefore it could be (much) quicker to get results if using some custom coding... I do not have millions records to test this hypothesis but here is a sample C# code, which runs against a Db with 30000+ of member records and then cycle 2500 times to get the counter to 80+ millions, and it does get data into local vars for further processing - the result is that it takes 3 min 30 sec for 89+ million records on "slow" dual core Pentium with 2GB ram and simple 200GB IDE... Please correct me if I did some mistakes below. Thanks. -- Shamil From jwcolby at colbyconsulting.com Sun Jan 6 11:43:10 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 6 Jan 2008 12:43:10 -0500 Subject: [AccessD] Number of Users In-Reply-To: <004b01c8507f$d03b6040$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> Message-ID: <002401c8508b$9b921ee0$657aa8c0@M90> Machine guns always worked for me. Set a rule, perhaps "only 5 people in at once". Then simply walk around shooting users when the number is exceeded. Eventually one of two things occurs. You either end up with only 5 users left and the problem is solved, or you end up with users who make sure that they don't exceed the number allowed in. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 11:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun Jan 6 11:54:05 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 6 Jan 2008 17:54:05 -0000 Subject: [AccessD] Number of Users In-Reply-To: <002401c8508b$9b921ee0$657aa8c0@M90> Message-ID: <002001c8508d$21bacc00$8119fea9@LTVM> Love it. You can join my Army. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 5:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Machine guns always worked for me. Set a rule, perhaps "only 5 people in at once". Then simply walk around shooting users when the number is exceeded. Eventually one of two things occurs. You either end up with only 5 users left and the problem is solved, or you end up with users who make sure that they don't exceed the number allowed in. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 11:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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 From rockysmolin at bchacc.com Sun Jan 6 11:54:23 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 09:54:23 -0800 Subject: [AccessD] Number of Users In-Reply-To: <001801c85086$e000fce0$8119fea9@LTVM> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <001801c85086$e000fce0$8119fea9@LTVM> Message-ID: <005c01c8508d$2bc28bc0$0301a8c0@HAL9005> Max: Looks like a good approach. Avoids the Access workgroup and security thingies. Always a plus. The max users I can embed in the product key. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Sunday, January 06, 2008 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Rocky: Some years ago, I had to do this. There may be better ways, but what I done then was. 1. Set up TWO custom property on the BE (say, MaxUSersAllowed, UsersLoggedOn). 2. Set the MaxUsersAllowed to the appropriate value. 3. Each time a FE opened, it checked the UsersLoggedOn against the MaxUsersAllowed and if it was at the max value, it gave a message and closed down the FE else it increments this value. 4. Each time a FE closes, it decrements this UsersLoggedOn value. If at zero, it left it alone.( see below). You will need a mechanism to clear down the UsersLoggedOn value as it sometimes happens that people "bomb out" of the FE and the UsersLoggedOn value is not decremented properly. I therefore had a separate mde (compiled so no user can access the code with password access for the SyAdmin) which when run, resets the UsersLoggedOn value to 0 and close the BE (thus dropping all connections). With suitable messages/warning first of course. (ie, Get everybody out of the system 'cos it is shutting down, etc) HTH Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 4:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM From max.wanadoo at gmail.com Sun Jan 6 12:01:18 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 6 Jan 2008 18:01:18 -0000 Subject: [AccessD] Number of Users In-Reply-To: <005c01c8508d$2bc28bc0$0301a8c0@HAL9005> Message-ID: <002201c8508e$23cc9f90$8119fea9@LTVM> Yes, my user numbers was part of the Licence Key which also gave Expiry Date plus other stuff (ie, only a given number of users could install the FE before it refused to install any more). When Expiry Date approached it gave warnings and then if not renewed only gave users READ only access to data. Can be as flexible as you wish, all with custom properties on the BE Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Max: Looks like a good approach. Avoids the Access workgroup and security thingies. Always a plus. The max users I can embed in the product key. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Sunday, January 06, 2008 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Rocky: Some years ago, I had to do this. There may be better ways, but what I done then was. 1. Set up TWO custom property on the BE (say, MaxUSersAllowed, UsersLoggedOn). 2. Set the MaxUsersAllowed to the appropriate value. 3. Each time a FE opened, it checked the UsersLoggedOn against the MaxUsersAllowed and if it was at the max value, it gave a message and closed down the FE else it increments this value. 4. Each time a FE closes, it decrements this UsersLoggedOn value. If at zero, it left it alone.( see below). You will need a mechanism to clear down the UsersLoggedOn value as it sometimes happens that people "bomb out" of the FE and the UsersLoggedOn value is not decremented properly. I therefore had a separate mde (compiled so no user can access the code with password access for the SyAdmin) which when run, resets the UsersLoggedOn value to 0 and close the BE (thus dropping all connections). With suitable messages/warning first of course. (ie, Get everybody out of the system 'cos it is shutting down, etc) HTH Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 4:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Jan 6 12:25:07 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 10:25:07 -0800 Subject: [AccessD] Number of Users In-Reply-To: <002401c8508b$9b921ee0$657aa8c0@M90> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <002401c8508b$9b921ee0$657aa8c0@M90> Message-ID: <005d01c85091$7768dc60$0301a8c0@HAL9005> And way cheaper than that thing with the airplanes and the shoving? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 9:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Machine guns always worked for me. Set a rule, perhaps "only 5 people in at once". Then simply walk around shooting users when the number is exceeded. Eventually one of two things occurs. You either end up with only 5 users left and the problem is solved, or you end up with users who make sure that they don't exceed the number allowed in. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 11:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM From dwaters at usinternet.com Sun Jan 6 12:45:14 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 6 Jan 2008 12:45:14 -0600 Subject: [AccessD] Number of Users In-Reply-To: <004b01c8507f$d03b6040$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> Message-ID: <000901c85094$46ab9150$0300a8c0@danwaters> Hi Rocky, This came from MS KB198755, and I've used it for a few years now with no problems. This will also tell the person being kicked off who else is logged in so they know who to ask to log off. ------------------------------------------------------------------- Public Sub UserLimit() Dim con As New ADODB.Connection Dim rst As New ADODB.Recordset Dim stgData As String Dim stg As String Dim stgFullName As String Dim rstFullname As DAO.Recordset Dim stgUserName As String Dim stgNameList As String Dim intUsers As Integer Dim stgUsers As String Dim rstUsers As DAO.Recordset Dim stgLockout As String Dim rstLockout As DAO.Recordset '-- The user roster is exposed as a provider-specific schema rowset _ in the Jet 4.0 OLE DB provider. You have to use a GUID to _ reference the schema, as provider-specific schemas are not _ listed in ADO's type library for schema rowsets '-- This is from MSKB 198755 and is specific to Access 2000 & up con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBEngine.SystemDB Set rst = con.OpenSchema(adSchemaProviderSpecific, , "{947bb102-5d43-11d1-bdbf-00c04fb92675}") Do While rst.EOF = False stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person FROM tblPeopleMain" _ & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) If stgUserName <> "Admin" Then If stgNameList = "" Then stgNameList = rstFullname("Person") Else stgNameList = rstFullname("Person") & ", " & vbNewLine & stgNameList End If intUsers = intUsers + 1 End If rst.MoveNext rstFullname.Close Set rstFullname = Nothing Loop rst.Close Set rst = Nothing '-- Look for too many users logging in stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) If intUsers > rstUsers("ThisMonthUsers") Then stgLockout = "SELECT * FROM tblUserLicenseLockouts" Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, dbOpenDynaset) rstLockout.AddNew rstLockout("Name") = CurrentPerson rstLockout("LockoutDate") = CurrentDate rstLockout("LockoutTime") = Format(Now(), "Medium Time") rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") rstLockout.Update rstLockout.Close Set rstLockout = Nothing FormattedMsgBox GstgNotReady, "There are insufficient User Licenses for you to log on." _ & " The following people are now logged on to " & SystemTitle & ":" _ & vbNewLine & vbNewLine _ & stgNameList & "@ @", vbExclamation + vbOKOnly, "Insufficient User Licenses" rstUsers.Close Set rstUsers = Nothing DoEvents DoCmd.Quit Exit Sub End If rstUsers.Close Set rstUsers = Nothing End Sub --------------------------------------------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 10:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun Jan 6 13:12:17 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 6 Jan 2008 19:12:17 -0000 Subject: [AccessD] Number of Users In-Reply-To: <000901c85094$46ab9150$0300a8c0@danwaters> Message-ID: <002a01c85098$0e7b6cc0$8119fea9@LTVM> Hi Dan, I think that the problem with this solution is that the user has access to the table and can change the number of allowed/licensed users. If you put the allowed number in the Registry, then you need some method of checking across the network, which is why I used to use the hidden custom properties in the BE which can only be accessed via code. If that code was in a called MDE from the FE then the user can never change it. 2p worth. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 06, 2008 6:45 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Hi Rocky, This came from MS KB198755, and I've used it for a few years now with no problems. This will also tell the person being kicked off who else is logged in so they know who to ask to log off. ------------------------------------------------------------------- Public Sub UserLimit() Dim con As New ADODB.Connection Dim rst As New ADODB.Recordset Dim stgData As String Dim stg As String Dim stgFullName As String Dim rstFullname As DAO.Recordset Dim stgUserName As String Dim stgNameList As String Dim intUsers As Integer Dim stgUsers As String Dim rstUsers As DAO.Recordset Dim stgLockout As String Dim rstLockout As DAO.Recordset '-- The user roster is exposed as a provider-specific schema rowset _ in the Jet 4.0 OLE DB provider. You have to use a GUID to _ reference the schema, as provider-specific schemas are not _ listed in ADO's type library for schema rowsets '-- This is from MSKB 198755 and is specific to Access 2000 & up con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBEngine.SystemDB Set rst = con.OpenSchema(adSchemaProviderSpecific, , "{947bb102-5d43-11d1-bdbf-00c04fb92675}") Do While rst.EOF = False stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person FROM tblPeopleMain" _ & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) If stgUserName <> "Admin" Then If stgNameList = "" Then stgNameList = rstFullname("Person") Else stgNameList = rstFullname("Person") & ", " & vbNewLine & stgNameList End If intUsers = intUsers + 1 End If rst.MoveNext rstFullname.Close Set rstFullname = Nothing Loop rst.Close Set rst = Nothing '-- Look for too many users logging in stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) If intUsers > rstUsers("ThisMonthUsers") Then stgLockout = "SELECT * FROM tblUserLicenseLockouts" Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, dbOpenDynaset) rstLockout.AddNew rstLockout("Name") = CurrentPerson rstLockout("LockoutDate") = CurrentDate rstLockout("LockoutTime") = Format(Now(), "Medium Time") rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") rstLockout.Update rstLockout.Close Set rstLockout = Nothing FormattedMsgBox GstgNotReady, "There are insufficient User Licenses for you to log on." _ & " The following people are now logged on to " & SystemTitle & ":" _ & vbNewLine & vbNewLine _ & stgNameList & "@ @", vbExclamation + vbOKOnly, "Insufficient User Licenses" rstUsers.Close Set rstUsers = Nothing DoEvents DoCmd.Quit Exit Sub End If rstUsers.Close Set rstUsers = Nothing End Sub --------------------------------------------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 10:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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 From rockysmolin at bchacc.com Sun Jan 6 13:17:52 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 11:17:52 -0800 Subject: [AccessD] Number of Users In-Reply-To: <000901c85094$46ab9150$0300a8c0@danwaters> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <000901c85094$46ab9150$0300a8c0@danwaters> Message-ID: <005e01c85098$d5aa0680$0301a8c0@HAL9005> Dan: Just drop it in and it works? I try to avoid code when I don't understand everything it's doing. Can't maintain it. Pretty much set a reference to ADO and then plug and play? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 06, 2008 10:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Hi Rocky, This came from MS KB198755, and I've used it for a few years now with no problems. This will also tell the person being kicked off who else is logged in so they know who to ask to log off. ------------------------------------------------------------------- Public Sub UserLimit() Dim con As New ADODB.Connection Dim rst As New ADODB.Recordset Dim stgData As String Dim stg As String Dim stgFullName As String Dim rstFullname As DAO.Recordset Dim stgUserName As String Dim stgNameList As String Dim intUsers As Integer Dim stgUsers As String Dim rstUsers As DAO.Recordset Dim stgLockout As String Dim rstLockout As DAO.Recordset '-- The user roster is exposed as a provider-specific schema rowset _ in the Jet 4.0 OLE DB provider. You have to use a GUID to _ reference the schema, as provider-specific schemas are not _ listed in ADO's type library for schema rowsets '-- This is from MSKB 198755 and is specific to Access 2000 & up con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBEngine.SystemDB Set rst = con.OpenSchema(adSchemaProviderSpecific, , "{947bb102-5d43-11d1-bdbf-00c04fb92675}") Do While rst.EOF = False stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person FROM tblPeopleMain" _ & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) If stgUserName <> "Admin" Then If stgNameList = "" Then stgNameList = rstFullname("Person") Else stgNameList = rstFullname("Person") & ", " & vbNewLine & stgNameList End If intUsers = intUsers + 1 End If rst.MoveNext rstFullname.Close Set rstFullname = Nothing Loop rst.Close Set rst = Nothing '-- Look for too many users logging in stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) If intUsers > rstUsers("ThisMonthUsers") Then stgLockout = "SELECT * FROM tblUserLicenseLockouts" Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, dbOpenDynaset) rstLockout.AddNew rstLockout("Name") = CurrentPerson rstLockout("LockoutDate") = CurrentDate rstLockout("LockoutTime") = Format(Now(), "Medium Time") rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") rstLockout.Update rstLockout.Close Set rstLockout = Nothing FormattedMsgBox GstgNotReady, "There are insufficient User Licenses for you to log on." _ & " The following people are now logged on to " & SystemTitle & ":" _ & vbNewLine & vbNewLine _ & stgNameList & "@ @", vbExclamation + vbOKOnly, "Insufficient User Licenses" rstUsers.Close Set rstUsers = Nothing DoEvents DoCmd.Quit Exit Sub End If rstUsers.Close Set rstUsers = Nothing End Sub --------------------------------------------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 10:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM From dwaters at usinternet.com Sun Jan 6 13:40:05 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 6 Jan 2008 13:40:05 -0600 Subject: [AccessD] Number of Users In-Reply-To: <005e01c85098$d5aa0680$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters> <005e01c85098$d5aa0680$0301a8c0@HAL9005> Message-ID: <000a01c8509b$efd49ae0$0300a8c0@danwaters> No - you'll need to work on it. You'll need to use your own tables of course. You'll also need to deal with a couple of custom Functions (like 'SystemTitle'), which you'll need to either change or remove. I forgot about this but I believe that you'll need to qualify all your other recordset variables with your database as DAO.Recordset or ADODB.Recordset. If you also set a reference to ADO, then your recordsets will need to know which type to become. This is intended as a template to start with. I hope it does help! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 1:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Dan: Just drop it in and it works? I try to avoid code when I don't understand everything it's doing. Can't maintain it. Pretty much set a reference to ADO and then plug and play? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 06, 2008 10:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Hi Rocky, This came from MS KB198755, and I've used it for a few years now with no problems. This will also tell the person being kicked off who else is logged in so they know who to ask to log off. ------------------------------------------------------------------- Public Sub UserLimit() Dim con As New ADODB.Connection Dim rst As New ADODB.Recordset Dim stgData As String Dim stg As String Dim stgFullName As String Dim rstFullname As DAO.Recordset Dim stgUserName As String Dim stgNameList As String Dim intUsers As Integer Dim stgUsers As String Dim rstUsers As DAO.Recordset Dim stgLockout As String Dim rstLockout As DAO.Recordset '-- The user roster is exposed as a provider-specific schema rowset _ in the Jet 4.0 OLE DB provider. You have to use a GUID to _ reference the schema, as provider-specific schemas are not _ listed in ADO's type library for schema rowsets '-- This is from MSKB 198755 and is specific to Access 2000 & up con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBEngine.SystemDB Set rst = con.OpenSchema(adSchemaProviderSpecific, , "{947bb102-5d43-11d1-bdbf-00c04fb92675}") Do While rst.EOF = False stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person FROM tblPeopleMain" _ & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) If stgUserName <> "Admin" Then If stgNameList = "" Then stgNameList = rstFullname("Person") Else stgNameList = rstFullname("Person") & ", " & vbNewLine & stgNameList End If intUsers = intUsers + 1 End If rst.MoveNext rstFullname.Close Set rstFullname = Nothing Loop rst.Close Set rst = Nothing '-- Look for too many users logging in stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) If intUsers > rstUsers("ThisMonthUsers") Then stgLockout = "SELECT * FROM tblUserLicenseLockouts" Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, dbOpenDynaset) rstLockout.AddNew rstLockout("Name") = CurrentPerson rstLockout("LockoutDate") = CurrentDate rstLockout("LockoutTime") = Format(Now(), "Medium Time") rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") rstLockout.Update rstLockout.Close Set rstLockout = Nothing FormattedMsgBox GstgNotReady, "There are insufficient User Licenses for you to log on." _ & " The following people are now logged on to " & SystemTitle & ":" _ & vbNewLine & vbNewLine _ & stgNameList & "@ @", vbExclamation + vbOKOnly, "Insufficient User Licenses" rstUsers.Close Set rstUsers = Nothing DoEvents DoCmd.Quit Exit Sub End If rstUsers.Close Set rstUsers = Nothing End Sub --------------------------------------------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 10:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Jan 6 13:57:03 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 11:57:03 -0800 Subject: [AccessD] Number of Users In-Reply-To: <000a01c8509b$efd49ae0$0300a8c0@danwaters> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005> <000a01c8509b$efd49ae0$0300a8c0@danwaters> Message-ID: <006801c8509e$4f08c9d0$0301a8c0@HAL9005> Dan: I always declare dao variables explicitly. But it looks like, as you say, a good template. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 06, 2008 11:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users No - you'll need to work on it. You'll need to use your own tables of course. You'll also need to deal with a couple of custom Functions (like 'SystemTitle'), which you'll need to either change or remove. I forgot about this but I believe that you'll need to qualify all your other recordset variables with your database as DAO.Recordset or ADODB.Recordset. If you also set a reference to ADO, then your recordsets will need to know which type to become. This is intended as a template to start with. I hope it does help! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 1:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Dan: Just drop it in and it works? I try to avoid code when I don't understand everything it's doing. Can't maintain it. Pretty much set a reference to ADO and then plug and play? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 06, 2008 10:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Hi Rocky, This came from MS KB198755, and I've used it for a few years now with no problems. This will also tell the person being kicked off who else is logged in so they know who to ask to log off. ------------------------------------------------------------------- Public Sub UserLimit() Dim con As New ADODB.Connection Dim rst As New ADODB.Recordset Dim stgData As String Dim stg As String Dim stgFullName As String Dim rstFullname As DAO.Recordset Dim stgUserName As String Dim stgNameList As String Dim intUsers As Integer Dim stgUsers As String Dim rstUsers As DAO.Recordset Dim stgLockout As String Dim rstLockout As DAO.Recordset '-- The user roster is exposed as a provider-specific schema rowset _ in the Jet 4.0 OLE DB provider. You have to use a GUID to _ reference the schema, as provider-specific schemas are not _ listed in ADO's type library for schema rowsets '-- This is from MSKB 198755 and is specific to Access 2000 & up con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBEngine.SystemDB Set rst = con.OpenSchema(adSchemaProviderSpecific, , "{947bb102-5d43-11d1-bdbf-00c04fb92675}") Do While rst.EOF = False stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person FROM tblPeopleMain" _ & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) If stgUserName <> "Admin" Then If stgNameList = "" Then stgNameList = rstFullname("Person") Else stgNameList = rstFullname("Person") & ", " & vbNewLine & stgNameList End If intUsers = intUsers + 1 End If rst.MoveNext rstFullname.Close Set rstFullname = Nothing Loop rst.Close Set rst = Nothing '-- Look for too many users logging in stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) If intUsers > rstUsers("ThisMonthUsers") Then stgLockout = "SELECT * FROM tblUserLicenseLockouts" Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, dbOpenDynaset) rstLockout.AddNew rstLockout("Name") = CurrentPerson rstLockout("LockoutDate") = CurrentDate rstLockout("LockoutTime") = Format(Now(), "Medium Time") rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") rstLockout.Update rstLockout.Close Set rstLockout = Nothing FormattedMsgBox GstgNotReady, "There are insufficient User Licenses for you to log on." _ & " The following people are now logged on to " & SystemTitle & ":" _ & vbNewLine & vbNewLine _ & stgNameList & "@ @", vbExclamation + vbOKOnly, "Insufficient User Licenses" rstUsers.Close Set rstUsers = Nothing DoEvents DoCmd.Quit Exit Sub End If rstUsers.Close Set rstUsers = Nothing End Sub --------------------------------------------------------------------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 10:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM From fuller.artful at gmail.com Sun Jan 6 14:17:27 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 6 Jan 2008 15:17:27 -0500 Subject: [AccessD] Number of Users In-Reply-To: <006801c8509e$4f08c9d0$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <000901c85094$46ab9150$0300a8c0@danwaters> <005e01c85098$d5aa0680$0301a8c0@HAL9005> <000a01c8509b$efd49ae0$0300a8c0@danwaters> <006801c8509e$4f08c9d0$0301a8c0@HAL9005> Message-ID: <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> I've never done this before, but can't you interrogate the LDB file to find out how many users are on at once? Arthur On 1/6/08, Rocky Smolin at Beach Access Software wrote: > > Dan: > > I always declare dao variables explicitly. But it looks like, as you say, > a > good template. > > Thanks > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, January 06, 2008 11:40 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Number of Users > > No - you'll need to work on it. > > You'll need to use your own tables of course. You'll also need to deal > with > a couple of custom Functions (like 'SystemTitle'), which you'll need to > either change or remove. > > I forgot about this but I believe that you'll need to qualify all your > other > recordset variables with your database as DAO.Recordset or ADODB.Recordset > . > If you also set a reference to ADO, then your recordsets will need to know > which type to become. > > This is intended as a template to start with. I hope it does help! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Sunday, January 06, 2008 1:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Number of Users > > Dan: > > Just drop it in and it works? I try to avoid code when I don't understand > everything it's doing. Can't maintain it. Pretty much set a reference to > ADO and then plug and play? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, January 06, 2008 10:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Number of Users > > Hi Rocky, > > This came from MS KB198755, and I've used it for a few years now with no > problems. This will also tell the person being kicked off who else is > logged in so they know who to ask to log off. > > ------------------------------------------------------------------- > > Public Sub UserLimit() > > Dim con As New ADODB.Connection > Dim rst As New ADODB.Recordset > Dim stgData As String > Dim stg As String > Dim stgFullName As String > Dim rstFullname As DAO.Recordset > Dim stgUserName As String > Dim stgNameList As String > Dim intUsers As Integer > Dim stgUsers As String > Dim rstUsers As DAO.Recordset > Dim stgLockout As String > Dim rstLockout As DAO.Recordset > > '-- The user roster is exposed as a provider-specific schema rowset _ > in the Jet 4.0 OLE DB provider. You have to use a GUID to _ > reference the schema, as provider-specific schemas are not _ > listed in ADO's type library for schema rowsets > > '-- This is from MSKB 198755 and is specific to Access 2000 & up > con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & > DBEngine.SystemDB > > Set rst = con.OpenSchema(adSchemaProviderSpecific, , > "{947bb102-5d43-11d1-bdbf-00c04fb92675}") > > Do While rst.EOF = False > stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) > Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person FROM > tblPeopleMain" _ > & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) > If stgUserName <> "Admin" Then > If stgNameList = "" Then > stgNameList = rstFullname("Person") > Else > stgNameList = rstFullname("Person") & ", " & vbNewLine & > stgNameList > End If > intUsers = intUsers + 1 > End If > rst.MoveNext > rstFullname.Close > Set rstFullname = Nothing > Loop > rst.Close > Set rst = Nothing > > '-- Look for too many users logging in > stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" > Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) > If intUsers > rstUsers("ThisMonthUsers") Then > stgLockout = "SELECT * FROM tblUserLicenseLockouts" > Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, > dbOpenDynaset) > rstLockout.AddNew > rstLockout("Name") = CurrentPerson > rstLockout("LockoutDate") = CurrentDate > rstLockout("LockoutTime") = Format(Now(), "Medium Time") > rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") > rstLockout.Update > rstLockout.Close > Set rstLockout = Nothing > FormattedMsgBox GstgNotReady, "There are insufficient User > Licenses > for you to log on." _ > & " The following people are now logged on to " & SystemTitle > & > ":" _ > & vbNewLine & vbNewLine _ > & stgNameList & "@ @", vbExclamation + vbOKOnly, "Insufficient > User Licenses" > rstUsers.Close > Set rstUsers = Nothing > DoEvents > DoCmd.Quit > Exit Sub > End If > rstUsers.Close > Set rstUsers = Nothing > > End Sub > > > --------------------------------------------------------------------------- > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Sunday, January 06, 2008 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Number of Users > > Dear List: > > What is the easiest way to restrict the number of users in a FE/BE > application? > > 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 > 11:46 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 > 11:46 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sun Jan 6 14:49:25 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 12:49:25 -0800 Subject: [AccessD] Number of Users In-Reply-To: <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> Message-ID: <007b01c850a5$9fe7be90$0301a8c0@HAL9005> That was my first thought as well. Maybe someone will chime in with a bit of ldb lore. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, January 06, 2008 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number of Users I've never done this before, but can't you interrogate the LDB file to find out how many users are on at once? Arthur On 1/6/08, Rocky Smolin at Beach Access Software wrote: > > Dan: > > I always declare dao variables explicitly. But it looks like, as you > say, a good template. > > Thanks > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, January 06, 2008 11:40 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Number of Users > > No - you'll need to work on it. > > You'll need to use your own tables of course. You'll also need to > deal with a couple of custom Functions (like 'SystemTitle'), which > you'll need to either change or remove. > > I forgot about this but I believe that you'll need to qualify all your > other recordset variables with your database as DAO.Recordset or > ADODB.Recordset . > If you also set a reference to ADO, then your recordsets will need to > know which type to become. > > This is intended as a template to start with. I hope it does help! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Sunday, January 06, 2008 1:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Number of Users > > Dan: > > Just drop it in and it works? I try to avoid code when I don't > understand everything it's doing. Can't maintain it. Pretty much set > a reference to ADO and then plug and play? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, January 06, 2008 10:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Number of Users > > Hi Rocky, > > This came from MS KB198755, and I've used it for a few years now with > no problems. This will also tell the person being kicked off who else > is logged in so they know who to ask to log off. > > ------------------------------------------------------------------- > > Public Sub UserLimit() > > Dim con As New ADODB.Connection > Dim rst As New ADODB.Recordset > Dim stgData As String > Dim stg As String > Dim stgFullName As String > Dim rstFullname As DAO.Recordset > Dim stgUserName As String > Dim stgNameList As String > Dim intUsers As Integer > Dim stgUsers As String > Dim rstUsers As DAO.Recordset > Dim stgLockout As String > Dim rstLockout As DAO.Recordset > > '-- The user roster is exposed as a provider-specific schema rowset _ > in the Jet 4.0 OLE DB provider. You have to use a GUID to _ > reference the schema, as provider-specific schemas are not _ > listed in ADO's type library for schema rowsets > > '-- This is from MSKB 198755 and is specific to Access 2000 & up > con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & > DBEngine.SystemDB > > Set rst = con.OpenSchema(adSchemaProviderSpecific, , > "{947bb102-5d43-11d1-bdbf-00c04fb92675}") > > Do While rst.EOF = False > stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) > Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person > FROM tblPeopleMain" _ > & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) > If stgUserName <> "Admin" Then > If stgNameList = "" Then > stgNameList = rstFullname("Person") > Else > stgNameList = rstFullname("Person") & ", " & vbNewLine > & stgNameList > End If > intUsers = intUsers + 1 > End If > rst.MoveNext > rstFullname.Close > Set rstFullname = Nothing > Loop > rst.Close > Set rst = Nothing > > '-- Look for too many users logging in > stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" > Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) > If intUsers > rstUsers("ThisMonthUsers") Then > stgLockout = "SELECT * FROM tblUserLicenseLockouts" > Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, > dbOpenDynaset) > rstLockout.AddNew > rstLockout("Name") = CurrentPerson > rstLockout("LockoutDate") = CurrentDate > rstLockout("LockoutTime") = Format(Now(), "Medium Time") > rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") > rstLockout.Update > rstLockout.Close > Set rstLockout = Nothing > FormattedMsgBox GstgNotReady, "There are insufficient User > Licenses for you to log on." _ > & " The following people are now logged on to " & > SystemTitle & ":" _ > & vbNewLine & vbNewLine _ > & stgNameList & "@ @", vbExclamation + vbOKOnly, > "Insufficient User Licenses" > rstUsers.Close > Set rstUsers = Nothing > DoEvents > DoCmd.Quit > Exit Sub > End If > rstUsers.Close > Set rstUsers = Nothing > > End Sub > > > ---------------------------------------------------------------------- > ----- > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Sunday, January 06, 2008 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Number of Users > > Dear List: > > What is the easiest way to restrict the number of users in a FE/BE > application? > > 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.516 / Virus Database: 269.17.13/1210 - Release Date: > 1/5/2008 > 11:46 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: > 1/5/2008 > 11:46 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM From robert at servicexp.com Sun Jan 6 15:05:28 2008 From: robert at servicexp.com (Robert) Date: Sun, 06 Jan 2008 16:05:28 -0500 Subject: [AccessD] Number of Users In-Reply-To: <007b01c850a5$9fe7be90$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> <007b01c850a5$9fe7be90$0301a8c0@HAL9005> Message-ID: <47814298.1030509@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you anticipating this application migrating to Access 2007 Format? If so, I'm not sure the GUID and ldb methods will correctly.??? WBR ~Robert Rocky Smolin at Beach Access Software wrote: > That was my first thought as well. Maybe someone will chime in with a bit > of ldb lore. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, January 06, 2008 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Number of Users > > I've never done this before, but can't you interrogate the LDB file to find > out how many users are on at once? > > Arthur > > On 1/6/08, Rocky Smolin at Beach Access Software > wrote: >> Dan: >> >> I always declare dao variables explicitly. But it looks like, as you >> say, a good template. >> >> Thanks >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 11:40 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> No - you'll need to work on it. >> >> You'll need to use your own tables of course. You'll also need to >> deal with a couple of custom Functions (like 'SystemTitle'), which >> you'll need to either change or remove. >> >> I forgot about this but I believe that you'll need to qualify all your >> other recordset variables with your database as DAO.Recordset or >> ADODB.Recordset . >> If you also set a reference to ADO, then your recordsets will need to >> know which type to become. >> >> This is intended as a template to start with. I hope it does help! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 1:18 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Dan: >> >> Just drop it in and it works? I try to avoid code when I don't >> understand everything it's doing. Can't maintain it. Pretty much set >> a reference to ADO and then plug and play? >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 10:45 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Hi Rocky, >> >> This came from MS KB198755, and I've used it for a few years now with >> no problems. This will also tell the person being kicked off who else >> is logged in so they know who to ask to log off. >> >> ------------------------------------------------------------------- >> >> Public Sub UserLimit() >> >> Dim con As New ADODB.Connection >> Dim rst As New ADODB.Recordset >> Dim stgData As String >> Dim stg As String >> Dim stgFullName As String >> Dim rstFullname As DAO.Recordset >> Dim stgUserName As String >> Dim stgNameList As String >> Dim intUsers As Integer >> Dim stgUsers As String >> Dim rstUsers As DAO.Recordset >> Dim stgLockout As String >> Dim rstLockout As DAO.Recordset >> >> '-- The user roster is exposed as a provider-specific schema rowset _ >> in the Jet 4.0 OLE DB provider. You have to use a GUID to _ >> reference the schema, as provider-specific schemas are not _ >> listed in ADO's type library for schema rowsets >> >> '-- This is from MSKB 198755 and is specific to Access 2000 & up >> con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & >> DBEngine.SystemDB >> >> Set rst = con.OpenSchema(adSchemaProviderSpecific, , >> "{947bb102-5d43-11d1-bdbf-00c04fb92675}") >> >> Do While rst.EOF = False >> stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) >> Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person >> FROM tblPeopleMain" _ >> & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) >> If stgUserName <> "Admin" Then >> If stgNameList = "" Then >> stgNameList = rstFullname("Person") >> Else >> stgNameList = rstFullname("Person") & ", " & vbNewLine >> & stgNameList >> End If >> intUsers = intUsers + 1 >> End If >> rst.MoveNext >> rstFullname.Close >> Set rstFullname = Nothing >> Loop >> rst.Close >> Set rst = Nothing >> >> '-- Look for too many users logging in >> stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" >> Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) >> If intUsers > rstUsers("ThisMonthUsers") Then >> stgLockout = "SELECT * FROM tblUserLicenseLockouts" >> Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, >> dbOpenDynaset) >> rstLockout.AddNew >> rstLockout("Name") = CurrentPerson >> rstLockout("LockoutDate") = CurrentDate >> rstLockout("LockoutTime") = Format(Now(), "Medium Time") >> rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") >> rstLockout.Update >> rstLockout.Close >> Set rstLockout = Nothing >> FormattedMsgBox GstgNotReady, "There are insufficient User >> Licenses for you to log on." _ >> & " The following people are now logged on to " & >> SystemTitle & ":" _ >> & vbNewLine & vbNewLine _ >> & stgNameList & "@ @", vbExclamation + vbOKOnly, >> "Insufficient User Licenses" >> rstUsers.Close >> Set rstUsers = Nothing >> DoEvents >> DoCmd.Quit >> Exit Sub >> End If >> rstUsers.Close >> Set rstUsers = Nothing >> >> End Sub >> >> >> ---------------------------------------------------------------------- >> ----- >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 10:19 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Number of Users >> >> Dear List: >> >> What is the easiest way to restrict the number of users in a FE/BE >> application? >> >> 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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 > 11:46 AM > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgUKY72dSYCwH8FQRAnzPAJ0QhmZqAX1nYv/VysO23LIH6gjvcQCdH3t3 VjjgzMETvrWHzdOG58ggMA8= =sKG2 -----END PGP SIGNATURE----- From robert at servicexp.com Sun Jan 6 15:10:33 2008 From: robert at servicexp.com (Robert) Date: Sun, 06 Jan 2008 16:10:33 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <007b01c850a5$9fe7be90$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> <007b01c850a5$9fe7be90$0301a8c0@HAL9005> Message-ID: <478143C9.8080906@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Why doesn't calling a function on a button say like "=ClickMe(27)" work in Access 2007 SP1? This is used in a calendar day buttons. The error is something to do with can't find function or procedure.. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgUPI72dSYCwH8FQRArKCAJ4lchTHQT1sy0D+ZkMTANbpa+yyNwCeIY24 jaSQwUh4vyslh0976wv0/Cw= =qlA4 -----END PGP SIGNATURE----- From rockysmolin at bchacc.com Sun Jan 6 15:18:17 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 6 Jan 2008 13:18:17 -0800 Subject: [AccessD] Number of Users In-Reply-To: <47814298.1030509@servicexp.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com><007b01c850a5$9fe7be90$0301a8c0@HAL9005> <47814298.1030509@servicexp.com> Message-ID: <007c01c850a9$a846b380$0301a8c0@HAL9005> Maybe someday. But right now when the client tests the app with 2007 there are all kind of inconsistencies, problems, anomalies, and differences. Maybe after SP2. Problem is, of course, that this app is going to be distributed and that the customer may have 2007. Can't control that. So we'll have to get those problems solved. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, January 06, 2008 1:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number of Users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you anticipating this application migrating to Access 2007 Format? If so, I'm not sure the GUID and ldb methods will correctly.??? WBR ~Robert Rocky Smolin at Beach Access Software wrote: > That was my first thought as well. Maybe someone will chime in with a > bit of ldb lore. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Sunday, January 06, 2008 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Number of Users > > I've never done this before, but can't you interrogate the LDB file to > find out how many users are on at once? > > Arthur > > On 1/6/08, Rocky Smolin at Beach Access Software > > wrote: >> Dan: >> >> I always declare dao variables explicitly. But it looks like, as you >> say, a good template. >> >> Thanks >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 11:40 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> No - you'll need to work on it. >> >> You'll need to use your own tables of course. You'll also need to >> deal with a couple of custom Functions (like 'SystemTitle'), which >> you'll need to either change or remove. >> >> I forgot about this but I believe that you'll need to qualify all >> your other recordset variables with your database as DAO.Recordset or >> ADODB.Recordset . >> If you also set a reference to ADO, then your recordsets will need to >> know which type to become. >> >> This is intended as a template to start with. I hope it does help! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 1:18 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Dan: >> >> Just drop it in and it works? I try to avoid code when I don't >> understand everything it's doing. Can't maintain it. Pretty much >> set a reference to ADO and then plug and play? >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 10:45 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Hi Rocky, >> >> This came from MS KB198755, and I've used it for a few years now with >> no problems. This will also tell the person being kicked off who >> else is logged in so they know who to ask to log off. >> >> ------------------------------------------------------------------- >> >> Public Sub UserLimit() >> >> Dim con As New ADODB.Connection >> Dim rst As New ADODB.Recordset >> Dim stgData As String >> Dim stg As String >> Dim stgFullName As String >> Dim rstFullname As DAO.Recordset >> Dim stgUserName As String >> Dim stgNameList As String >> Dim intUsers As Integer >> Dim stgUsers As String >> Dim rstUsers As DAO.Recordset >> Dim stgLockout As String >> Dim rstLockout As DAO.Recordset >> >> '-- The user roster is exposed as a provider-specific schema rowset _ >> in the Jet 4.0 OLE DB provider. You have to use a GUID to _ >> reference the schema, as provider-specific schemas are not _ >> listed in ADO's type library for schema rowsets >> >> '-- This is from MSKB 198755 and is specific to Access 2000 & up >> con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & >> DBEngine.SystemDB >> >> Set rst = con.OpenSchema(adSchemaProviderSpecific, , >> "{947bb102-5d43-11d1-bdbf-00c04fb92675}") >> >> Do While rst.EOF = False >> stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) >> Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person >> FROM tblPeopleMain" _ >> & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) >> If stgUserName <> "Admin" Then >> If stgNameList = "" Then >> stgNameList = rstFullname("Person") >> Else >> stgNameList = rstFullname("Person") & ", " & >> vbNewLine & stgNameList >> End If >> intUsers = intUsers + 1 >> End If >> rst.MoveNext >> rstFullname.Close >> Set rstFullname = Nothing >> Loop >> rst.Close >> Set rst = Nothing >> >> '-- Look for too many users logging in >> stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" >> Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) >> If intUsers > rstUsers("ThisMonthUsers") Then >> stgLockout = "SELECT * FROM tblUserLicenseLockouts" >> Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, >> dbOpenDynaset) >> rstLockout.AddNew >> rstLockout("Name") = CurrentPerson >> rstLockout("LockoutDate") = CurrentDate >> rstLockout("LockoutTime") = Format(Now(), "Medium Time") >> rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") >> rstLockout.Update >> rstLockout.Close >> Set rstLockout = Nothing >> FormattedMsgBox GstgNotReady, "There are insufficient User >> Licenses for you to log on." _ >> & " The following people are now logged on to " & >> SystemTitle & ":" _ >> & vbNewLine & vbNewLine _ >> & stgNameList & "@ @", vbExclamation + vbOKOnly, >> "Insufficient User Licenses" >> rstUsers.Close >> Set rstUsers = Nothing >> DoEvents >> DoCmd.Quit >> Exit Sub >> End If >> rstUsers.Close >> Set rstUsers = Nothing >> >> End Sub >> >> >> --------------------------------------------------------------------- >> - >> ----- >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 10:19 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Number of Users >> >> Dear List: >> >> What is the easiest way to restrict the number of users in a FE/BE >> application? >> >> 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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: > 1/5/2008 > 11:46 AM > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgUKY72dSYCwH8FQRAnzPAJ0QhmZqAX1nYv/VysO23LIH6gjvcQCdH3t3 VjjgzMETvrWHzdOG58ggMA8= =sKG2 -----END PGP SIGNATURE----- -- 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM From dwaters at usinternet.com Sun Jan 6 16:00:38 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 6 Jan 2008 16:00:38 -0600 Subject: [AccessD] Number of Users In-Reply-To: <47814298.1030509@servicexp.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com><007b01c850a5$9fe7be90$0301a8c0@HAL9005> <47814298.1030509@servicexp.com> Message-ID: <000b01c850af$92a75d80$0300a8c0@danwaters> Unless Rocky's db is converted to A2007 from A2003, I don't think it will use a .mdw file for User Level Security. Without a .mdw file, the procedure I sent won't work. It's for A2000 through A2003. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, January 06, 2008 3:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number of Users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you anticipating this application migrating to Access 2007 Format? If so, I'm not sure the GUID and ldb methods will correctly.??? WBR ~Robert Rocky Smolin at Beach Access Software wrote: > That was my first thought as well. Maybe someone will chime in with a bit > of ldb lore. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, January 06, 2008 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Number of Users > > I've never done this before, but can't you interrogate the LDB file to find > out how many users are on at once? > > Arthur > > On 1/6/08, Rocky Smolin at Beach Access Software > wrote: >> Dan: >> >> I always declare dao variables explicitly. But it looks like, as you >> say, a good template. >> >> Thanks >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 11:40 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> No - you'll need to work on it. >> >> You'll need to use your own tables of course. You'll also need to >> deal with a couple of custom Functions (like 'SystemTitle'), which >> you'll need to either change or remove. >> >> I forgot about this but I believe that you'll need to qualify all your >> other recordset variables with your database as DAO.Recordset or >> ADODB.Recordset . >> If you also set a reference to ADO, then your recordsets will need to >> know which type to become. >> >> This is intended as a template to start with. I hope it does help! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 1:18 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Dan: >> >> Just drop it in and it works? I try to avoid code when I don't >> understand everything it's doing. Can't maintain it. Pretty much set >> a reference to ADO and then plug and play? >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 10:45 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Hi Rocky, >> >> This came from MS KB198755, and I've used it for a few years now with >> no problems. This will also tell the person being kicked off who else >> is logged in so they know who to ask to log off. >> >> ------------------------------------------------------------------- >> >> Public Sub UserLimit() >> >> Dim con As New ADODB.Connection >> Dim rst As New ADODB.Recordset >> Dim stgData As String >> Dim stg As String >> Dim stgFullName As String >> Dim rstFullname As DAO.Recordset >> Dim stgUserName As String >> Dim stgNameList As String >> Dim intUsers As Integer >> Dim stgUsers As String >> Dim rstUsers As DAO.Recordset >> Dim stgLockout As String >> Dim rstLockout As DAO.Recordset >> >> '-- The user roster is exposed as a provider-specific schema rowset _ >> in the Jet 4.0 OLE DB provider. You have to use a GUID to _ >> reference the schema, as provider-specific schemas are not _ >> listed in ADO's type library for schema rowsets >> >> '-- This is from MSKB 198755 and is specific to Access 2000 & up >> con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & >> DBEngine.SystemDB >> >> Set rst = con.OpenSchema(adSchemaProviderSpecific, , >> "{947bb102-5d43-11d1-bdbf-00c04fb92675}") >> >> Do While rst.EOF = False >> stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) >> Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person >> FROM tblPeopleMain" _ >> & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) >> If stgUserName <> "Admin" Then >> If stgNameList = "" Then >> stgNameList = rstFullname("Person") >> Else >> stgNameList = rstFullname("Person") & ", " & vbNewLine >> & stgNameList >> End If >> intUsers = intUsers + 1 >> End If >> rst.MoveNext >> rstFullname.Close >> Set rstFullname = Nothing >> Loop >> rst.Close >> Set rst = Nothing >> >> '-- Look for too many users logging in >> stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" >> Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) >> If intUsers > rstUsers("ThisMonthUsers") Then >> stgLockout = "SELECT * FROM tblUserLicenseLockouts" >> Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, >> dbOpenDynaset) >> rstLockout.AddNew >> rstLockout("Name") = CurrentPerson >> rstLockout("LockoutDate") = CurrentDate >> rstLockout("LockoutTime") = Format(Now(), "Medium Time") >> rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") >> rstLockout.Update >> rstLockout.Close >> Set rstLockout = Nothing >> FormattedMsgBox GstgNotReady, "There are insufficient User >> Licenses for you to log on." _ >> & " The following people are now logged on to " & >> SystemTitle & ":" _ >> & vbNewLine & vbNewLine _ >> & stgNameList & "@ @", vbExclamation + vbOKOnly, >> "Insufficient User Licenses" >> rstUsers.Close >> Set rstUsers = Nothing >> DoEvents >> DoCmd.Quit >> Exit Sub >> End If >> rstUsers.Close >> Set rstUsers = Nothing >> >> End Sub >> >> >> ---------------------------------------------------------------------- >> ----- >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 10:19 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Number of Users >> >> Dear List: >> >> What is the easiest way to restrict the number of users in a FE/BE >> application? >> >> 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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 > 11:46 AM > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgUKY72dSYCwH8FQRAnzPAJ0QhmZqAX1nYv/VysO23LIH6gjvcQCdH3t3 VjjgzMETvrWHzdOG58ggMA8= =sKG2 -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sun Jan 6 16:16:16 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 06 Jan 2008 17:16:16 -0500 Subject: [AccessD] Number of Users In-Reply-To: <000b01c850af$92a75d80$0300a8c0@danwaters> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com><007b01c850a5$9fe7be90$0301a8c0@HAL9005> <47814298.1030509@servicexp.com> <000b01c850af$92a75d80$0300a8c0@danwaters> Message-ID: <01cf01c850b1$c211d080$8abea8c0@XPS> The .ldb doesn't have anything to do with user level security. There won't be any problems with using the JET roster function to determine how many users are in the MDB (and in fact, it's the only way). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 06, 2008 5:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Unless Rocky's db is converted to A2007 from A2003, I don't think it will use a .mdw file for User Level Security. Without a .mdw file, the procedure I sent won't work. It's for A2000 through A2003. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, January 06, 2008 3:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number of Users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you anticipating this application migrating to Access 2007 Format? If so, I'm not sure the GUID and ldb methods will correctly.??? WBR ~Robert Rocky Smolin at Beach Access Software wrote: > That was my first thought as well. Maybe someone will chime in with a bit > of ldb lore. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Sunday, January 06, 2008 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Number of Users > > I've never done this before, but can't you interrogate the LDB file to find > out how many users are on at once? > > Arthur > > On 1/6/08, Rocky Smolin at Beach Access Software > wrote: >> Dan: >> >> I always declare dao variables explicitly. But it looks like, as you >> say, a good template. >> >> Thanks >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 11:40 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> No - you'll need to work on it. >> >> You'll need to use your own tables of course. You'll also need to >> deal with a couple of custom Functions (like 'SystemTitle'), which >> you'll need to either change or remove. >> >> I forgot about this but I believe that you'll need to qualify all your >> other recordset variables with your database as DAO.Recordset or >> ADODB.Recordset . >> If you also set a reference to ADO, then your recordsets will need to >> know which type to become. >> >> This is intended as a template to start with. I hope it does help! >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 1:18 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Dan: >> >> Just drop it in and it works? I try to avoid code when I don't >> understand everything it's doing. Can't maintain it. Pretty much set >> a reference to ADO and then plug and play? >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >> Sent: Sunday, January 06, 2008 10:45 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Number of Users >> >> Hi Rocky, >> >> This came from MS KB198755, and I've used it for a few years now with >> no problems. This will also tell the person being kicked off who else >> is logged in so they know who to ask to log off. >> >> ------------------------------------------------------------------- >> >> Public Sub UserLimit() >> >> Dim con As New ADODB.Connection >> Dim rst As New ADODB.Recordset >> Dim stgData As String >> Dim stg As String >> Dim stgFullName As String >> Dim rstFullname As DAO.Recordset >> Dim stgUserName As String >> Dim stgNameList As String >> Dim intUsers As Integer >> Dim stgUsers As String >> Dim rstUsers As DAO.Recordset >> Dim stgLockout As String >> Dim rstLockout As DAO.Recordset >> >> '-- The user roster is exposed as a provider-specific schema rowset _ >> in the Jet 4.0 OLE DB provider. You have to use a GUID to _ >> reference the schema, as provider-specific schemas are not _ >> listed in ADO's type library for schema rowsets >> >> '-- This is from MSKB 198755 and is specific to Access 2000 & up >> con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & >> DBEngine.SystemDB >> >> Set rst = con.OpenSchema(adSchemaProviderSpecific, , >> "{947bb102-5d43-11d1-bdbf-00c04fb92675}") >> >> Do While rst.EOF = False >> stgUserName = Left$(rst(1), InStr(1, rst(1), Chr(0)) - 1) >> Set rstFullname = DBEngine(0)(0).OpenRecordset("SELECT Person >> FROM tblPeopleMain" _ >> & " WHERE UserName = '" & stgUserName & "'", dbOpenSnapshot) >> If stgUserName <> "Admin" Then >> If stgNameList = "" Then >> stgNameList = rstFullname("Person") >> Else >> stgNameList = rstFullname("Person") & ", " & vbNewLine >> & stgNameList >> End If >> intUsers = intUsers + 1 >> End If >> rst.MoveNext >> rstFullname.Close >> Set rstFullname = Nothing >> Loop >> rst.Close >> Set rst = Nothing >> >> '-- Look for too many users logging in >> stgUsers = "SELECT ThisMonthUsers FROM tblUserLicenseInformation" >> Set rstUsers = DBEngine(0)(0).OpenRecordset(stgUsers, dbOpenSnapshot) >> If intUsers > rstUsers("ThisMonthUsers") Then >> stgLockout = "SELECT * FROM tblUserLicenseLockouts" >> Set rstLockout = DBEngine(0)(0).OpenRecordset(stgLockout, >> dbOpenDynaset) >> rstLockout.AddNew >> rstLockout("Name") = CurrentPerson >> rstLockout("LockoutDate") = CurrentDate >> rstLockout("LockoutTime") = Format(Now(), "Medium Time") >> rstLockout("AllowedUsers") = rstUsers("ThisMonthUsers") >> rstLockout.Update >> rstLockout.Close >> Set rstLockout = Nothing >> FormattedMsgBox GstgNotReady, "There are insufficient User >> Licenses for you to log on." _ >> & " The following people are now logged on to " & >> SystemTitle & ":" _ >> & vbNewLine & vbNewLine _ >> & stgNameList & "@ @", vbExclamation + vbOKOnly, >> "Insufficient User Licenses" >> rstUsers.Close >> Set rstUsers = Nothing >> DoEvents >> DoCmd.Quit >> Exit Sub >> End If >> rstUsers.Close >> Set rstUsers = Nothing >> >> End Sub >> >> >> ---------------------------------------------------------------------- >> ----- >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin at Beach Access Software >> Sent: Sunday, January 06, 2008 10:19 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Number of Users >> >> Dear List: >> >> What is the easiest way to restrict the number of users in a FE/BE >> application? >> >> 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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: >> 1/5/2008 >> 11:46 AM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 > 11:46 AM > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgUKY72dSYCwH8FQRAnzPAJ0QhmZqAX1nYv/VysO23LIH6gjvcQCdH3t3 VjjgzMETvrWHzdOG58ggMA8= =sKG2 -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 6 16:22:10 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 6 Jan 2008 17:22:10 -0500 Subject: [AccessD] Number of Users In-Reply-To: <005d01c85091$7768dc60$0301a8c0@HAL9005> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><002401c8508b$9b921ee0$657aa8c0@M90> <005d01c85091$7768dc60$0301a8c0@HAL9005> Message-ID: <002601c850b2$95315c60$657aa8c0@M90> Yea. I gave up on that years ago. By then it had become almost a trademark so I still suggest it occasionally. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 1:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users And way cheaper than that thing with the airplanes and the shoving? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 9:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Number of Users Machine guns always worked for me. Set a rule, perhaps "only 5 people in at once". Then simply walk around shooting users when the number is exceeded. Eventually one of two things occurs. You either end up with only 5 users left and the problem is solved, or you end up with users who make sure that they don't exceed the number allowed in. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 06, 2008 11:19 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Number of Users Dear List: What is the easiest way to restrict the number of users in a FE/BE application? 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.516 / Virus Database: 269.17.13/1210 - Release Date: 1/5/2008 11:46 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Jan 6 17:26:29 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 6 Jan 2008 18:26:29 -0500 Subject: [AccessD] Number of Users In-Reply-To: <002601c850b2$95315c60$657aa8c0@M90> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <002401c8508b$9b921ee0$657aa8c0@M90> <005d01c85091$7768dc60$0301a8c0@HAL9005> <002601c850b2$95315c60$657aa8c0@M90> Message-ID: <29f585dd0801061526r4ab0b045pe248f8c7f5970aa9@mail.gmail.com> What is the Roster function? I haven't heard of it before. A. From markamatte at hotmail.com Sun Jan 6 17:54:23 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Sun, 6 Jan 2008 23:54:23 +0000 Subject: [AccessD] Data Access Pages...desperate!?!?!?!? In-Reply-To: References: <001001c84fda$72906670$657aa8c0@M90> Message-ID: Sorry for the repost...hoping someone might have an idea for Monday? Thanks, Mark > From: markamatte at hotmail.com > To: accessd at databaseadvisors.com > Date: Sat, 5 Jan 2008 22:40:23 +0000 > Subject: [AccessD] Data Access Pages...desperate!?!?!?!? > > > Hello All, > > I'm trying out some Data Access Pages(DAP) in Access XP. I have a pop up form that I want the user to add rows on...but I want to Populate one of the fields. So everytime they add a new record...the phone# is automatically copied into new record. > > I have the value stored in code...I just don't know on what event to fire this thing. > > Thanks, > > Mark A. Matte > > _________________________________________________________________ > Make distant family not so distant with Windows Vista? + Windows Live?. > http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Make distant family not so distant with Windows Vista? + Windows Live?. http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 From shamil at users.mns.ru Sun Jan 6 19:35:24 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 7 Jan 2008 04:35:24 +0300 Subject: [AccessD] x64 tests In-Reply-To: <002301c8508b$38f64900$657aa8c0@M90> Message-ID: <000901c850cd$93134310$6501a8c0@nant> John, I thought you could have all your three tables joined and kept in demoralized form... ...then there will be no need in indexes... ...and then you can "pipe-through" all that denormalized data rows using code, which if you use VB.Net/C# would be very speedy and which could implement much more advanced filtering/data mining than T-SQL... I can be wrong but joining 50 mln. x 50 mln. x ZipCodeWorld to get 600000 result query is quite a task and it needs expensive hardware while "piping-though" 50mln. denormalized data rows using code can be done I expect with similar or higher speed on less expensive hardware... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests I don't really understand what you are doing. I suppose you are saying just get the select fields and process the "do they match the criteria" in code? Before we go further remember that we are simply trying to select name address fields for export, based on a set of criteria. We have to use three different tables: HSID has a PK field and 640 fields of data. I would need to select 50 million records of the PK and N criteria fields (2 age fields, 1 income field and 8 hobby fields). I also have a table AZHSID which has the PKID and the name / address fields. So I would need to get the PKID plus fname, lname, city, state, zip and a HashFamily field, 50 million records of that data. Then I have ZipCodeWorld that has the zip code information that tells me what zips are in a specific metropolitan code. I have to build a query to join the HSID, AZHSID and Accuzip tables and pull all of the fields, then process them in code? I would also have to write some sort of generic code to do the selection. Of course there are many ways to perform the queries anyway, and I should go back and build them differently just to see what happens. I could have simply built up one big query. In the past I hesitated to do this because the queries would take 20-30 minutes to run. If anything went wrong I would have to make changes and retest, waiting another 20-30 minutes. I learned to break things down into pieces so that the pieces only took a few minutes each. My client had counts that he thought represented the number of records for each criteria. I was trying to check counts on my tables against what he thought he had. He had a count of the age / sex, the income, and then each hobby. So I built up separate queries for those pieces so that I could count the pieces. In the end, the point of this exercise was not to optimize the process but rather to see how moving from x32 to x64 changed the time required. Unfortunately that part is masked by the disk subsystem so I didn't really learn anything there. Then I wanted to learn how moving from 4 gigs to 8 gigs changed the time required, and likewise how moving from dual to quad core changed the time. I really expected the doubling of memory to substantially change the times, but it did not. I also expected SQL Server x64 to be able to natively handle large amounts of memory, not depend on AWE which I understand to be "paging" of memory. At this point I am actually quite happy with a 5 minute time to grab all the data and get it out to a text file. I think that for processing 50 million records in two tables, and narrow it down to 600 thousand records using about 10 select fields and three joins 5 minutes is doing OK. Especially since it was taking me 20-30 minutes before I moved to the "cover" queries. I do think I will go back and built this as one big query and see how long that takes. 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: Sunday, January 06, 2008 9:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Hello John, Did you ever try to just "pipe-through" your millions of records and processing them in code? I mean nowadays memory and processors are so incredibly quick, and your query (selection) criteria are looking rather simple - therefore it could be (much) quicker to get results if using some custom coding... I do not have millions records to test this hypothesis but here is a sample C# code, which runs against a Db with 30000+ of member records and then cycle 2500 times to get the counter to 80+ millions, and it does get data into local vars for further processing - the result is that it takes 3 min 30 sec for 89+ million records on "slow" dual core Pentium with 2GB ram and simple 200GB IDE... Please correct me if I did some mistakes below. Thanks. -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Jan 6 19:46:56 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 6 Jan 2008 20:46:56 -0500 Subject: [AccessD] x64 tests In-Reply-To: <000901c850cd$93134310$6501a8c0@nant> References: <002301c8508b$38f64900$657aa8c0@M90> <000901c850cd$93134310$6501a8c0@nant> Message-ID: <29f585dd0801061746r1cc2976ejffcdef7385c7a0aa@mail.gmail.com> LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > From shamil at users.mns.ru Sun Jan 6 20:07:45 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 7 Jan 2008 05:07:45 +0300 Subject: [AccessD] x64 tests In-Reply-To: <29f585dd0801061746r1cc2976ejffcdef7385c7a0aa@mail.gmail.com> Message-ID: <000001c850d2$181f5540$6501a8c0@nant> That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Jan 6 21:09:49 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 6 Jan 2008 22:09:49 -0500 Subject: [AccessD] x64 tests In-Reply-To: <000901c850cd$93134310$6501a8c0@nant> References: <002301c8508b$38f64900$657aa8c0@M90> <000901c850cd$93134310$6501a8c0@nant> Message-ID: <002a01c850da$c46c65b0$657aa8c0@M90> Shamil, >...kept in demoralized form... The only one demoralized was me. I don't understand what you mean by "piping through". In any event It appears that my hardware is sufficient, though it is expensive. The most expensive part is the raid array which I needed in any event. Back when I started this 320g drives were the biggest I could afford. By dropping eight 320 gig drives on a dedicated controller raid 6 I got ~ 300 (real) gigs x 6 storage which was big enough to deal with all the data itself. Once you have that the streaming read rates are jaw dropping. Reading data off of 8 drives at once gives me very close to 400 megs / second read rate. That is enough to keep the processors busy! You mention expensive hardware, I built my servers from parts for about $3000 each, and that was about a year ago now. The controller was $500 and 8 320 gig drives was more than 1/2 of the system cost, but it is that array which makes it fly. These databases are pretty much read only, static data that is rarely if ever updated. The selection fields are never updated at all. I do have to build indexes and stuff but that is "as required". So I mostly have to focus on building a system that can READ lots of data quickly. Then it turns out that the "cover" indexes carves out frequently used fields into little "mini tables" kinda sorta. I had a heck of a time originally because of the width of the tables, over 700 fields as I received it. So even a table scan on a single field could take 3 minutes. It was not pretty. With the cover fields, one per field actually used in a select, suddenly SQL Server is going to the indexes to get what is needed instead of going to the actual 700 field wide table. That just made all the difference in the world. >...and then you can "pipe-through" all that denormalized data rows using code, which if you use VB.Net/C# would be very speedy and which could implement much more advanced filtering/data mining than T-SQL... So what do you mean by this? "pipe through"? As for data mining, I am not sure that I define my usage as data mining. My interpretation of data mining is more analysis than anything. I am really just selecting recordsets. I need names / addresses where... The end purpose is to send names / addresses to a bulk mailer who wants to send an advertisement to a selected group of people. OTOH if I can learn something new I am certainly all ears. 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: Sunday, January 06, 2008 8:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests John, I thought you could have all your three tables joined and kept in demoralized form... ...then there will be no need in indexes... ...and then you can "pipe-through" all that denormalized data rows using code, which if you use VB.Net/C# would be very speedy and which could implement much more advanced filtering/data mining than T-SQL... I can be wrong but joining 50 mln. x 50 mln. x ZipCodeWorld to get 600000 result query is quite a task and it needs expensive hardware while "piping-though" 50mln. denormalized data rows using code can be done I expect with similar or higher speed on less expensive hardware... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests I don't really understand what you are doing. I suppose you are saying just get the select fields and process the "do they match the criteria" in code? Before we go further remember that we are simply trying to select name address fields for export, based on a set of criteria. We have to use three different tables: HSID has a PK field and 640 fields of data. I would need to select 50 million records of the PK and N criteria fields (2 age fields, 1 income field and 8 hobby fields). I also have a table AZHSID which has the PKID and the name / address fields. So I would need to get the PKID plus fname, lname, city, state, zip and a HashFamily field, 50 million records of that data. Then I have ZipCodeWorld that has the zip code information that tells me what zips are in a specific metropolitan code. I have to build a query to join the HSID, AZHSID and Accuzip tables and pull all of the fields, then process them in code? I would also have to write some sort of generic code to do the selection. Of course there are many ways to perform the queries anyway, and I should go back and build them differently just to see what happens. I could have simply built up one big query. In the past I hesitated to do this because the queries would take 20-30 minutes to run. If anything went wrong I would have to make changes and retest, waiting another 20-30 minutes. I learned to break things down into pieces so that the pieces only took a few minutes each. My client had counts that he thought represented the number of records for each criteria. I was trying to check counts on my tables against what he thought he had. He had a count of the age / sex, the income, and then each hobby. So I built up separate queries for those pieces so that I could count the pieces. In the end, the point of this exercise was not to optimize the process but rather to see how moving from x32 to x64 changed the time required. Unfortunately that part is masked by the disk subsystem so I didn't really learn anything there. Then I wanted to learn how moving from 4 gigs to 8 gigs changed the time required, and likewise how moving from dual to quad core changed the time. I really expected the doubling of memory to substantially change the times, but it did not. I also expected SQL Server x64 to be able to natively handle large amounts of memory, not depend on AWE which I understand to be "paging" of memory. At this point I am actually quite happy with a 5 minute time to grab all the data and get it out to a text file. I think that for processing 50 million records in two tables, and narrow it down to 600 thousand records using about 10 select fields and three joins 5 minutes is doing OK. Especially since it was taking me 20-30 minutes before I moved to the "cover" queries. I do think I will go back and built this as one big query and see how long that takes. 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: Sunday, January 06, 2008 9:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Hello John, Did you ever try to just "pipe-through" your millions of records and processing them in code? I mean nowadays memory and processors are so incredibly quick, and your query (selection) criteria are looking rather simple - therefore it could be (much) quicker to get results if using some custom coding... I do not have millions records to test this hypothesis but here is a sample C# code, which runs against a Db with 30000+ of member records and then cycle 2500 times to get the counter to 80+ millions, and it does get data into local vars for further processing - the result is that it takes 3 min 30 sec for 89+ million records on "slow" dual core Pentium with 2GB ram and simple 200GB IDE... Please correct me if I did some mistakes below. Thanks. -- 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 jwcolby at colbyconsulting.com Sun Jan 6 21:11:07 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 6 Jan 2008 22:11:07 -0500 Subject: [AccessD] x64 tests In-Reply-To: <000001c850d2$181f5540$6501a8c0@nant> References: <29f585dd0801061746r1cc2976ejffcdef7385c7a0aa@mail.gmail.com> <000001c850d2$181f5540$6501a8c0@nant> Message-ID: <002b01c850da$f25d9110$657aa8c0@M90> LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 7 04:54:40 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 07 Jan 2008 05:54:40 -0500 Subject: [AccessD] Number of Users In-Reply-To: <29f585dd0801061526r4ab0b045pe248f8c7f5970aa9@mail.gmail.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <002401c8508b$9b921ee0$657aa8c0@M90> <005d01c85091$7768dc60$0301a8c0@HAL9005> <002601c850b2$95315c60$657aa8c0@M90> <29f585dd0801061526r4ab0b045pe248f8c7f5970aa9@mail.gmail.com> Message-ID: <008d01c8511b$b4d405e0$8abea8c0@XPS> Microsoft started calling the ability to get the list of users the "user roster" when they came out with the OLEDB driver for JET 4.0. Prior to that, for A97 and A95 (JET 3.x), one used the functions in the DLL MSLDBUSR to get the user list. Before A95 (JET 2.x and 1.x), there was no easy way programmatically to determine who was attached to the database file. Most programmers simply parsed the .LDB file, which was not accurate on its own. To determine who is actively attached to a database, you need to check the LDB file, the database header page, and the user locks currently held. Microsoft had a utility called LDB Viewer which did that, but you could not work with it programmatically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, January 06, 2008 6:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number of Users What is the Roster function? I haven't heard of it before. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jan 7 05:55:24 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Jan 2008 12:55:24 +0100 Subject: [AccessD] Office 2003 SP3 Hotfix Message-ID: Hi Rocky I didn't tell you to actually download and run it ... I should have warned against that. /gustav >>> rockysmolin at bchacc.com 05-01-2008 15:50:31 >>> Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve From Gustav at cactus.dk Mon Jan 7 06:34:52 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Jan 2008 13:34:52 +0100 Subject: [AccessD] Office 2003 SP3 Hotfix Message-ID: Hi Rocky No, that would be to start with reinstall of Windows. /gustav >>> rockysmolin at bchacc.com 05-01-2008 17:31:25 >>> Okaayyyy...here goes... I suppose the worst that could happen is that I uninstall Office, reinstall, & do SP3. Rocky From rockysmolin at bchacc.com Mon Jan 7 06:52:50 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 7 Jan 2008 04:52:50 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: References: Message-ID: <002001c8512c$35fd1b10$0301a8c0@HAL9005> D'oh! Well, I did it and everything seems to be okay. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 07, 2008 3:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi Rocky I didn't tell you to actually download and run it ... I should have warned against that. /gustav >>> rockysmolin at bchacc.com 05-01-2008 15:50:31 >>> Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM From shamil at users.mns.ru Mon Jan 7 06:53:11 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 7 Jan 2008 15:53:11 +0300 Subject: [AccessD] x64 tests In-Reply-To: <002b01c850da$f25d9110$657aa8c0@M90> Message-ID: <002101c8512c$42cb4dd0$6401a8c0@nant> Well, Merriam-Webster also doesn't have the definition of 'denormalize' http://www.m-w.com/dictionary/denormalize -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 7 06:58:19 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Jan 2008 13:58:19 +0100 Subject: [AccessD] Office 2003 SP3 Hotfix Message-ID: Hi Rocky Except that you now can't load old spreadsheet, text, and presentation formats (dif,sylk, old word, Corell, etc.), unless you manually modify the registry for these keys: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\Security] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\Security\FileOpenBlock] "LotusandQuattroFiles"=hex(b):00,00,00,00,00,00,00,00 "DifandSylkFiles"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PowerPoint] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PowerPoint\Security] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PowerPoint\Security\FileOpenBlock] "FilesBeforePowerPoint97"=dword:00000000 "Converters"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word\Security] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word\Security\FileOpenBlock] "FilesBeforeVersion"=hex(b):00,00,00,00,00,00,00,00 /gustav >>> rockysmolin at bchacc.com 07-01-2008 13:52:50 >>> D'oh! Well, I did it and everything seems to be okay. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 07, 2008 3:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi Rocky I didn't tell you to actually download and run it ... I should have warned against that. /gustav >>> rockysmolin at bchacc.com 05-01-2008 15:50:31 >>> Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jan 7 07:15:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Jan 2008 14:15:30 +0100 Subject: [AccessD] OT: For Gustav Message-ID: Hi Ed Only shops and most corporations are closed on the public holidays here, the 1. and the 12. of May, that's all. Restaurants, Tivoli Garden, cinemas etc. are "always" open. If your schedule allows, we could meet for a beer and a proper selection of open sandwiches? Our office is located in the harbour north of Copenhagen. /gustav >>> EdTesiny at oasas.state.ny.us 06-01-2008 16:58:03 >>> Hello Gustav, We're planning to visit Copenhagen sometime in May. When we visited Germany last year, we were there on Ascension Day, most things closed and on Sunday everything closed except the hauptbahnhof (sp?) Are there any times/holidays etc. that we should avoid, any tips would be appreciated. Regards, Ed From rockysmolin at bchacc.com Mon Jan 7 07:21:06 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 7 Jan 2008 05:21:06 -0800 Subject: [AccessD] Office 2003 SP3 Hotfix In-Reply-To: References: Message-ID: <002101c85130$28c7ec50$0301a8c0@HAL9005> Oh well. I guess it's time to move on anyway. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 07, 2008 4:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi Rocky Except that you now can't load old spreadsheet, text, and presentation formats (dif,sylk, old word, Corell, etc.), unless you manually modify the registry for these keys: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\Security] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\Security\Fi leOpenBlock] "LotusandQuattroFiles"=hex(b):00,00,00,00,00,00,00,00 "DifandSylkFiles"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PowerPoint] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PowerPoint\Securi ty] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PowerPoint\Securi ty\FileOpenBlock] "FilesBeforePowerPoint97"=dword:00000000 "Converters"=dword:00000000 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word\Security] [HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word\Security\Fil eOpenBlock] "FilesBeforeVersion"=hex(b):00,00,00,00,00,00,00,00 /gustav >>> rockysmolin at bchacc.com 07-01-2008 13:52:50 >>> D'oh! Well, I did it and everything seems to be okay. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 07, 2008 3:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi Rocky I didn't tell you to actually download and run it ... I should have warned against that. /gustav >>> rockysmolin at bchacc.com 05-01-2008 15:50:31 >>> Gustav: I downloaded and started to run it - looks like it's doing a complete reinstall of Office - so I got a little gun-shy. Should I just close my eyes and keep clicking Next? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 03, 2008 9:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 SP3 Hotfix Hi all Updated. Now for direct download without begging. /gustav >>> miscellany at mvps.org 28-12-2007 07:28:49 >>> Hi all, It may be of interest to you to know that some of the problems caused by Office 2003 SP3 have been addressed... http://support.microsoft.com/kb/945674 Regards Steve -- 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM From tinanfields at torchlake.com Mon Jan 7 07:30:28 2008 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 07 Jan 2008 08:30:28 -0500 Subject: [AccessD] Data Access Pages...desperate!?!?!?!? In-Reply-To: References: <001001c84fda$72906670$657aa8c0@M90> Message-ID: <47822974.5000503@torchlake.com> Mark, I am probably missing something here, but why can't you use the "default value" property for that field and just set it to the stored phone number? Each new record will have that phone number unless it is deliberately overwritten, which, of course you can prevent. Please tell us more so we can be more helpful. Regards, Tina Mark A Matte wrote: > Sorry for the repost...hoping someone might have an idea for Monday? > > Thanks, > > Mark > > > >> From: markamatte at hotmail.com >> To: accessd at databaseadvisors.com >> Date: Sat, 5 Jan 2008 22:40:23 +0000 >> Subject: [AccessD] Data Access Pages...desperate!?!?!?!? >> >> >> Hello All, >> >> I'm trying out some Data Access Pages(DAP) in Access XP. I have a pop up form that I want the user to add rows on...but I want to Populate one of the fields. So everytime they add a new record...the phone# is automatically copied into new record. >> >> I have the value stored in code...I just don't know on what event to fire this thing. >> >> Thanks, >> >> Mark A. Matte >> >> _________________________________________________________________ >> Make distant family not so distant with Windows Vista? + Windows Live?. >> http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > _________________________________________________________________ > Make distant family not so distant with Windows Vista? + Windows Live?. > http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 > From shamil at users.mns.ru Mon Jan 7 07:33:13 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 7 Jan 2008 16:33:13 +0300 Subject: [AccessD] x64 tests In-Reply-To: <002a01c850da$c46c65b0$657aa8c0@M90> Message-ID: <000301c85131$da6ec900$6401a8c0@nant> Hi John, Do not get "demoralized" :) I just thought that with all your great hardware you can use great .NET Framework + MS SQL 2005 + your custom code running in several threads to the max and get results even quicker using one de-normalized table's sequential scan than you get them when you're joining three tables and build for that join many indexes which "eat" HDD space and memory... ...that's pretty easy to run multi-threaded code on .NET - and my hypothesis is that with such multi-threaded code (or even without it) you can get your report text file in the same time of even quicker... ..."piping-through" - by that I mean sequential scan of de-normalized table, and during this scan only the fields used as query filter criteria and result fields are queried... ...I can be wrong but you can try to adapt the code I posted in this thread just to "pipe-through" your main table - if that will be comparable (/less?) in time than joining then my hypothesis is almost correct - still to try it then with all three tables joined into on de-normalized table... ...AFAIK .NET SqlClient namespace set of class works with SQL Server on very low level almost of physical records/blocks level and when SqlDataReader is used then sequential scan is incredibly speedy... Just a hypothesis... I can be wrong - never had opportunity to "pipe-through" that large amount of data you have there... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Shamil, >...kept in demoralized form... The only one demoralized was me. I don't understand what you mean by "piping through". In any event It appears that my hardware is sufficient, though it is expensive. The most expensive part is the raid array which I needed in any event. Back when I started this 320g drives were the biggest I could afford. By dropping eight 320 gig drives on a dedicated controller raid 6 I got ~ 300 (real) gigs x 6 storage which was big enough to deal with all the data itself. Once you have that the streaming read rates are jaw dropping. Reading data off of 8 drives at once gives me very close to 400 megs / second read rate. That is enough to keep the processors busy! You mention expensive hardware, I built my servers from parts for about $3000 each, and that was about a year ago now. The controller was $500 and 8 320 gig drives was more than 1/2 of the system cost, but it is that array which makes it fly. These databases are pretty much read only, static data that is rarely if ever updated. The selection fields are never updated at all. I do have to build indexes and stuff but that is "as required". So I mostly have to focus on building a system that can READ lots of data quickly. Then it turns out that the "cover" indexes carves out frequently used fields into little "mini tables" kinda sorta. I had a heck of a time originally because of the width of the tables, over 700 fields as I received it. So even a table scan on a single field could take 3 minutes. It was not pretty. With the cover fields, one per field actually used in a select, suddenly SQL Server is going to the indexes to get what is needed instead of going to the actual 700 field wide table. That just made all the difference in the world. >...and then you can "pipe-through" all that denormalized data rows using code, which if you use VB.Net/C# would be very speedy and which could implement much more advanced filtering/data mining than T-SQL... So what do you mean by this? "pipe through"? As for data mining, I am not sure that I define my usage as data mining. My interpretation of data mining is more analysis than anything. I am really just selecting recordsets. I need names / addresses where... The end purpose is to send names / addresses to a bulk mailer who wants to send an advertisement to a selected group of people. OTOH if I can learn something new I am certainly all ears. 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: Sunday, January 06, 2008 8:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests John, I thought you could have all your three tables joined and kept in demoralized form... ...then there will be no need in indexes... ...and then you can "pipe-through" all that denormalized data rows using code, which if you use VB.Net/C# would be very speedy and which could implement much more advanced filtering/data mining than T-SQL... I can be wrong but joining 50 mln. x 50 mln. x ZipCodeWorld to get 600000 result query is quite a task and it needs expensive hardware while "piping-though" 50mln. denormalized data rows using code can be done I expect with similar or higher speed on less expensive hardware... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 06, 2008 8:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests I don't really understand what you are doing. I suppose you are saying just get the select fields and process the "do they match the criteria" in code? Before we go further remember that we are simply trying to select name address fields for export, based on a set of criteria. We have to use three different tables: HSID has a PK field and 640 fields of data. I would need to select 50 million records of the PK and N criteria fields (2 age fields, 1 income field and 8 hobby fields). I also have a table AZHSID which has the PKID and the name / address fields. So I would need to get the PKID plus fname, lname, city, state, zip and a HashFamily field, 50 million records of that data. Then I have ZipCodeWorld that has the zip code information that tells me what zips are in a specific metropolitan code. I have to build a query to join the HSID, AZHSID and Accuzip tables and pull all of the fields, then process them in code? I would also have to write some sort of generic code to do the selection. Of course there are many ways to perform the queries anyway, and I should go back and build them differently just to see what happens. I could have simply built up one big query. In the past I hesitated to do this because the queries would take 20-30 minutes to run. If anything went wrong I would have to make changes and retest, waiting another 20-30 minutes. I learned to break things down into pieces so that the pieces only took a few minutes each. My client had counts that he thought represented the number of records for each criteria. I was trying to check counts on my tables against what he thought he had. He had a count of the age / sex, the income, and then each hobby. So I built up separate queries for those pieces so that I could count the pieces. In the end, the point of this exercise was not to optimize the process but rather to see how moving from x32 to x64 changed the time required. Unfortunately that part is masked by the disk subsystem so I didn't really learn anything there. Then I wanted to learn how moving from 4 gigs to 8 gigs changed the time required, and likewise how moving from dual to quad core changed the time. I really expected the doubling of memory to substantially change the times, but it did not. I also expected SQL Server x64 to be able to natively handle large amounts of memory, not depend on AWE which I understand to be "paging" of memory. At this point I am actually quite happy with a 5 minute time to grab all the data and get it out to a text file. I think that for processing 50 million records in two tables, and narrow it down to 600 thousand records using about 10 select fields and three joins 5 minutes is doing OK. Especially since it was taking me 20-30 minutes before I moved to the "cover" queries. I do think I will go back and built this as one big query and see how long that takes. 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: Sunday, January 06, 2008 9:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Hello John, Did you ever try to just "pipe-through" your millions of records and processing them in code? I mean nowadays memory and processors are so incredibly quick, and your query (selection) criteria are looking rather simple - therefore it could be (much) quicker to get results if using some custom coding... I do not have millions records to test this hypothesis but here is a sample C# code, which runs against a Db with 30000+ of member records and then cycle 2500 times to get the counter to 80+ millions, and it does get data into local vars for further processing - the result is that it takes 3 min 30 sec for 89+ million records on "slow" dual core Pentium with 2GB ram and simple 200GB IDE... Please correct me if I did some mistakes below. Thanks. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon Jan 7 08:02:13 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 7 Jan 2008 14:02:13 -0000 Subject: [AccessD] OT: For Gustav In-Reply-To: Message-ID: <007001c85135$e8a96030$8119fea9@LTVM> >>are "always" open. Is that true, Gustav? Last time I went there the Tivoli gardens were closed (can't remember month, but it was cold, so probably late Autumn time) Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 07, 2008 1:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: For Gustav Hi Ed Only shops and most corporations are closed on the public holidays here, the 1. and the 12. of May, that's all. Restaurants, Tivoli Garden, cinemas etc. are "always" open. If your schedule allows, we could meet for a beer and a proper selection of open sandwiches? Our office is located in the harbour north of Copenhagen. /gustav >>> EdTesiny at oasas.state.ny.us 06-01-2008 16:58:03 >>> Hello Gustav, We're planning to visit Copenhagen sometime in May. When we visited Germany last year, we were there on Ascension Day, most things closed and on Sunday everything closed except the hauptbahnhof (sp?) Are there any times/holidays etc. that we should avoid, any tips would be appreciated. Regards, Ed -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jan 7 08:17:03 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Jan 2008 15:17:03 +0100 Subject: [AccessD] OT: For Gustav Message-ID: Hi Max That's right. It's a season business but that includes some weeks in the Autumn: http://www.tivoli.dk/composite-4588.htm /gustav >>> max.wanadoo at gmail.com 07-01-2008 15:02:13 >>> >>are "always" open. Is that true, Gustav? Last time I went there the Tivoli gardens were closed (can't remember month, but it was cold, so probably late Autumn time) Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 07, 2008 1:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: For Gustav Hi Ed Only shops and most corporations are closed on the public holidays here, the 1. and the 12. of May, that's all. Restaurants, Tivoli Garden, cinemas etc. are "always" open. If your schedule allows, we could meet for a beer and a proper selection of open sandwiches? Our office is located in the harbour north of Copenhagen. /gustav >>> EdTesiny at oasas.state.ny.us 06-01-2008 16:58:03 >>> Hello Gustav, We're planning to visit Copenhagen sometime in May. When we visited Germany last year, we were there on Ascension Day, most things closed and on Sunday everything closed except the hauptbahnhof (sp?) Are there any times/holidays etc. that we should avoid, any tips would be appreciated. Regards, Ed From markamatte at hotmail.com Mon Jan 7 09:16:31 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 7 Jan 2008 15:16:31 +0000 Subject: [AccessD] Data Access Pages...desperate!?!?!?!? In-Reply-To: <47822974.5000503@torchlake.com> References: <001001c84fda$72906670$657aa8c0@M90> <47822974.5000503@torchlake.com> Message-ID: Tina, Thanks for the feedback. I don't think I can set the default value of a field on the page to reference code(window.dialogArguments)...and even on a form...I would have to fire code on a certain event to get this to happen. Overview:::I need to click a button on a Data Access Page that adds a new record...and populates one of the fields on this new record with the same value as the record that was already on the page. Thanks, Mark > Date: Mon, 7 Jan 2008 08:30:28 -0500 > From: tinanfields at torchlake.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Data Access Pages...desperate!?!?!?!? > > Mark, > I am probably missing something here, but why can't you use the "default > value" property for that field and just set it to the stored phone > number? Each new record will have that phone number unless it is > deliberately overwritten, which, of course you can prevent. Please tell > us more so we can be more helpful. > Regards, > Tina > > Mark A Matte wrote: >> Sorry for the repost...hoping someone might have an idea for Monday? >> >> Thanks, >> >> Mark >> >> >> >>> From: markamatte at hotmail.com >>> To: accessd at databaseadvisors.com >>> Date: Sat, 5 Jan 2008 22:40:23 +0000 >>> Subject: [AccessD] Data Access Pages...desperate!?!?!?!? >>> >>> >>> Hello All, >>> >>> I'm trying out some Data Access Pages(DAP) in Access XP. I have a pop up form that I want the user to add rows on...but I want to Populate one of the fields. So everytime they add a new record...the phone# is automatically copied into new record. >>> >>> I have the value stored in code...I just don't know on what event to fire this thing. >>> >>> Thanks, >>> >>> Mark A. Matte >>> >>> _________________________________________________________________ >>> Make distant family not so distant with Windows Vista? + Windows Live?. >>> http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> _________________________________________________________________ >> Make distant family not so distant with Windows Vista? + Windows Live?. >> http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Put your friends on the big screen with Windows Vista? + Windows Live?. http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008 From cfoust at infostatsystems.com Mon Jan 7 10:19:20 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 7 Jan 2008 08:19:20 -0800 Subject: [AccessD] OT: LEGO Mindstorms NXT In-Reply-To: <000301c84f11$387020d0$6501a8c0@nant> References: <000301c84f11$387020d0$6501a8c0@nant> Message-ID: Well, if it got him a LEGO Mindstorm NXT, I don't blame him for believing! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 04, 2008 12:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Hi Charlotte, My minor son (6+ years old) thinks that was Santa Claus who brought him this toy: here in Russia we don't have usual there Christmas celebration and holidays - the main events are New Year Eve (since Soviet times) and Russian Orthodox Church Christmas on 7th of January.... ...and kids here get their New Year Eve gifts on 1st of January morning - they get them by looking under the Christmas tree - this is where my minor son found his LEGO Mindstorms NXT on 1st of January :) ... ... when I left for Finland short shuttle trip a few days before I did tell my minor son I go there to tell Santa's about his wish - and kids here know that Santa Claus is living in Laplandia on North of Finland - not that far from St.Petersburg... ...my minor son seems to still believe in Santa... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, January 04, 2008 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Congratulations, Shamil! I'm sure your sons think you are a hero ... for now. LOL You'll figure it out before the rest of us have figured out what it IS!! Charlotte Foust From jwcolby at colbyconsulting.com Mon Jan 7 10:52:27 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 7 Jan 2008 11:52:27 -0500 Subject: [AccessD] OT: LEGO Mindstorms NXT In-Reply-To: References: <000301c84f11$387020d0$6501a8c0@nant> Message-ID: <004801c8514d$afe37430$657aa8c0@M90> I believe! I believe!!! 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: Monday, January 07, 2008 11:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Well, if it got him a LEGO Mindstorm NXT, I don't blame him for believing! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 04, 2008 12:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Hi Charlotte, My minor son (6+ years old) thinks that was Santa Claus who brought him this toy: here in Russia we don't have usual there Christmas celebration and holidays - the main events are New Year Eve (since Soviet times) and Russian Orthodox Church Christmas on 7th of January.... ...and kids here get their New Year Eve gifts on 1st of January morning - they get them by looking under the Christmas tree - this is where my minor son found his LEGO Mindstorms NXT on 1st of January :) ... ... when I left for Finland short shuttle trip a few days before I did tell my minor son I go there to tell Santa's about his wish - and kids here know that Santa Claus is living in Laplandia on North of Finland - not that far from St.Petersburg... ...my minor son seems to still believe in Santa... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, January 04, 2008 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: LEGO Mindstorms NXT Congratulations, Shamil! I'm sure your sons think you are a hero ... for now. LOL You'll figure it out before the rest of us have figured out what it IS!! Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Mon Jan 7 12:26:08 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 07 Jan 2008 12:26:08 -0600 Subject: [AccessD] OT: LEGO Mindstorms NXT In-Reply-To: References: Message-ID: <200801071831.m07IVV2W014450@databaseadvisors.com> Shamil, My daughter (8) definitely believes in Ded Marose (spelling, Father Frost). She got a Webkinz stuffed toy that was sitting on the printer in the computer run with a note written in Russian. She thought that she would not get anything since she was not in Russian any more. A blessed Christmas to you and your family. Robert, Inna, and Anya. At 12:00 PM 1/7/2008, you wrote: >Sent: Friday, January 04, 2008 12:35 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: LEGO Mindstorms NXT > >Hi Charlotte, > >My minor son (6+ years old) thinks that was Santa Claus who brought him >this >toy: here in Russia we don't have usual there Christmas celebration and >holidays - the main events are New Year Eve (since Soviet times) and >Russian Orthodox Church Christmas on 7th of January.... > >...and kids here get their New Year Eve gifts on 1st of January morning >- they get them by looking under the Christmas tree - this is where my >minor son found his LEGO Mindstorms NXT on 1st of January :) ... > >... when I left for Finland short shuttle trip a few days before I did >tell my minor son I go there to tell Santa's about his wish - and kids >here know that Santa Claus is living in Laplandia on North of Finland - >not that far from St.Petersburg... > >...my minor son seems to still believe in Santa... > >-- >Shamil From rockysmolin at bchacc.com Mon Jan 7 12:39:36 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 7 Jan 2008 10:39:36 -0800 Subject: [AccessD] x64 tests In-Reply-To: <002101c8512c$42cb4dd0$6401a8c0@nant> References: <002b01c850da$f25d9110$657aa8c0@M90> <002101c8512c$42cb4dd0$6401a8c0@nant> Message-ID: <00c401c8515c$a7dc8fb0$0301a8c0@HAL9005> Ad in the paper Sunday - Dell Inspiron 531 - AMD Athlon 64 X2 dual core Processor 4000+; Vista Home;1GB Ram;250BG HD;CD/DVD R/W; $299. What equivalent Intel processor would that be and at what speed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 07, 2008 4:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Well, Merriam-Webster also doesn't have the definition of 'denormalize' http://www.m-w.com/dictionary/denormalize -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM From wdhindman at dejpolsystems.com Mon Jan 7 13:07:53 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 7 Jan 2008 14:07:53 -0500 Subject: [AccessD] x64 tests References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant> <00c401c8515c$a7dc8fb0$0301a8c0@HAL9005> Message-ID: <000201c85160$a1c03e20$0c10a8c0@jisshowsbs.local> http://sg.answers.yahoo.com/question/index?qid=20080106004348AAZkTRr William ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, January 07, 2008 1:39 PM Subject: Re: [AccessD] x64 tests > Ad in the paper Sunday - Dell Inspiron 531 - AMD Athlon 64 X2 dual core > Processor 4000+; Vista Home;1GB Ram;250BG HD;CD/DVD R/W; $299. > > What equivalent Intel processor would that be and at what speed? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Monday, January 07, 2008 4:53 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] x64 tests > > Well, Merriam-Webster also doesn't have the definition of 'denormalize' > > http://www.m-w.com/dictionary/denormalize > > > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 07, 2008 6:11 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] x64 tests > > LOL. you need to add denormalize and denormalized to your dictionary. > > 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: Sunday, January 06, 2008 9:08 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] x64 tests > > That's my spell-checker who did introduce this funny concept :) > > It doesn't understand "denormalized", I should have probably used > "de-normalized" but I didn't. I'm sorry for my English. I have manually > corrected several "demoralized" spell-checker fixes to "denormalized" but > forgot to fix the first one... > > And here you have it: "demoralized databases" :) > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Monday, January 07, 2008 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] x64 tests > > LOL. Demoralized databases, what a concept! > > On 1/6/08, Shamil Salakhetdinov wrote: >> >> John, >> >> I thought you could have all your three tables joined and kept in >> demoralized form... >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 > 10:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Jan 7 14:12:56 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 7 Jan 2008 15:12:56 -0500 Subject: [AccessD] x64 tests In-Reply-To: <00c401c8515c$a7dc8fb0$0301a8c0@HAL9005> References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant> <00c401c8515c$a7dc8fb0$0301a8c0@HAL9005> Message-ID: <005801c85169$b1d08d70$657aa8c0@M90> Rocky, It is hard to say exactly but it is a dual core processor. The "4000+" is supposed to be a gigahertz equivalent - equivalent to the older lines where gigahertz ruled. It is a good processor. vista home sucks but you can wipe it and install XP Pro. ;-) 1 gig is a bit small but memory is cheap and getting cheaper every day. 250 gig is plenty. $300 is pretty cheap. Is that the box only? 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Ad in the paper Sunday - Dell Inspiron 531 - AMD Athlon 64 X2 dual core Processor 4000+; Vista Home;1GB Ram;250BG HD;CD/DVD R/W; $299. What equivalent Intel processor would that be and at what speed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 07, 2008 4:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Well, Merriam-Webster also doesn't have the definition of 'denormalize' http://www.m-w.com/dictionary/denormalize -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 7 14:38:44 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 7 Jan 2008 12:38:44 -0800 Subject: [AccessD] x64 tests In-Reply-To: <005801c85169$b1d08d70$657aa8c0@M90> References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant><00c401c8515c$a7dc8fb0$0301a8c0@HAL9005> <005801c85169$b1d08d70$657aa8c0@M90> Message-ID: <010401c8516d$4bdc8f10$0301a8c0@HAL9005> Box only. Dell's deal du jour. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 12:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Rocky, It is hard to say exactly but it is a dual core processor. The "4000+" is supposed to be a gigahertz equivalent - equivalent to the older lines where gigahertz ruled. It is a good processor. vista home sucks but you can wipe it and install XP Pro. ;-) 1 gig is a bit small but memory is cheap and getting cheaper every day. 250 gig is plenty. $300 is pretty cheap. Is that the box only? 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Ad in the paper Sunday - Dell Inspiron 531 - AMD Athlon 64 X2 dual core Processor 4000+; Vista Home;1GB Ram;250BG HD;CD/DVD R/W; $299. What equivalent Intel processor would that be and at what speed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 07, 2008 4:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Well, Merriam-Webster also doesn't have the definition of 'denormalize' http://www.m-w.com/dictionary/denormalize -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM From jwcolby at colbyconsulting.com Mon Jan 7 15:33:20 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 7 Jan 2008 16:33:20 -0500 Subject: [AccessD] x64 tests In-Reply-To: <010401c8516d$4bdc8f10$0301a8c0@HAL9005> References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant><00c401c8515c$a7dc8fb0$0301a8c0@HAL9005><005801c85169$b1d08d70$657aa8c0@M90> <010401c8516d$4bdc8f10$0301a8c0@HAL9005> Message-ID: <000901c85174$ed31f6f0$657aa8c0@M90> And do you need such a box? If you do (and have the missing pieces) then it is probably a good deal. 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 3:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Box only. Dell's deal du jour. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 12:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Rocky, It is hard to say exactly but it is a dual core processor. The "4000+" is supposed to be a gigahertz equivalent - equivalent to the older lines where gigahertz ruled. It is a good processor. vista home sucks but you can wipe it and install XP Pro. ;-) 1 gig is a bit small but memory is cheap and getting cheaper every day. 250 gig is plenty. $300 is pretty cheap. Is that the box only? 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Ad in the paper Sunday - Dell Inspiron 531 - AMD Athlon 64 X2 dual core Processor 4000+; Vista Home;1GB Ram;250BG HD;CD/DVD R/W; $299. What equivalent Intel processor would that be and at what speed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 07, 2008 4:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Well, Merriam-Webster also doesn't have the definition of 'denormalize' http://www.m-w.com/dictionary/denormalize -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 7 15:46:03 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 7 Jan 2008 13:46:03 -0800 Subject: [AccessD] x64 tests In-Reply-To: <000901c85174$ed31f6f0$657aa8c0@M90> References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant><00c401c8515c$a7dc8fb0$0301a8c0@HAL9005><005801c85169$b1d08d70$657aa8c0@M90><010401c8516d$4bdc8f10$0301a8c0@HAL9005> <000901c85174$ed31f6f0$657aa8c0@M90> Message-ID: <013401c85176$b50b3320$0301a8c0@HAL9005> No. I got more computers now than I need. Just an FYI. It's just remarkably low price for the power. Inflation adjust it to 1985 and compare it to a PC XT. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests And do you need such a box? If you do (and have the missing pieces) then it is probably a good deal. 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 3:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Box only. Dell's deal du jour. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 12:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Rocky, It is hard to say exactly but it is a dual core processor. The "4000+" is supposed to be a gigahertz equivalent - equivalent to the older lines where gigahertz ruled. It is a good processor. vista home sucks but you can wipe it and install XP Pro. ;-) 1 gig is a bit small but memory is cheap and getting cheaper every day. 250 gig is plenty. $300 is pretty cheap. Is that the box only? 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Ad in the paper Sunday - Dell Inspiron 531 - AMD Athlon 64 X2 dual core Processor 4000+; Vista Home;1GB Ram;250BG HD;CD/DVD R/W; $299. What equivalent Intel processor would that be and at what speed? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 07, 2008 4:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Well, Merriam-Webster also doesn't have the definition of 'denormalize' http://www.m-w.com/dictionary/denormalize -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 6:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests LOL. you need to add denormalize and denormalized to your dictionary. 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: Sunday, January 06, 2008 9:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests That's my spell-checker who did introduce this funny concept :) It doesn't understand "denormalized", I should have probably used "de-normalized" but I didn't. I'm sorry for my English. I have manually corrected several "demoralized" spell-checker fixes to "denormalized" but forgot to fix the first one... And here you have it: "demoralized databases" :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] x64 tests LOL. Demoralized databases, what a concept! On 1/6/08, Shamil Salakhetdinov wrote: > > John, > > I thought you could have all your three tables joined and kept in > demoralized form... > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM From jwcolby at colbyconsulting.com Mon Jan 7 16:23:48 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 7 Jan 2008 17:23:48 -0500 Subject: [AccessD] x64 tests In-Reply-To: <013401c85176$b50b3320$0301a8c0@HAL9005> References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant><00c401c8515c$a7dc8fb0$0301a8c0@HAL9005><005801c85169$b1d08d70$657aa8c0@M90><010401c8516d$4bdc8f10$0301a8c0@HAL9005><000901c85174$ed31f6f0$657aa8c0@M90> <013401c85176$b50b3320$0301a8c0@HAL9005> Message-ID: <001701c8517b$f995f200$657aa8c0@M90> They are about to start offering the AMD quad core. 8-) 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 4:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests No. I got more computers now than I need. Just an FYI. It's just remarkably low price for the power. Inflation adjust it to 1985 and compare it to a PC XT. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests And do you need such a box? If you do (and have the missing pieces) then it is probably a good deal. 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 3:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Box only. Dell's deal du jour. Rocky From fuller.artful at gmail.com Mon Jan 7 16:26:47 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 7 Jan 2008 17:26:47 -0500 Subject: [AccessD] Smarter input mask for short times Message-ID: <29f585dd0801071426r7180d369h7e9dda2504d6bc9f@mail.gmail.com> The default input mask for short time values is "00:00;0;_", which is a bit irritating if the value is less than 10 minutes: it requires you to enter a leading zero. Is there are smarter input mask that would let me not enter the leading zero and just input say "324" and it would be understood as "03:24"? TIA, Arthur From ab-mi at post3.tele.dk Mon Jan 7 16:44:42 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Mon, 7 Jan 2008 23:44:42 +0100 Subject: [AccessD] Smarter input mask for short times In-Reply-To: <20080107223008.JBA4584.fep28.mail.dk@databaseadvisors.com> Message-ID: <000301c8517e$e505c970$2101a8c0@AB> "0"0:00;0;_ /Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 7. januar 2008 23:27 Til: Access Developers discussion and problem solving Emne: [AccessD] Smarter input mask for short times The default input mask for short time values is "00:00;0;_", which is a bit irritating if the value is less than 10 minutes: it requires you to enter a leading zero. Is there are smarter input mask that would let me not enter the leading zero and just input say "324" and it would be understood as "03:24"? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jan 7 16:43:54 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 7 Jan 2008 14:43:54 -0800 Subject: [AccessD] Smarter input mask for short times In-Reply-To: <29f585dd0801071426r7180d369h7e9dda2504d6bc9f@mail.gmail.com> References: <29f585dd0801071426r7180d369h7e9dda2504d6bc9f@mail.gmail.com> Message-ID: Can't you teach your users to employe the colon? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, January 07, 2008 2:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] Smarter input mask for short times The default input mask for short time values is "00:00;0;_", which is a bit irritating if the value is less than 10 minutes: it requires you to enter a leading zero. Is there are smarter input mask that would let me not enter the leading zero and just input say "324" and it would be understood as "03:24"? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Mon Jan 7 17:05:15 2008 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 7 Jan 2008 23:05:15 -0000 Subject: [AccessD] Smarter input mask for short times In-Reply-To: <000301c8517e$e505c970$2101a8c0@AB> Message-ID: I think you mean "0:"0:00;0;_ since Arthur needs times under ten MINUTES. HTH John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: 07 January 2008 22:45 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Smarter input mask for short times "0"0:00;0;_ /Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 7. januar 2008 23:27 Til: Access Developers discussion and problem solving Emne: [AccessD] Smarter input mask for short times The default input mask for short time values is "00:00;0;_", which is a bit irritating if the value is less than 10 minutes: it requires you to enter a leading zero. Is there are smarter input mask that would let me not enter the leading zero and just input say "324" and it would be understood as "03:24"? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Mon Jan 7 17:29:10 2008 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 7 Jan 2008 23:29:10 -0000 Subject: [AccessD] Smarter input mask for short times In-Reply-To: Message-ID: On reflection, Arthur, I'm confused by your question. You say "less than 10 minutes" and give "03:24" as an example - meaning 3 mins, 24 secs. presumably? If so, then "short time" is irrelevant, because it cannot express seconds: "03:24" means 3 hrs 24 mins, which is what Asger's mask would give you. Long Time is necessary for seconds, which is what my mask was intended for. J -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: 07 January 2008 23:05 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Smarter input mask for short times I think you mean "0:"0:00;0;_ since Arthur needs times under ten MINUTES. HTH John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: 07 January 2008 22:45 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Smarter input mask for short times "0"0:00;0;_ /Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 7. januar 2008 23:27 Til: Access Developers discussion and problem solving Emne: [AccessD] Smarter input mask for short times The default input mask for short time values is "00:00;0;_", which is a bit irritating if the value is less than 10 minutes: it requires you to enter a leading zero. Is there are smarter input mask that would let me not enter the leading zero and just input say "324" and it would be understood as "03:24"? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Jan 7 18:23:37 2008 From: robert at servicexp.com (Robert) Date: Mon, 07 Jan 2008 19:23:37 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <478143C9.8080906@servicexp.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005><000901c85094$46ab9150$0300a8c0@danwaters><005e01c85098$d5aa0680$0301a8c0@HAL9005><000a01c8509b$efd49ae0$0300a8c0@danwaters><006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> <007b01c850a5$9fe7be90$0301a8c0@HAL9005> <478143C9.8080906@servicexp.com> Message-ID: <4782C289.3000104@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 No one has seen this in Access 2007?? ~Robert Robert wrote: > > Why doesn't calling a function on a button say like "=ClickMe(27)" work > in Access 2007 SP1? This is used in a calendar day buttons. > > The error is something to do with can't find function or procedure.. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgsKJ72dSYCwH8FQRAuHNAKDIeweb0H6FBpVvkewJ+Z5R7+3RtwCfRevz tPn9byh7MdxrLCLwyAL0vQc= =skHQ -----END PGP SIGNATURE----- From rockysmolin at bchacc.com Mon Jan 7 22:03:30 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 7 Jan 2008 20:03:30 -0800 Subject: [AccessD] x64 tests In-Reply-To: <001701c8517b$f995f200$657aa8c0@M90> References: <002b01c850da$f25d9110$657aa8c0@M90><002101c8512c$42cb4dd0$6401a8c0@nant><00c401c8515c$a7dc8fb0$0301a8c0@HAL9005><005801c85169$b1d08d70$657aa8c0@M90><010401c8516d$4bdc8f10$0301a8c0@HAL9005><000901c85174$ed31f6f0$657aa8c0@M90><013401c85176$b50b3320$0301a8c0@HAL9005> <001701c8517b$f995f200$657aa8c0@M90> Message-ID: <016d01c851ab$6ddac350$0301a8c0@HAL9005> Lead me not into temptation...but deliver me from Intel. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 2:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests They are about to start offering the AMD quad core. 8-) 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 4:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests No. I got more computers now than I need. Just an FYI. It's just remarkably low price for the power. Inflation adjust it to 1985 and compare it to a PC XT. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 07, 2008 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests And do you need such a box? If you do (and have the missing pieces) then it is probably a good deal. 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 Rocky Smolin at Beach Access Software Sent: Monday, January 07, 2008 3:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] x64 tests Box only. Dell's deal du jour. Rocky -- 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.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM From Gustav at cactus.dk Tue Jan 8 01:23:09 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 08 Jan 2008 08:23:09 +0100 Subject: [AccessD] Smarter input mask for short times Message-ID: Hi Arthur Use a format of hh:nn and an inputmask of 90:00 and teach the users to type 0324 for your example. How should 113 be understood as 1:13 and not 11:30 if not typed as 0113? /gustav >>> fuller.artful at gmail.com 07-01-2008 23:26 >>> The default input mask for short time values is "00:00;0;_", which is a bit irritating if the value is less than 10 minutes: it requires you to enter a leading zero. Is there are smarter input mask that would let me not enter the leading zero and just input say "324" and it would be understood as "03:24"? TIA, Arthur From fuller.artful at gmail.com Tue Jan 8 05:20:23 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 8 Jan 2008 06:20:23 -0500 Subject: [AccessD] Smarter input mask for short times In-Reply-To: References: Message-ID: <29f585dd0801080320l31b76cf0w334f354923f74b48@mail.gmail.com> Thanks. On 1/8/08, Gustav Brock wrote: > > Hi Arthur > > Use a format of hh:nn and an inputmask of 90:00 and teach the users to > type 0324 for your example. > How should 113 be understood as 1:13 and not 11:30 if not typed as 0113? > > /gustav > From garykjos at gmail.com Tue Jan 8 08:45:41 2008 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 8 Jan 2008 08:45:41 -0600 Subject: [AccessD] Access 2007 In-Reply-To: <4782C289.3000104@servicexp.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <000901c85094$46ab9150$0300a8c0@danwaters> <005e01c85098$d5aa0680$0301a8c0@HAL9005> <000a01c8509b$efd49ae0$0300a8c0@danwaters> <006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> <007b01c850a5$9fe7be90$0301a8c0@HAL9005> <478143C9.8080906@servicexp.com> <4782C289.3000104@servicexp.com> Message-ID: Seems as though most of us are AVOIDING Access 2007 as best we can Robert I have it at home but not here at work. I haven't done any projects using it. Does it maybe need to be further qualified so it knows where to find this particular module? Sorry. GK On 1/7/08, Robert wrote: > No one has seen this in Access 2007?? > > ~Robert > > Robert wrote: > > > > Why doesn't calling a function on a button say like "=ClickMe(27)" work > > in Access 2007 SP1? This is used in a calendar day buttons. > > > > The error is something to do with can't find function or procedure.. -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Tue Jan 8 09:17:15 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 8 Jan 2008 10:17:15 -0500 Subject: [AccessD] x64 tests In-Reply-To: <001c01c85009$b22731e0$657aa8c0@M90> References: <001c01c85009$b22731e0$657aa8c0@M90> Message-ID: <003701c85209$8d6c56d0$657aa8c0@M90> Azul actually died the other day. The computer shut down suddenly and when I opened it up the Heat Sink Fan was just hanging loose inside of the case. It turns out that two of the three plastic tabs on one side of the foundation that holds the HSF in place had broken off. This is the second time this has happened to me! To be honest though, I think this is my fault. The HSF I use is a rather large affair, heat pipes to a large radiator etc. It is very tough to see down under it and it is very tough to get the retaining bracket correctly hooked over the tabs when the motherboard is mounted in the case. I think I probably did not get the retaining bracket square so the tabs that broke off had a larger shear load. Sigh. Anyway, the motherboard is not usable. I might be able to get the plastic HSF foundation part, it just bolts onto the motherboard. We'll see. I wanted to use one of these motherboards to replace the aging board that runs my Address validation process. If I can't get the bracket, I will likely just buy the same little motherboard that I used for the Windows Home Server. In the meantime I decided to just go with it and put the new motherboard I bought last week into the case that Azul occupied. It has the first Areca Raid controller that I purchased and the eight 320 gig drives. I also decided to install the quad core processor onto the motherboard BEFORE putting the motherboard into the case so that I can inspect the mounting bracket, get is square and hopefully avoid the issues I had with Azul. When I brought up the quad core, the motherboard complained about the two different pairs of memory sticks so I had to pull one out to get it running. The sticks are different brands and timings. Both are DDR2 800 but one set was a CAS 5 and the other set CAS 6. People advise against using mismatched sticks like that but my experience has been that if you use "worst case", in this case set the motherboard to use CAS 6, then it works just fine. I will probably drop the other set back in later but to get it to boot and run I had to pull it out. So... W2k3x64 now lives in the case where Azul formerly resided. I got the Raid drivers installed so that W2k3x64 can see the raid array, and I am copying the databases that I was testing in the x64 tests below onto that raid array. I should soon have a benchmark with Windows 2003x64 and SQL Server 2005x64, using 4 gigs of RAM. The 8 gig benchmark will follow if the memory will place nice together in this motherboard and with this processor. Unfortunately this also means I will not be getting a Windows x64 / Sql Server 2005 X64 benchmark on a dual core. The processor socket on this new motherboard is turned 90 degrees from the old motherboard and is even more difficult to get the HSF seated properly with the board installed, and it is a ROYAL PITA to pull the motherboard so it just isn't worth the pain to me just for a benchmark. >>>>>>>>>>> So the answer is... 6:36 seconds to run the count query on the new system. >>>>>>>>>>> >W2k3x64 runs the query in 9:26 (9 minutes and 26 seconds) and counts 630,025 records (just a check that we are counting the same thing). This was the previous run for W2k3x64. As discussed in the previous email, the old W2Kx64 only had a pair of IDE 100 drives, and Windows and SQL Server were installed on one, while the DATA database files were installed on the other. In the new system Windows boots off of an IDE 100 drive, AND the SQL Server is installed there and the SQL Server system databases reside there. Basically I just moved the old Boot drive into the new chassis (where the raid array lives), and the boot drive already had Windows 2k3x64 and SQL Server 2005x64 installed on that C: drive. Because SQL Server installed on C: it put its system databases on that drive as well. The main databases now reside on the raid array as opposed to being on the second IDE drive in the old W2Kx64 system. So while I did pick up a 33% decrease in the time to do the count by moving the database from a single IDE drive onto the RAID array, it is still well below the 5:26 required by Stonehenge which is Windows 2K3x32 and SQL Server 2005x32. It does show however what a fast RAID array does for the system! And in the end I still don't know anything, such is the problem with doing benchmarks in the real world. Is it the fact that Windows is running off an IDE instead of the raid? Or the SQL Server system databases running on the IDE? Or is W2K3x64 and SQL Server 2005x64 just slower than the 32 bit brethren? Or is it something else entirely? You really HAVE to change one variable at a time and circumstances made that inconvenient to say the least. According to benchmarks the quad core I am using should be somewhat faster that the dual core I am using. It is quad core rather than dual core so if Windows and SQL Server can use the extra cores it SHOULD give the process a boost. It is pretty hard to sort out what the problem is though and a bit discouraging because of 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 jwcolby Sent: Saturday, January 05, 2008 9:13 PM To: 'Access Developers discussion and problem solving' Cc: 'Discussion of Hardware and Software issues'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] x64 tests OK, I have the x64 system up and running. I am doing tests on the same four databases. I have: HSID which contains data used in selection criteria, with a PK. 50 million records. AZHSID contains address validated records of name / address fields originally in HSID. With a PK matching the PKs in HSID. 50 million records ZipCodeWorld contains about 80K records of valid zip codes. It has information that allows me to exclude prisons, military FPOs etc. PSM11132 contains all of the queries required for me to fill an actual order of addresses (112000) going out to a client. The order asks for: Source File FIELD Select Codes Description Geography HSID/INF 074 2, 3, 6 OR Female 35 44 HSID/INF 073 2, 3, 6 Female 45-54 AND HSID/INF 091 7-9, A-T INC $50,000+ AND HSID/INF 282 Y Tennis HSID/INF 283 Y OR Golf HSID/INF 284 Y OR Snow Skiing HSID/INF 288 Y OR Bicycling HSID/INF 292 Y OR Running HSID/INF 294 Y OR Horseback Riding HSID/INF 298 Y OR Power Boating HSID/INF 299 Y Sailing AND Zip Code World 015 16980 CBSA Chicago Zip Code World 015 19820 OR CBSA Detroit Zip Code World 015 12580 OR CBSA Baltimore Zip Code World 015 31100 OR CBSA Los Angeles Zip Code World 015 35620 OR CBSA New York Zip Code World 015 37980 OR CBSA Philadelphia Zip Code World 015 47900 CBSA Washington DC As you can see basically they want women 35 to 54, income > 50K who participate in various hobbies, and live in selected big metropolitan areas. In order to prep the order I had to build cover indexes (field and PK) on the hobby fields. I already had cover indexes on the income and PK, and a single cover index on ALL of the age fields plus the PK. I then built FOUR different views. One for Age/Sex, one for income, and one for hobbies. Those three are ANDS so by pulling the PKs for each of those views I could do an inner join to get the AND. From these queries I actually only pulled the PK field itself to minimize data pulled out of the table. I did not need the select data itself, just the PKs for the joins. I then built a fourth view of Zip Code World (ZCW) using the CBSA code that selected ZIPS in specific metropolitan areas. From this view I pulled ONLY the zip field. I built a FIFTH master view that pulled in the four views above, PLUS the AZHSID table. AZHSID contains the PK to match the HSID select views, plus address validated name / address information. That information will be actually extracted and written into a flat file on disk, zipped and sent to the client. So I have age/sex, income, hobbies and AZHSID inner joined. The data pulled is just the PKID and name / address which includes Zip. I then inner join the zip from the ZCW view to limit the addresses to those in the right zip codes. Whew. OK, so the thing I am going to time is the COUNT of the PKs in this big query (how many people match all the criteria and live in the right zips). I am going to time the count on my original system that I actually used to run this order, and then on the new system. The original system (Stonehenge) is a AMD "3800" X2 with 4 gigs ram, Windows 2003 x32, SQL Server 2005 x32, with a dedicated raid controller card with an 8 drive raid 6 array. The new system (W2k3x64) is (currently) an AMD "3800" x2 with 4 gigs ram, Windows 2003 x64, SQL Server 2005 x64, with a pair of 650 gig IDE 100 hard disks. No raid. The databases reside on one of the 650 gig drives and the OS resides on the other. Stonehenge runs the count query in 5:32 (5 minutes, 32 seconds) and counts 630,025 valid addresses with the criteria above, in the zips specified. W2k3x64 runs the query in 9:26 (9 minutes and 26 seconds) and counts 630,025 records (just a check that we are counting the same thing). So the first thing that we see is that the new system is slower. The difference is likely caused by the fact that the Raid array in Stonehenge STREAMS data at 400 mbytes / sec whereas the single disk in W2k3x64 streams MUCH slower, probably around 50 mbytes / second. We do not KNOW that is the reason for the difference at this point, but it is a pretty good bet. I "sacrificed" the video controller from Azul to build the new system (yea, poor planning, forgot the damned video card) so I will probably move the raid array into the new system, or more likely move the new system (and boot disk) into the cabinet that Azul currently occupies. Moving a raid array with 8 disks is not something I want to do if I can avoid it. Next, I am going to pull the other 4 gigs (two 2 gig sticks) out of Azul and move it into W2k3x64. I have a video card on order, will be here next week but for now Azul is dead anyway so I might as well scrounge the memory as well. I did not take CPU and memory usage readings with just the 4 gigs, but with 8 in there both processors are pegging (100%) and the memory usage is maximum (only about 200 megs available) and it is using about 8 gigs of page file as well. W2k3x64 runs the same query in 9:11 after adding two additional sticks of memory and boosting the total to 8 gigs. Oddly, SQL Server has a little control for telling it how much it can have max, and it is maxed at ~2 gig bytes. I was under the impression that it would now allow SQL Server to natively use more ram. Sigh. there is an unchecked box for "Use AWE to allocate memory" which I just checked and am now rerunning the query a third time. With AWE memory enabled, the query ran in 8:27. A slight boost but certainly not stellar. So why is SQL Server not using more memory natively? What I really need to do is create a dual boot with Windows 2003 x32 and SQL Server 2003 x32, and then run the count query again for that. I suspect though that the Raid card and array would do more than anything to bump the speed back up. I am going to swap the quad core processor from Azul and see what that does for me. I think I will swap the view card and memory back in to Azul and try running the same database on Azul. It is virtually identical to Stonehenge. It has a quad core AMD, 4 gigs of memory and an 8 disk raid array on the same controller card that Stonehenge has. I could also TRY to do a dual boot to W2K3x64 but it currently boots off the raid which makes installing the new OS difficult (adds the issue of x64 raid drivers at install time). F6, floppy and all that. I hate that stuff. Well, more later. 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 Tue Jan 8 10:28:56 2008 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 8 Jan 2008 10:28:56 -0600 Subject: [AccessD] [dba-Tech] x64 tests In-Reply-To: <003701c85209$8d6c56d0$657aa8c0@M90> References: <001c01c85009$b22731e0$657aa8c0@M90> <003701c85209$8d6c56d0$657aa8c0@M90> Message-ID: You are hard on your computers John ;-) GK On 1/8/08, jwcolby wrote: > Azul actually died the other day. -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Tue Jan 8 10:42:57 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 8 Jan 2008 08:42:57 -0800 Subject: [AccessD] [dba-Tech] x64 tests In-Reply-To: References: <001c01c85009$b22731e0$657aa8c0@M90><003701c85209$8d6c56d0$657aa8c0@M90> Message-ID: <004301c85215$869c7310$0301a8c0@HAL9005> You think this one will get pushed out of an airplane? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, January 08, 2008 8:29 AM To: Discussion of Hardware and Software issues Cc: dba-sqlserver at databaseadvisors.com; Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-Tech] x64 tests You are hard on your computers John ;-) GK On 1/8/08, jwcolby wrote: > Azul actually died the other day. -- Gary Kjos garykjos at gmail.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.516 / Virus Database: 269.17.13/1213 - Release Date: 1/7/2008 9:14 AM From jwcolby at colbyconsulting.com Tue Jan 8 10:58:49 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 8 Jan 2008 11:58:49 -0500 Subject: [AccessD] [dba-Tech] x64 tests In-Reply-To: <004301c85215$869c7310$0301a8c0@HAL9005> References: <001c01c85009$b22731e0$657aa8c0@M90><003701c85209$8d6c56d0$657aa8c0@M90> <004301c85215$869c7310$0301a8c0@HAL9005> Message-ID: <006501c85217$be0e6900$657aa8c0@M90> Naw, it's suffered enough. 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 Rocky Smolin at Beach Access Software Sent: Tuesday, January 08, 2008 11:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-Tech] x64 tests You think this one will get pushed out of an airplane? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, January 08, 2008 8:29 AM To: Discussion of Hardware and Software issues Cc: dba-sqlserver at databaseadvisors.com; Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-Tech] x64 tests You are hard on your computers John ;-) GK On 1/8/08, jwcolby wrote: > Azul actually died the other day. -- Gary Kjos garykjos at gmail.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.516 / Virus Database: 269.17.13/1213 - Release Date: 1/7/2008 9:14 AM -- 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 Jan 9 04:33:41 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 9 Jan 2008 11:33:41 +0100 Subject: [AccessD] No Relationships When Linked To Passworded BE Message-ID: <200801091133.m09BXpKu006600@databaseadvisors.com> Hi folks. Is anyone else experiencing this, or am I doing something wrong? This is A97 BTW. I've been working on password-protecting the client's BE and was ready to roll-out when I've just found this. Take a non-password-protected BE with, say, 2 tables with a relationship between them. Create a blank MDB and link to those tables. Show relationships and there they are. Now add a password to same BE. Create a new MDB and link to those tables (giving password). Show relationships and - nothing. The relationships are still in operation. Do something to the linked tables to prove it. But the FE doesn't "see" them. I discovered this when my little data dictionary routine failed to print the relationships, and when I tracked it through the code the .Relations collection is completely empty. Anyone else seen this? Anyone know how to overcome it? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From robert at servicexp.com Wed Jan 9 07:07:57 2008 From: robert at servicexp.com (Robert) Date: Wed, 09 Jan 2008 08:07:57 -0500 Subject: [AccessD] Access 2007 In-Reply-To: References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <000901c85094$46ab9150$0300a8c0@danwaters> <005e01c85098$d5aa0680$0301a8c0@HAL9005> <000a01c8509b$efd49ae0$0300a8c0@danwaters> <006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> <007b01c850a5$9fe7be90$0301a8c0@HAL9005> <478143C9.8080906@servicexp.com> <4782C289.3000104@servicexp.com> Message-ID: <4784C72D.3070506@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garry, Thanks, I kinda got that impression myself :-) There are so many "2007 issues" with my program that I didn't spend a bunch of time investigating it yet. I was hoping to confirm if this is "My" problem or a 2007 "bug". Even if I keep the db in 2002 (or 2003) format, running inside of Access 2007 the problem persists. Even though I deploy my program with the runtime engine (2002-2003) it's still a little concerning to me... Access 2007 has many great new features (100% mouse wheel control is a big one for me), but it looks like it's going to require a bunch of changes if converting an older db. WBR ~Robert Gary Kjos wrote: > Seems as though most of us are AVOIDING Access 2007 as best we can > Robert > > I have it at home but not here at work. I haven't done any projects using it. > > Does it maybe need to be further qualified so it knows where to find > this particular module? > > Sorry. > > GK > > On 1/7/08, Robert wrote: >> No one has seen this in Access 2007?? >> >> ~Robert >> >> Robert wrote: >>> Why doesn't calling a function on a button say like "=ClickMe(27)" work >>> in Access 2007 SP1? This is used in a calendar day buttons. >>> >>> The error is something to do with can't find function or procedure.. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhMct72dSYCwH8FQRAoHlAKCwNXmcv84bUub9mU9x+eE+dCENRACfXfKz cbp/bk1bdBC6qOWQrM2aQI0= =xvRL -----END PGP SIGNATURE----- From jwcolby at colbyconsulting.com Wed Jan 9 07:28:14 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 9 Jan 2008 08:28:14 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <4784C72D.3070506@servicexp.com> References: <004b01c8507f$d03b6040$0301a8c0@HAL9005> <000901c85094$46ab9150$0300a8c0@danwaters> <005e01c85098$d5aa0680$0301a8c0@HAL9005> <000a01c8509b$efd49ae0$0300a8c0@danwaters> <006801c8509e$4f08c9d0$0301a8c0@HAL9005> <29f585dd0801061217v7d1632dajfcc8b3903ed3333d@mail.gmail.com> <007b01c850a5$9fe7be90$0301a8c0@HAL9005> <478143C9.8080906@servicexp.com><4782C289.3000104@servicexp.com> <4784C72D.3070506@servicexp.com> Message-ID: <008f01c852c3$7d297b30$657aa8c0@M90> Office 2007 is the Vista of the office world. Everyone thinks it has cool new features, no one wants to go there. Including 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 Robert Sent: Wednesday, January 09, 2008 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garry, Thanks, I kinda got that impression myself :-) There are so many "2007 issues" with my program that I didn't spend a bunch of time investigating it yet. I was hoping to confirm if this is "My" problem or a 2007 "bug". Even if I keep the db in 2002 (or 2003) format, running inside of Access 2007 the problem persists. Even though I deploy my program with the runtime engine (2002-2003) it's still a little concerning to me... Access 2007 has many great new features (100% mouse wheel control is a big one for me), but it looks like it's going to require a bunch of changes if converting an older db. WBR ~Robert Gary Kjos wrote: > Seems as though most of us are AVOIDING Access 2007 as best we can > Robert > > I have it at home but not here at work. I haven't done any projects using it. > > Does it maybe need to be further qualified so it knows where to find > this particular module? > > Sorry. > > GK > > On 1/7/08, Robert wrote: >> No one has seen this in Access 2007?? >> >> ~Robert >> >> Robert wrote: >>> Why doesn't calling a function on a button say like "=ClickMe(27)" >>> work in Access 2007 SP1? This is used in a calendar day buttons. >>> >>> The error is something to do with can't find function or procedure.. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhMct72dSYCwH8FQRAoHlAKCwNXmcv84bUub9mU9x+eE+dCENRACfXfKz cbp/bk1bdBC6qOWQrM2aQI0= =xvRL -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Jan 9 10:22:35 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Jan 2008 19:22:35 +0300 Subject: [AccessD] Access 2007 In-Reply-To: <008f01c852c3$7d297b30$657aa8c0@M90> Message-ID: <001801c852db$d84ab7f0$6401a8c0@nant> Hello John, I have MS Office 2007 and Vista Ultimate on my DELL notebook - they really rock! :) What's wrong with them IYO? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 09, 2008 4:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Office 2007 is the Vista of the office world. Everyone thinks it has cool new features, no one wants to go there. Including 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 Robert Sent: Wednesday, January 09, 2008 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garry, Thanks, I kinda got that impression myself :-) There are so many "2007 issues" with my program that I didn't spend a bunch of time investigating it yet. I was hoping to confirm if this is "My" problem or a 2007 "bug". Even if I keep the db in 2002 (or 2003) format, running inside of Access 2007 the problem persists. Even though I deploy my program with the runtime engine (2002-2003) it's still a little concerning to me... Access 2007 has many great new features (100% mouse wheel control is a big one for me), but it looks like it's going to require a bunch of changes if converting an older db. WBR ~Robert Gary Kjos wrote: > Seems as though most of us are AVOIDING Access 2007 as best we can > Robert > > I have it at home but not here at work. I haven't done any projects using it. > > Does it maybe need to be further qualified so it knows where to find > this particular module? > > Sorry. > > GK > > On 1/7/08, Robert wrote: >> No one has seen this in Access 2007?? >> >> ~Robert >> >> Robert wrote: >>> Why doesn't calling a function on a button say like "=ClickMe(27)" >>> work in Access 2007 SP1? This is used in a calendar day buttons. >>> >>> The error is something to do with can't find function or procedure.. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhMct72dSYCwH8FQRAoHlAKCwNXmcv84bUub9mU9x+eE+dCENRACfXfKz cbp/bk1bdBC6qOWQrM2aQI0= =xvRL -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 9 11:45:53 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 9 Jan 2008 12:45:53 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <001801c852db$d84ab7f0$6401a8c0@nant> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> Message-ID: <00a801c852e7$7b5c2ae0$657aa8c0@M90> LOL, well there must be something wrong since the whole world is not buying in. Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, many more in performance. My understanding is that this stuff is built into the OS itself so that a display screen that doesn't have the digital rights stuff will just prevent Vista from displaying anything that has digital rights stuff. Understand that I just read this stuff, I don't actually have it installed on any machines. Much of the stuff that is really important is only available to the expensive "business" versions. I don't use Vista so I can't speak for or against it. You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? As for Office, the ribbon bars kill all of my client's applications. I write databases, not toys for power users. My clients DEMAND wall to wall access to their display screens, and they are, TO A MAN, sitting at 800 x 600 right now. None are willing to force their users to move up to a higher resolution to give me more screen real estate to work with. So my forms EXACTLY fit an 800 x 600 screen. Throw in a ribbon bar that cannot be disabled and suddenly my forms have sliders and part of the form is off the screen. I have not found a satisfactory solution that allows me to turn off the ribbon bars. Microsoft has decided to FORCE me (and my clients) to show these things. Se la vie, I can stay with Office 2003 for the rest of my life. And since my clients don't use it, and since it wreaks havoc switching from 2007 back to 2003 which I use for development, why would I install it? Office, and Access (and computers for that matter) are tools for getting a job done. Imagine that you bought a new power screwdriver and the manufacturer suddenly decided that they would only allow you to use it to screw things in, but couldn't use it to unscrew things. It is a TOOL, it has specific functionality, it is not the manufacturer's business how I use the tool. Wouldn't it piss you off JUST A LITTLE to have the manufacturer suddenly tell you how you could and could not use it? Microsoft has decided that it is their business to force my users to display their ribbon bar. BAD BUSINESS!!! It really makes no difference if YOU like it, or MICROSOFT likes it, what matters is that MY USERS don't want it (ribbon bars), and I can't turn it off. So it can rock on YOUR system till the cows come home, but my clients simply are not installing it, and I am recommending that they do not if I am asked. 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: Wednesday, January 09, 2008 11:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Hello John, I have MS Office 2007 and Vista Ultimate on my DELL notebook - they really rock! :) What's wrong with them IYO? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 09, 2008 4:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Office 2007 is the Vista of the office world. Everyone thinks it has cool new features, no one wants to go there. Including me! John W. Colby Colby Consulting www.ColbyConsulting.com From robert at servicexp.com Wed Jan 9 12:53:06 2008 From: robert at servicexp.com (Robert) Date: Wed, 09 Jan 2008 13:53:06 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <00a801c852e7$7b5c2ae0$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> Message-ID: <47851812.5040809@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John, Come on now, tell us how you really feel about it? :-). I also don't like the new ribbon system, hate it more like it. First "adopter" sales for Office 2007 sales where much greater then with 2003, not that it means much... My biggest problem (not withstanding the ribbon system) with A07 is how to secure my table links, query's, tables and such, and how much slower designing in it is. Oh, and the solution for the original posted problem was simple (stupid really). In earlier versions you could call a sub from the event =ClickMe(27), (not really supposed to be able to do that but can). In Access 2007 they fixed that "loop hole" so you can only call a function like that. WBR ~Robert jwcolby wrote: > LOL, well there must be something wrong since the whole world is not buying > in. > > Vista just has a reputation of creating a ton of problems, many of them in > the Digital Rights world, many more in performance. My understanding is > that this stuff is built into the OS itself so that a display screen that > doesn't have the digital rights stuff will just prevent Vista from > displaying anything that has digital rights stuff. Understand that I just > read this stuff, I don't actually have it installed on any machines. Much > of the stuff that is really important is only available to the expensive > "business" versions. > > I don't use Vista so I can't speak for or against it. You do, so tell us, > what does Vista do for you that is the "killer app" that makes you think it > rocks? Why would my business users (clients) pay tens of thousands of > dollars to upgrade every machine in the house? > > As for Office, the ribbon bars kill all of my client's applications. I > write databases, not toys for power users. My clients DEMAND wall to wall > access to their display screens, and they are, TO A MAN, sitting at 800 x > 600 right now. None are willing to force their users to move up to a higher > resolution to give me more screen real estate to work with. So my forms > EXACTLY fit an 800 x 600 screen. Throw in a ribbon bar that cannot be > disabled and suddenly my forms have sliders and part of the form is off the > screen. > > I have not found a satisfactory solution that allows me to turn off the > ribbon bars. Microsoft has decided to FORCE me (and my clients) to show > these things. Se la vie, I can stay with Office 2003 for the rest of my > life. And since my clients don't use it, and since it wreaks havoc > switching from 2007 back to 2003 which I use for development, why would I > install it? > > Office, and Access (and computers for that matter) are tools for getting a > job done. Imagine that you bought a new power screwdriver and the > manufacturer suddenly decided that they would only allow you to use it to > screw things in, but couldn't use it to unscrew things. It is a TOOL, it > has specific functionality, it is not the manufacturer's business how I use > the tool. Wouldn't it piss you off JUST A LITTLE to have the manufacturer > suddenly tell you how you could and could not use it? > > Microsoft has decided that it is their business to force my users to display > their ribbon bar. BAD BUSINESS!!! > > It really makes no difference if YOU like it, or MICROSOFT likes it, what > matters is that MY USERS don't want it (ribbon bars), and I can't turn it > off. > > So it can rock on YOUR system till the cows come home, but my clients simply > are not installing it, and I am recommending that they do not if I am asked. > > > 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: Wednesday, January 09, 2008 11:23 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2007 > > Hello John, > > I have MS Office 2007 and Vista Ultimate on my DELL notebook - they really > rock! :) > > What's wrong with them IYO? :) > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, January 09, 2008 4:28 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2007 > > Office 2007 is the Vista of the office world. Everyone thinks it has cool > new features, no one wants to go there. > > Including me! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhRgS72dSYCwH8FQRAgXSAJwJbiiygS5iEpdFVex6e44d8ysOOgCgjgBK H1OmRVMVBra5Gt717rfVJg8= =l8CQ -----END PGP SIGNATURE----- From shamil at users.mns.ru Wed Jan 9 15:34:35 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 10 Jan 2008 00:34:35 +0300 Subject: [AccessD] Access 2007 In-Reply-To: <00a801c852e7$7b5c2ae0$657aa8c0@M90> Message-ID: <000d01c85307$6e245350$6401a8c0@nant> <<< LOL, well there must be something wrong since the whole world is not buying in. >>> Russia is a Wonderland you know :) (Just kidding...) <<< Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, >>> Well, I do use software from official MSDN and it works well... The issue of not being able to read DVDs with the copies of my files I made on my desktop is solved here with using FAR manager - it does read these DVDs well under Vista... The issues with making setups of custom software for Vista e.g. by using INNO-Setup are getting solved "automagically" by INNO-setup creating proper manifest files... <<< many more in performance. >>> In fact under Vista on the same Dual Core Pentium my software runs faster than under W2k3... <<< You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? >>> I like its graphics... :) I like the feature of 3d view of windows of currently running apps... As I wrote above under vista everything I use usually runs faster on the same dual core processor... :) I just like it because as far as I see it's a very good professional work of MS engineers - I just like it... <<< Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? >>> That's a rock stable OS for the next 5-10 years therefore investments should pay back during this period in time... Why your customers buy new cars, factories, houses?... I'm not "preaching" for Vista - I just like it :) If you and your customer do not like it and do not see how its purchase and installation can pay back and bring good profits - do not use it :) Again, I just like it as great modern mature OS software... I like it by heart and eyes, and I neglect all the other issues :) That's it I can tell about it. John, sorry for my being so short in my words, and not-informative, and probably not-convincing for you and your customers... You can try to avoid using this "MS-bulldozer"... I'd better drive it/ride on it :) Thanks... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 09, 2008 8:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 LOL, well there must be something wrong since the whole world is not buying in. Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, many more in performance. My understanding is that this stuff is built into the OS itself so that a display screen that doesn't have the digital rights stuff will just prevent Vista from displaying anything that has digital rights stuff. Understand that I just read this stuff, I don't actually have it installed on any machines. Much of the stuff that is really important is only available to the expensive "business" versions. I don't use Vista so I can't speak for or against it. You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? As for Office, the ribbon bars kill all of my client's applications. I write databases, not toys for power users. My clients DEMAND wall to wall access to their display screens, and they are, TO A MAN, sitting at 800 x 600 right now. None are willing to force their users to move up to a higher resolution to give me more screen real estate to work with. So my forms EXACTLY fit an 800 x 600 screen. Throw in a ribbon bar that cannot be disabled and suddenly my forms have sliders and part of the form is off the screen. I have not found a satisfactory solution that allows me to turn off the ribbon bars. Microsoft has decided to FORCE me (and my clients) to show these things. Se la vie, I can stay with Office 2003 for the rest of my life. And since my clients don't use it, and since it wreaks havoc switching from 2007 back to 2003 which I use for development, why would I install it? Office, and Access (and computers for that matter) are tools for getting a job done. Imagine that you bought a new power screwdriver and the manufacturer suddenly decided that they would only allow you to use it to screw things in, but couldn't use it to unscrew things. It is a TOOL, it has specific functionality, it is not the manufacturer's business how I use the tool. Wouldn't it piss you off JUST A LITTLE to have the manufacturer suddenly tell you how you could and could not use it? Microsoft has decided that it is their business to force my users to display their ribbon bar. BAD BUSINESS!!! It really makes no difference if YOU like it, or MICROSOFT likes it, what matters is that MY USERS don't want it (ribbon bars), and I can't turn it off. So it can rock on YOUR system till the cows come home, but my clients simply are not installing it, and I am recommending that they do not if I am asked. 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: Wednesday, January 09, 2008 11:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Hello John, I have MS Office 2007 and Vista Ultimate on my DELL notebook - they really rock! :) What's wrong with them IYO? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 09, 2008 4:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Office 2007 is the Vista of the office world. Everyone thinks it has cool new features, no one wants to go there. Including me! 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 shamil at users.mns.ru Wed Jan 9 16:16:06 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 10 Jan 2008 01:16:06 +0300 Subject: [AccessD] Access 2007 In-Reply-To: <00a801c852e7$7b5c2ae0$657aa8c0@M90> Message-ID: <001d01c8530d$3aebeec0$6401a8c0@nant> Hi John, Maybe that's a little bit off-topic - as an addition on Vista and .NET Framework and MS SQl2005 stability (sorry that wasn't MS Access 2007) - a sample of real world software I'm developing here, which I did run on Vista: - this is .NET Framework 2.0/C# console test app + 6 DLLs talking to MS SQL 2005 Professional; - it did run in 33 threads all talking to the same MS SQL 2005 back-end for 40+ hours non-stop; - the RAM consumption of the app did stabilize around 12 MB; - the generated text log was 650+ MB; - it did verify rather sophisticated business rules implemented mainly in code; - it does have thousands of custom classes many of which are generated CRUD but quite a few custom handmade programming ones; - it did generate around 2500 x 20000+ test orders based on information from about 3000000+ production tables' rows... - it did run 2500 cycles in 33 threads removing all generated orders after running each cycle... Just a real life story... (I'd think MS Access 2007 would also be that stable running custom apps on Vista although everybody knows that MS Access 2.0, 97, 2003 - all were also very stable when properly programmed...) -- Shamil From jwcolby at colbyconsulting.com Wed Jan 9 16:57:49 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 9 Jan 2008 17:57:49 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <000d01c85307$6e245350$6401a8c0@nant> References: <00a801c852e7$7b5c2ae0$657aa8c0@M90> <000d01c85307$6e245350$6401a8c0@nant> Message-ID: <00c701c85313$0eeb3a00$657aa8c0@M90> Shamil, The following are just a couple of interesting things I found on the subject. http://blogs.zdnet.com/Bott/?p=357 http://blogs.zdnet.com/Bott/?p=349 http://blogs.zdnet.com/Bott/?p=352 My perception is simply what I see from my own clients. I only work (so far) with companies having anywhere from 1 to 60 or so employees. These companies do not upgrade just to drive the latest and greatest. If a machine functions for it's given purpose, they may very well keep it for 8 years more. I have to PUSH these clients to buy more powerful machines and I only do so when they need them. There is nothing right or wrong about this, it is just a fact. I had a client that just retired (about a year ago) their last Windows 98 machine running Celerons and 500 megs of main memory. They only did so because the database had grown to the point where I could demonstrate UNDENIABLY that the machine itself was causing them lost productivity as they waited for the claim form to open. They went to dell and bought way powerful, way cheap low end machines with Windows XP Pro. these machines will likely suffice for another 6 years or so. This seems to be the trend in SMALL companies. It might very well be different with the IBMs and such large companies. Even there though there are compatibility issues that will be weighed. Small companies "just leap" when they are ready to buy. They tend to not think much about "will my application(s) run under...". I have to be on top of things like the ribbon bar fiasco and warn them that they will have a problem if they go there. At any rate, I am a small business and I am much more careful about what I do than most. I do not do anything that will cost me three weeks of inability to do my work because I will starve to death if I lose three works work. As an example, take the move to Office 2007. I cannot "just switch" because I have to do 8 hours or more of paying work every day. The ribbon bar and all that crap would cause me untold lost billing time. If and when I do it I will do so on a virtual machine. I will use it for email, for writing docs, for playing with my few spreadsheets, and I will PLAY with Access 2007 to become familiar with it. Slowly, I will come up to speed, and slowly I will switch to using it (assuming my clients do of course). >>I like its graphics... :) >>I like the feature of 3d view of windows of currently running apps... To be honest I turn off all the "eye candy" just because it annoys me and slows down my machine. Vista is very much about eye candy. I just don't care about it, not that it is wrong if you like it, I just don't. I like new things, but I cannot afford to just leap without thinking about my income, which will suffer if I can't do my work and my clients get irritated with 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 Shamil Salakhetdinov Sent: Wednesday, January 09, 2008 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 <<< LOL, well there must be something wrong since the whole world is not buying in. >>> Russia is a Wonderland you know :) (Just kidding...) <<< Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, >>> Well, I do use software from official MSDN and it works well... The issue of not being able to read DVDs with the copies of my files I made on my desktop is solved here with using FAR manager - it does read these DVDs well under Vista... The issues with making setups of custom software for Vista e.g. by using INNO-Setup are getting solved "automagically" by INNO-setup creating proper manifest files... <<< many more in performance. >>> In fact under Vista on the same Dual Core Pentium my software runs faster than under W2k3... <<< You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? >>> I like its graphics... :) I like the feature of 3d view of windows of currently running apps... As I wrote above under vista everything I use usually runs faster on the same dual core processor... :) I just like it because as far as I see it's a very good professional work of MS engineers - I just like it... <<< Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? >>> That's a rock stable OS for the next 5-10 years therefore investments should pay back during this period in time... Why your customers buy new cars, factories, houses?... I'm not "preaching" for Vista - I just like it :) If you and your customer do not like it and do not see how its purchase and installation can pay back and bring good profits - do not use it :) Again, I just like it as great modern mature OS software... I like it by heart and eyes, and I neglect all the other issues :) That's it I can tell about it. John, sorry for my being so short in my words, and not-informative, and probably not-convincing for you and your customers... You can try to avoid using this "MS-bulldozer"... I'd better drive it/ride on it :) Thanks... From cfoust at infostatsystems.com Wed Jan 9 17:16:09 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 9 Jan 2008 15:16:09 -0800 Subject: [AccessD] Access 2007 In-Reply-To: <00c701c85313$0eeb3a00$657aa8c0@M90> References: <00a801c852e7$7b5c2ae0$657aa8c0@M90><000d01c85307$6e245350$6401a8c0@nant> <00c701c85313$0eeb3a00$657aa8c0@M90> Message-ID: I have to agree on the eye candy, John. Of course, I feel the same way about WinXP and immediately turned off as much of the teletubby interface as I could when I moved to it. LOL Others may like or hate the ribbons in Office 2007, but to me they're visual overload. They take up way more space than simple menus and they're too in-your-face for my comfort. Fortunately, I'm working in .Net now, but I still have friends and colleagues who work in Access, so I try to keep up. I may have to drop that last idea, though. ;-< Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 09, 2008 2:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Shamil, The following are just a couple of interesting things I found on the subject. http://blogs.zdnet.com/Bott/?p=357 http://blogs.zdnet.com/Bott/?p=349 http://blogs.zdnet.com/Bott/?p=352 My perception is simply what I see from my own clients. I only work (so far) with companies having anywhere from 1 to 60 or so employees. These companies do not upgrade just to drive the latest and greatest. If a machine functions for it's given purpose, they may very well keep it for 8 years more. I have to PUSH these clients to buy more powerful machines and I only do so when they need them. There is nothing right or wrong about this, it is just a fact. I had a client that just retired (about a year ago) their last Windows 98 machine running Celerons and 500 megs of main memory. They only did so because the database had grown to the point where I could demonstrate UNDENIABLY that the machine itself was causing them lost productivity as they waited for the claim form to open. They went to dell and bought way powerful, way cheap low end machines with Windows XP Pro. these machines will likely suffice for another 6 years or so. This seems to be the trend in SMALL companies. It might very well be different with the IBMs and such large companies. Even there though there are compatibility issues that will be weighed. Small companies "just leap" when they are ready to buy. They tend to not think much about "will my application(s) run under...". I have to be on top of things like the ribbon bar fiasco and warn them that they will have a problem if they go there. At any rate, I am a small business and I am much more careful about what I do than most. I do not do anything that will cost me three weeks of inability to do my work because I will starve to death if I lose three works work. As an example, take the move to Office 2007. I cannot "just switch" because I have to do 8 hours or more of paying work every day. The ribbon bar and all that crap would cause me untold lost billing time. If and when I do it I will do so on a virtual machine. I will use it for email, for writing docs, for playing with my few spreadsheets, and I will PLAY with Access 2007 to become familiar with it. Slowly, I will come up to speed, and slowly I will switch to using it (assuming my clients do of course). >>I like its graphics... :) >>I like the feature of 3d view of windows of currently running apps... To be honest I turn off all the "eye candy" just because it annoys me and slows down my machine. Vista is very much about eye candy. I just don't care about it, not that it is wrong if you like it, I just don't. I like new things, but I cannot afford to just leap without thinking about my income, which will suffer if I can't do my work and my clients get irritated with me. John W. Colby Colby Consulting www.ColbyConsulting.com From shamil at users.mns.ru Wed Jan 9 17:48:49 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 10 Jan 2008 02:48:49 +0300 Subject: [AccessD] Access 2007 In-Reply-To: <00c701c85313$0eeb3a00$657aa8c0@M90> Message-ID: <003e01c8531a$2e40c170$6401a8c0@nant> John, I'm just trying to get developed my strong positive worldview on this imperfect world - the more I will complain about the world around me the more imperfect it will become... ...so I'd better keep hunting for the good things than complain :)... ...yes, new technologies need quite some investments both into hardware and development tools and development methodologies but the final result is rather impressive and economically (and environmentally) effective, despite the fact that being in database-centered software development for the last almost 30 years I can't say there are many new ideas but the level of the nowadays hardware and software technologies allows to do literally in hours and days what needed months and years to be developed in not that far ago past... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 1:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Shamil, The following are just a couple of interesting things I found on the subject. http://blogs.zdnet.com/Bott/?p=357 http://blogs.zdnet.com/Bott/?p=349 http://blogs.zdnet.com/Bott/?p=352 My perception is simply what I see from my own clients. I only work (so far) with companies having anywhere from 1 to 60 or so employees. These companies do not upgrade just to drive the latest and greatest. If a machine functions for it's given purpose, they may very well keep it for 8 years more. I have to PUSH these clients to buy more powerful machines and I only do so when they need them. There is nothing right or wrong about this, it is just a fact. I had a client that just retired (about a year ago) their last Windows 98 machine running Celerons and 500 megs of main memory. They only did so because the database had grown to the point where I could demonstrate UNDENIABLY that the machine itself was causing them lost productivity as they waited for the claim form to open. They went to dell and bought way powerful, way cheap low end machines with Windows XP Pro. these machines will likely suffice for another 6 years or so. This seems to be the trend in SMALL companies. It might very well be different with the IBMs and such large companies. Even there though there are compatibility issues that will be weighed. Small companies "just leap" when they are ready to buy. They tend to not think much about "will my application(s) run under...". I have to be on top of things like the ribbon bar fiasco and warn them that they will have a problem if they go there. At any rate, I am a small business and I am much more careful about what I do than most. I do not do anything that will cost me three weeks of inability to do my work because I will starve to death if I lose three works work. As an example, take the move to Office 2007. I cannot "just switch" because I have to do 8 hours or more of paying work every day. The ribbon bar and all that crap would cause me untold lost billing time. If and when I do it I will do so on a virtual machine. I will use it for email, for writing docs, for playing with my few spreadsheets, and I will PLAY with Access 2007 to become familiar with it. Slowly, I will come up to speed, and slowly I will switch to using it (assuming my clients do of course). >>I like its graphics... :) >>I like the feature of 3d view of windows of currently running apps... To be honest I turn off all the "eye candy" just because it annoys me and slows down my machine. Vista is very much about eye candy. I just don't care about it, not that it is wrong if you like it, I just don't. I like new things, but I cannot afford to just leap without thinking about my income, which will suffer if I can't do my work and my clients get irritated with 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 Shamil Salakhetdinov Sent: Wednesday, January 09, 2008 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 <<< LOL, well there must be something wrong since the whole world is not buying in. >>> Russia is a Wonderland you know :) (Just kidding...) <<< Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, >>> Well, I do use software from official MSDN and it works well... The issue of not being able to read DVDs with the copies of my files I made on my desktop is solved here with using FAR manager - it does read these DVDs well under Vista... The issues with making setups of custom software for Vista e.g. by using INNO-Setup are getting solved "automagically" by INNO-setup creating proper manifest files... <<< many more in performance. >>> In fact under Vista on the same Dual Core Pentium my software runs faster than under W2k3... <<< You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? >>> I like its graphics... :) I like the feature of 3d view of windows of currently running apps... As I wrote above under vista everything I use usually runs faster on the same dual core processor... :) I just like it because as far as I see it's a very good professional work of MS engineers - I just like it... <<< Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? >>> That's a rock stable OS for the next 5-10 years therefore investments should pay back during this period in time... Why your customers buy new cars, factories, houses?... I'm not "preaching" for Vista - I just like it :) If you and your customer do not like it and do not see how its purchase and installation can pay back and bring good profits - do not use it :) Again, I just like it as great modern mature OS software... I like it by heart and eyes, and I neglect all the other issues :) That's it I can tell about it. John, sorry for my being so short in my words, and not-informative, and probably not-convincing for you and your customers... You can try to avoid using this "MS-bulldozer"... I'd better drive it/ride on it :) Thanks... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 9 22:22:54 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 9 Jan 2008 23:22:54 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <001d01c8530d$3aebeec0$6401a8c0@nant> References: <00a801c852e7$7b5c2ae0$657aa8c0@M90> <001d01c8530d$3aebeec0$6401a8c0@nant> Message-ID: <000001c85340$79691000$657aa8c0@M90> LOL, yea I hear you. I am very impressed with .Net. The real question though is "does it run BETTER on vista than XP Pro? Faster? More security? Fewer bugs in the OS itself? I very much believe that Vista will someday, probably someday soon now, be "as good as" XP or even better. I am patient in this regard. I can wait until the early adopters shake the bugs out for me. Likewise Office 2007. It is truly annoying that they did not allow me the ability to turn off the ribbons in Access. In this regard I simply have no choice. My clients dictate what they use by their refusal to move to a higher resolution screen. It comes back to money, the small companies are tight fisted and replacing 50 employees monitors with 19" screens so that they can have a ribbon bar at the top is a non-starter for them. 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: Wednesday, January 09, 2008 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Hi John, Maybe that's a little bit off-topic - as an addition on Vista and .NET Framework and MS SQl2005 stability (sorry that wasn't MS Access 2007) - a sample of real world software I'm developing here, which I did run on Vista: - this is .NET Framework 2.0/C# console test app + 6 DLLs talking to MS SQL 2005 Professional; - it did run in 33 threads all talking to the same MS SQL 2005 back-end for 40+ hours non-stop; - the RAM consumption of the app did stabilize around 12 MB; - the generated text log was 650+ MB; - it did verify rather sophisticated business rules implemented mainly in code; - it does have thousands of custom classes many of which are generated CRUD but quite a few custom handmade programming ones; - it did generate around 2500 x 20000+ test orders based on information from about 3000000+ production tables' rows... - it did run 2500 cycles in 33 threads removing all generated orders after running each cycle... Just a real life story... (I'd think MS Access 2007 would also be that stable running custom apps on Vista although everybody knows that MS Access 2.0, 97, 2003 - all were also very stable when properly programmed...) -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Jan 10 02:26:26 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 10 Jan 2008 09:26:26 +0100 Subject: [AccessD] Access 2007 Message-ID: Hi John, Shamil et al John is right, clients are very conservative and only invest money for a reason. However, I have to back up Shamil - Vista is so much better designed that for pure design reasons it is a pleasure to work with. I truly dislike the Fisher-Price default look of Windows XP and have had to switch to the "Classic Look" to relax. With Vista, MS has removed the advantage Apple had of a better and nicer looking UI. There are issues, of course, but I'm confident they will be solved. I haven't done any comparing speed tests with dual core machines but Shamil's results look promising. And wouldn't it be strange otherwise? Why shouldn't MS developers try hard to improve and optimize the core? I've just had a new Lenovo dual core for Vista with 4 GB ram and a high-end graphic card. It rocks - my techie colleague was amazed - and it again stresses what I've written several times: don't waste time on upgrading old hardware, buy new hardware for a new OS, these days the cost of ram is so low that I can hardly believe it. When I read this discussion I couldn't help making a comparison to a test drive I took last week of the Toyota Prius, a hybrid car you may know. It struck me, leaving the car at the dealer, that from that moment all other "normal" cars appear totally outdated. This is scaring as the Prius is not a brand new model and it makes you wonder what other car manufactures are doing and why and how Toyota can be three years ahead of the competition. Well, they just produce cars that people expect - no surprises - while the Prius (and the high-end Lexus sedan, of course) exceeds your expectations. Maybe that is the situation for Vista, it is positioned beyond the current expectations of the general user to a OS. That said, we still advice clients to carefully consider if a move to Vista is advantageous (as said, it _will_ require new hardware). On the other hand, I clearly remember we gave the same advice when Windows was at 3.11 and Windows 95 was introduced .. and again when Windows NT (which also for all practical purposes did require new hardware) was introduced ... /gustav >>> shamil at users.mns.ru 10-01-2008 00:48 >>> John, I'm just trying to get developed my strong positive worldview on this imperfect world - the more I will complain about the world around me the more imperfect it will become... ...so I'd better keep hunting for the good things than complain :)... ...yes, new technologies need quite some investments both into hardware and development tools and development methodologies but the final result is rather impressive and economically (and environmentally) effective, despite the fact that being in database-centered software development for the last almost 30 years I can't say there are many new ideas but the level of the nowadays hardware and software technologies allows to do literally in hours and days what needed months and years to be developed in not that far ago past... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 1:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Shamil, The following are just a couple of interesting things I found on the subject. http://blogs.zdnet.com/Bott/?p=357 http://blogs.zdnet.com/Bott/?p=349 http://blogs.zdnet.com/Bott/?p=352 My perception is simply what I see from my own clients. I only work (so far) with companies having anywhere from 1 to 60 or so employees. These companies do not upgrade just to drive the latest and greatest. If a machine functions for it's given purpose, they may very well keep it for 8 years more. I have to PUSH these clients to buy more powerful machines and I only do so when they need them. There is nothing right or wrong about this, it is just a fact. I had a client that just retired (about a year ago) their last Windows 98 machine running Celerons and 500 megs of main memory. They only did so because the database had grown to the point where I could demonstrate UNDENIABLY that the machine itself was causing them lost productivity as they waited for the claim form to open. They went to dell and bought way powerful, way cheap low end machines with Windows XP Pro. these machines will likely suffice for another 6 years or so. This seems to be the trend in SMALL companies. It might very well be different with the IBMs and such large companies. Even there though there are compatibility issues that will be weighed. Small companies "just leap" when they are ready to buy. They tend to not think much about "will my application(s) run under...". I have to be on top of things like the ribbon bar fiasco and warn them that they will have a problem if they go there. At any rate, I am a small business and I am much more careful about what I do than most. I do not do anything that will cost me three weeks of inability to do my work because I will starve to death if I lose three works work. As an example, take the move to Office 2007. I cannot "just switch" because I have to do 8 hours or more of paying work every day. The ribbon bar and all that crap would cause me untold lost billing time. If and when I do it I will do so on a virtual machine. I will use it for email, for writing docs, for playing with my few spreadsheets, and I will PLAY with Access 2007 to become familiar with it. Slowly, I will come up to speed, and slowly I will switch to using it (assuming my clients do of course). >>I like its graphics... :) >>I like the feature of 3d view of windows of currently running apps... To be honest I turn off all the "eye candy" just because it annoys me and slows down my machine. Vista is very much about eye candy. I just don't care about it, not that it is wrong if you like it, I just don't. I like new things, but I cannot afford to just leap without thinking about my income, which will suffer if I can't do my work and my clients get irritated with 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 Shamil Salakhetdinov Sent: Wednesday, January 09, 2008 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 <<< LOL, well there must be something wrong since the whole world is not buying in. >>> Russia is a Wonderland you know :) (Just kidding...) <<< Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, >>> Well, I do use software from official MSDN and it works well... The issue of not being able to read DVDs with the copies of my files I made on my desktop is solved here with using FAR manager - it does read these DVDs well under Vista... The issues with making setups of custom software for Vista e.g. by using INNO-Setup are getting solved "automagically" by INNO-setup creating proper manifest files... <<< many more in performance. >>> In fact under Vista on the same Dual Core Pentium my software runs faster than under W2k3... <<< You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? >>> I like its graphics... :) I like the feature of 3d view of windows of currently running apps... As I wrote above under vista everything I use usually runs faster on the same dual core processor... :) I just like it because as far as I see it's a very good professional work of MS engineers - I just like it... <<< Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? >>> That's a rock stable OS for the next 5-10 years therefore investments should pay back during this period in time... Why your customers buy new cars, factories, houses?... I'm not "preaching" for Vista - I just like it :) If you and your customer do not like it and do not see how its purchase and installation can pay back and bring good profits - do not use it :) Again, I just like it as great modern mature OS software... I like it by heart and eyes, and I neglect all the other issues :) That's it I can tell about it. John, sorry for my being so short in my words, and not-informative, and probably not-convincing for you and your customers... You can try to avoid using this "MS-bulldozer"... I'd better drive it/ride on it :) Thanks... From Mwp.Reid at qub.ac.uk Thu Jan 10 03:31:46 2008 From: Mwp.Reid at qub.ac.uk (Martin W Reid) Date: Thu, 10 Jan 2008 09:31:46 +0000 Subject: [AccessD] Access 2007 In-Reply-To: <000d01c85307$6e245350$6401a8c0@nant> References: <00a801c852e7$7b5c2ae0$657aa8c0@M90>, <000d01c85307$6e245350$6401a8c0@nant> Message-ID: At the end of the day software is just a tool to help get the job done. Like everything else you pick the best tool for the job. In my case that's Office 2007 because we are building a 30,000 user SharePoint site. Office 2007 and Access 2007 tie everything together for us in a good way. Thus the right tools for the current job. If something else turns up that does what we need better we will look at it. Our users without exception all like Office 2007 including the ribbons. Again a case of its only a tool to do the job and it helps them do it. That's all they are interested in. Martin PS We are not going near VISTA for at least another year. Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk From miscellany at mvps.org Thu Jan 10 04:02:23 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 10 Jan 2008 23:02:23 +1300 Subject: [AccessD] Access 2007 In-Reply-To: <00a801c852e7$7b5c2ae0$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> Message-ID: <4785ED2F.6030800@mvps.org> John, Regarding: > ... Throw in a ribbon bar that cannot be disabled ... and: > I have not found a satisfactory solution that allows me to turn off the > ribbon bars. John, I have no idea where you got this impression, and I have not seen this objection stated elsewhere. However, the fact is that there is no reason to have a Ribbon, either the default ones or your own custom ones, on your application if your don't want to. There are a number of ways to control this. If, on the other hand, you do eventually see some benenfit in this interface, and build ribbons into your applications, the users can easily collapse them when not actively using them, with a simple mouse click or keyboard shortcut. Regards Steve From paul.hartland at fsmail.net Thu Jan 10 05:47:53 2008 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 10 Jan 2008 12:47:53 +0100 (CET) Subject: [AccessD] OT - VB6 Data Environment - Changing SQL Text Of Command Object At Run Time Message-ID: <11078791.1343991199965673832.JavaMail.www@wwinf3201> To all, I have a very simple app, which uses a data environment and one command. Lets say for example the SQL text of the command at design time is SELECT MyName FROM tblPersonnel, is it possible to change the actual SQL text at run time to something else, lets say SELECT MyAddress FROM tblPersonnel. I have tried something similar and the query seems to generate ok, but when I go back to design and open the command it has the original SQL text in there. Is there anyway to modify and save the SQL text at run time. Thanks in advance for any help on this. Paul Hartland paul.hartland at fsmail.net 07730 523179 From jwcolby at colbyconsulting.com Thu Jan 10 06:49:31 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 07:49:31 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <4785ED2F.6030800@mvps.org> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> Message-ID: <001601c85387$3f41daf0$657aa8c0@M90> Steve, So tell me how you permanently disable them so they never appear when the application starts? I have menus built in to my applications. Simple, one thin line at the top of the screen. How do I get the ribbon bar to go away (never ever show) and the menu to appear? I have found no way to do that, except to pay $20 / machine to a third party to buy some aftermarket tool that does what? You say it can be done but you are not saying how. It is not really about "seeing advantages" to the ribbon, it is "seeing the value" that they provide in an 800 x 600 environment when my forms take up the whole screen and my clients don't want to upgrade every machine with a new $200 monitor in order to have a ribbon that the user does not need. We are not discussing Word or Excel here. I could give a rats patuty about the ribbon bar in those applications. If users like the ribbon bar fine, great, wonderful, have at it. I am talking about the client's DATABASE application, which they often spent hundreds of thousands to get designed exactly as they specified. It is designed expressly to channel the user. It opens and displays a specific set of options that they are allowed to have. When they click a button a specific form opens (taking up the whole screen) and allows them to do a specific thing. What is it that the ribbon provides that is so damned important that it has to be there? It hasn't been there for the last five years and the user does their job without it. The user is expressly prohibited - BY MY CLIENT!!! from doing things they are not supposed to be doing. That is the thing I think that you and Microsoft don't get. The ribbon is about allowing power users to design their own database to do specific things and "play" with their own data. My applications are the COMPANIES data. My users are the COMPANIES employees, doing the COMPANIES job in a very clear and concise manner. It is a very very VERY complex application with 200 tables, more than a hundred forms, dozens of reports, methods to import data out of attachments to emails, ways to mail merge and produce documents that can be printed, stored is specific locations on the server and attached to emails sent to people. This is NOT about the vice president of marketing "designing his own". My users have to input data in a specific order to get parent records in place in order to get child records put in place in order to get... down 6 or seven levels. We have users with very specific jobs that see only this part of the application and are not allowed to see another part of the application. There are data input people that ONLY input new claims, there are call center employees that ONLY take phone calls and talk to claimants, there are accounting people who ONLY enter expenses and balance things. NONE of them need the ribbon bar! They need to do exactly what they are told and NOT be allowed to do anything that they are not supposed to be doing! I have a complex security system in place to expressly PREVENT them from doing what they are not supposed to be doing! Now, if I were to design this same application in VB.Net would we still be having this discussion? I would design my application, there would be no ribbon bar and there would be no discussion about why my users should have or not have the ribbon bar. It would not be there, it would NEVER be there, and MS nor you would be trying to convince my client that they needed to spend tens of thousands of dollars to upgrade their monitors to have room for a ribbon bar that they expressly do NOT WANT to be there. Why does Access try to shove the ribbon bar down my throat. Access is a TOOL to get a job done, a job which I have been getting done since the mid 90s in a manner dictated to me by my clients. For MS to suddenly turn on a ribbon bar and say "too bad, LIKE IT!" is the height of HUBRIS. So, when I go Google "turn off ribbon bar permanently" I found "can't be done" and "third party applications to do this". How do I turn them off programmatically such that my applications function as they always did? Tell me this and ONE objection to Access 2007 goes away and I will quit harping on 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 Steve Schapel Sent: Thursday, January 10, 2008 5:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 John, Regarding: > ... Throw in a ribbon bar that cannot be disabled ... and: > I have not found a satisfactory solution that allows me to turn off > the ribbon bars. John, I have no idea where you got this impression, and I have not seen this objection stated elsewhere. However, the fact is that there is no reason to have a Ribbon, either the default ones or your own custom ones, on your application if your don't want to. There are a number of ways to control this. If, on the other hand, you do eventually see some benenfit in this interface, and build ribbons into your applications, the users can easily collapse them when not actively using them, with a simple mouse click or keyboard shortcut. Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Jan 10 06:55:50 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 12:55:50 -0000 Subject: [AccessD] Access 2007 In-Reply-To: <001601c85387$3f41daf0$657aa8c0@M90> Message-ID: <008f01c85388$22197310$8119fea9@LTVM> So, tell me John, do you feel strongly about this? ;-I Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 12:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Steve, So tell me how you permanently disable them so they never appear when the application starts? I have menus built in to my applications. Simple, one thin line at the top of the screen. How do I get the ribbon bar to go away (never ever show) and the menu to appear? I have found no way to do that, except to pay $20 / machine to a third party to buy some aftermarket tool that does what? You say it can be done but you are not saying how. It is not really about "seeing advantages" to the ribbon, it is "seeing the value" that they provide in an 800 x 600 environment when my forms take up the whole screen and my clients don't want to upgrade every machine with a new $200 monitor in order to have a ribbon that the user does not need. We are not discussing Word or Excel here. I could give a rats patuty about the ribbon bar in those applications. If users like the ribbon bar fine, great, wonderful, have at it. I am talking about the client's DATABASE application, which they often spent hundreds of thousands to get designed exactly as they specified. It is designed expressly to channel the user. It opens and displays a specific set of options that they are allowed to have. When they click a button a specific form opens (taking up the whole screen) and allows them to do a specific thing. What is it that the ribbon provides that is so damned important that it has to be there? It hasn't been there for the last five years and the user does their job without it. The user is expressly prohibited - BY MY CLIENT!!! from doing things they are not supposed to be doing. That is the thing I think that you and Microsoft don't get. The ribbon is about allowing power users to design their own database to do specific things and "play" with their own data. My applications are the COMPANIES data. My users are the COMPANIES employees, doing the COMPANIES job in a very clear and concise manner. It is a very very VERY complex application with 200 tables, more than a hundred forms, dozens of reports, methods to import data out of attachments to emails, ways to mail merge and produce documents that can be printed, stored is specific locations on the server and attached to emails sent to people. This is NOT about the vice president of marketing "designing his own". My users have to input data in a specific order to get parent records in place in order to get child records put in place in order to get... down 6 or seven levels. We have users with very specific jobs that see only this part of the application and are not allowed to see another part of the application. There are data input people that ONLY input new claims, there are call center employees that ONLY take phone calls and talk to claimants, there are accounting people who ONLY enter expenses and balance things. NONE of them need the ribbon bar! They need to do exactly what they are told and NOT be allowed to do anything that they are not supposed to be doing! I have a complex security system in place to expressly PREVENT them from doing what they are not supposed to be doing! Now, if I were to design this same application in VB.Net would we still be having this discussion? I would design my application, there would be no ribbon bar and there would be no discussion about why my users should have or not have the ribbon bar. It would not be there, it would NEVER be there, and MS nor you would be trying to convince my client that they needed to spend tens of thousands of dollars to upgrade their monitors to have room for a ribbon bar that they expressly do NOT WANT to be there. Why does Access try to shove the ribbon bar down my throat. Access is a TOOL to get a job done, a job which I have been getting done since the mid 90s in a manner dictated to me by my clients. For MS to suddenly turn on a ribbon bar and say "too bad, LIKE IT!" is the height of HUBRIS. So, when I go Google "turn off ribbon bar permanently" I found "can't be done" and "third party applications to do this". How do I turn them off programmatically such that my applications function as they always did? Tell me this and ONE objection to Access 2007 goes away and I will quit harping on 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 Steve Schapel Sent: Thursday, January 10, 2008 5:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 John, Regarding: > ... Throw in a ribbon bar that cannot be disabled ... and: > I have not found a satisfactory solution that allows me to turn off > the ribbon bars. John, I have no idea where you got this impression, and I have not seen this objection stated elsewhere. However, the fact is that there is no reason to have a Ribbon, either the default ones or your own custom ones, on your application if your don't want to. There are a number of ways to control this. If, on the other hand, you do eventually see some benenfit in this interface, and build ribbons into your applications, the users can easily collapse them when not actively using them, with a simple mouse click or keyboard shortcut. Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Thu Jan 10 07:03:02 2008 From: robert at servicexp.com (Robert) Date: Thu, 10 Jan 2008 08:03:02 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <001601c85387$3f41daf0$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> Message-ID: <47861786.4070301@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A little stressed John? Man you need to chill out... WBR ~Robert jwcolby wrote: > Steve, > > So tell me how you permanently disable them so they never appear when the > application starts? I have menus built in to my applications. Simple, one > thin line at the top of the screen. How do I get the ribbon bar to go away > (never ever show) and the menu to appear? > > I have found no way to do that, except to pay $20 / machine to a third party > to buy some aftermarket tool that does what? > > You say it can be done but you are not saying how. > > It is not really about "seeing advantages" to the ribbon, it is "seeing the > value" that they provide in an 800 x 600 environment when my forms take up > the whole screen and my clients don't want to upgrade every machine with a > new $200 monitor in order to have a ribbon that the user does not need. > > We are not discussing Word or Excel here. I could give a rats patuty about > the ribbon bar in those applications. If users like the ribbon bar fine, > great, wonderful, have at it. > > I am talking about the client's DATABASE application, which they often spent > hundreds of thousands to get designed exactly as they specified. It is > designed expressly to channel the user. It opens and displays a specific > set of options that they are allowed to have. When they click a button a > specific form opens (taking up the whole screen) and allows them to do a > specific thing. What is it that the ribbon provides that is so damned > important that it has to be there? It hasn't been there for the last five > years and the user does their job without it. The user is expressly > prohibited - BY MY CLIENT!!! from doing things they are not supposed to be > doing. > > That is the thing I think that you and Microsoft don't get. The ribbon is > about allowing power users to design their own database to do specific > things and "play" with their own data. My applications are the COMPANIES > data. My users are the COMPANIES employees, doing the COMPANIES job in a > very clear and concise manner. It is a very very VERY complex application > with 200 tables, more than a hundred forms, dozens of reports, methods to > import data out of attachments to emails, ways to mail merge and produce > documents that can be printed, stored is specific locations on the server > and attached to emails sent to people. This is NOT about the vice president > of marketing "designing his own". > > My users have to input data in a specific order to get parent records in > place in order to get child records put in place in order to get... down 6 > or seven levels. We have users with very specific jobs that see only this > part of the application and are not allowed to see another part of the > application. There are data input people that ONLY input new claims, there > are call center employees that ONLY take phone calls and talk to claimants, > there are accounting people who ONLY enter expenses and balance things. > NONE of them need the ribbon bar! They need to do exactly what they are > told and NOT be allowed to do anything that they are not supposed to be > doing! I have a complex security system in place to expressly PREVENT them > from doing what they are not supposed to be doing! > > Now, if I were to design this same application in VB.Net would we still be > having this discussion? I would design my application, there would be no > ribbon bar and there would be no discussion about why my users should have > or not have the ribbon bar. It would not be there, it would NEVER be there, > and MS nor you would be trying to convince my client that they needed to > spend tens of thousands of dollars to upgrade their monitors to have room > for a ribbon bar that they expressly do NOT WANT to be there. > > Why does Access try to shove the ribbon bar down my throat. Access is a > TOOL to get a job done, a job which I have been getting done since the mid > 90s in a manner dictated to me by my clients. For MS to suddenly turn on a > ribbon bar and say "too bad, LIKE IT!" is the height of HUBRIS. > > So, when I go Google "turn off ribbon bar permanently" I found "can't be > done" and "third party applications to do this". How do I turn them off > programmatically such that my applications function as they always did? > Tell me this and ONE objection to Access 2007 goes away and I will quit > harping on 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 Steve Schapel > Sent: Thursday, January 10, 2008 5:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 > > John, > > Regarding: >> ... Throw in a ribbon bar that cannot be disabled > > ... and: >> I have not found a satisfactory solution that allows me to turn off >> the ribbon bars. > > John, I have no idea where you got this impression, and I have not seen this > objection stated elsewhere. However, the fact is that there is no reason to > have a Ribbon, either the default ones or your own custom ones, on your > application if your don't want to. There are a number of ways to control > this. > > If, on the other hand, you do eventually see some benenfit in this > interface, and build ribbons into your applications, the users can easily > collapse them when not actively using them, with a simple mouse click or > keyboard shortcut. > > Regards > Steve > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhheG72dSYCwH8FQRAtTqAJ9zxrXNJhuCTXAW9PMhjHUnpHed3QCeL1BL yAX6NbOfo8dDp2GMli2h/m4= =psq4 -----END PGP SIGNATURE----- From mmattys at rochester.rr.com Thu Jan 10 07:27:51 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 10 Jan 2008 08:27:51 -0500 Subject: [AccessD] Access 2007 References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com> Message-ID: <002901c8538c$9a86ee00$0202a8c0@Laptop> No, I don't think so. While it might appear that the whole thing was aimed at Steve, it can be also read without such sensitivity. Steve can answer the 'how' question himself. Otherwise, I agree with all of John's reasoning. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Robert" To: "Access Developers discussion and problem solving" Sent: Thursday, January 10, 2008 8:03 AM Subject: Re: [AccessD] Access 2007 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A little stressed John? Man you need to chill out... > > WBR > ~Robert From jwcolby at colbyconsulting.com Thu Jan 10 07:41:50 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 08:41:50 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <47861786.4070301@servicexp.com> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org><001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com> Message-ID: <001a01c8538e$8e24ffb0$657aa8c0@M90> LOL, No I don't need to chill out, I need someone to tell me how to get rid of the damned ribbon bar or stop telling me how great Office 2007 is (when I can't turn it off). > John, I have no idea where you got this impression, and I have not > seen this objection stated elsewhere. However, the fact is that there > is no reason to have a Ribbon, either the default ones or your own > custom ones, on your application if your don't want to. There are a > number of ways to control this. And those ways would be....???? >And I have seen this objection stated elsewhere. Read this (I just stumbled across) and found amusing. http://www.musicalnerdery.com/nerdery/unequivocal-undeniable-irrefutable-pro of-that-the-new-office-2007-interface-sucks.html and this http://www.musicalnerdery.com/nerdery/corporate-hq-saves-the-day.html ;-) And don't rant on me about how it DOESN'T suck, I am not saying it does (or doesn't), I truly don't have an opinion because I don't use it yet. I am just saying I want it gone from my applications. So there ya go, and now I can "chill out". 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 Robert Sent: Thursday, January 10, 2008 8:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A little stressed John? Man you need to chill out... WBR ~Robert jwcolby wrote: > Steve, > > So tell me how you permanently disable them so they never appear when > the application starts? I have menus built in to my applications. > Simple, one thin line at the top of the screen. How do I get the > ribbon bar to go away (never ever show) and the menu to appear? > > I have found no way to do that, except to pay $20 / machine to a third > party to buy some aftermarket tool that does what? > > You say it can be done but you are not saying how. > > It is not really about "seeing advantages" to the ribbon, it is > "seeing the value" that they provide in an 800 x 600 environment when > my forms take up the whole screen and my clients don't want to upgrade > every machine with a new $200 monitor in order to have a ribbon that the user does not need. > > We are not discussing Word or Excel here. I could give a rats patuty > about the ribbon bar in those applications. If users like the ribbon > bar fine, great, wonderful, have at it. > > I am talking about the client's DATABASE application, which they often > spent hundreds of thousands to get designed exactly as they specified. > It is designed expressly to channel the user. It opens and displays a > specific set of options that they are allowed to have. When they > click a button a specific form opens (taking up the whole screen) and > allows them to do a specific thing. What is it that the ribbon > provides that is so damned important that it has to be there? It > hasn't been there for the last five years and the user does their job > without it. The user is expressly prohibited - BY MY CLIENT!!! from > doing things they are not supposed to be doing. > > That is the thing I think that you and Microsoft don't get. The > ribbon is about allowing power users to design their own database to > do specific things and "play" with their own data. My applications > are the COMPANIES data. My users are the COMPANIES employees, doing > the COMPANIES job in a very clear and concise manner. It is a very > very VERY complex application with 200 tables, more than a hundred > forms, dozens of reports, methods to import data out of attachments to > emails, ways to mail merge and produce documents that can be printed, > stored is specific locations on the server and attached to emails sent > to people. This is NOT about the vice president of marketing "designing his own". > > My users have to input data in a specific order to get parent records > in place in order to get child records put in place in order to get... > down 6 or seven levels. We have users with very specific jobs that > see only this part of the application and are not allowed to see > another part of the application. There are data input people that > ONLY input new claims, there are call center employees that ONLY take > phone calls and talk to claimants, there are accounting people who ONLY enter expenses and balance things. > NONE of them need the ribbon bar! They need to do exactly what they > are told and NOT be allowed to do anything that they are not supposed > to be doing! I have a complex security system in place to expressly > PREVENT them from doing what they are not supposed to be doing! > > Now, if I were to design this same application in VB.Net would we > still be having this discussion? I would design my application, there > would be no ribbon bar and there would be no discussion about why my > users should have or not have the ribbon bar. It would not be there, > it would NEVER be there, and MS nor you would be trying to convince my > client that they needed to spend tens of thousands of dollars to > upgrade their monitors to have room for a ribbon bar that they expressly do NOT WANT to be there. > > Why does Access try to shove the ribbon bar down my throat. Access is > a TOOL to get a job done, a job which I have been getting done since > the mid 90s in a manner dictated to me by my clients. For MS to > suddenly turn on a ribbon bar and say "too bad, LIKE IT!" is the height of HUBRIS. > > So, when I go Google "turn off ribbon bar permanently" I found "can't > be done" and "third party applications to do this". How do I turn > them off programmatically such that my applications function as they always did? > Tell me this and ONE objection to Access 2007 goes away and I will > quit harping on it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Jan 10 07:42:47 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 08:42:47 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <002901c8538c$9a86ee00$0202a8c0@Laptop> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org><001601c85387$3f41daf0$657aa8c0@M90><47861786.4070301@servicexp.com> <002901c8538c$9a86ee00$0202a8c0@Laptop> Message-ID: <001b01c8538e$b0102a50$657aa8c0@M90> And it was NOT aimed at anyone. 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 Michael R Mattys Sent: Thursday, January 10, 2008 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 No, I don't think so. While it might appear that the whole thing was aimed at Steve, it can be also read without such sensitivity. Steve can answer the 'how' question himself. Otherwise, I agree with all of John's reasoning. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Robert" To: "Access Developers discussion and problem solving" Sent: Thursday, January 10, 2008 8:03 AM Subject: Re: [AccessD] Access 2007 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A little stressed John? Man you need to chill out... > > WBR > ~Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 10 07:44:04 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 08:44:04 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <008f01c85388$22197310$8119fea9@LTVM> References: <001601c85387$3f41daf0$657aa8c0@M90> <008f01c85388$22197310$8119fea9@LTVM> Message-ID: <001c01c8538e$ddccd830$657aa8c0@M90> Naw, just a water cooler discussion! ;-) This group just happens to be my water cooler. 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 Max Wanadoo Sent: Thursday, January 10, 2008 7:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 So, tell me John, do you feel strongly about this? ;-I Max From robert at servicexp.com Thu Jan 10 07:50:02 2008 From: robert at servicexp.com (Robert) Date: Thu, 10 Jan 2008 08:50:02 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <002901c8538c$9a86ee00$0202a8c0@Laptop> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com> <002901c8538c$9a86ee00$0202a8c0@Laptop> Message-ID: <4786228A.9020805@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael, I have no problem with John's reasoning for his points or the passion in which he delivers it. My concern is that John maybe somehow tacking this silly topic personally. Sure you can separate/disconnect emotion from it (from most things), but nonetheless it's there. I didn't mean what I said to be derogatory (although it looks that way (Sorry John)), just with concern, stress can eat us alive without us evening realizing it. This topic or it's direction doesn't seem to warrant it's elevation for anyone. WBR ~Robert Michael R Mattys wrote: > No, I don't think so. While it might appear that the whole thing > was aimed at Steve, it can be also read without such sensitivity. > Steve can answer the 'how' question himself. > Otherwise, I agree with all of John's reasoning. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Robert" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, January 10, 2008 8:03 AM > Subject: Re: [AccessD] Access 2007 > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> A little stressed John? Man you need to chill out... >> >> WBR >> ~Robert > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhiKK72dSYCwH8FQRApIBAJ46olvZmF5K16eJ4DuBn1RVRR7GvwCfR/MF UjmDyBjJurFASes945IgUIU= =YYqK -----END PGP SIGNATURE----- From max.wanadoo at gmail.com Thu Jan 10 08:01:03 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 14:01:03 -0000 Subject: [AccessD] Access 2007 In-Reply-To: <4786228A.9020805@servicexp.com> Message-ID: <00bf01c85391$3e881c50$8119fea9@LTVM> Oh I don't know about that. I always read JC's postings if only for amusement! No one can say he doesn't care! He wants the best for his clients and what is wrong with that? Also, and incidentally, it does throw up a lot of stuff without which many other people may have had to find the answers to the hard way. Keep going JC. I got some great ones for you on Friday (Is it Friday in Oz yet?) Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Thursday, January 10, 2008 1:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael, I have no problem with John's reasoning for his points or the passion in which he delivers it. My concern is that John maybe somehow tacking this silly topic personally. Sure you can separate/disconnect emotion from it (from most things), but nonetheless it's there. I didn't mean what I said to be derogatory (although it looks that way (Sorry John)), just with concern, stress can eat us alive without us evening realizing it. This topic or it's direction doesn't seem to warrant it's elevation for anyone. WBR ~Robert Michael R Mattys wrote: > No, I don't think so. While it might appear that the whole thing was > aimed at Steve, it can be also read without such sensitivity. > Steve can answer the 'how' question himself. > Otherwise, I agree with all of John's reasoning. > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Robert" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, January 10, 2008 8:03 AM > Subject: Re: [AccessD] Access 2007 > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> A little stressed John? Man you need to chill out... >> >> WBR >> ~Robert > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhiKK72dSYCwH8FQRApIBAJ46olvZmF5K16eJ4DuBn1RVRR7GvwCfR/MF UjmDyBjJurFASes945IgUIU= =YYqK -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Thu Jan 10 08:01:46 2008 From: robert at servicexp.com (Robert) Date: Thu, 10 Jan 2008 09:01:46 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <001a01c8538e$8e24ffb0$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org><001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com> <001a01c8538e$8e24ffb0$657aa8c0@M90> Message-ID: <4786254A.1090004@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 lol, Cute, :-) WBR ~Robert jwcolby wrote: > LOL, No I don't need to chill out, I need someone to tell me how to get rid > of the damned ribbon bar or stop telling me how great Office 2007 is (when I > can't turn it off). > >> John, I have no idea where you got this impression, and I have not >> seen this objection stated elsewhere. However, the fact is that there >> is no reason to have a Ribbon, either the default ones or your own >> custom ones, on your application if your don't want to. There are a >> number of ways to control this. > > And those ways would be....???? > >> And I have seen this objection stated elsewhere. > > Read this (I just stumbled across) and found amusing. > > http://www.musicalnerdery.com/nerdery/unequivocal-undeniable-irrefutable-pro > of-that-the-new-office-2007-interface-sucks.html > > and this > > http://www.musicalnerdery.com/nerdery/corporate-hq-saves-the-day.html > > ;-) > > And don't rant on me about how it DOESN'T suck, I am not saying it does (or > doesn't), I truly don't have an opinion because I don't use it yet. I am > just saying I want it gone from my applications. > > So there ya go, and now I can "chill out". > > 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 Robert > Sent: Thursday, January 10, 2008 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A little stressed John? Man you need to chill out... > > WBR > ~Robert > > jwcolby wrote: >> Steve, >> >> So tell me how you permanently disable them so they never appear when >> the application starts? I have menus built in to my applications. >> Simple, one thin line at the top of the screen. How do I get the >> ribbon bar to go away (never ever show) and the menu to appear? >> >> I have found no way to do that, except to pay $20 / machine to a third >> party to buy some aftermarket tool that does what? >> >> You say it can be done but you are not saying how. >> >> It is not really about "seeing advantages" to the ribbon, it is >> "seeing the value" that they provide in an 800 x 600 environment when >> my forms take up the whole screen and my clients don't want to upgrade >> every machine with a new $200 monitor in order to have a ribbon that the > user does not need. >> We are not discussing Word or Excel here. I could give a rats patuty >> about the ribbon bar in those applications. If users like the ribbon >> bar fine, great, wonderful, have at it. >> >> I am talking about the client's DATABASE application, which they often >> spent hundreds of thousands to get designed exactly as they specified. >> It is designed expressly to channel the user. It opens and displays a >> specific set of options that they are allowed to have. When they >> click a button a specific form opens (taking up the whole screen) and >> allows them to do a specific thing. What is it that the ribbon >> provides that is so damned important that it has to be there? It >> hasn't been there for the last five years and the user does their job >> without it. The user is expressly prohibited - BY MY CLIENT!!! from >> doing things they are not supposed to be doing. >> >> That is the thing I think that you and Microsoft don't get. The >> ribbon is about allowing power users to design their own database to >> do specific things and "play" with their own data. My applications >> are the COMPANIES data. My users are the COMPANIES employees, doing >> the COMPANIES job in a very clear and concise manner. It is a very >> very VERY complex application with 200 tables, more than a hundred >> forms, dozens of reports, methods to import data out of attachments to >> emails, ways to mail merge and produce documents that can be printed, >> stored is specific locations on the server and attached to emails sent >> to people. This is NOT about the vice president of marketing "designing > his own". >> My users have to input data in a specific order to get parent records >> in place in order to get child records put in place in order to get... >> down 6 or seven levels. We have users with very specific jobs that >> see only this part of the application and are not allowed to see >> another part of the application. There are data input people that >> ONLY input new claims, there are call center employees that ONLY take >> phone calls and talk to claimants, there are accounting people who ONLY > enter expenses and balance things. >> NONE of them need the ribbon bar! They need to do exactly what they >> are told and NOT be allowed to do anything that they are not supposed >> to be doing! I have a complex security system in place to expressly >> PREVENT them from doing what they are not supposed to be doing! >> >> Now, if I were to design this same application in VB.Net would we >> still be having this discussion? I would design my application, there >> would be no ribbon bar and there would be no discussion about why my >> users should have or not have the ribbon bar. It would not be there, >> it would NEVER be there, and MS nor you would be trying to convince my >> client that they needed to spend tens of thousands of dollars to >> upgrade their monitors to have room for a ribbon bar that they expressly > do NOT WANT to be there. >> Why does Access try to shove the ribbon bar down my throat. Access is >> a TOOL to get a job done, a job which I have been getting done since >> the mid 90s in a manner dictated to me by my clients. For MS to >> suddenly turn on a ribbon bar and say "too bad, LIKE IT!" is the height of > HUBRIS. >> So, when I go Google "turn off ribbon bar permanently" I found "can't >> be done" and "third party applications to do this". How do I turn >> them off programmatically such that my applications function as they > always did? >> Tell me this and ONE objection to Access 2007 goes away and I will >> quit harping on it. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhiVK72dSYCwH8FQRAiJTAKCnKr/obbm8T5hgR+WdTVbYFbWpbACgsDQs lPKt3hYuIR5MsxHq95Y8OZk= =miba -----END PGP SIGNATURE----- From robert at servicexp.com Thu Jan 10 08:03:58 2008 From: robert at servicexp.com (Robert) Date: Thu, 10 Jan 2008 09:03:58 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <001a01c8538e$8e24ffb0$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org><001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com> <001a01c8538e$8e24ffb0$657aa8c0@M90> Message-ID: <478625CE.5020208@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So John, did you press it? .. :-) WBR ~Robert jwcolby wrote: > LOL, No I don't need to chill out, I need someone to tell me how to get rid > of the damned ribbon bar or stop telling me how great Office 2007 is (when I > can't turn it off). > >> John, I have no idea where you got this impression, and I have not >> seen this objection stated elsewhere. However, the fact is that there >> is no reason to have a Ribbon, either the default ones or your own >> custom ones, on your application if your don't want to. There are a >> number of ways to control this. > > And those ways would be....???? > >> And I have seen this objection stated elsewhere. > > Read this (I just stumbled across) and found amusing. > > http://www.musicalnerdery.com/nerdery/unequivocal-undeniable-irrefutable-pro > of-that-the-new-office-2007-interface-sucks.html > > and this > > http://www.musicalnerdery.com/nerdery/corporate-hq-saves-the-day.html > > ;-) > > And don't rant on me about how it DOESN'T suck, I am not saying it does (or > doesn't), I truly don't have an opinion because I don't use it yet. I am > just saying I want it gone from my applications. > > So there ya go, and now I can "chill out". > > 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 Robert > Sent: Thursday, January 10, 2008 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A little stressed John? Man you need to chill out... > > WBR > ~Robert > > jwcolby wrote: >> Steve, >> >> So tell me how you permanently disable them so they never appear when >> the application starts? I have menus built in to my applications. >> Simple, one thin line at the top of the screen. How do I get the >> ribbon bar to go away (never ever show) and the menu to appear? >> >> I have found no way to do that, except to pay $20 / machine to a third >> party to buy some aftermarket tool that does what? >> >> You say it can be done but you are not saying how. >> >> It is not really about "seeing advantages" to the ribbon, it is >> "seeing the value" that they provide in an 800 x 600 environment when >> my forms take up the whole screen and my clients don't want to upgrade >> every machine with a new $200 monitor in order to have a ribbon that the > user does not need. >> We are not discussing Word or Excel here. I could give a rats patuty >> about the ribbon bar in those applications. If users like the ribbon >> bar fine, great, wonderful, have at it. >> >> I am talking about the client's DATABASE application, which they often >> spent hundreds of thousands to get designed exactly as they specified. >> It is designed expressly to channel the user. It opens and displays a >> specific set of options that they are allowed to have. When they >> click a button a specific form opens (taking up the whole screen) and >> allows them to do a specific thing. What is it that the ribbon >> provides that is so damned important that it has to be there? It >> hasn't been there for the last five years and the user does their job >> without it. The user is expressly prohibited - BY MY CLIENT!!! from >> doing things they are not supposed to be doing. >> >> That is the thing I think that you and Microsoft don't get. The >> ribbon is about allowing power users to design their own database to >> do specific things and "play" with their own data. My applications >> are the COMPANIES data. My users are the COMPANIES employees, doing >> the COMPANIES job in a very clear and concise manner. It is a very >> very VERY complex application with 200 tables, more than a hundred >> forms, dozens of reports, methods to import data out of attachments to >> emails, ways to mail merge and produce documents that can be printed, >> stored is specific locations on the server and attached to emails sent >> to people. This is NOT about the vice president of marketing "designing > his own". >> My users have to input data in a specific order to get parent records >> in place in order to get child records put in place in order to get... >> down 6 or seven levels. We have users with very specific jobs that >> see only this part of the application and are not allowed to see >> another part of the application. There are data input people that >> ONLY input new claims, there are call center employees that ONLY take >> phone calls and talk to claimants, there are accounting people who ONLY > enter expenses and balance things. >> NONE of them need the ribbon bar! They need to do exactly what they >> are told and NOT be allowed to do anything that they are not supposed >> to be doing! I have a complex security system in place to expressly >> PREVENT them from doing what they are not supposed to be doing! >> >> Now, if I were to design this same application in VB.Net would we >> still be having this discussion? I would design my application, there >> would be no ribbon bar and there would be no discussion about why my >> users should have or not have the ribbon bar. It would not be there, >> it would NEVER be there, and MS nor you would be trying to convince my >> client that they needed to spend tens of thousands of dollars to >> upgrade their monitors to have room for a ribbon bar that they expressly > do NOT WANT to be there. >> Why does Access try to shove the ribbon bar down my throat. Access is >> a TOOL to get a job done, a job which I have been getting done since >> the mid 90s in a manner dictated to me by my clients. For MS to >> suddenly turn on a ribbon bar and say "too bad, LIKE IT!" is the height of > HUBRIS. >> So, when I go Google "turn off ribbon bar permanently" I found "can't >> be done" and "third party applications to do this". How do I turn >> them off programmatically such that my applications function as they > always did? >> Tell me this and ONE objection to Access 2007 goes away and I will >> quit harping on it. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhiXO72dSYCwH8FQRAmd+AJ45hClFLYdcUXVPIO7VsfGRx5WSoACfWy9p FnIOkBGk+BzcV7wb/ObANgo= =hZk/ -----END PGP SIGNATURE----- From jwcolby at colbyconsulting.com Thu Jan 10 08:11:39 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 09:11:39 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <4786254A.1090004@servicexp.com> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org><001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com><001a01c8538e$8e24ffb0$657aa8c0@M90> <4786254A.1090004@servicexp.com> Message-ID: <002301c85392$b8aac8b0$657aa8c0@M90> 8-) He's obviously another lost soul who gets irritated with the stuff we have to put up with. ;-) 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 Robert Sent: Thursday, January 10, 2008 9:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 lol, Cute, :-) WBR ~Robert From jwcolby at colbyconsulting.com Thu Jan 10 08:16:53 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 09:16:53 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <478625CE.5020208@servicexp.com> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org><001601c85387$3f41daf0$657aa8c0@M90> <47861786.4070301@servicexp.com><001a01c8538e$8e24ffb0$657aa8c0@M90> <478625CE.5020208@servicexp.com> Message-ID: <002401c85393$73b1f700$657aa8c0@M90> Did I press what? 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 Robert Sent: Thursday, January 10, 2008 9:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So John, did you press it? .. :-) WBR ~Robert jwcolby wrote: > LOL, No I don't need to chill out, I need someone to tell me how to > get rid of the damned ribbon bar or stop telling me how great Office 2007 is (when I > can't turn it off). > >> John, I have no idea where you got this impression, and I have not >> seen this objection stated elsewhere. However, the fact is that >> there is no reason to have a Ribbon, either the default ones or your >> own custom ones, on your application if your don't want to. There >> are a number of ways to control this. > > And those ways would be....???? > >> And I have seen this objection stated elsewhere. > > Read this (I just stumbled across) and found amusing. > > http://www.musicalnerdery.com/nerdery/unequivocal-undeniable-irrefutab > le-pro of-that-the-new-office-2007-interface-sucks.html > > and this > > http://www.musicalnerdery.com/nerdery/corporate-hq-saves-the-day.html > > ;-) > > And don't rant on me about how it DOESN'T suck, I am not saying it > does (or doesn't), I truly don't have an opinion because I don't use > it yet. I am just saying I want it gone from my applications. > > So there ya go, and now I can "chill out". > > 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 Robert > Sent: Thursday, January 10, 2008 8:03 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A little stressed John? Man you need to chill out... > > WBR > ~Robert > > jwcolby wrote: >> Steve, >> >> So tell me how you permanently disable them so they never appear when >> the application starts? I have menus built in to my applications. >> Simple, one thin line at the top of the screen. How do I get the >> ribbon bar to go away (never ever show) and the menu to appear? >> >> I have found no way to do that, except to pay $20 / machine to a >> third party to buy some aftermarket tool that does what? >> >> You say it can be done but you are not saying how. >> >> It is not really about "seeing advantages" to the ribbon, it is >> "seeing the value" that they provide in an 800 x 600 environment when >> my forms take up the whole screen and my clients don't want to >> upgrade every machine with a new $200 monitor in order to have a >> ribbon that the > user does not need. >> We are not discussing Word or Excel here. I could give a rats patuty >> about the ribbon bar in those applications. If users like the ribbon >> bar fine, great, wonderful, have at it. >> >> I am talking about the client's DATABASE application, which they >> often spent hundreds of thousands to get designed exactly as they specified. >> It is designed expressly to channel the user. It opens and displays >> a specific set of options that they are allowed to have. When they >> click a button a specific form opens (taking up the whole screen) and >> allows them to do a specific thing. What is it that the ribbon >> provides that is so damned important that it has to be there? It >> hasn't been there for the last five years and the user does their job >> without it. The user is expressly prohibited - BY MY CLIENT!!! from >> doing things they are not supposed to be doing. >> >> That is the thing I think that you and Microsoft don't get. The >> ribbon is about allowing power users to design their own database to >> do specific things and "play" with their own data. My applications >> are the COMPANIES data. My users are the COMPANIES employees, doing >> the COMPANIES job in a very clear and concise manner. It is a very >> very VERY complex application with 200 tables, more than a hundred >> forms, dozens of reports, methods to import data out of attachments >> to emails, ways to mail merge and produce documents that can be >> printed, stored is specific locations on the server and attached to >> emails sent to people. This is NOT about the vice president of >> marketing "designing > his own". >> My users have to input data in a specific order to get parent records >> in place in order to get child records put in place in order to get... >> down 6 or seven levels. We have users with very specific jobs that >> see only this part of the application and are not allowed to see >> another part of the application. There are data input people that >> ONLY input new claims, there are call center employees that ONLY take >> phone calls and talk to claimants, there are accounting people who >> ONLY > enter expenses and balance things. >> NONE of them need the ribbon bar! They need to do exactly what they >> are told and NOT be allowed to do anything that they are not supposed >> to be doing! I have a complex security system in place to expressly >> PREVENT them from doing what they are not supposed to be doing! >> >> Now, if I were to design this same application in VB.Net would we >> still be having this discussion? I would design my application, >> there would be no ribbon bar and there would be no discussion about >> why my users should have or not have the ribbon bar. It would not be >> there, it would NEVER be there, and MS nor you would be trying to >> convince my client that they needed to spend tens of thousands of >> dollars to upgrade their monitors to have room for a ribbon bar that >> they expressly > do NOT WANT to be there. >> Why does Access try to shove the ribbon bar down my throat. Access >> is a TOOL to get a job done, a job which I have been getting done >> since the mid 90s in a manner dictated to me by my clients. For MS >> to suddenly turn on a ribbon bar and say "too bad, LIKE IT!" is the >> height of > HUBRIS. >> So, when I go Google "turn off ribbon bar permanently" I found "can't >> be done" and "third party applications to do this". How do I turn >> them off programmatically such that my applications function as they > always did? >> Tell me this and ONE objection to Access 2007 goes away and I will >> quit harping on it. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhiXO72dSYCwH8FQRAmd+AJ45hClFLYdcUXVPIO7VsfGRx5WSoACfWy9p FnIOkBGk+BzcV7wb/ObANgo= =hZk/ -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 10 08:24:07 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 09:24:07 -0500 Subject: [AccessD] Access 2007 In-Reply-To: References: Message-ID: <002501c85394$7627e390$657aa8c0@M90> Well, you might have convinced me. I might try doing a dual boot to see what Vista does for me. On the other hand... that would mean reinstalling my lifeblood applications. I guess not. OTOH, with Windows Home Server I can simply back up my laptop machine, do an install over the top of my existing system and pray. If it doesn't work then I can use the WHS to get back to XP. Or I can go to work and forget the whole thing. ;-) 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: Thursday, January 10, 2008 3:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2007 Hi John, Shamil et al John is right, clients are very conservative and only invest money for a reason. However, I have to back up Shamil - Vista is so much better designed that for pure design reasons it is a pleasure to work with. I truly dislike the Fisher-Price default look of Windows XP and have had to switch to the "Classic Look" to relax. With Vista, MS has removed the advantage Apple had of a better and nicer looking UI. There are issues, of course, but I'm confident they will be solved. I haven't done any comparing speed tests with dual core machines but Shamil's results look promising. And wouldn't it be strange otherwise? Why shouldn't MS developers try hard to improve and optimize the core? I've just had a new Lenovo dual core for Vista with 4 GB ram and a high-end graphic card. It rocks - my techie colleague was amazed - and it again stresses what I've written several times: don't waste time on upgrading old hardware, buy new hardware for a new OS, these days the cost of ram is so low that I can hardly believe it. When I read this discussion I couldn't help making a comparison to a test drive I took last week of the Toyota Prius, a hybrid car you may know. It struck me, leaving the car at the dealer, that from that moment all other "normal" cars appear totally outdated. This is scaring as the Prius is not a brand new model and it makes you wonder what other car manufactures are doing and why and how Toyota can be three years ahead of the competition. Well, they just produce cars that people expect - no surprises - while the Prius (and the high-end Lexus sedan, of course) exceeds your expectations. Maybe that is the situation for Vista, it is positioned beyond the current expectations of the general user to a OS. That said, we still advice clients to carefully consider if a move to Vista is advantageous (as said, it _will_ require new hardware). On the other hand, I clearly remember we gave the same advice when Windows was at 3.11 and Windows 95 was introduced .. and again when Windows NT (which also for all practical purposes did require new hardware) was introduced ... /gustav >>> shamil at users.mns.ru 10-01-2008 00:48 >>> John, I'm just trying to get developed my strong positive worldview on this imperfect world - the more I will complain about the world around me the more imperfect it will become... ...so I'd better keep hunting for the good things than complain :)... ...yes, new technologies need quite some investments both into hardware and development tools and development methodologies but the final result is rather impressive and economically (and environmentally) effective, despite the fact that being in database-centered software development for the last almost 30 years I can't say there are many new ideas but the level of the nowadays hardware and software technologies allows to do literally in hours and days what needed months and years to be developed in not that far ago past... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 1:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Shamil, The following are just a couple of interesting things I found on the subject. http://blogs.zdnet.com/Bott/?p=357 http://blogs.zdnet.com/Bott/?p=349 http://blogs.zdnet.com/Bott/?p=352 My perception is simply what I see from my own clients. I only work (so far) with companies having anywhere from 1 to 60 or so employees. These companies do not upgrade just to drive the latest and greatest. If a machine functions for it's given purpose, they may very well keep it for 8 years more. I have to PUSH these clients to buy more powerful machines and I only do so when they need them. There is nothing right or wrong about this, it is just a fact. I had a client that just retired (about a year ago) their last Windows 98 machine running Celerons and 500 megs of main memory. They only did so because the database had grown to the point where I could demonstrate UNDENIABLY that the machine itself was causing them lost productivity as they waited for the claim form to open. They went to dell and bought way powerful, way cheap low end machines with Windows XP Pro. these machines will likely suffice for another 6 years or so. This seems to be the trend in SMALL companies. It might very well be different with the IBMs and such large companies. Even there though there are compatibility issues that will be weighed. Small companies "just leap" when they are ready to buy. They tend to not think much about "will my application(s) run under...". I have to be on top of things like the ribbon bar fiasco and warn them that they will have a problem if they go there. At any rate, I am a small business and I am much more careful about what I do than most. I do not do anything that will cost me three weeks of inability to do my work because I will starve to death if I lose three works work. As an example, take the move to Office 2007. I cannot "just switch" because I have to do 8 hours or more of paying work every day. The ribbon bar and all that crap would cause me untold lost billing time. If and when I do it I will do so on a virtual machine. I will use it for email, for writing docs, for playing with my few spreadsheets, and I will PLAY with Access 2007 to become familiar with it. Slowly, I will come up to speed, and slowly I will switch to using it (assuming my clients do of course). >>I like its graphics... :) >>I like the feature of 3d view of windows of currently running apps... To be honest I turn off all the "eye candy" just because it annoys me and slows down my machine. Vista is very much about eye candy. I just don't care about it, not that it is wrong if you like it, I just don't. I like new things, but I cannot afford to just leap without thinking about my income, which will suffer if I can't do my work and my clients get irritated with 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 Shamil Salakhetdinov Sent: Wednesday, January 09, 2008 4:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 <<< LOL, well there must be something wrong since the whole world is not buying in. >>> Russia is a Wonderland you know :) (Just kidding...) <<< Vista just has a reputation of creating a ton of problems, many of them in the Digital Rights world, >>> Well, I do use software from official MSDN and it works well... The issue of not being able to read DVDs with the copies of my files I made on my desktop is solved here with using FAR manager - it does read these DVDs well under Vista... The issues with making setups of custom software for Vista e.g. by using INNO-Setup are getting solved "automagically" by INNO-setup creating proper manifest files... <<< many more in performance. >>> In fact under Vista on the same Dual Core Pentium my software runs faster than under W2k3... <<< You do, so tell us, what does Vista do for you that is the "killer app" that makes you think it rocks? >>> I like its graphics... :) I like the feature of 3d view of windows of currently running apps... As I wrote above under vista everything I use usually runs faster on the same dual core processor... :) I just like it because as far as I see it's a very good professional work of MS engineers - I just like it... <<< Why would my business users (clients) pay tens of thousands of dollars to upgrade every machine in the house? >>> That's a rock stable OS for the next 5-10 years therefore investments should pay back during this period in time... Why your customers buy new cars, factories, houses?... I'm not "preaching" for Vista - I just like it :) If you and your customer do not like it and do not see how its purchase and installation can pay back and bring good profits - do not use it :) Again, I just like it as great modern mature OS software... I like it by heart and eyes, and I neglect all the other issues :) That's it I can tell about it. John, sorry for my being so short in my words, and not-informative, and probably not-convincing for you and your customers... You can try to avoid using this "MS-bulldozer"... I'd better drive it/ride on it :) Thanks... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Thu Jan 10 08:27:13 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Fri, 11 Jan 2008 00:27:13 +1000 (EST) Subject: [AccessD] Access 2007 Message-ID: <20080111002713.DLQ23430@dommail.onthenet.com.au> 23 minutes into Friday down under here.... and I am off for a few hours .... borge ---- Original message ---- >Date: Thu, 10 Jan 2008 14:01:03 -0000 >From: "Max Wanadoo" >Subject: Re: [AccessD] Access 2007 >To: "'Access Developers discussion and problem solving'" > >Oh I don't know about that. I always read JC's postings if only for >amusement! >No one can say he doesn't care! He wants the best for his clients and what >is wrong with that? >Also, and incidentally, it does throw up a lot of stuff without which many >other people may have had to find the answers to the hard way. > >Keep going JC. I got some great ones for you on Friday (Is it Friday in Oz >yet?) > >Max > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert >Sent: Thursday, January 10, 2008 1:50 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Access 2007 > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Michael, >I have no problem with John's reasoning for his points or the passion in >which he delivers it. My concern is that John maybe somehow tacking this >silly topic personally. Sure you can separate/disconnect emotion from it >(from most things), but nonetheless it's there. > >I didn't mean what I said to be derogatory (although it looks that way >(Sorry John)), just with concern, stress can eat us alive without us evening >realizing it. This topic or it's direction doesn't seem to warrant it's >elevation for anyone. > > > >WBR >~Robert > > > > > > > >Michael R Mattys wrote: >> No, I don't think so. While it might appear that the whole thing was >> aimed at Steve, it can be also read without such sensitivity. >> Steve can answer the 'how' question himself. >> Otherwise, I agree with all of John's reasoning. >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "Robert" >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, January 10, 2008 8:03 AM >> Subject: Re: [AccessD] Access 2007 >> >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> A little stressed John? Man you need to chill out... >>> >>> WBR >>> ~Robert >> >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.7 (MingW32) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > >iD8DBQFHhiKK72dSYCwH8FQRApIBAJ46olvZmF5K16eJ4DuBn1RVRR7GvwCf R/MF >UjmDyBjJurFASes945IgUIU= >=YYqK >-----END PGP SIGNATURE----- > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Jan 10 08:38:26 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 10 Jan 2008 06:38:26 -0800 Subject: [AccessD] Database Normalization Message-ID: <002801c85396$7621b720$0301a8c0@HAL9005> Dear List: I need a reference - preferably web - to a tutorial on database normalization - basic level preferably, to include in my book. Does anybody have a favorite? MTIA Rocky From robert at servicexp.com Thu Jan 10 08:45:51 2008 From: robert at servicexp.com (Robert) Date: Thu, 10 Jan 2008 09:45:51 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <002501c85394$7627e390$657aa8c0@M90> References: <002501c85394$7627e390$657aa8c0@M90> Message-ID: <47862F9F.8080105@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ..Having installed (on a Pent 4 2.8ghz, 1.5 gigs of ram) the Vista Biz version, and promptly (2 months) removing it, for me option 3 is the winner.... :-( I do think with a new dual core system, it maybe something to take another gander at, but then again I would have to buy 2 new printers, and scanner.. :-( WBR ~Robert jwcolby wrote: > Well, you might have convinced me. I might try doing a dual boot to see > what Vista does for me. On the other hand... that would mean reinstalling > my lifeblood applications. I guess not. > > OTOH, with Windows Home Server I can simply back up my laptop machine, do an > install over the top of my existing system and pray. If it doesn't work > then I can use the WHS to get back to XP. > > Or I can go to work and forget the whole thing. > > ;-) > > 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: Thursday, January 10, 2008 3:26 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access 2007 > > Hi John, Shamil et al > > John is right, clients are very conservative and only invest money for a > reason. However, I have to back up Shamil - Vista is so much better designed > that for pure design reasons it is a pleasure to work with. I truly dislike > the Fisher-Price default look of Windows XP and have had to switch to the > "Classic Look" to relax. With Vista, MS has removed the advantage Apple had > of a better and nicer looking UI. There are issues, of course, but I'm > confident they will be solved. > > I haven't done any comparing speed tests with dual core machines but > Shamil's results look promising. And wouldn't it be strange otherwise? Why > shouldn't MS developers try hard to improve and optimize the core? > I've just had a new Lenovo dual core for Vista with 4 GB ram and a high-end > graphic card. It rocks - my techie colleague was amazed - and it again > stresses what I've written several times: don't waste time on upgrading old > hardware, buy new hardware for a new OS, these days the cost of ram is so > low that I can hardly believe it. > > When I read this discussion I couldn't help making a comparison to a test > drive I took last week of the Toyota Prius, a hybrid car you may know. It > struck me, leaving the car at the dealer, that from that moment all other > "normal" cars appear totally outdated. This is scaring as the Prius is not a > brand new model and it makes you wonder what other car manufactures are > doing and why and how Toyota can be three years ahead of the competition. > Well, they just produce cars that people expect - no surprises - while the > Prius (and the high-end Lexus sedan, of course) exceeds your expectations. > Maybe that is the situation for Vista, it is positioned beyond the current > expectations of the general user to a OS. > > That said, we still advice clients to carefully consider if a move to Vista > is advantageous (as said, it _will_ require new hardware). On the other > hand, I clearly remember we gave the same advice when Windows was at 3.11 > and Windows 95 was introduced .. and again when Windows NT (which also for > all practical purposes did require new hardware) was introduced ... > > /gustav > >>>> shamil at users.mns.ru 10-01-2008 00:48 >>> > John, > > I'm just trying to get developed my strong positive worldview on this > imperfect world - the more I will complain about the world around me the > more imperfect it will become... > > ...so I'd better keep hunting for the good things than complain :)... > > ...yes, new technologies need quite some investments both into hardware and > development tools and development methodologies but the final result is > rather impressive and economically (and environmentally) effective, despite > the fact that being in database-centered software development for the last > almost 30 years I can't say there are many new ideas but the level of the > nowadays hardware and software technologies allows to do literally in hours > and days what needed months and years to be developed in not that far ago > past... > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, January 10, 2008 1:58 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2007 > > Shamil, > > The following are just a couple of interesting things I found on the > subject. > > http://blogs.zdnet.com/Bott/?p=357 > > http://blogs.zdnet.com/Bott/?p=349 > > http://blogs.zdnet.com/Bott/?p=352 > > > My perception is simply what I see from my own clients. I only work (so > far) with companies having anywhere from 1 to 60 or so employees. These > companies do not upgrade just to drive the latest and greatest. If a > machine functions for it's given purpose, they may very well keep it for 8 > years more. I have to PUSH these clients to buy more powerful machines and > I only do so when they need them. > > There is nothing right or wrong about this, it is just a fact. I had a > client that just retired (about a year ago) their last Windows 98 machine > running Celerons and 500 megs of main memory. They only did so because the > database had grown to the point where I could demonstrate UNDENIABLY that > the machine itself was causing them lost productivity as they waited for the > claim form to open. They went to dell and bought way powerful, way cheap > low end machines with Windows XP Pro. these machines will likely suffice > for another 6 years or so. > > This seems to be the trend in SMALL companies. It might very well be > different with the IBMs and such large companies. Even there though there > are compatibility issues that will be weighed. Small companies "just leap" > when they are ready to buy. They tend to not think much about "will my > application(s) run under...". I have to be on top of things like the ribbon > bar fiasco and warn them that they will have a problem if they go there. > > At any rate, I am a small business and I am much more careful about what I > do than most. I do not do anything that will cost me three weeks of > inability to do my work because I will starve to death if I lose three works > work. As an example, take the move to Office 2007. I cannot "just switch" > because I have to do 8 hours or more of paying work every day. The ribbon > bar and all that crap would cause me untold lost billing time. If and when > I do it I will do so on a virtual machine. I will use it for email, for > writing docs, for playing with my few spreadsheets, and I will PLAY with > Access 2007 to become familiar with it. Slowly, I will come up to speed, > and slowly I will switch to using it (assuming my clients do of course). > >>> I like its graphics... :) >>> I like the feature of 3d view of windows of currently running apps... > > To be honest I turn off all the "eye candy" just because it annoys me and > slows down my machine. Vista is very much about eye candy. I just don't > care about it, not that it is wrong if you like it, I just don't. > > I like new things, but I cannot afford to just leap without thinking about > my income, which will suffer if I can't do my work and my clients get > irritated with 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 Shamil > Salakhetdinov > Sent: Wednesday, January 09, 2008 4:35 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2007 > > <<< > LOL, well there must be something wrong since the whole world is not buying > in. > Russia is a Wonderland you know :) (Just kidding...) > > <<< > Vista just has a reputation of creating a ton of problems, many of them in > the Digital Rights world, > Well, I do use software from official MSDN and it works well... > The issue of not being able to read DVDs with the copies of my files I made > on my desktop is solved here with using FAR manager - it does read these > DVDs well under Vista... > > The issues with making setups of custom software for Vista e.g. by using > INNO-Setup are getting solved "automagically" by INNO-setup creating proper > manifest files... > > <<< > many more in performance. > In fact under Vista on the same Dual Core Pentium my software runs faster > than under W2k3... > > <<< > You do, so tell us, > what does Vista do for you that is the "killer app" that makes you think it > rocks? > I like its graphics... :) > I like the feature of 3d view of windows of currently running apps... > As I wrote above under vista everything I use usually runs faster on the > same dual core processor... :) I just like it because as far as I see it's a > very good professional work of MS engineers - I just like it... > > <<< > Why would my business users (clients) pay tens of thousands of dollars to > upgrade every machine in the house? > That's a rock stable OS for the next 5-10 years therefore investments should > pay back during this period in time... Why your customers buy new cars, > factories, houses?... > > I'm not "preaching" for Vista - I just like it :) > > If you and your customer do not like it and do not see how its purchase and > installation can pay back and bring good profits - do not use it :) > > Again, I just like it as great modern mature OS software... > > I like it by heart and eyes, and I neglect all the other issues :) > > That's it I can tell about it. > > John, sorry for my being so short in my words, and not-informative, and > probably not-convincing for you and your customers... > > You can try to avoid using this "MS-bulldozer"... > > I'd better drive it/ride on it :) > > Thanks... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhi+f72dSYCwH8FQRAikwAJ9NVw1NUNESr4MYf0HTetpt2P5lbwCfZqlR ZfKojIgts8oNw0c5GY+J/9A= =szmz -----END PGP SIGNATURE----- From fuller.artful at gmail.com Thu Jan 10 09:06:56 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Jan 2008 10:06:56 -0500 Subject: [AccessD] Database Normalization In-Reply-To: <002801c85396$7621b720$0301a8c0@HAL9005> References: <002801c85396$7621b720$0301a8c0@HAL9005> Message-ID: <29f585dd0801100706t5a54ad4av4914e306739b9503@mail.gmail.com> At the risk of tooting my own horn, Rocky, you could visit www.artfulsoftware.com and see whether the chapter is appropriate for your needs. Arthur On 1/10/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > I need a reference - preferably web - to a tutorial on database > normalization - basic level preferably, to include in my book. > > Does anybody have a favorite? > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Jan 10 09:24:16 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 10:24:16 -0500 Subject: [AccessD] Clients and money Message-ID: <003001c8539c$dd2f5750$657aa8c0@M90> I had an interesting "problem" with the database at a client this week, where the database response time went to hell very suddenly. This is the disability insurance call center software which many users spend their day taking calls, opening a very complex form to view and edit claim info for the person they are talking to. On Friday of last week, the time to open this very complex form went from 4 or 5 seconds to 20 or 30 seconds. There are old machines where the form went from 8-10 seconds to 60 or 80 seconds. Long ago I had a similar problem in this database and I had developed a class (of course) and a table to log how long the form takes to open, the time of day, the workstation trying to open the form, how many users are in the database etc. So every time this main form opens it logs all this information in a table. I then developed a set of queries (long ago) to show me averages by day / workstation etc. So... times to open have gone through the roof, it happened on a specific day last week, and they have remained there. Of course the client is calling me with "did you do anything..." kinds of questions. I had not, and could tell that by my billing records where I record what I do on what day for who. Long story short, after a few days of poking around, the user rebooting the server, compacting / repair the BE, decompile / compact / repair the FE etc.... I noticed that the disk volume holding the database was down to about 15% remaining space (on a 60 gig drive). I told the client to look at this and he quickly went in and deleted all kinds of old trash and got us up to about 50% remaining. this did make some small impact, but the database was still abysmally slow. Last night I went in, rebooted the server, defragged the C: drive and the D: drive (where the database resides) and voila, this morning the times are back to normal. It turns out that the real problem was two fold. First it was horribly fragmented, but additionally when the client did a compact repair, something went wrong and Access created two of those "DB1.MDB" things that it creates when a compact fails. The database is about 800 megs compacted, and the drive was so full that suddenly, with two additional 800 meg files in there, there was just "no room left". When I say "no room left", there was actually about 6 gigs left even after the DB1 copies were created, but the remaining space was tiny little fragments of space all over the disk. Which meant that the database itself was already horribly fragmented and it couldn't find any room to put new pieces as needed. So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too low on space. Now to the money thing. I use a 4 gig RAM drive on one of my servers here at my office to hold a set of files for the address validation software that one of my servers runs. It speeds up that process by 50%, allowing me to move from about 2.5 million addresses per hour processed up to about 4.5 million. A startling and impressive increase in speed. So I advised this same client (a year ago) to look at doing this for this call center database. The main database file is about 800 megs. In looking over the "time to open" records this last week I noticed that various employees are opening claim records using this complex form every 20 to 60 seconds or so (950 records yesterday). That is a LOT of data being pulled (and I use JIT subforms to hold it down). So I again advised the client to try a couple of these 4 gig boards in Raid 0 to put just the BE files on, in order to speed up the database. I am convinced with this number of transactions per hour, with the size of the database, and with the way that a RAM disk works, that a RAM disk could boost this specific application's usability. The board costs about $150 and another $200 for 4 gigs of memory to put on it. $400 shipped to their door for one, $800 for two. The client just told me that "due to costs and ... " they will "consider this in the future". We are talking about $800 expense (plus implementation) for a company of 60 employees where 30 or so users are in the database all day every day, and they are deferring it to later. Clients really are cost conscious, and the smaller the client, the more that is so IMHO. John W. Colby Colby Consulting www.ColbyConsulting.com From max.wanadoo at gmail.com Thu Jan 10 09:29:07 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 15:29:07 -0000 Subject: [AccessD] Database Normalization In-Reply-To: <29f585dd0801100706t5a54ad4av4914e306739b9503@mail.gmail.com> Message-ID: <00f901c8539d$8c735a40$8119fea9@LTVM> Hey Arthur, This ebook sounds very useful but I couldn't find where it shows what the cost will be. Can you enlighten me please? Thanks Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, January 10, 2008 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Normalization At the risk of tooting my own horn, Rocky, you could visit www.artfulsoftware.com and see whether the chapter is appropriate for your needs. Arthur On 1/10/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > I need a reference - preferably web - to a tutorial on database > normalization - basic level preferably, to include in my book. > > Does anybody have a favorite? > > 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 From fuller.artful at gmail.com Thu Jan 10 09:40:12 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Jan 2008 10:40:12 -0500 Subject: [AccessD] Database Normalization In-Reply-To: <00f901c8539d$8c735a40$8119fea9@LTVM> References: <29f585dd0801100706t5a54ad4av4914e306739b9503@mail.gmail.com> <00f901c8539d$8c735a40$8119fea9@LTVM> Message-ID: <29f585dd0801100740u1e7d8091o1632b6c26449fc1@mail.gmail.com> You can download the chapters with the red asterisk for free. You can get the whole thing for a whopping $19.95. I know, I'm a cold-hearted mercenary. :) PayPal works. A. On 1/10/08, Max Wanadoo wrote: > > Hey Arthur, > This ebook sounds very useful but I couldn't find where it shows what the > cost will be. Can you enlighten me please? > Thanks > Max > From cfoust at infostatsystems.com Thu Jan 10 09:40:12 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 10 Jan 2008 07:40:12 -0800 Subject: [AccessD] Access 2007 In-Reply-To: <001c01c8538e$ddccd830$657aa8c0@M90> References: <001601c85387$3f41daf0$657aa8c0@M90><008f01c85388$22197310$8119fea9@LTVM> <001c01c8538e$ddccd830$657aa8c0@M90> Message-ID: Why, John! You say the sweetest things! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 5:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Naw, just a water cooler discussion! ;-) This group just happens to be my water cooler. 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 Max Wanadoo Sent: Thursday, January 10, 2008 7:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 So, tell me John, do you feel strongly about this? ;-I Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Jan 10 09:50:32 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 10 Jan 2008 07:50:32 -0800 Subject: [AccessD] Database Normalization In-Reply-To: <29f585dd0801100706t5a54ad4av4914e306739b9503@mail.gmail.com> References: <002801c85396$7621b720$0301a8c0@HAL9005> <29f585dd0801100706t5a54ad4av4914e306739b9503@mail.gmail.com> Message-ID: <002f01c853a0$889c3330$0301a8c0@HAL9005> I'll toot your horn. It's a bit more than a primer, but I think it'll do. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, January 10, 2008 7:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Normalization At the risk of tooting my own horn, Rocky, you could visit www.artfulsoftware.com and see whether the chapter is appropriate for your needs. Arthur On 1/10/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > I need a reference - preferably web - to a tutorial on database > normalization - basic level preferably, to include in my book. > > Does anybody have a favorite? > > 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.516 / Virus Database: 269.19.0/1216 - Release Date: 1/9/2008 10:16 AM From fuller.artful at gmail.com Thu Jan 10 09:57:41 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Jan 2008 10:57:41 -0500 Subject: [AccessD] Clients and money In-Reply-To: <003001c8539c$dd2f5750$657aa8c0@M90> References: <003001c8539c$dd2f5750$657aa8c0@M90> Message-ID: <29f585dd0801100757x501976f3ua2ca9db29e205767@mail.gmail.com> I've mentioned this before, but another approach that doesn't cost any money other than your time is to set up Access Replication on the network. The scenario goes approximately like this: 1. Create the Master Replica on your development machine. 2. Set up the Synchronizer either on the server or on any other always-available machine. 3. Create replicas for each machine that taps into the app. 4. Set up the synchronizer to synch the replicas with a suitable frequency. This eliminates about 90% of the network traffic. The entire database resides locally on each machine that needs it. The synchronizer kicks in at the specified interval, and copies data in both directions. That is, in a simplified case, where we have local machines A and B, and server S: At the beginning, A, B and S all have the same data. A adds some rows. B adds some rows. Synchronizer kicks in and exchanges data with A, then B. At this point, B receives A's new data, but A won't receive B's new data until the next synchronization. And so on. Whether this can work in your scenario depends on the granularity of synchronization. If A needs to see B's changes immediately, then this scenario is inappropriate. But if A can wait a few minutes to see B's data, then this approach delivers much better performance than the classic FE/BE scenario in which a whole whack of data is sent over the wire frequently (to populate subforms, dropdowns, etc.). The reason it's so much faster is because all that is transmitted is the new and changed data. Regardless of how fast your data-entry people are, how many rows can they enter every 15 minutes or so (depending on the interval you set)? Further, when viewed this way, how much data is one new row? Typically, due to foreign keys etc., a row is a collection of longs, a couple of text fields, a few dates, a currency value or three... total, maybe 1k per row. So the data exchange that occurs per synchronization (local to server and back) is a few KB at most. How long does that take? Answer: a second or two. This approach is simple to try, and if you don't like the results it's simple to undo. Arthur On 1/10/08, jwcolby wrote: > > I had an interesting "problem" with the database at a client this week, > where the database response time went to hell very suddenly. This is the > disability insurance call center software which many users spend their day > taking calls, opening a very complex form to view and edit claim info for > the person they are talking to. > > On Friday of last week, the time to open this very complex form went from > 4 > or 5 seconds to 20 or 30 seconds. There are old machines where the form > went from 8-10 seconds to 60 or 80 seconds. > > Long ago I had a similar problem in this database and I had developed a > class (of course) and a table to log how long the form takes to open, the > time of day, the workstation trying to open the form, how many users are > in > the database etc. So every time this main form opens it logs all this > information in a table. I then developed a set of queries (long ago) to > show me averages by day / workstation etc. > > So... times to open have gone through the roof, it happened on a specific > day last week, and they have remained there. Of course the client is > calling me with "did you do anything..." kinds of questions. I had not, > and > could tell that by my billing records where I record what I do on what day > for who. > > Long story short, after a few days of poking around, the user rebooting > the > server, compacting / repair the BE, decompile / compact / repair the FE > etc.... I noticed that the disk volume holding the database was down to > about 15% remaining space (on a 60 gig drive). I told the client to look > at > this and he quickly went in and deleted all kinds of old trash and got us > up > to about 50% remaining. this did make some small impact, but the database > was still abysmally slow. Last night I went in, rebooted the server, > defragged the C: drive and the D: drive (where the database resides) and > voila, this morning the times are back to normal. > > It turns out that the real problem was two fold. First it was horribly > fragmented, but additionally when the client did a compact repair, > something > went wrong and Access created two of those "DB1.MDB" things that it > creates > when a compact fails. The database is about 800 megs compacted, and the > drive was so full that suddenly, with two additional 800 meg files in > there, > there was just "no room left". When I say "no room left", there was > actually about 6 gigs left even after the DB1 copies were created, but the > remaining space was tiny little fragments of space all over the > disk. Which > meant that the database itself was already horribly fragmented and it > couldn't find any room to put new pieces as needed. > > So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too > low on space. > > Now to the money thing. I use a 4 gig RAM drive on one of my servers here > at my office to hold a set of files for the address validation software > that > one of my servers runs. It speeds up that process by 50%, allowing me to > move from about 2.5 million addresses per hour processed up to about 4.5 > million. A startling and impressive increase in speed. So I advised this > same client (a year ago) to look at doing this for this call center > database. The main database file is about 800 megs. In looking over the > "time to open" records this last week I noticed that various employees are > opening claim records using this complex form every 20 to 60 seconds or so > (950 records yesterday). That is a LOT of data being pulled (and I use > JIT > subforms to hold it down). So I again advised the client to try a couple > of > these 4 gig boards in Raid 0 to put just the BE files on, in order to > speed > up the database. I am convinced with this number of transactions per > hour, > with the size of the database, and with the way that a RAM disk works, > that > a RAM disk could boost this specific application's usability. > > The board costs about $150 and another $200 for 4 gigs of memory to put on > it. $400 shipped to their door for one, $800 for two. The client just > told > me that "due to costs and ... " they will "consider this in the > future". We > are talking about $800 expense (plus implementation) for a company of 60 > employees where 30 or so users are in the database all day every day, and > they are deferring it to later. > > Clients really are cost conscious, and the smaller the client, the more > that > is so IMHO. > > 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 Gustav at cactus.dk Thu Jan 10 10:01:58 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 10 Jan 2008 17:01:58 +0100 Subject: [AccessD] Clients and money Message-ID: Hi John At such clients that behave like buying a server is like buying a house, we often compare the costs with those for a car for one of the salesmen or with the monthly salary for an average employee. Quite often that ends the discussion; but for some, IT equipment is nothing more than an unwanted expenditure where you have to give up. As for the defragmentation, that scenario you describe wouldn't happen with a NetWare server ... /gustav >>> jwcolby at colbyconsulting.com 10-01-2008 16:24 >>> I had an interesting "problem" with the database at a client this week, where the database response time went to hell very suddenly. This is the disability insurance call center software which many users spend their day taking calls, opening a very complex form to view and edit claim info for the person they are talking to. On Friday of last week, the time to open this very complex form went from 4 or 5 seconds to 20 or 30 seconds. There are old machines where the form went from 8-10 seconds to 60 or 80 seconds. Long ago I had a similar problem in this database and I had developed a class (of course) and a table to log how long the form takes to open, the time of day, the workstation trying to open the form, how many users are in the database etc. So every time this main form opens it logs all this information in a table. I then developed a set of queries (long ago) to show me averages by day / workstation etc. So... times to open have gone through the roof, it happened on a specific day last week, and they have remained there. Of course the client is calling me with "did you do anything..." kinds of questions. I had not, and could tell that by my billing records where I record what I do on what day for who. Long story short, after a few days of poking around, the user rebooting the server, compacting / repair the BE, decompile / compact / repair the FE etc.... I noticed that the disk volume holding the database was down to about 15% remaining space (on a 60 gig drive). I told the client to look at this and he quickly went in and deleted all kinds of old trash and got us up to about 50% remaining. this did make some small impact, but the database was still abysmally slow. Last night I went in, rebooted the server, defragged the C: drive and the D: drive (where the database resides) and voila, this morning the times are back to normal. It turns out that the real problem was two fold. First it was horribly fragmented, but additionally when the client did a compact repair, something went wrong and Access created two of those "DB1.MDB" things that it creates when a compact fails. The database is about 800 megs compacted, and the drive was so full that suddenly, with two additional 800 meg files in there, there was just "no room left". When I say "no room left", there was actually about 6 gigs left even after the DB1 copies were created, but the remaining space was tiny little fragments of space all over the disk. Which meant that the database itself was already horribly fragmented and it couldn't find any room to put new pieces as needed. So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too low on space. Now to the money thing. I use a 4 gig RAM drive on one of my servers here at my office to hold a set of files for the address validation software that one of my servers runs. It speeds up that process by 50%, allowing me to move from about 2.5 million addresses per hour processed up to about 4.5 million. A startling and impressive increase in speed. So I advised this same client (a year ago) to look at doing this for this call center database. The main database file is about 800 megs. In looking over the "time to open" records this last week I noticed that various employees are opening claim records using this complex form every 20 to 60 seconds or so (950 records yesterday). That is a LOT of data being pulled (and I use JIT subforms to hold it down). So I again advised the client to try a couple of these 4 gig boards in Raid 0 to put just the BE files on, in order to speed up the database. I am convinced with this number of transactions per hour, with the size of the database, and with the way that a RAM disk works, that a RAM disk could boost this specific application's usability. The board costs about $150 and another $200 for 4 gigs of memory to put on it. $400 shipped to their door for one, $800 for two. The client just told me that "due to costs and ... " they will "consider this in the future". We are talking about $800 expense (plus implementation) for a company of 60 employees where 30 or so users are in the database all day every day, and they are deferring it to later. Clients really are cost conscious, and the smaller the client, the more that is so IMHO. John W. Colby Colby Consulting www.ColbyConsulting.com From john at winhaven.net Thu Jan 10 10:05:49 2008 From: john at winhaven.net (John Bartow) Date: Thu, 10 Jan 2008 10:05:49 -0600 Subject: [AccessD] Clients and money In-Reply-To: <003001c8539c$dd2f5750$657aa8c0@M90> Message-ID: <200801101605.m0AG5jeX029440@databaseadvisors.com> John, Good advice. Since my first experience similar to this (on NT 3.1) Our $10,000 space age Dual Pentium Pro GIS machine was acting like a 386! Had to buy Diskkeeper (and upgrade it every service pack as NT didn't have native defragging system calls at the time). Wasn't cheap but it restored our speedster back to form overnight. Does anyone know if the MCSE courses are still teaching that NTFS doesn't need defragging? Last I heard - back with NT4 MSCE they were. What a joke. Since then I have always had a scheduled defrag process on NT machines. Off hours, after temporary file deletions, after backup, before other utility processes (such as virus scans). I had to use Diskkeeper for quite awhile to do this. Now there are many alternates that either have scheduling built in or can be scheduled directly through NT's (and it's offspring's) scheduled task function. Once a week whether it needs it or not (I say that tongue in cheek - it always needs it). You can also write one script to do it all of the maintenance routines and schedule that one script. John B. From jwcolby at colbyconsulting.com Thu Jan 10 10:09:30 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 11:09:30 -0500 Subject: [AccessD] Clients and money In-Reply-To: <29f585dd0801100757x501976f3ua2ca9db29e205767@mail.gmail.com> References: <003001c8539c$dd2f5750$657aa8c0@M90> <29f585dd0801100757x501976f3ua2ca9db29e205767@mail.gmail.com> Message-ID: <003101c853a3$2ec58390$657aa8c0@M90> Arthur, I understand and think replication works well in some scenarios. I think a call center is not one of them. If the caller hangs up and decides he needs to call right back and say something, the odds are small that he would get the same person on the phone. Everyone needs access to all changes immediately. As for undoing the changes... the synchronization process adds entirely new GUI IDs, changes sequential autonumbers to random etc. Those changes are NOT trivial to undo. 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 Arthur Fuller Sent: Thursday, January 10, 2008 10:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clients and money I've mentioned this before, but another approach that doesn't cost any money other than your time is to set up Access Replication on the network. The scenario goes approximately like this: 1. Create the Master Replica on your development machine. 2. Set up the Synchronizer either on the server or on any other always-available machine. 3. Create replicas for each machine that taps into the app. 4. Set up the synchronizer to synch the replicas with a suitable frequency. This eliminates about 90% of the network traffic. The entire database resides locally on each machine that needs it. The synchronizer kicks in at the specified interval, and copies data in both directions. That is, in a simplified case, where we have local machines A and B, and server S: At the beginning, A, B and S all have the same data. A adds some rows. B adds some rows. Synchronizer kicks in and exchanges data with A, then B. At this point, B receives A's new data, but A won't receive B's new data until the next synchronization. And so on. Whether this can work in your scenario depends on the granularity of synchronization. If A needs to see B's changes immediately, then this scenario is inappropriate. But if A can wait a few minutes to see B's data, then this approach delivers much better performance than the classic FE/BE scenario in which a whole whack of data is sent over the wire frequently (to populate subforms, dropdowns, etc.). The reason it's so much faster is because all that is transmitted is the new and changed data. Regardless of how fast your data-entry people are, how many rows can they enter every 15 minutes or so (depending on the interval you set)? Further, when viewed this way, how much data is one new row? Typically, due to foreign keys etc., a row is a collection of longs, a couple of text fields, a few dates, a currency value or three... total, maybe 1k per row. So the data exchange that occurs per synchronization (local to server and back) is a few KB at most. How long does that take? Answer: a second or two. This approach is simple to try, and if you don't like the results it's simple to undo. Arthur On 1/10/08, jwcolby wrote: > > I had an interesting "problem" with the database at a client this > week, where the database response time went to hell very suddenly. > This is the disability insurance call center software which many users > spend their day taking calls, opening a very complex form to view and > edit claim info for the person they are talking to. > > On Friday of last week, the time to open this very complex form went > from > 4 > or 5 seconds to 20 or 30 seconds. There are old machines where the > form went from 8-10 seconds to 60 or 80 seconds. > > Long ago I had a similar problem in this database and I had developed > a class (of course) and a table to log how long the form takes to > open, the time of day, the workstation trying to open the form, how > many users are in the database etc. So every time this main form > opens it logs all this information in a table. I then developed a set > of queries (long ago) to show me averages by day / workstation etc. > > So... times to open have gone through the roof, it happened on a > specific day last week, and they have remained there. Of course the > client is calling me with "did you do anything..." kinds of questions. > I had not, and could tell that by my billing records where I record > what I do on what day for who. > > Long story short, after a few days of poking around, the user > rebooting the server, compacting / repair the BE, decompile / compact > / repair the FE etc.... I noticed that the disk volume holding the > database was down to about 15% remaining space (on a 60 gig drive). I > told the client to look at this and he quickly went in and deleted all > kinds of old trash and got us up to about 50% remaining. this did > make some small impact, but the database was still abysmally slow. > Last night I went in, rebooted the server, defragged the C: drive and > the D: drive (where the database resides) and voila, this morning the > times are back to normal. > > It turns out that the real problem was two fold. First it was > horribly fragmented, but additionally when the client did a compact > repair, something went wrong and Access created two of those "DB1.MDB" > things that it creates when a compact fails. The database is about > 800 megs compacted, and the drive was so full that suddenly, with two > additional 800 meg files in there, there was just "no room left". > When I say "no room left", there was actually about 6 gigs left even > after the DB1 copies were created, but the remaining space was tiny > little fragments of space all over the disk. Which meant that the > database itself was already horribly fragmented and it couldn't find > any room to put new pieces as needed. > > So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get > too low on space. > > Now to the money thing. I use a 4 gig RAM drive on one of my servers > here at my office to hold a set of files for the address validation > software that one of my servers runs. It speeds up that process by > 50%, allowing me to move from about 2.5 million addresses per hour > processed up to about 4.5 million. A startling and impressive > increase in speed. So I advised this same client (a year ago) to look > at doing this for this call center database. The main database file > is about 800 megs. In looking over the "time to open" records this > last week I noticed that various employees are opening claim records > using this complex form every 20 to 60 seconds or so (950 records > yesterday). That is a LOT of data being pulled (and I use JIT > subforms to hold it down). So I again advised the client to try a > couple of these 4 gig boards in Raid 0 to put just the BE files on, in > order to speed up the database. I am convinced with this number of > transactions per hour, with the size of the database, and with the way > that a RAM disk works, that a RAM disk could boost this specific > application's usability. > > The board costs about $150 and another $200 for 4 gigs of memory to > put on it. $400 shipped to their door for one, $800 for two. The > client just told me that "due to costs and ... " they will "consider > this in the future". We are talking about $800 expense (plus > implementation) for a company of 60 employees where 30 or so users are > in the database all day every day, and they are deferring it to later. > > Clients really are cost conscious, and the smaller the client, the > more that is so IMHO. > > 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 fuller.artful at gmail.com Thu Jan 10 10:40:22 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Jan 2008 11:40:22 -0500 Subject: [AccessD] Database Normalization In-Reply-To: <002f01c853a0$889c3330$0301a8c0@HAL9005> References: <002801c85396$7621b720$0301a8c0@HAL9005> <29f585dd0801100706t5a54ad4av4914e306739b9503@mail.gmail.com> <002f01c853a0$889c3330$0301a8c0@HAL9005> Message-ID: <29f585dd0801100840j4d727262j9d53eb9f1c8530f6@mail.gmail.com> Thanks, Rocky. The normalization chapter is relatively simple, I think. Other chapters, such as "Working with Graphs" are deep, to be sure. A. On 1/10/08, Rocky Smolin at Beach Access Software wrote: > > I'll toot your horn. It's a bit more than a primer, but I think it'll do. > > Thanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Thursday, January 10, 2008 7:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Normalization > > At the risk of tooting my own horn, Rocky, you could visit > www.artfulsoftware.com and see whether the chapter is appropriate for your > needs. > > Arthur > > On 1/10/08, Rocky Smolin at Beach Access Software > wrote: > > > > > > Dear List: > > > > I need a reference - preferably web - to a tutorial on database > > normalization - basic level preferably, to include in my book. > > > > Does anybody have a favorite? > > > > 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.516 / Virus Database: 269.19.0/1216 - Release Date: 1/9/2008 > 10:16 AM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Elizabeth.J.Doering at wellsfargo.com Thu Jan 10 10:57:28 2008 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Thu, 10 Jan 2008 10:57:28 -0600 Subject: [AccessD] Database Normalization References: <002801c85396$7621b720$0301a8c0@HAL9005> Message-ID: You will encourage your readers to check out this list? Someone here will always be glad to set them straight on normalization! :-) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 10, 2008 8:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database Normalization Dear List: I need a reference - preferably web - to a tutorial on database normalization - basic level preferably, to include in my book. Does anybody have a favorite? MTIA Rocky This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From max.wanadoo at gmail.com Thu Jan 10 11:05:28 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 17:05:28 -0000 Subject: [AccessD] Access 2007 In-Reply-To: <20080111002713.DLQ23430@dommail.onthenet.com.au> Message-ID: <001601c853ab$00930fd0$8119fea9@LTVM> Ok, Here we are. Bet some of these make you smile. Max 6 reasons not to mess with children 1. A little girl was talking to her teacher about whales. The teacher said it was physically impossible for a whale to swallow a human because even though it was a very large mammal its throat was very small. The little girl stated that Jonah was swallowed by a whale. Irritated, the teacher reiterated that a whale could not swallow a human; it was physically impossible. The little girl said, "When I get to heaven I will ask Jonah". The teacher asked, "What if Jonah went to hell?" The little girl replied,"Then you ask him ". 2. A Kindergarten teacher was observing her classroom of children while they were drawing. She would occasionally walk around to see each child's work, as she got to one little girl who was working diligently, she asked what the drawing was. The girl replied, "I'm drawing God." The teacher paused and said, "But no one knows what God looks like." Without missing a beat, or looking up from her drawing, the girl replied, "They will in a minute." 3. A Sunday school teacher was discussing the Ten Commandments with her five and six year olds. After explaining the commandment to "honour" thy Father and thy Mother,she asked, "Is there a commandment that teaches us how to treat our brothers and sisters Without hesitation one little boy (the oldest of a family) answered, "Thou shall not kill." 4. The children had all been photographed, and the teacher was trying to persuade them each to buy a copy of the group picture. Just think how nice it will be to look at it when you are all grown up and say 'There's Jennifer, she's a lawyer,' or 'That's Michael, he's a doctor" then a small voice at the back of the room shouted out "And there's the teacher, she's dead." 5. A teacher was giving a lesson on the circulation of the blood. Trying to make the matter clearer she said "Now, class, if I stood on my head,the blood as you know would run into it, and I would turn red in the face." "Yes," the class said. "Then why is it that while I am standing upright in the ordinary position the blood doesn't run into my feet?" A little fellow shouted, "Cause your feet ain't empty." 6. The children were lined up in the cafeteria of a Catholic elementary school for lunch At the head of the table was a large pile of apples. The nun made a note, and posted on the apple tray: "Take only ONE. God is watching." Moving further along the lunch line, at the other end of the table was a large pile of chocolate chip cookies. A child had written a note, "Take all you want. God is watching the apples -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Thursday, January 10, 2008 2:27 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Access 2007 23 minutes into Friday down under here.... and I am off for a few hours .... borge ---- Original message ---- >Date: Thu, 10 Jan 2008 14:01:03 -0000 >From: "Max Wanadoo" >Subject: Re: [AccessD] Access 2007 >To: "'Access Developers discussion and problem solving'" > >Oh I don't know about that. I always read JC's postings if only for >amusement! >No one can say he doesn't care! He wants the best for his clients and what >is wrong with that? >Also, and incidentally, it does throw up a lot of stuff without which many >other people may have had to find the answers to the hard way. > >Keep going JC. I got some great ones for you on Friday (Is it Friday in Oz >yet?) > >Max > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert >Sent: Thursday, January 10, 2008 1:50 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Access 2007 > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Michael, >I have no problem with John's reasoning for his points or the passion in >which he delivers it. My concern is that John maybe somehow tacking this >silly topic personally. Sure you can separate/disconnect emotion from it >(from most things), but nonetheless it's there. > >I didn't mean what I said to be derogatory (although it looks that way >(Sorry John)), just with concern, stress can eat us alive without us evening >realizing it. This topic or it's direction doesn't seem to warrant it's >elevation for anyone. > > > >WBR >~Robert > > > > > > > >Michael R Mattys wrote: >> No, I don't think so. While it might appear that the whole thing was >> aimed at Steve, it can be also read without such sensitivity. >> Steve can answer the 'how' question himself. >> Otherwise, I agree with all of John's reasoning. >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "Robert" >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, January 10, 2008 8:03 AM >> Subject: Re: [AccessD] Access 2007 >> >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> A little stressed John? Man you need to chill out... >>> >>> WBR >>> ~Robert >> >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.7 (MingW32) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > >iD8DBQFHhiKK72dSYCwH8FQRApIBAJ46olvZmF5K16eJ4DuBn1RVRR7GvwCf R/MF >UjmDyBjJurFASes945IgUIU= >=YYqK >-----END PGP SIGNATURE----- > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Jan 10 11:16:50 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 17:16:50 -0000 Subject: [AccessD] Clients and money In-Reply-To: <003001c8539c$dd2f5750$657aa8c0@M90> Message-ID: <001f01c853ac$9700ee00$8119fea9@LTVM> Hmmm, interesting. I don't really understand how the BE will be fragmented unless there are lots of memo fields in there. Also, a reasonably large disk should not need defragging for ages. Mine has been going years and still does not need defragging. Are they doing *other* things on the disk where the BE is stored. If so, it might be worthwhile putting the BE on its own drive. With regard to the COSTS. Ask they question, "Which or your activities generate the most income?" When they start saying anything other than the DB, then ask them "Tell me, if the DB stopped completely, what would the impact be on your bottom line?". Then ask the question "Do you have a Disaster Recovery Plan that is regularly tested and checked?". Take it from there. 2p etc Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 3:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clients and money I had an interesting "problem" with the database at a client this week, where the database response time went to hell very suddenly. This is the disability insurance call center software which many users spend their day taking calls, opening a very complex form to view and edit claim info for the person they are talking to. On Friday of last week, the time to open this very complex form went from 4 or 5 seconds to 20 or 30 seconds. There are old machines where the form went from 8-10 seconds to 60 or 80 seconds. Long ago I had a similar problem in this database and I had developed a class (of course) and a table to log how long the form takes to open, the time of day, the workstation trying to open the form, how many users are in the database etc. So every time this main form opens it logs all this information in a table. I then developed a set of queries (long ago) to show me averages by day / workstation etc. So... times to open have gone through the roof, it happened on a specific day last week, and they have remained there. Of course the client is calling me with "did you do anything..." kinds of questions. I had not, and could tell that by my billing records where I record what I do on what day for who. Long story short, after a few days of poking around, the user rebooting the server, compacting / repair the BE, decompile / compact / repair the FE etc.... I noticed that the disk volume holding the database was down to about 15% remaining space (on a 60 gig drive). I told the client to look at this and he quickly went in and deleted all kinds of old trash and got us up to about 50% remaining. this did make some small impact, but the database was still abysmally slow. Last night I went in, rebooted the server, defragged the C: drive and the D: drive (where the database resides) and voila, this morning the times are back to normal. It turns out that the real problem was two fold. First it was horribly fragmented, but additionally when the client did a compact repair, something went wrong and Access created two of those "DB1.MDB" things that it creates when a compact fails. The database is about 800 megs compacted, and the drive was so full that suddenly, with two additional 800 meg files in there, there was just "no room left". When I say "no room left", there was actually about 6 gigs left even after the DB1 copies were created, but the remaining space was tiny little fragments of space all over the disk. Which meant that the database itself was already horribly fragmented and it couldn't find any room to put new pieces as needed. So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too low on space. Now to the money thing. I use a 4 gig RAM drive on one of my servers here at my office to hold a set of files for the address validation software that one of my servers runs. It speeds up that process by 50%, allowing me to move from about 2.5 million addresses per hour processed up to about 4.5 million. A startling and impressive increase in speed. So I advised this same client (a year ago) to look at doing this for this call center database. The main database file is about 800 megs. In looking over the "time to open" records this last week I noticed that various employees are opening claim records using this complex form every 20 to 60 seconds or so (950 records yesterday). That is a LOT of data being pulled (and I use JIT subforms to hold it down). So I again advised the client to try a couple of these 4 gig boards in Raid 0 to put just the BE files on, in order to speed up the database. I am convinced with this number of transactions per hour, with the size of the database, and with the way that a RAM disk works, that a RAM disk could boost this specific application's usability. The board costs about $150 and another $200 for 4 gigs of memory to put on it. $400 shipped to their door for one, $800 for two. The client just told me that "due to costs and ... " they will "consider this in the future". We are talking about $800 expense (plus implementation) for a company of 60 employees where 30 or so users are in the database all day every day, and they are deferring it to later. Clients really are cost conscious, and the smaller the client, the more that is so IMHO. 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 max.wanadoo at gmail.com Thu Jan 10 11:18:25 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 17:18:25 -0000 Subject: [AccessD] Database Normalization In-Reply-To: <29f585dd0801100740u1e7d8091o1632b6c26449fc1@mail.gmail.com> Message-ID: <002001c853ac$d1df6ce0$8119fea9@LTVM> Arthur: Well, I am going to buy it. Somebody has to put some pennies in your pocket, so it might as well be me. BUT I won't ever, ever, use paypal. I get too many emails telling me to update my paypal account and I don't have one, so I know they are all scamming paypal like mad. Is there an alternative? Thanks Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, January 10, 2008 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Normalization You can download the chapters with the red asterisk for free. You can get the whole thing for a whopping $19.95. I know, I'm a cold-hearted mercenary. :) PayPal works. A. On 1/10/08, Max Wanadoo wrote: > > Hey Arthur, > This ebook sounds very useful but I couldn't find where it shows what > the cost will be. Can you enlighten me please? > Thanks > Max > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Jan 10 11:28:11 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 10 Jan 2008 18:28:11 +0100 Subject: [AccessD] Database Normalization Message-ID: Hi Max It's the scamming e-mails you should ignore, not PayPal ... /gustav >>> max.wanadoo at gmail.com 10-01-2008 18:18 >>> Arthur: Well, I am going to buy it. Somebody has to put some pennies in your pocket, so it might as well be me. BUT I won't ever, ever, use paypal. I get too many emails telling me to update my paypal account and I don't have one, so I know they are all scamming paypal like mad. Is there an alternative? Thanks Max From jwcolby at colbyconsulting.com Thu Jan 10 11:39:15 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 12:39:15 -0500 Subject: [AccessD] Clients and money In-Reply-To: <001f01c853ac$9700ee00$8119fea9@LTVM> References: <003001c8539c$dd2f5750$657aa8c0@M90> <001f01c853ac$9700ee00$8119fea9@LTVM> Message-ID: <003701c853af$b8cec540$657aa8c0@M90> >Are they doing *other* things on the disk where the BE is stored. LOL. The BE (800 megs compacted) is on a 60 gig hard drive that had 6 gigs left. Now, what is YOUR answer to that 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 Max Wanadoo Sent: Thursday, January 10, 2008 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money Hmmm, interesting. I don't really understand how the BE will be fragmented unless there are lots of memo fields in there. Also, a reasonably large disk should not need defragging for ages. Mine has been going years and still does not need defragging. Are they doing *other* things on the disk where the BE is stored. If so, it might be worthwhile putting the BE on its own drive. With regard to the COSTS. Ask they question, "Which or your activities generate the most income?" When they start saying anything other than the DB, then ask them "Tell me, if the DB stopped completely, what would the impact be on your bottom line?". Then ask the question "Do you have a Disaster Recovery Plan that is regularly tested and checked?". Take it from there. 2p etc Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 3:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clients and money I had an interesting "problem" with the database at a client this week, where the database response time went to hell very suddenly. This is the disability insurance call center software which many users spend their day taking calls, opening a very complex form to view and edit claim info for the person they are talking to. On Friday of last week, the time to open this very complex form went from 4 or 5 seconds to 20 or 30 seconds. There are old machines where the form went from 8-10 seconds to 60 or 80 seconds. Long ago I had a similar problem in this database and I had developed a class (of course) and a table to log how long the form takes to open, the time of day, the workstation trying to open the form, how many users are in the database etc. So every time this main form opens it logs all this information in a table. I then developed a set of queries (long ago) to show me averages by day / workstation etc. So... times to open have gone through the roof, it happened on a specific day last week, and they have remained there. Of course the client is calling me with "did you do anything..." kinds of questions. I had not, and could tell that by my billing records where I record what I do on what day for who. Long story short, after a few days of poking around, the user rebooting the server, compacting / repair the BE, decompile / compact / repair the FE etc.... I noticed that the disk volume holding the database was down to about 15% remaining space (on a 60 gig drive). I told the client to look at this and he quickly went in and deleted all kinds of old trash and got us up to about 50% remaining. this did make some small impact, but the database was still abysmally slow. Last night I went in, rebooted the server, defragged the C: drive and the D: drive (where the database resides) and voila, this morning the times are back to normal. It turns out that the real problem was two fold. First it was horribly fragmented, but additionally when the client did a compact repair, something went wrong and Access created two of those "DB1.MDB" things that it creates when a compact fails. The database is about 800 megs compacted, and the drive was so full that suddenly, with two additional 800 meg files in there, there was just "no room left". When I say "no room left", there was actually about 6 gigs left even after the DB1 copies were created, but the remaining space was tiny little fragments of space all over the disk. Which meant that the database itself was already horribly fragmented and it couldn't find any room to put new pieces as needed. So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too low on space. Now to the money thing. I use a 4 gig RAM drive on one of my servers here at my office to hold a set of files for the address validation software that one of my servers runs. It speeds up that process by 50%, allowing me to move from about 2.5 million addresses per hour processed up to about 4.5 million. A startling and impressive increase in speed. So I advised this same client (a year ago) to look at doing this for this call center database. The main database file is about 800 megs. In looking over the "time to open" records this last week I noticed that various employees are opening claim records using this complex form every 20 to 60 seconds or so (950 records yesterday). That is a LOT of data being pulled (and I use JIT subforms to hold it down). So I again advised the client to try a couple of these 4 gig boards in Raid 0 to put just the BE files on, in order to speed up the database. I am convinced with this number of transactions per hour, with the size of the database, and with the way that a RAM disk works, that a RAM disk could boost this specific application's usability. The board costs about $150 and another $200 for 4 gigs of memory to put on it. $400 shipped to their door for one, $800 for two. The client just told me that "due to costs and ... " they will "consider this in the future". We are talking about $800 expense (plus implementation) for a company of 60 employees where 30 or so users are in the database all day every day, and they are deferring it to later. Clients really are cost conscious, and the smaller the client, the more that is so IMHO. 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 jwcolby at colbyconsulting.com Thu Jan 10 11:39:49 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 12:39:49 -0500 Subject: [AccessD] Database Normalization In-Reply-To: References: Message-ID: <003801c853af$cd092550$657aa8c0@M90> ROTFL. 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: Thursday, January 10, 2008 12:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Database Normalization Hi Max It's the scamming e-mails you should ignore, not PayPal ... /gustav >>> max.wanadoo at gmail.com 10-01-2008 18:18 >>> Arthur: Well, I am going to buy it. Somebody has to put some pennies in your pocket, so it might as well be me. BUT I won't ever, ever, use paypal. I get too many emails telling me to update my paypal account and I don't have one, so I know they are all scamming paypal like mad. Is there an alternative? Thanks Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Jan 10 11:52:53 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 17:52:53 -0000 Subject: [AccessD] Database Normalization In-Reply-To: <003801c853af$cd092550$657aa8c0@M90> Message-ID: <002701c853b1$a02400d0$8119fea9@LTVM> It's ok for you and Gustav to laugh, but this is no laughing matter. I WANT to give my pennies to Arthur, and this is a serious matter. I WON'T use paypal, ever. Somebody skimmed their whole database a year or so back. What about SWREG, I have used them (oops, should I say that?) and never had any problem. Arthur: It's your money they are joking about. Over to you, pal! (no pun intended on the word pal) Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 5:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Normalization ROTFL. 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: Thursday, January 10, 2008 12:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Database Normalization Hi Max It's the scamming e-mails you should ignore, not PayPal ... /gustav >>> max.wanadoo at gmail.com 10-01-2008 18:18 >>> Arthur: Well, I am going to buy it. Somebody has to put some pennies in your pocket, so it might as well be me. BUT I won't ever, ever, use paypal. I get too many emails telling me to update my paypal account and I don't have one, so I know they are all scamming paypal like mad. Is there an alternative? Thanks Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 10 11:53:35 2008 From: john at winhaven.net (John Bartow) Date: Thu, 10 Jan 2008 11:53:35 -0600 Subject: [AccessD] Clients and money In-Reply-To: Message-ID: <200801101753.m0AHrUoo002495@databaseadvisors.com> If only quality could overcome marketing power... :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock As for the defragmentation, that scenario you describe wouldn't happen with a NetWare server ... From john at winhaven.net Thu Jan 10 11:58:37 2008 From: john at winhaven.net (John Bartow) Date: Thu, 10 Jan 2008 11:58:37 -0600 Subject: [AccessD] Clients and money In-Reply-To: <003701c853af$b8cec540$657aa8c0@M90> Message-ID: <200801101758.m0AHwW0O004478@databaseadvisors.com> Given the cost of storage - that's just sad. I have one client where they disregard server needs as badly as your client of reference. They've run into problems a number of times because of it and have paid me more to recover/repair their damage than it would have cost to follow my advice. That's just sad. I keep giving them the advice and even tell them that they'd save money in comparison to have me keep fixing the result of not doing it. What can a guy do? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby LOL. The BE (800 megs compacted) is on a 60 gig hard drive that had 6 gigs left. From max.wanadoo at gmail.com Thu Jan 10 11:59:23 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 17:59:23 -0000 Subject: [AccessD] Clients and money In-Reply-To: <003701c853af$b8cec540$657aa8c0@M90> Message-ID: <002b01c853b2$88ffd1d0$8119fea9@LTVM> My answer is: What are happening to create the fragmentation? 800 = 1 Gig (give or take a byte or two) So it will be easy to fragment a BE that has lots of COPY TO (which is what essentially memo fields do). Are they using memo fields to write all sorts of 'comments' based on the telephone calls. If so, how's about having a table dedicated to memo fields, and link that to the main table and then compact/repair that table each time the form with the table is exited (or sommat like that - lateral thinking, etc)...OR.. Giving each user a FE for the memo fields in a tblMemos table and then copy that as an append to the BE....OR...putting comments into a TEXT file using WRITE? Keep on thinking, Max... Always more than one way to skin a problem.... Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 5:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money >Are they doing *other* things on the disk where the BE is stored. LOL. The BE (800 megs compacted) is on a 60 gig hard drive that had 6 gigs left. Now, what is YOUR answer to that 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 Max Wanadoo Sent: Thursday, January 10, 2008 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money Hmmm, interesting. I don't really understand how the BE will be fragmented unless there are lots of memo fields in there. Also, a reasonably large disk should not need defragging for ages. Mine has been going years and still does not need defragging. Are they doing *other* things on the disk where the BE is stored. If so, it might be worthwhile putting the BE on its own drive. With regard to the COSTS. Ask they question, "Which or your activities generate the most income?" When they start saying anything other than the DB, then ask them "Tell me, if the DB stopped completely, what would the impact be on your bottom line?". Then ask the question "Do you have a Disaster Recovery Plan that is regularly tested and checked?". Take it from there. 2p etc Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 3:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clients and money I had an interesting "problem" with the database at a client this week, where the database response time went to hell very suddenly. This is the disability insurance call center software which many users spend their day taking calls, opening a very complex form to view and edit claim info for the person they are talking to. On Friday of last week, the time to open this very complex form went from 4 or 5 seconds to 20 or 30 seconds. There are old machines where the form went from 8-10 seconds to 60 or 80 seconds. Long ago I had a similar problem in this database and I had developed a class (of course) and a table to log how long the form takes to open, the time of day, the workstation trying to open the form, how many users are in the database etc. So every time this main form opens it logs all this information in a table. I then developed a set of queries (long ago) to show me averages by day / workstation etc. So... times to open have gone through the roof, it happened on a specific day last week, and they have remained there. Of course the client is calling me with "did you do anything..." kinds of questions. I had not, and could tell that by my billing records where I record what I do on what day for who. Long story short, after a few days of poking around, the user rebooting the server, compacting / repair the BE, decompile / compact / repair the FE etc.... I noticed that the disk volume holding the database was down to about 15% remaining space (on a 60 gig drive). I told the client to look at this and he quickly went in and deleted all kinds of old trash and got us up to about 50% remaining. this did make some small impact, but the database was still abysmally slow. Last night I went in, rebooted the server, defragged the C: drive and the D: drive (where the database resides) and voila, this morning the times are back to normal. It turns out that the real problem was two fold. First it was horribly fragmented, but additionally when the client did a compact repair, something went wrong and Access created two of those "DB1.MDB" things that it creates when a compact fails. The database is about 800 megs compacted, and the drive was so full that suddenly, with two additional 800 meg files in there, there was just "no room left". When I say "no room left", there was actually about 6 gigs left even after the DB1 copies were created, but the remaining space was tiny little fragments of space all over the disk. Which meant that the database itself was already horribly fragmented and it couldn't find any room to put new pieces as needed. So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too low on space. Now to the money thing. I use a 4 gig RAM drive on one of my servers here at my office to hold a set of files for the address validation software that one of my servers runs. It speeds up that process by 50%, allowing me to move from about 2.5 million addresses per hour processed up to about 4.5 million. A startling and impressive increase in speed. So I advised this same client (a year ago) to look at doing this for this call center database. The main database file is about 800 megs. In looking over the "time to open" records this last week I noticed that various employees are opening claim records using this complex form every 20 to 60 seconds or so (950 records yesterday). That is a LOT of data being pulled (and I use JIT subforms to hold it down). So I again advised the client to try a couple of these 4 gig boards in Raid 0 to put just the BE files on, in order to speed up the database. I am convinced with this number of transactions per hour, with the size of the database, and with the way that a RAM disk works, that a RAM disk could boost this specific application's usability. The board costs about $150 and another $200 for 4 gigs of memory to put on it. $400 shipped to their door for one, $800 for two. The client just told me that "due to costs and ... " they will "consider this in the future". We are talking about $800 expense (plus implementation) for a company of 60 employees where 30 or so users are in the database all day every day, and they are deferring it to later. Clients really are cost conscious, and the smaller the client, the more that is so IMHO. 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 max.wanadoo at gmail.com Thu Jan 10 12:00:26 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 18:00:26 -0000 Subject: [AccessD] Clients and money In-Reply-To: <200801101753.m0AHrUoo002495@databaseadvisors.com> Message-ID: <002c01c853b2$aecd3fb0$8119fea9@LTVM> It already has! Vis-a-vis Arthur's ebook. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, January 10, 2008 5:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money If only quality could overcome marketing power... :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock As for the defragmentation, that scenario you describe wouldn't happen with a NetWare server ... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Thu Jan 10 12:43:42 2008 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Thu, 10 Jan 2008 13:43:42 -0500 Subject: [AccessD] Database Normalization In-Reply-To: <002801c85396$7621b720$0301a8c0@HAL9005> References: <002801c85396$7621b720$0301a8c0@HAL9005> Message-ID: <000001c853b8$b96bd980$6401a8c0@home6399619597> Rocky, Here is a reference that is often quoted on Tek-Tips. http://r937.com/relational.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 10, 2008 9:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database Normalization Dear List: I need a reference - preferably web - to a tutorial on database normalization - basic level preferably, to include in my book. Does anybody have a favorite? MTIA Rocky -- 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 Jan 10 12:49:16 2008 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 10 Jan 2008 12:49:16 -0600 Subject: [AccessD] Access 2007 In-Reply-To: <001c01c8538e$ddccd830$657aa8c0@M90> References: <001601c85387$3f41daf0$657aa8c0@M90><008f01c85388$22197310$8119f ea9@LTVM> <001c01c8538e$ddccd830$657aa8c0@M90> Message-ID: Damn, was it spiked with steroids? :-> Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 7:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 Naw, just a water cooler discussion! ;-) This group just happens to be my water cooler. 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 Max Wanadoo Sent: Thursday, January 10, 2008 7:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 So, tell me John, do you feel strongly about this? ;-I Max -- 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 Thu Jan 10 12:58:44 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 13:58:44 -0500 Subject: [AccessD] Clients and money In-Reply-To: <002b01c853b2$88ffd1d0$8119fea9@LTVM> References: <003701c853af$b8cec540$657aa8c0@M90> <002b01c853b2$88ffd1d0$8119fea9@LTVM> Message-ID: <005e01c853ba$d36fc880$657aa8c0@M90> Max, >My answer is: What are happening to create the fragmentation? ...Are they using memo fields to write all sorts of 'comments' based on the telephone calls. Yes, they use memo fields everywhere. This isn't one table it is hundreds. It is not a single field it is dozens in many of the tables. It is often not something that be contained in 255 characters. I understand normalization, and there are ~75 fields in the CLAIM table, ~40 fields just in the claimant table, then there is policy, policy holder, insurer, underwriter and so forth ad nasium Memos serve a purpose, storing data where the potential exists for more than 255 characters of input. I am careful not to use them for things like name or address but there are still dozens of memo fields in this database. In fact I do use entire other databases to store data from the file imports, however using a separate db just for memo fields just wouldn't work imo. This is a call center database but a very complex one. The main form has about 20 tabs, each tab has at least one and occasionally more child forms on it, child to claim. In at least one case the subform has a tab with about 6 subforms on it. There is a LOT of data to be captured and tracked in order to process an insurance claim, and disability claims have to be processed every month, and in the case of short term disability, every week (they get a check weekly). All of it has to be "a click away" because they are talking to the claimant and discussing parts of their claim, live, on the phone. It is really a lovely little application. There are 115 "events" (so far) that can happen in the claim, everything from open / close / archive / reopen etc to mail received, document sent or received, surveillance requested, claim approved / denied, data exported to the insurer, data imported from the insurer etc. Each event can cause a status change to the claim (a review event may cause a denied status or a reopen status). Events need memo fields to explain what happened to trigger the event. Events occur daily in some cases and at some stages of processing. Then there are "diaries" as they call them, tickler records to remind them in 60 days to send a follow-up letter or check whether medical records ever came in. Certain processes (mail merge for example) can automatically trigger events (saying that a specific document was sent to a specific doctor, or a form was sent to the claimant), and events can automatically trigger and fill in diaries to prompt the users to do specific things at a specific date in the future. Diaries require a memo to hold what needs to happen, and what actually happened when the diary popped up. Then there is the "claim contact" table where notes about telephone, email, fax and any other contacts are made with the claimant, lawyers, doctors, family members etc. Memo fields to write these notes. Payments sent, payments canceled, checks voided, overpayments, recovery efforts... get the picture. This thing is so complex that they use it "live" as a demo to potential clients to get new business. The insurers go away astonished that a company of 60 people can have a database that does all of that stuff, and even more astonished that they don't have such an application. Of course they are not allowed to see the data center. TOP SECRET stuff happens there don't you know. ;-) So yea, there is fragmentation of the database itself (compact / repair required regularly). 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 Max Wanadoo Sent: Thursday, January 10, 2008 12:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money My answer is: What are happening to create the fragmentation? 800 = 1 Gig (give or take a byte or two) So it will be easy to fragment a BE that has lots of COPY TO (which is what essentially memo fields do). Are they using memo fields to write all sorts of 'comments' based on the telephone calls. If so, how's about having a table dedicated to memo fields, and link that to the main table and then compact/repair that table each time the form with the table is exited (or sommat like that - lateral thinking, etc)...OR.. Giving each user a FE for the memo fields in a tblMemos table and then copy that as an append to the BE....OR...putting comments into a TEXT file using WRITE? Keep on thinking, Max... Always more than one way to skin a problem.... Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 5:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money >Are they doing *other* things on the disk where the BE is stored. LOL. The BE (800 megs compacted) is on a 60 gig hard drive that had 6 gigs left. Now, what is YOUR answer to that 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 Max Wanadoo Sent: Thursday, January 10, 2008 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money Hmmm, interesting. I don't really understand how the BE will be fragmented unless there are lots of memo fields in there. Also, a reasonably large disk should not need defragging for ages. Mine has been going years and still does not need defragging. Are they doing *other* things on the disk where the BE is stored. If so, it might be worthwhile putting the BE on its own drive. With regard to the COSTS. Ask they question, "Which or your activities generate the most income?" When they start saying anything other than the DB, then ask them "Tell me, if the DB stopped completely, what would the impact be on your bottom line?". Then ask the question "Do you have a Disaster Recovery Plan that is regularly tested and checked?". Take it from there. From fuller.artful at gmail.com Thu Jan 10 13:01:32 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Jan 2008 14:01:32 -0500 Subject: [AccessD] Clients and money In-Reply-To: <003101c853a3$2ec58390$657aa8c0@M90> References: <003001c8539c$dd2f5750$657aa8c0@M90> <29f585dd0801100757x501976f3ua2ca9db29e205767@mail.gmail.com> <003101c853a3$2ec58390$657aa8c0@M90> Message-ID: <29f585dd0801101101s1cd66d31k5fd613b38e92a639@mail.gmail.com> Yes they are. There's an Australian product called Unreplicator that does it with a couple of clicks. But your point about a call center is well taken. A. On 1/10/08, jwcolby wrote: > > Arthur, > > I understand and think replication works well in some scenarios. I think > a > call center is not one of them. If the caller hangs up and decides he > needs > to call right back and say something, the odds are small that he would get > the same person on the phone. Everyone needs access to all changes > immediately. > > As for undoing the changes... the synchronization process adds entirely > new > GUI IDs, changes sequential autonumbers to random etc. Those changes are > NOT trivial to undo. > > 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 Arthur Fuller > Sent: Thursday, January 10, 2008 10:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Clients and money > > I've mentioned this before, but another approach that doesn't cost any > money > other than your time is to set up Access Replication on the network. The > scenario goes approximately like this: > > 1. Create the Master Replica on your development machine. > 2. Set up the Synchronizer either on the server or on any other > always-available machine. > 3. Create replicas for each machine that taps into the app. > 4. Set up the synchronizer to synch the replicas with a suitable > frequency. > > This eliminates about 90% of the network traffic. The entire database > resides locally on each machine that needs it. The synchronizer kicks in > at > the specified interval, and copies data in both directions. That is, in a > simplified case, where we have local machines A and B, and server S: > > At the beginning, A, B and S all have the same data. > A adds some rows. > B adds some rows. > Synchronizer kicks in and exchanges data with A, then B. At this point, B > receives A's new data, but A won't receive B's new data until the next > synchronization. > And so on. > > Whether this can work in your scenario depends on the granularity of > synchronization. If A needs to see B's changes immediately, then this > scenario is inappropriate. But if A can wait a few minutes to see B's > data, > then this approach delivers much better performance than the classic FE/BE > scenario in which a whole whack of data is sent over the wire frequently > (to > populate subforms, dropdowns, etc.). The reason it's so much faster is > because all that is transmitted is the new and changed data. Regardless of > how fast your data-entry people are, how many rows can they enter every 15 > minutes or so (depending on the interval you set)? Further, when viewed > this > way, how much data is one new row? Typically, due to foreign keys etc., a > row is a collection of longs, a couple of text fields, a few dates, a > currency value or three... total, maybe 1k per row. So the data exchange > that occurs per synchronization (local to server and back) is a few KB at > most. How long does that take? Answer: a second or two. > > This approach is simple to try, and if you don't like the results it's > simple to undo. > > Arthur > > On 1/10/08, jwcolby wrote: > > > > I had an interesting "problem" with the database at a client this > > week, where the database response time went to hell very suddenly. > > This is the disability insurance call center software which many users > > spend their day taking calls, opening a very complex form to view and > > edit claim info for the person they are talking to. > > > > On Friday of last week, the time to open this very complex form went > > from > > 4 > > or 5 seconds to 20 or 30 seconds. There are old machines where the > > form went from 8-10 seconds to 60 or 80 seconds. > > > > Long ago I had a similar problem in this database and I had developed > > a class (of course) and a table to log how long the form takes to > > open, the time of day, the workstation trying to open the form, how > > many users are in the database etc. So every time this main form > > opens it logs all this information in a table. I then developed a set > > of queries (long ago) to show me averages by day / workstation etc. > > > > So... times to open have gone through the roof, it happened on a > > specific day last week, and they have remained there. Of course the > > client is calling me with "did you do anything..." kinds of questions. > > I had not, and could tell that by my billing records where I record > > what I do on what day for who. > > > > Long story short, after a few days of poking around, the user > > rebooting the server, compacting / repair the BE, decompile / compact > > / repair the FE etc.... I noticed that the disk volume holding the > > database was down to about 15% remaining space (on a 60 gig drive). I > > told the client to look at this and he quickly went in and deleted all > > kinds of old trash and got us up to about 50% remaining. this did > > make some small impact, but the database was still abysmally slow. > > Last night I went in, rebooted the server, defragged the C: drive and > > the D: drive (where the database resides) and voila, this morning the > > times are back to normal. > > > > It turns out that the real problem was two fold. First it was > > horribly fragmented, but additionally when the client did a compact > > repair, something went wrong and Access created two of those "DB1.MDB" > > things that it creates when a compact fails. The database is about > > 800 megs compacted, and the drive was so full that suddenly, with two > > additional 800 meg files in there, there was just "no room left". > > When I say "no room left", there was actually about 6 gigs left even > > after the DB1 copies were created, but the remaining space was tiny > > little fragments of space all over the disk. Which meant that the > > database itself was already horribly fragmented and it couldn't find > > any room to put new pieces as needed. > > > > So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get > > too low on space. > > > > Now to the money thing. I use a 4 gig RAM drive on one of my servers > > here at my office to hold a set of files for the address validation > > software that one of my servers runs. It speeds up that process by > > 50%, allowing me to move from about 2.5 million addresses per hour > > processed up to about 4.5 million. A startling and impressive > > increase in speed. So I advised this same client (a year ago) to look > > at doing this for this call center database. The main database file > > is about 800 megs. In looking over the "time to open" records this > > last week I noticed that various employees are opening claim records > > using this complex form every 20 to 60 seconds or so (950 records > > yesterday). That is a LOT of data being pulled (and I use JIT > > subforms to hold it down). So I again advised the client to try a > > couple of these 4 gig boards in Raid 0 to put just the BE files on, in > > order to speed up the database. I am convinced with this number of > > transactions per hour, with the size of the database, and with the way > > that a RAM disk works, that a RAM disk could boost this specific > > application's usability. > > > > The board costs about $150 and another $200 for 4 gigs of memory to > > put on it. $400 shipped to their door for one, $800 for two. The > > client just told me that "due to costs and ... " they will "consider > > this in the future". We are talking about $800 expense (plus > > implementation) for a company of 60 employees where 30 or so users are > > in the database all day every day, and they are deferring it to later. > > > > Clients really are cost conscious, and the smaller the client, the > > more that is so IMHO. > > > > 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 jwcolby at colbyconsulting.com Thu Jan 10 13:05:59 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jan 2008 14:05:59 -0500 Subject: [AccessD] Clients and money In-Reply-To: <200801101758.m0AHwW0O004478@databaseadvisors.com> References: <003701c853af$b8cec540$657aa8c0@M90> <200801101758.m0AHwW0O004478@databaseadvisors.com> Message-ID: <006001c853bb$d6915e60$657aa8c0@M90> You know in a sense you are correct. Storage is cheap, my time is not. For the cost of my time it took to track down the problem and fix it they could have purchased an entire server (well half of one anyway). Not to mention lost productivity by their employees. OTOH they get sucked in by DELL to buy a machine with SCSI drives running at 15K RPM but only 60 gigs, and they don't dare open the server to drop a new drive in (or don't know how). That is what is really sad. They had SCSI superfast drives so small that it was totally choked up with garbage. How fast was that in the end? Plus everyone in a small company is running around trying to get work done, not really watching these kinds of things. I am betting that they spent more on their three servers from Dell than I spent in building and maintaining my servers, and mine have dedicated raid cards with terabyte storage. I spend the bucks though because I know the need and the consequences. 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: Thursday, January 10, 2008 12:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money Given the cost of storage - that's just sad. I have one client where they disregard server needs as badly as your client of reference. They've run into problems a number of times because of it and have paid me more to recover/repair their damage than it would have cost to follow my advice. That's just sad. I keep giving them the advice and even tell them that they'd save money in comparison to have me keep fixing the result of not doing it. What can a guy do? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby LOL. The BE (800 megs compacted) is on a 60 gig hard drive that had 6 gigs left. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu Jan 10 13:38:13 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 10 Jan 2008 19:38:13 -0000 Subject: [AccessD] Clients and money In-Reply-To: <005e01c853ba$d36fc880$657aa8c0@M90> Message-ID: <000501c853c0$57952ec0$8119fea9@LTVM> OK. But years ago, before ACCESS or FOXPRO etc, I used to write Database Records using READ, PRINT, WRITE, WRITE APPEND, etc with a hash generated key. Could you perhaps do something similar using the AutoNumber as the key. Don't ask me how to do it now, too many vodkas passed in the last 10 years or so, but it should be achievable, 'cos that is how we used to create databases. No bloat etc. Don't know about speed of access etc but it is *fairly* low level stuff so should be pretty fast (particularly if compiled and called once via an API and then left open for read/write). I used to use QuickBasic and similar to do it. The Hash Key could be the Prime ID + a Notes Key. Even though you say you use JIT to minimise traffic, there must be tons of memo content dragged over from what you are saying below. >>TOP SECRET stuff happens there don't you know. ;-) Your not holding our two missing government CDs by any chance? I know some data went out to Omaha (is that spelt right?). Max Ps. If you could achieve this, what would that do for your reputation. 'The fastest Call Centre in the West standing alongside the coolest water cooler'. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 6:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money Max, >My answer is: What are happening to create the fragmentation? ...Are >they using memo fields to write all sorts of 'comments' based on the telephone calls. Yes, they use memo fields everywhere. This isn't one table it is hundreds. It is not a single field it is dozens in many of the tables. It is often not something that be contained in 255 characters. I understand normalization, and there are ~75 fields in the CLAIM table, ~40 fields just in the claimant table, then there is policy, policy holder, insurer, underwriter and so forth ad nasium Memos serve a purpose, storing data where the potential exists for more than 255 characters of input. I am careful not to use them for things like name or address but there are still dozens of memo fields in this database. In fact I do use entire other databases to store data from the file imports, however using a separate db just for memo fields just wouldn't work imo. This is a call center database but a very complex one. The main form has about 20 tabs, each tab has at least one and occasionally more child forms on it, child to claim. In at least one case the subform has a tab with about 6 subforms on it. There is a LOT of data to be captured and tracked in order to process an insurance claim, and disability claims have to be processed every month, and in the case of short term disability, every week (they get a check weekly). All of it has to be "a click away" because they are talking to the claimant and discussing parts of their claim, live, on the phone. It is really a lovely little application. There are 115 "events" (so far) that can happen in the claim, everything from open / close / archive / reopen etc to mail received, document sent or received, surveillance requested, claim approved / denied, data exported to the insurer, data imported from the insurer etc. Each event can cause a status change to the claim (a review event may cause a denied status or a reopen status). Events need memo fields to explain what happened to trigger the event. Events occur daily in some cases and at some stages of processing. Then there are "diaries" as they call them, tickler records to remind them in 60 days to send a follow-up letter or check whether medical records ever came in. Certain processes (mail merge for example) can automatically trigger events (saying that a specific document was sent to a specific doctor, or a form was sent to the claimant), and events can automatically trigger and fill in diaries to prompt the users to do specific things at a specific date in the future. Diaries require a memo to hold what needs to happen, and what actually happened when the diary popped up. Then there is the "claim contact" table where notes about telephone, email, fax and any other contacts are made with the claimant, lawyers, doctors, family members etc. Memo fields to write these notes. Payments sent, payments canceled, checks voided, overpayments, recovery efforts... get the picture. This thing is so complex that they use it "live" as a demo to potential clients to get new business. The insurers go away astonished that a company of 60 people can have a database that does all of that stuff, and even more astonished that they don't have such an application. Of course they are not allowed to see the data center. TOP SECRET stuff happens there don't you know. ;-) So yea, there is fragmentation of the database itself (compact / repair required regularly). 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 Max Wanadoo Sent: Thursday, January 10, 2008 12:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money My answer is: What are happening to create the fragmentation? 800 = 1 Gig (give or take a byte or two) So it will be easy to fragment a BE that has lots of COPY TO (which is what essentially memo fields do). Are they using memo fields to write all sorts of 'comments' based on the telephone calls. If so, how's about having a table dedicated to memo fields, and link that to the main table and then compact/repair that table each time the form with the table is exited (or sommat like that - lateral thinking, etc)...OR.. Giving each user a FE for the memo fields in a tblMemos table and then copy that as an append to the BE....OR...putting comments into a TEXT file using WRITE? Keep on thinking, Max... Always more than one way to skin a problem.... Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 5:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money >Are they doing *other* things on the disk where the BE is stored. LOL. The BE (800 megs compacted) is on a 60 gig hard drive that had 6 gigs left. Now, what is YOUR answer to that 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 Max Wanadoo Sent: Thursday, January 10, 2008 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money Hmmm, interesting. I don't really understand how the BE will be fragmented unless there are lots of memo fields in there. Also, a reasonably large disk should not need defragging for ages. Mine has been going years and still does not need defragging. Are they doing *other* things on the disk where the BE is stored. If so, it might be worthwhile putting the BE on its own drive. With regard to the COSTS. Ask they question, "Which or your activities generate the most income?" When they start saying anything other than the DB, then ask them "Tell me, if the DB stopped completely, what would the impact be on your bottom line?". Then ask the question "Do you have a Disaster Recovery Plan that is regularly tested and checked?". Take it from there. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Jan 10 14:23:42 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 10 Jan 2008 12:23:42 -0800 Subject: [AccessD] Database Normalization In-Reply-To: <000001c853b8$b96bd980$6401a8c0@home6399619597> References: <002801c85396$7621b720$0301a8c0@HAL9005> <000001c853b8$b96bd980$6401a8c0@home6399619597> Message-ID: <000901c853c6$b1cd4930$0301a8c0@HAL9005> That's a real good one - goes in for sure. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Thursday, January 10, 2008 10:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Normalization Rocky, Here is a reference that is often quoted on Tek-Tips. http://r937.com/relational.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 10, 2008 9:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database Normalization Dear List: I need a reference - preferably web - to a tutorial on database normalization - basic level preferably, to include in my book. Does anybody have a favorite? 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.516 / Virus Database: 269.19.0/1216 - Release Date: 1/9/2008 10:16 AM From jimdettman at verizon.net Thu Jan 10 14:34:20 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 10 Jan 2008 15:34:20 -0500 Subject: [AccessD] Clients and money In-Reply-To: <003001c8539c$dd2f5750$657aa8c0@M90> References: <003001c8539c$dd2f5750$657aa8c0@M90> Message-ID: <002801c853c8$2e3cf2d0$8abea8c0@XPS> This once again proves the point I've been making to my clients over the past 15 years; yes, you do need to defrag and defrag on a regular basis. Microsoft has always suggested that NTFS disks don't need defragging. That's absolute baloney. I've had too many cases where I've walked in, found severe fragmentation on a server and gotten a 10 - 20% boost in performance just by defragging (especially with older hardware). You want your CPU and disk spending time processing stuff, not wasting their time with wasted overhead. I thing I like to do is size disks so that "at capacity", they are approx 60% full. This keeps fragmentation at bay somewhat and defrags will run quicker (more maneuvering room to work with). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 10, 2008 10:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clients and money I had an interesting "problem" with the database at a client this week, where the database response time went to hell very suddenly. This is the disability insurance call center software which many users spend their day taking calls, opening a very complex form to view and edit claim info for the person they are talking to. On Friday of last week, the time to open this very complex form went from 4 or 5 seconds to 20 or 30 seconds. There are old machines where the form went from 8-10 seconds to 60 or 80 seconds. Long ago I had a similar problem in this database and I had developed a class (of course) and a table to log how long the form takes to open, the time of day, the workstation trying to open the form, how many users are in the database etc. So every time this main form opens it logs all this information in a table. I then developed a set of queries (long ago) to show me averages by day / workstation etc. So... times to open have gone through the roof, it happened on a specific day last week, and they have remained there. Of course the client is calling me with "did you do anything..." kinds of questions. I had not, and could tell that by my billing records where I record what I do on what day for who. Long story short, after a few days of poking around, the user rebooting the server, compacting / repair the BE, decompile / compact / repair the FE etc.... I noticed that the disk volume holding the database was down to about 15% remaining space (on a 60 gig drive). I told the client to look at this and he quickly went in and deleted all kinds of old trash and got us up to about 50% remaining. this did make some small impact, but the database was still abysmally slow. Last night I went in, rebooted the server, defragged the C: drive and the D: drive (where the database resides) and voila, this morning the times are back to normal. It turns out that the real problem was two fold. First it was horribly fragmented, but additionally when the client did a compact repair, something went wrong and Access created two of those "DB1.MDB" things that it creates when a compact fails. The database is about 800 megs compacted, and the drive was so full that suddenly, with two additional 800 meg files in there, there was just "no room left". When I say "no room left", there was actually about 6 gigs left even after the DB1 copies were created, but the remaining space was tiny little fragments of space all over the disk. Which meant that the database itself was already horribly fragmented and it couldn't find any room to put new pieces as needed. So, just an FYI, DEFRAG THE DISK!!! And do not allow the disk to get too low on space. Now to the money thing. I use a 4 gig RAM drive on one of my servers here at my office to hold a set of files for the address validation software that one of my servers runs. It speeds up that process by 50%, allowing me to move from about 2.5 million addresses per hour processed up to about 4.5 million. A startling and impressive increase in speed. So I advised this same client (a year ago) to look at doing this for this call center database. The main database file is about 800 megs. In looking over the "time to open" records this last week I noticed that various employees are opening claim records using this complex form every 20 to 60 seconds or so (950 records yesterday). That is a LOT of data being pulled (and I use JIT subforms to hold it down). So I again advised the client to try a couple of these 4 gig boards in Raid 0 to put just the BE files on, in order to speed up the database. I am convinced with this number of transactions per hour, with the size of the database, and with the way that a RAM disk works, that a RAM disk could boost this specific application's usability. The board costs about $150 and another $200 for 4 gigs of memory to put on it. $400 shipped to their door for one, $800 for two. The client just told me that "due to costs and ... " they will "consider this in the future". We are talking about $800 expense (plus implementation) for a company of 60 employees where 30 or so users are in the database all day every day, and they are deferring it to later. Clients really are cost conscious, and the smaller the client, the more that is so IMHO. 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 Thu Jan 10 14:56:28 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 10 Jan 2008 14:56:28 -0600 Subject: [AccessD] Database Normalization In-Reply-To: <000001c853b8$b96bd980$6401a8c0@home6399619597> Message-ID: I like the database design being more and art then a science. Couldn't agree more! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Thursday, January 10, 2008 12:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Normalization Rocky, Here is a reference that is often quoted on Tek-Tips. http://r937.com/relational.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 10, 2008 9:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database Normalization Dear List: I need a reference - preferably web - to a tutorial on database normalization - basic level preferably, to include in my book. Does anybody have a favorite? 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 From miscellany at mvps.org Thu Jan 10 15:21:45 2008 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 11 Jan 2008 10:21:45 +1300 Subject: [AccessD] Access 2007 In-Reply-To: <001601c85387$3f41daf0$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> Message-ID: <47868C69.6010602@mvps.org> John, It seems to me that you are directing your "disquiet" at the wrong thing. In earlier versions of Access, if you wanted the Menubar to "go away", the procedure is to create a custom menubar with no commands, and set that as the application Menu Bar under the Tools|Startup menu. Parallel to this, in Access 2007, if you want the the Ribbon to "go away", the procedure is to create a custom ribbon with no tabs, and set that as the application Ribbon under the Office|Access Options|Current Database menu. Is it as easy to create a custom Ribbon in Access 2007 as it is to create a custom Menubar in Access 2003? No. For one thing, you have to learn some new stuff. Do I like it? No. But it is simply not true to say that you don't have the option. Here is some relevant information: http://msdn2.microsoft.com/en-us/library/bb258192.aspx http://msdn2.microsoft.com/en-us/library/bb187398.aspx In any case, a database that is created in an earlier version of Access, with startup options set to not show toolbars etc, will simply open in Access 2007 with no ribbon anyway. If you have custom menubars in applications that you developed in earlier version of Access, and then convert the database to Access 2007 format, your custom menubar will be converted to a group on a ribbon tab. Access provides some options for presenting this in a style more similar to the "old" menubar. Here is some information about this: http://accessjunkie.com/faq_31.aspx Once again, you would need to build this into a custom ribbon in order to get close to what you have now. Regards Steve jwcolby wrote: > Steve, > > So tell me how you permanently disable them so they never appear when the > application starts? I have menus built in to my applications. Simple, one > thin line at the top of the screen. How do I get the ribbon bar to go away > (never ever show) and the menu to appear? From robert at servicexp.com Thu Jan 10 15:25:47 2008 From: robert at servicexp.com (Robert) Date: Thu, 10 Jan 2008 16:25:47 -0500 Subject: [AccessD] Database Normalization In-Reply-To: References: Message-ID: <47868D5B.8020004@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It's just a shame that I'm such a terrible artist.. :-) WBR ~Robert Drew Wutka wrote: > I like the database design being more and art then a science. Couldn't > agree more! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat > Sent: Thursday, January 10, 2008 12:44 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Database Normalization > > Rocky, > > Here is a reference that is often quoted on Tek-Tips. > > http://r937.com/relational.html > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > at > Beach Access Software > Sent: Thursday, January 10, 2008 9:38 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Database Normalization > > > Dear List: > > I need a reference - preferably web - to a tutorial on database > normalization - basic level preferably, to include in my book. > > Does anybody have a favorite? > > MTIA > > Rocky > > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHho1b72dSYCwH8FQRAhxuAJ9VTDV9CE0zahXxkh28l/nwYQh9AgCgjuWG 9EZFy4oxiPBlLWVUhb+KoBo= =BH3t -----END PGP SIGNATURE----- From cfoust at infostatsystems.com Thu Jan 10 15:30:25 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 10 Jan 2008 13:30:25 -0800 Subject: [AccessD] Clients and money In-Reply-To: <002801c853c8$2e3cf2d0$8abea8c0@XPS> References: <003001c8539c$dd2f5750$657aa8c0@M90> <002801c853c8$2e3cf2d0$8abea8c0@XPS> Message-ID: >>size disks so that "at capacity", they are approx 60% full Maybe I'm slow on the uptake today (blame it on my age, if you dare!) but can you explain exactly what you mean by this, Jim? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, January 10, 2008 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money This once again proves the point I've been making to my clients over the past 15 years; yes, you do need to defrag and defrag on a regular basis. Microsoft has always suggested that NTFS disks don't need defragging. That's absolute baloney. I've had too many cases where I've walked in, found severe fragmentation on a server and gotten a 10 - 20% boost in performance just by defragging (especially with older hardware). You want your CPU and disk spending time processing stuff, not wasting their time with wasted overhead. I thing I like to do is size disks so that "at capacity", they are approx 60% full. This keeps fragmentation at bay somewhat and defrags will run quicker (more maneuvering room to work with). Jim. From cfoust at infostatsystems.com Thu Jan 10 15:32:02 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 10 Jan 2008 13:32:02 -0800 Subject: [AccessD] Database Normalization In-Reply-To: <47868D5B.8020004@servicexp.com> References: <47868D5B.8020004@servicexp.com> Message-ID: LOL! Try calling yourself an impressionist instead! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Thursday, January 10, 2008 1:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Normalization -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It's just a shame that I'm such a terrible artist.. :-) WBR ~Robert Drew Wutka wrote: > I like the database design being more and art then a science. > Couldn't agree more! > > Drew > From fuller.artful at gmail.com Thu Jan 10 15:55:22 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Jan 2008 16:55:22 -0500 Subject: [AccessD] Clients and money In-Reply-To: References: <003001c8539c$dd2f5750$657aa8c0@M90> <002801c853c8$2e3cf2d0$8abea8c0@XPS> Message-ID: <29f585dd0801101355w31d6054cnbfef250c513603a5@mail.gmail.com> He means 40% empty, Charlotte. While on the subject of defrag, there's a free utility called AusLogics Disk Defrag that is way faster than the native XP defrag. A. On 1/10/08, Charlotte Foust wrote: > > >>size disks so that "at capacity", they are approx 60% full > Maybe I'm slow on the uptake today (blame it on my age, if you dare!) > but can you explain exactly what you mean by this, Jim? > > Charlotte Foust > From jimdettman at verizon.net Thu Jan 10 17:01:23 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 10 Jan 2008 18:01:23 -0500 Subject: [AccessD] Clients and money In-Reply-To: References: <003001c8539c$dd2f5750$657aa8c0@M90> <002801c853c8$2e3cf2d0$8abea8c0@XPS> Message-ID: <007801c853dc$b8f5dbd0$8abea8c0@XPS> If the expected usage is 100GB, then I make sure the drive space is at least 167GB. I always try to leave between 35% - 40% of free space on a volume. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, January 10, 2008 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clients and money >>size disks so that "at capacity", they are approx 60% full Maybe I'm slow on the uptake today (blame it on my age, if you dare!) but can you explain exactly what you mean by this, Jim? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, January 10, 2008 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money This once again proves the point I've been making to my clients over the past 15 years; yes, you do need to defrag and defrag on a regular basis. Microsoft has always suggested that NTFS disks don't need defragging. That's absolute baloney. I've had too many cases where I've walked in, found severe fragmentation on a server and gotten a 10 - 20% boost in performance just by defragging (especially with older hardware). You want your CPU and disk spending time processing stuff, not wasting their time with wasted overhead. I thing I like to do is size disks so that "at capacity", they are approx 60% full. This keeps fragmentation at bay somewhat and defrags will run quicker (more maneuvering room to work with). Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jan 10 17:18:16 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 10 Jan 2008 15:18:16 -0800 Subject: [AccessD] Clients and money In-Reply-To: <007801c853dc$b8f5dbd0$8abea8c0@XPS> References: <003001c8539c$dd2f5750$657aa8c0@M90><002801c853c8$2e3cf2d0$8abea8c0@XPS> <007801c853dc$b8f5dbd0$8abea8c0@XPS> Message-ID: Ohh! That makes perfect sense, I just read your post as some kind of a method for configuring drives to an arbitrary "at capacity", not just watching out to see how much was free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, January 10, 2008 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money If the expected usage is 100GB, then I make sure the drive space is at least 167GB. I always try to leave between 35% - 40% of free space on a volume. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, January 10, 2008 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clients and money >>size disks so that "at capacity", they are approx 60% full Maybe I'm slow on the uptake today (blame it on my age, if you dare!) but can you explain exactly what you mean by this, Jim? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, January 10, 2008 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Clients and money This once again proves the point I've been making to my clients over the past 15 years; yes, you do need to defrag and defrag on a regular basis. Microsoft has always suggested that NTFS disks don't need defragging. That's absolute baloney. I've had too many cases where I've walked in, found severe fragmentation on a server and gotten a 10 - 20% boost in performance just by defragging (especially with older hardware). You want your CPU and disk spending time processing stuff, not wasting their time with wasted overhead. I thing I like to do is size disks so that "at capacity", they are approx 60% full. This keeps fragmentation at bay somewhat and defrags will run quicker (more maneuvering room to work with). Jim. From marklbreen at gmail.com Thu Jan 10 18:04:47 2008 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 11 Jan 2008 00:04:47 +0000 Subject: [AccessD] How to Supress the "Click to Cancel" dialog box when you are printing reports Message-ID: Hello All, I hope you are all well. I am printing some reports currently using MS Access 2003 using the following command: DoCmd.OpenReport "rptFrontTicket" However, I am printing 1000's of these reports and I would like to suppress the "Click to Cancel" dialog box that appears. It probably does not slow performance, but it makes the user experience less attractive to constantly see that dialog box appearing and disappearing 1000 times. Does anyone know how to do this? Thanks in advance, Mark From dbdoug at gmail.com Thu Jan 10 21:22:52 2008 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 10 Jan 2008 19:22:52 -0800 Subject: [AccessD] Speaking of Access 2007 annoyances Message-ID: <4dd71a0c0801101922j7751b10au461cb9361797dd12@mail.gmail.com> Does anyone know how to hide the Navigation Pane completely with code? There is nothing in the Access help or Google about a NavigationPane object, property, etc. or anything else I could think of searching. Doug Steele From miscellany at mvps.org Thu Jan 10 22:02:47 2008 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 11 Jan 2008 17:02:47 +1300 Subject: [AccessD] Speaking of Access 2007 annoyances In-Reply-To: <4dd71a0c0801101922j7751b10au461cb9361797dd12@mail.gmail.com> References: <4dd71a0c0801101922j7751b10au461cb9361797dd12@mail.gmail.com> Message-ID: <4786EA67.8070207@mvps.org> Hi Doug, You can hide it via the 'Display Navigation Pane' option, under Access Options=>Current Database settings. Alternatively, if you have a Startup form nominated, you can do like this on the Load event of that form: DoCmd.SelectObject acForm, "NameOfYourForm", True DoCmd.RunCommand acCmdWindowHide Regards Steve Doug Steele wrote: > Does anyone know how to hide the Navigation Pane completely with code? > There is nothing in the Access help or Google about a NavigationPane object, > property, etc. or anything else I could think of searching. > > Doug Steele From jwcolby at colbyconsulting.com Thu Jan 10 23:02:13 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Jan 2008 00:02:13 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <47868C69.6010602@mvps.org> References: <008f01c852c3$7d297b30$657aa8c0@M90><001801c852db$d84ab7f0$6401a8c0@nant><00a801c852e7$7b5c2ae0$657aa8c0@M90><4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> <47868C69.6010602@mvps.org> Message-ID: <007c01c8540f$217caa80$657aa8c0@M90> >It seems to me that you are directing your "disquiet" at the wrong thing. ROTFL. Which implies there are way more important things to direct my disquiet at? ;-) At least now I know that I can overcome this obstacle should I need to and apparently force my client to pay me a largish sum of money to learn how to do it as well. Cool! Forcing my client to pay me largish sums to get what they already had is a good thing! 8-) 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 Schapel Sent: Thursday, January 10, 2008 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 John, It seems to me that you are directing your "disquiet" at the wrong thing. In earlier versions of Access, if you wanted the Menubar to "go away", the procedure is to create a custom menubar with no commands, and set that as the application Menu Bar under the Tools|Startup menu. Parallel to this, in Access 2007, if you want the the Ribbon to "go away", the procedure is to create a custom ribbon with no tabs, and set that as the application Ribbon under the Office|Access Options|Current Database menu. Is it as easy to create a custom Ribbon in Access 2007 as it is to create a custom Menubar in Access 2003? No. For one thing, you have to learn some new stuff. Do I like it? No. But it is simply not true to say that you don't have the option. Here is some relevant information: http://msdn2.microsoft.com/en-us/library/bb258192.aspx http://msdn2.microsoft.com/en-us/library/bb187398.aspx In any case, a database that is created in an earlier version of Access, with startup options set to not show toolbars etc, will simply open in Access 2007 with no ribbon anyway. If you have custom menubars in applications that you developed in earlier version of Access, and then convert the database to Access 2007 format, your custom menubar will be converted to a group on a ribbon tab. Access provides some options for presenting this in a style more similar to the "old" menubar. Here is some information about this: http://accessjunkie.com/faq_31.aspx Once again, you would need to build this into a custom ribbon in order to get close to what you have now. Regards Steve jwcolby wrote: > Steve, > > So tell me how you permanently disable them so they never appear when > the application starts? I have menus built in to my applications. > Simple, one thin line at the top of the screen. How do I get the > ribbon bar to go away (never ever show) and the menu to appear? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Jan 10 23:29:26 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 11 Jan 2008 00:29:26 -0500 Subject: [AccessD] Access 2007 In-Reply-To: <007c01c8540f$217caa80$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> <47868C69.6010602@mvps.org> <007c01c8540f$217caa80$657aa8c0@M90> Message-ID: <29f585dd0801102129m1a85201cj5f4aa29d36717a96@mail.gmail.com> Like the oil companies: first they sell you leaded gas, then they raise the price to sell you unleaded gas. Cool. Or, as I told a friend of mine who was a therapist, "You're in the best business in the world. If it doesn't work, you blame the customer." A. On 1/11/08, jwcolby wrote: > > >It seems to me that you are directing your "disquiet" at the wrong thing. > > ROTFL. Which implies there are way more important things to direct my > disquiet at? > > ;-) > > At least now I know that I can overcome this obstacle should I need to and > apparently force my client to pay me a largish sum of money to learn how > to > do it as well. Cool! Forcing my client to pay me largish sums to get > what > they already had is a good thing! > > 8-) > > 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 Schapel > Sent: Thursday, January 10, 2008 4:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 > > John, > > It seems to me that you are directing your "disquiet" at the wrong thing. > > In earlier versions of Access, if you wanted the Menubar to "go away", the > procedure is to create a custom menubar with no commands, and set that as > the application Menu Bar under the Tools|Startup menu. > > Parallel to this, in Access 2007, if you want the the Ribbon to "go away", > the procedure is to create a custom ribbon with no tabs, and set that as > the > application Ribbon under the Office|Access Options|Current Database menu. > > Is it as easy to create a custom Ribbon in Access 2007 as it is to create > a > custom Menubar in Access 2003? No. For one thing, you have to learn some > new stuff. Do I like it? No. But it is simply not true to say that you > don't have the option. > > Here is some relevant information: > http://msdn2.microsoft.com/en-us/library/bb258192.aspx > http://msdn2.microsoft.com/en-us/library/bb187398.aspx > > In any case, a database that is created in an earlier version of Access, > with startup options set to not show toolbars etc, will simply open in > Access 2007 with no ribbon anyway. > > If you have custom menubars in applications that you developed in earlier > version of Access, and then convert the database to Access 2007 format, > your > custom menubar will be converted to a group on a ribbon tab. Access > provides some options for presenting this in a style more similar to the > "old" menubar. Here is some information about this: > http://accessjunkie.com/faq_31.aspx > Once again, you would need to build this into a custom ribbon in order to > get close to what you have now. > > Regards > Steve > > > jwcolby wrote: > > Steve, > > > > So tell me how you permanently disable them so they never appear when > > the application starts? I have menus built in to my applications. > > Simple, one thin line at the top of the screen. How do I get the > > ribbon bar to go away (never ever show) and the menu to appear? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From miscellany at mvps.org Fri Jan 11 02:12:57 2008 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 11 Jan 2008 21:12:57 +1300 Subject: [AccessD] Access 2007 In-Reply-To: <007c01c8540f$217caa80$657aa8c0@M90> References: <008f01c852c3$7d297b30$657aa8c0@M90> <001801c852db$d84ab7f0$6401a8c0@nant> <00a801c852e7$7b5c2ae0$657aa8c0@M90> <4785ED2F.6030800@mvps.org> <001601c85387$3f41daf0$657aa8c0@M90> <47868C69.6010602@mvps.org> <007c01c8540f$217caa80$657aa8c0@M90> Message-ID: <47872509.6040308@mvps.org> jwcolby wrote: > ROTFL. Which implies there are way more important things to direct my > disquiet at? :-) Well yes. Like if the grand plan is that we need to mess with XML and all that in order to control the Ribbon interface, why isn't there an ribbon customising tool built in? > At least now I know that I can overcome this obstacle should I need to and > apparently force my client to pay me a largish sum of money to learn how to > do it as well. Cool! Forcing my client to pay me largish sums to get what > they already had is a good thing! All joking aside, John, I am not going to advocate doing something in Access 2007 just because you can. I can't think of any reason why you would try to move your clients to Access 2007 if they get the same as they've already got. The only reason to consider the move, as far as I am concernned, is if there is desirable functionality specific to Access 2007 that you or they want to take advantage of. Regards Steve From jwcolby at colbyconsulting.com Fri Jan 11 08:15:51 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Jan 2008 09:15:51 -0500 Subject: [AccessD] Poll: who's using Access 2007 Message-ID: <008901c8545c$7986a210$657aa8c0@M90> I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Jan 11 08:16:47 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Jan 2008 09:16:47 -0500 Subject: [AccessD] Poll: Who's using Vista Message-ID: <008a01c8545c$9a5fc070$657aa8c0@M90> Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients John W. Colby Colby Consulting www.ColbyConsulting.com From Mwp.Reid at qub.ac.uk Fri Jan 11 08:24:29 2008 From: Mwp.Reid at qub.ac.uk (Martin W Reid) Date: Fri, 11 Jan 2008 14:24:29 +0000 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: Not using it at all. Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby [jwcolby at colbyconsulting.com] Sent: 11 January 2008 14:16 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 gmail.com Fri Jan 11 08:26:01 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 11 Jan 2008 09:26:01 -0500 Subject: [AccessD] Poll: who's using Access 2007 References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <010001c8545d$e7893600$4b3a8343@SusanOne> John, I don't "use" anything in the same way you guys. I do have 2007 installed. I'm still writing to the 2003 audience, as that's what publishers want right now. However, I do add instructions for 2007 when they differ. I haven't installed Outlook 2007 yet. Susan H. >I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 mmattys at rochester.rr.com Fri Jan 11 08:51:10 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 11 Jan 2008 09:51:10 -0500 Subject: [AccessD] Poll: Who's using Vista References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <012a01c85461$8e11c7f0$0202a8c0@Laptop> Just ordered a laptop with XP, thank you. :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, January 11, 2008 9:16 AM Subject: [AccessD] Poll: Who's using Vista > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > 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 mmattys at rochester.rr.com Fri Jan 11 08:55:27 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 11 Jan 2008 09:55:27 -0500 Subject: [AccessD] Poll: who's using Access 2007 References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <012b01c85462$01ce13b0$0202a8c0@Laptop> 1 client with Access 2007, so far. No UI - just macros to run queries & code Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, January 11, 2008 9:15 AM Subject: [AccessD] Poll: who's using Access 2007 >I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 max.wanadoo at gmail.com Fri Jan 11 08:57:47 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 11 Jan 2008 14:57:47 -0000 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <00ea01c85462$55d96d60$8119fea9@LTVM> Not at home and not at work. Some have vista on the newer pc/laptop but none are using office 2007. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 2:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, 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 Gustav at cactus.dk Fri Jan 11 08:58:32 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 11 Jan 2008 15:58:32 +0100 Subject: [AccessD] Poll: who's using Access 2007 Message-ID: Hi John 1) No 2) Yes 3) No /gustav >>> jwcolby at colbyconsulting.com 11-01-2008 15:15:51 >>> I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Fri Jan 11 08:59:59 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 11 Jan 2008 15:59:59 +0100 Subject: [AccessD] Poll: Who's using Vista Message-ID: Hi John 1) Yes 2) Yes 3) Yes Note: Not exclusively, of course. /gustav >>> jwcolby at colbyconsulting.com 11-01-2008 15:16:47 >>> Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients John W. Colby Colby Consulting www.ColbyConsulting.com From garykjos at gmail.com Fri Jan 11 09:04:03 2008 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 11 Jan 2008 09:04:03 -0600 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: I have Office 2007 including Access 2007 installed and in use on one system at home. No plans to use it at work. Likewise for Vista. GK On 1/11/08, jwcolby wrote: > I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 jimdettman at verizon.net Fri Jan 11 09:05:05 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 11 Jan 2008 10:05:05 -0500 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <026501c85463$5a1dd860$8abea8c0@XPS> No, No, and No. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 9:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, 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 jimdettman at verizon.net Fri Jan 11 09:05:05 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 11 Jan 2008 10:05:05 -0500 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <026601c85463$5a6f05a0$8abea8c0@XPS> No, No, and No. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 9:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 JHewson at karta.com Fri Jan 11 09:11:49 2008 From: JHewson at karta.com (Jim Hewson) Date: Fri, 11 Jan 2008 09:11:49 -0600 Subject: [AccessD] Poll: who's using Access 2007 References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <1C877227AE9F2A4BB20BABE94325D15B0B35FC@exchange.Karta.com> We have one client that just bought an Enterprise License and will use it in the near future, otherwise NO. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 8:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, 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 JHewson at karta.com Fri Jan 11 09:12:29 2008 From: JHewson at karta.com (Jim Hewson) Date: Fri, 11 Jan 2008 09:12:29 -0600 Subject: [AccessD] Poll: Who's using Vista References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <1C877227AE9F2A4BB20BABE94325D15B0B35FD@exchange.Karta.com> Same answer as your survey for Office 2007. We have one client that just bought an Enterprise License and will use it in the near future, otherwise NO. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 8:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 Jan 11 09:16:00 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Jan 2008 10:16:00 -0500 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <009601c85464$e03f80a0$657aa8c0@M90> 1) No 2) No 3) None 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, January 11, 2008 9:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, 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 Jan 11 09:16:35 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Jan 2008 10:16:35 -0500 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <009701c85464$f4cd57e0$657aa8c0@M90> 1) No 2) No 3) Few if any 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, January 11, 2008 9:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 mfisch4 at capex.com.ar Fri Jan 11 09:20:23 2008 From: mfisch4 at capex.com.ar (MF) Date: Fri, 11 Jan 2008 13:20:23 -0200 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <200801111520.m0BFKivo005473@databaseadvisors.com> No Vista and no 2007 and not planning to in neither 1, 2 or 3. MF ______________________________ At 12:15 PM 11/01/2008, you wrote: >I would like to get a feeling for how many people in our group are using >Office 2007. > >1) At home >2) At work >3) At clients > >Thanks, > >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 Erwin.Craps at ithelps.eu Fri Jan 11 09:26:42 2008 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 11 Jan 2008 16:26:42 +0100 Subject: [AccessD] Poll: Who's using Vista References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <430E80531228BA4497C5EB1A7BA786B0277081@stekelbes.ithelps.local> 1) YES 2) NO, but have a dual boot to try stuff 3) Only new computers because I have to. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 Jim.Hale at FleetPride.com Fri Jan 11 09:39:18 2008 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 11 Jan 2008 09:39:18 -0600 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: For home use I bought a Lenovo laptop with Vista Ultimate, 2 gigs of memory, and office 2007 to begin easing into Vista. It loads slooow. I have not begun to do any serious development on it but I do like the media center. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 8:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 *********************************************************************** 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 shamil at users.mns.ru Fri Jan 11 09:54:23 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 11 Jan 2008 18:54:23 +0300 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <009701c85464$f4cd57e0$657aa8c0@M90> Message-ID: <000701c8546a$3c537c70$6401a8c0@nant> 1) Yes 2) Yes 3) Yes But I do not use it that often because main projects are in .NET. Although my elder son, who is in the college now and he uses my notebook with Vista and MS Office 2007 every day - and he is happy with it. And I do use it when in business trips or for crush testing as a test-bed. I have it since last year spring and I have not seen any major issues with them all: DELL notebook, Vista Ultimate (from MSDN Prof.) and MS Office 2007, and VS2005 Prof and MS SQL 2000 and 2005 and quite some other software, as well as custom software, one set of which are add-ins for VB6, MS Access/Excel, VS2003/2005 developed software - all run well on Vista, and I do stress-test very heavily the software I develop... No any major issue with add-ins for MS Access 2007/Excel 2007 running on Vista Ultimate... When used in business trip at customer site I used MS Office 2007/Excel 2007 a lot and I found them very good - I'd not mind to develop with them but my current customer do prefer .NET because of the kind of software we currently develop together but I do see that MS Access 2007/Excel 2007/Work 2007 etc. can be used in some applications for this customer - yes, MS SharePoint bound very probably... No any major issue with .NET 2.0 custom software running on Vista with MS SQL 2000 or MS SQL 2005 under ASP.NET 2.0 or as separate applications/utilities: all that software is a real business ASP.NET 2.0 site with all that VLL, BLL, DAL.... layers, providers... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 6:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Poll: Who's using Vista 1) No 2) No 3) Few if any 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, January 11, 2008 9:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 shamil at users.mns.ru Fri Jan 11 09:57:58 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 11 Jan 2008 18:57:58 +0300 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: Message-ID: <000801c8546a$bcb58b60$6401a8c0@nant> Jim, DELL Inspiron 9400 Dual Core Pentium with 2GB RAM just "flies" with Vista Ultimate - that could be graphic card issue with your Lenovo laptop? I'm not that much in hardware, not even sure what kind of graphic card DELL Inspiron 9400 uses but it works very well... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, January 11, 2008 6:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: Who's using Vista For home use I bought a Lenovo laptop with Vista Ultimate, 2 gigs of memory, and office 2007 to begin easing into Vista. It loads slooow. I have not begun to do any serious development on it but I do like the media center. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 8:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 *********************************************************************** 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 garykjos at gmail.com Fri Jan 11 10:00:47 2008 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 11 Jan 2008 10:00:47 -0600 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: 1) Yes on one system 2) No 3) No GK On 1/11/08, jwcolby wrote: > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > 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 cfoust at infostatsystems.com Fri Jan 11 10:00:22 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 11 Jan 2008 08:00:22 -0800 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: I HAVE it at home only. I USE it as little as possible, except for Outlook 2007 which I rather like. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 6:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, 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 rockysmolin at bchacc.com Fri Jan 11 10:01:49 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 11 Jan 2008 08:01:49 -0800 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <002f01c8546b$46c52c20$0301a8c0@HAL9005> 1) No 2) No (same lace) 3) can't say since they're all remote but I haven't heard of any - so I'd say very few. My market is small business. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 6:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.0/1218 - Release Date: 1/10/2008 1:32 PM From cfoust at infostatsystems.com Fri Jan 11 10:11:12 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 11 Jan 2008 08:11:12 -0800 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: None of the above, although we do have some machines in the office running Vista and haven't encountered a lot of problems (there have been a few odd behaviors of our apps that only turned up on Vista machines). Hmmn .... sounds like this list is very conservative. LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 6:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients John W. Colby Colby Consulting www.ColbyConsulting.com -- From markamatte at hotmail.com Fri Jan 11 10:24:41 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 11 Jan 2008 16:24:41 +0000 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: The company I work for is currently moving from NT to XP...and Office 97 to Office XP...and when I say currently...I mean still converting. I am curious about the newer versions...but unless I start developing outside of work...I haven't been able to justify spending any time or money on newer versions. Mark > From: jwcolby at colbyconsulting.com> To: accessd at databaseadvisors.com> Date: Fri, 11 Jan 2008 09:15:51 -0500> Subject: [AccessD] Poll: who's using Access 2007> > I would like to get a feeling for how many people in our group are using> Office 2007.> > 1) At home> 2) At work> 3) At clients> > Thanks,> > 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 _________________________________________________________________ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From Gustav at cactus.dk Fri Jan 11 10:37:12 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 11 Jan 2008 17:37:12 +0100 Subject: [AccessD] Poll: who's using Access 2007 Message-ID: Hi Mark I think this is the case for most larger corporations. One of my former emplyoees is now the IT manager at a subsidiary of one of the largest medical corporations with more than 25,000 employees in total. After extensive research and planning, in November 2007 they initiated the world-wide roll-out of Windows XP and Office XP. Note, this is by all measures a progressive and very well organized corporation. But careful. /gustav >>> markamatte at hotmail.com 11-01-2008 17:24:41 >>> The company I work for is currently moving from NT to XP...and Office 97 to Office XP...and when I say currently...I mean still converting. I am curious about the newer versions...but unless I start developing outside of work...I haven't been able to justify spending any time or money on newer versions. Mark From tinanfields at torchlake.com Fri Jan 11 10:41:33 2008 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 11 Jan 2008 11:41:33 -0500 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <47879C3D.2090801@torchlake.com> John, So far I have used Vista only with clients who have it. I've not installed it on any of my boxes and don't plan to for a while yet. The college where I teach is going to Vista for the fall 2008 term. The hope is that the product will be stable and reliable by then. Tina jwcolby wrote: > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > From tinanfields at torchlake.com Fri Jan 11 10:45:18 2008 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 11 Jan 2008 11:45:18 -0500 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <47879D1E.2020007@torchlake.com> John, For my own database work, I'm using A03, with A2K file format. So far only one client has called for help on an A07 issue, and that turned out to be just a security setting. On campus, we have installed Office 07 in all labs but one, where we still have Office 03. My Access classes were all in 03 last year. By fall of 2008, I am pretty sure we'll be all Office 07. So, I'll have to teach it. Tina jwcolby wrote: > I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > From robert at servicexp.com Fri Jan 11 11:04:18 2008 From: robert at servicexp.com (Robert) Date: Fri, 11 Jan 2008 12:04:18 -0500 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <4787A192.1000401@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 1) At home (Testing) jwcolby wrote: > I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHh6GS72dSYCwH8FQRAsHJAJ9Rs3uaiDzM5qbVD6CER1qwTJU5AgCfVHjM 7+fT+mrSVTmTNM/0zDceMQ8= =Prpe -----END PGP SIGNATURE----- From robert at servicexp.com Fri Jan 11 11:04:59 2008 From: robert at servicexp.com (Robert) Date: Fri, 11 Jan 2008 12:04:59 -0500 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <4787A1BB.4090005@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Not using it at all, although next machine build will install. jwcolby wrote: > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHh6G772dSYCwH8FQRAuJpAKC6+vKPdXEZJZE0ApPWUG7EFl2A1QCdHrjF KbceGGP0M7Fr5h4XIjLKm0g= =aKMI -----END PGP SIGNATURE----- From gweedensmith at iowatelecom.net Fri Jan 11 12:13:30 2008 From: gweedensmith at iowatelecom.net (gweedensmith at iowatelecom.net) Date: Fri, 11 Jan 2008 12:13:30 -0600 (CST) Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <49320.70.12.90.210.1200075210.squirrel@webmail.iowatelecom.net> 1) Yup 2) No & Yes (more than one computer) 3) Yes (and no...depends on customer installation) > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > 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 gweedensmith at iowatelecom.net Fri Jan 11 12:18:19 2008 From: gweedensmith at iowatelecom.net (gweedensmith at iowatelecom.net) Date: Fri, 11 Jan 2008 12:18:19 -0600 (CST) Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <49348.70.12.90.210.1200075499.squirrel@webmail.iowatelecom.net> 1) Yup - and I like it. Could do without the ribbons, but what the heck. 2) Nope - mostly. Some have it installed and I have to help them... 3) Nope - mostly. See # 2 above. :D > I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 andy at minstersystems.co.uk Fri Jan 11 12:31:24 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 11 Jan 2008 18:31:24 -0000 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <024901c85480$2bedf020$d54bd355@minster33c3r25> Neither A2007 nor Vista. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 11 January 2008 14:16 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Poll: who's using Access 2007 > > > I would like to get a feeling for how many people in our > group are using Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 miscellany at mvps.org Fri Jan 11 12:38:08 2008 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 12 Jan 2008 07:38:08 +1300 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <4787B790.2010005@mvps.org> I've lost the ability to distinguish between 1) and 2) these days. Yes, on 1 machine for familiarisation and testing 3) None Regards Steve jwcolby wrote: > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > From miscellany at mvps.org Fri Jan 11 12:39:50 2008 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 12 Jan 2008 07:39:50 +1300 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <4787B7F6.4070206@mvps.org> 1)/2) - On one machine for learning 3) Just starting on a new project using Access 2007 Regards Steve jwcolby wrote: > I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > From barry.herring at att.net Fri Jan 11 13:04:32 2008 From: barry.herring at att.net (Barry G. Herring) Date: Fri, 11 Jan 2008 13:04:32 -0600 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <024901c85480$2bedf020$d54bd355@minster33c3r25> References: <008901c8545c$7986a210$657aa8c0@M90> <024901c85480$2bedf020$d54bd355@minster33c3r25> Message-ID: <008801c85484$cd9ace30$68d06a90$@herring@att.net> Was using vista and access 2007 But had go back to using access 2003, to many issues in development. Have users using access 2007 to run the project, just had to figure out the security issues, everything else is working. Still have issues with Vista and access 2003, but I have figured out how to work around them. Barry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, January 11, 2008 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Poll: who's using Access 2007 Neither A2007 nor Vista. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 11 January 2008 14:16 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Poll: who's using Access 2007 > > > I would like to get a feeling for how many people in our > group are using Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 max.wanadoo at gmail.com Fri Jan 11 13:06:20 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 11 Jan 2008 19:06:20 -0000 Subject: [AccessD] OT: Proverbs In-Reply-To: <4787B7F6.4070206@mvps.org> Message-ID: <002401c85485$0e02b0a0$8119fea9@LTVM> 1 Home is where you hang your @. 2 The e-mail of the species is more deadly than the mail. 3 A journey of a thousand sites begins with a single click 4 You can't teach a new mouse old clicks 5 Great groups from little icons grow. 6 Speak softly and carry a cellular phone. 7 C:\ is the root of all directories. 8 Oh, what a tangled web-site we weave when first we practice. 9 Pentium wise, pen and paper foolish. 10 The modem is the message 11 Too many clicks spoil the browse. 12 The geek shall inherit the earth. 13 There's no place like home page. 14 Don't byte off more than you can view. 15 Fax is stranger than fiction 16 What boots up must come down. 17 Windows will never cease. 18 Virtual reality is its own reward. 19 Modulation in all things 20 Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks From bill_patten at embarqmail.com Fri Jan 11 13:14:01 2008 From: bill_patten at embarqmail.com (Bill Patten) Date: Fri, 11 Jan 2008 11:14:01 -0800 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008801c85484$cd9ace30$68d06a90$@herring@att.net> References: <008901c8545c$7986a210$657aa8c0@M90><024901c85480$2bedf020$d54bd355@minster33c3r25> <008801c85484$cd9ace30$68d06a90$@herring@att.net> Message-ID: Barry, I too am having problems with 2003 and Vista (64). What workarounds have you found? SP3 and KB943964 fixed the most repeatable ones, but now crashes sometimes when pasting object in a tab control for example. Often destroys the form so I can't open even in the design mode. Doing lots of saving... By the way, it seems stable when doing the same thing in Access 2007, though I've only tested it a few times. Bill ----- Original Message ----- From: "Barry G. Herring" To: "'Access Developers discussion and problem solving'" Sent: Friday, January 11, 2008 11:04 AM Subject: Re: [AccessD] Poll: who's using Access 2007 Was using vista and access 2007 But had go back to using access 2003, to many issues in development. Have users using access 2007 to run the project, just had to figure out the security issues, everything else is working. Still have issues with Vista and access 2003, but I have figured out how to work around them. Barry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, January 11, 2008 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Poll: who's using Access 2007 Neither A2007 nor Vista. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 11 January 2008 14:16 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Poll: who's using Access 2007 > > > I would like to get a feeling for how many people in our > group are using Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 jwcolby at colbyconsulting.com Fri Jan 11 13:46:45 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Jan 2008 14:46:45 -0500 Subject: [AccessD] OT: Humor Message-ID: <00dc01c8548a$b29f3f20$657aa8c0@M90> The Spoiled Under 30 Crowd If you are over 30, you will think this is hilarious!!!! Send it to your kids, they may not think so! When I was a kid, adults used to bore me to tears with their tedious diatribes about how hard things were when they were growing up; what with walking twenty-five miles to school every morning .... Uphill BOTH ways .. Yadda, yadda, yadda And I remember promising myself that when I grew up, there was no way in heck I was going to lay a bunch of malarkey like that on kids about how hard I had it and how easy they've got it! But now that... I'm over the ripe old age of thirty, I can't help but look around and notice the youth of today. You've got it so easy! I mean, compared to my childhood, you live in a dang Utopia! And I hate to say it but you kids today, you don't know how good you've got it! 1. When I was a kid, we didn't have the Internet. If we wanted to know something, we had to go to the dang library and look it up ourselves... In the card catalog!! (Do you even know what a card catalog is? Didn't think so!) 2. There was no email!! We had to actually write somebody a letter... With a pen! Then you had to walk all the way across the street and put it in the mailbox and it would take like a week to get there! 3. There were no MP3's or Napsters! If you wanted to steal music, you had to hitchhike to the dang record store and shoplift it yourself! Or you had to wait around all day to tape it off the radio and the DJ would usually talk over the beginning and mess it all up! 4. We didn't have fancy stuff like Call Waiting! If you were on the phone and somebody else called they got a busy signal, that's it! 5. And we didn't have fancy Caller ID either! When the phone rang, you had no idea who it was! It could be your school, your mom, your boss, a friend, a collections agent, you just didn't know!!! You had to pick it up and take your chances, mister! 6. We didn't have any fancy Sony Playstation video games with high-resolution 3-D graphics! We had the Atari 2600! With games like "Space Invaders" and "asteroids" and the graphics were horrible! Your guy was a little square! You actually had to use your imagination! And there were no multiple levels or screens, it was just one screen forever! And you could never win. The game just kept getting harder and harder and faster and faster until you died! Just like LIFE! 7. When you went to the movie theater there no such thing as stadium seating! All the seats were the same height! If a tall guy or some old broad with a hat sat in front of you and you couldn't see, you were just out of luck! 8. Sure, we had cable television, but back then that was only like 15 channels and there was no onscreen menu! You had to use a little book called a TV Guide to find out what was on! And there was no Cartoon Network either! You could only get cartoons on Saturday Morning. Do you hear what I'm saying!?! We had to wait ALL WEEK for cartoons! 9. And we didn't have microwaves, if we wanted to heat something up, we had to use the stove or go build a fire ... Imagine that! If we wanted popcorn, we had to use that stupid JiffyPop thing or a pan with HOT oil and Real popcorn kernels and shake it all over the stove forever like an idiot. 10. When we were on the phone with our friends and our parents walked-in, we were stuck to the wall with a cord, a 7 foot cord that ran to the phone - not the phone base, the actual phone. You couldn't walk outside so your mom couldn't hear. We barely had enough length to sit on the floor and still be able to twirl the phone cord in our fingers. If you suddenly had to go to the bathroom - guess what we had to do..... Hang up and talk to them later. That's exactly what I'm talking about! You kids today have got it too easy. You're spoiled!! You guys wouldn't have lasted five minutes back in 1980! Regards, The over 30 Crowd John W. Colby Colby Consulting www.ColbyConsulting.com From barry.herring at att.net Fri Jan 11 14:20:06 2008 From: barry.herring at att.net (Barry G. Herring) Date: Fri, 11 Jan 2008 14:20:06 -0600 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: References: <008901c8545c$7986a210$657aa8c0@M90><024901c85480$2bedf020$d54bd355@minster33c3r25> <008801c85484$cd9ace30$68d06a90$@herring@att.net> Message-ID: <00a001c8548f$5c2738f0$1475aad0$@herring@att.net> I have found that if it crash in access 2003 with vista, if you compact and repair on a system that is running vista and access 2007 sometimes it will correct the issue. One of the issues that I have is I cannot compact an repair a access 2003 database on a vista System; So I have to either find one with windows XP and access 2003 or Vista and Access 2007. Currently we have a Evaluation copy of Windows Vista (32) (SP1) (Business) installed from Microsoft; Access does not seem to shut down for no apparent reason (well not as often). Yes I to save a copy of anything I am going to work on, before I start any coding or design changes. Do not seem to have as many problems with an ADP, just the MDB files. Maybe it is just another way for Microsoft to force users to develop on SQL. (Just my thoughts on the conspiracy that MS is trying to take over the world.) We have clients using both Vista and XP on the same project and have not had any problems with them using the programs concurrently; all the problems seems to be on the developing side. We did have some issues with Access 2003 (SP3) when it came out, but made a few changes and all is working fine now. Barry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Friday, January 11, 2008 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: who's using Access 2007 Barry, I too am having problems with 2003 and Vista (64). What workarounds have you found? SP3 and KB943964 fixed the most repeatable ones, but now crashes sometimes when pasting object in a tab control for example. Often destroys the form so I can't open even in the design mode. Doing lots of saving... By the way, it seems stable when doing the same thing in Access 2007, though I've only tested it a few times. Bill ----- Original Message ----- From: "Barry G. Herring" To: "'Access Developers discussion and problem solving'" Sent: Friday, January 11, 2008 11:04 AM Subject: Re: [AccessD] Poll: who's using Access 2007 Was using vista and access 2007 But had go back to using access 2003, to many issues in development. Have users using access 2007 to run the project, just had to figure out the security issues, everything else is working. Still have issues with Vista and access 2003, but I have figured out how to work around them. Barry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, January 11, 2008 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Poll: who's using Access 2007 Neither A2007 nor Vista. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 11 January 2008 14:16 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Poll: who's using Access 2007 > > > I would like to get a feeling for how many people in our > group are using Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 fuller.artful at gmail.com Fri Jan 11 16:39:42 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 11 Jan 2008 17:39:42 -0500 Subject: [AccessD] OT: Friday Message-ID: <29f585dd0801111439o6b2a4cc2t59d8bfad76dc591b@mail.gmail.com> Two quotes from Mae West: "Men like a woman with a past because they hope history will repeat itself." "Men always say they're protecting you, but they never say from what." From joeget at vgernet.net Fri Jan 11 20:00:53 2008 From: joeget at vgernet.net (John Eget) Date: Fri, 11 Jan 2008 21:00:53 -0500 Subject: [AccessD] Poll: Who's using Vista References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <002601c854be$fa6372c0$39c2f63f@gateway8529fab> I work for a government agency and they said not yet till it settles out more John ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, January 11, 2008 9:16 AM Subject: [AccessD] Poll: Who's using Vista > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > 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 joeget at vgernet.net Fri Jan 11 20:01:06 2008 From: joeget at vgernet.net (John Eget) Date: Fri, 11 Jan 2008 21:01:06 -0500 Subject: [AccessD] Poll: who's using Access 2007 References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <002901c854bf$01cae520$39c2f63f@gateway8529fab> I work for a government agency and they said not yet till it settles out more John ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, January 11, 2008 9:15 AM Subject: [AccessD] Poll: who's using Access 2007 >I would like to get a feeling for how many people in our group are using > Office 2007. > > 1) At home > 2) At work > 3) At clients > > Thanks, > > 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 pcs at azizaz.com Fri Jan 11 20:05:33 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Sat, 12 Jan 2008 12:05:33 +1000 (EST) Subject: [AccessD] Poll: who's using Access 2007 Message-ID: <20080112120533.DLU26007@dommail.onthenet.com.au> No! Sticking with Access 2003 Issue is with new clients having Access2007 installed, or existing clients buying new boxes with Access2007 installed. So far I have been recommending to the team that we supply the app's with runtime version of Access2003. Borge ---- Original message ---- >Date: Fri, 11 Jan 2008 09:15:51 -0500 >From: "jwcolby" >Subject: [AccessD] Poll: who's using Access 2007 >To: "'Access Developers discussion and problem solving'" > >I would like to get a feeling for how many people in our group are using >Office 2007. > >1) At home >2) At work >3) At clients > >Thanks, > >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 bheid at sc.rr.com Fri Jan 11 20:19:07 2008 From: bheid at sc.rr.com (Bobby Heid) Date: Fri, 11 Jan 2008 21:19:07 -0500 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <000f01c854c1$82decd00$889c6700$@rr.com> I'm using Access 2007 at home and work. Although work is mostly SQL Server 2000/2005, I am using Access 2007 as a tool for my current project. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 9:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From bheid at sc.rr.com Fri Jan 11 20:20:32 2008 From: bheid at sc.rr.com (Bobby Heid) Date: Fri, 11 Jan 2008 21:20:32 -0500 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <008a01c8545c$9a5fc070$657aa8c0@M90> References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <001001c854c1$b59129f0$20b37dd0$@rr.com> Using it at home, would like to use it at work. Some of my clients have it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 9:17 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients John W. Colby Colby Consulting www.ColbyConsulting.com From pcs at azizaz.com Fri Jan 11 20:21:02 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Sat, 12 Jan 2008 12:21:02 +1000 (EST) Subject: [AccessD] Poll: Who's using Vista Message-ID: <20080112122102.DLU26862@dommail.onthenet.com.au> 1) and 2) - Frustrating experience - many times tempted to rip it out and go back to XP. Then I remind myself: MS is working on getting Vista better, and perhaps - it could just be that - that I am missing something .... I have turned User Account Control off though - am slowly getting used to the setting of permissions on folders and files... something new to get used to from the days you could roam all over the harddrives and access any file without any security system lifting a finger... but necessary I guess in these "inter connected" times .... I have AVG antivirus and Comodo firewall installed, I don't visit 'weird' sites or download executable files indiscriminately .... and I guess I just have to trust AVG and Comodo regards borge ---- Original message ---- >Date: Fri, 11 Jan 2008 09:16:47 -0500 >From: "jwcolby" >Subject: [AccessD] Poll: Who's using Vista >To: "'Access Developers discussion and problem solving'" > >Likewise I would like to get a feeling for who's using Vista: > >1) At home >2) At work >3) At clients > >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 nd500_lo at charter.net Fri Jan 11 22:08:26 2008 From: nd500_lo at charter.net (Dian) Date: Fri, 11 Jan 2008 20:08:26 -0800 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <008901c8545c$7986a210$657aa8c0@M90> References: <008901c8545c$7986a210$657aa8c0@M90> Message-ID: <000301c854d0$c8696420$6400a8c0@dsunit1> I use Access 2003 to develop and I'm "exploring" Access 2007...since I work at home...didn't want to try to work out where it all is...I'm not going anywhere near Vista for a few more months/years and I don't really worry about what my one client decides to use...it's working, I got paid and I'm back to being happily retired... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 11, 2008 6:16 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: who's using Access 2007 I would like to get a feeling for how many people in our group are using Office 2007. 1) At home 2) At work 3) At clients Thanks, 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 gmail.com Sat Jan 12 09:26:34 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 12 Jan 2008 10:26:34 -0500 Subject: [AccessD] good general article on deployment Message-ID: <007301c8552f$85bf26a0$4b3a8343@SusanOne> http://blogs.techrepublic.com.com/10things/?p=291 ===I didn't write this, but found it pretty good, so thought I'd share. I think it's a good checklist for the early stages -- several things to do "before" you get too involved, and snagged. Susan H. From dw-murphy at cox.net Sat Jan 12 12:31:28 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 12 Jan 2008 10:31:28 -0800 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: <002601c854be$fa6372c0$39c2f63f@gateway8529fab> Message-ID: <002701c85549$5888e800$0200a8c0@murphy3234aaf1> Use 2003 at home/work - same systems. Have 2007 on a virtual machine for testing. At this time I wouldn't recommend it. Seems to be very hardware sensitive. Have a client who purchased a new Toshiba lap top that was supposed to be one of the high end ones. We tried one of his applications on it and had nothing but trouble. I realized early that this was an area I didn't want to get into so recommended that he get his IT guy to work with it. As far as testing our runtimes and installer seems to work fine on it. Doug From dw-murphy at cox.net Sat Jan 12 12:34:47 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 12 Jan 2008 10:34:47 -0800 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: <000f01c854c1$82decd00$889c6700$@rr.com> Message-ID: <002801c85549$cf36ae60$0200a8c0@murphy3234aaf1> Use Access 2003 at home and work, same place. Have 2007 on a virtual machine to do work with client apps where they have moved to office 2007. Can't comment on it much except that the new Excel graph object didn't format the way the Excel 2003 graph object did. Had to redo a bunch of graphs with vb formating behind them for the clients 2007 machines. Doug From robert at servicexp.com Sat Jan 12 13:31:25 2008 From: robert at servicexp.com (Robert) Date: Sat, 12 Jan 2008 14:31:25 -0500 Subject: [AccessD] Access 2007 Runtime Files In-Reply-To: <002801c85549$cf36ae60$0200a8c0@murphy3234aaf1> References: <002801c85549$cf36ae60$0200a8c0@murphy3234aaf1> Message-ID: <4789158D.4000105@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Does anybody know where the runtime files are located when install? I can't seem to find them anywhere.. WBR ~Robert -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHiRWN72dSYCwH8FQRAtYlAJ9WZ/DjOVIKmuO4Q19K8CIuiSCT9QCgs7X0 BVcsocY+sdw8e22FNBekj+M= =Kz8/ -----END PGP SIGNATURE----- From marklbreen at gmail.com Sat Jan 12 17:26:50 2008 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 12 Jan 2008 23:26:50 +0000 Subject: [AccessD] How to Supress the "Click to Cancel" dialog box when you are printing reports In-Reply-To: References: Message-ID: Hello All, I hope you are all well. I am printing some reports currently using MS Access 2003 using the following command: DoCmd.OpenReport "rptFrontTicket" However, I am printing 1000's of these reports and I would like to suppress the "Click to Cancel" dialog box that appears. It probably does not slow performance, but it makes the user experience less attractive to constantly see that dialog box appearing and disappearing 1000 times. Does anyone know how to do this? Thanks in advance, Mark From mmattys at rochester.rr.com Sat Jan 12 17:41:47 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sat, 12 Jan 2008 18:41:47 -0500 Subject: [AccessD] How to Supress the "Click to Cancel" dialog box when you are printing reports References: Message-ID: <001001c85574$b3b80cd0$0202a8c0@Laptop> Hi Mark, This is the only answer I've ever seen for that problem: http://www.mvps.org/access/api/api0037.htm Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Mark Breen" To: Sent: Saturday, January 12, 2008 6:26 PM Subject: [AccessD] How to Supress the "Click to Cancel" dialog box when you are printing reports > Hello All, > > I hope you are all well. > > I am printing some reports currently using MS Access 2003 using the > following command: DoCmd.OpenReport "rptFrontTicket" > > However, I am printing 1000's of these reports and I would like to > suppress > the "Click to Cancel" dialog box that appears. It probably does not slow > performance, but it makes the user experience less attractive to > constantly > see that dialog box appearing and disappearing 1000 times. > > Does anyone know how to do this? > > Thanks in advance, > > Mark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jan 12 19:42:52 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 12 Jan 2008 20:42:52 -0500 Subject: [AccessD] Windows Home Server running on a virtual machine Message-ID: <000d01c85585$9db008f0$657aa8c0@M90> Here's a novel concept, can I run WHS as a virtual machine on Virtual Server or Virtual PC? IOW can I take the migration tool (VMWare or Windows) install it on the underlying WHS Windows 2003 OS, take a snapshot of the software, take the virtual PC (or VMWare equivalent) file and move it into a virtual server? Why would I do this? RAID!!! I have two fairly high powered servers with terabyte raid arrays. The one glaring weakness of WHS is that it does not support raid, and these machines already have raid set up on them. Thus WHS would boot off of and store onto RAID automatically. Plus as I understand it, a virtual PC can only use a single core so WHS will grab a core and as much memory as I give it and just sit there chugging. I think I like this idea. John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Sat Jan 12 22:37:49 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 12 Jan 2008 23:37:49 -0500 Subject: [AccessD] Access 2007 Runtime Files In-Reply-To: <4789158D.4000105@servicexp.com> References: <002801c85549$cf36ae60$0200a8c0@murphy3234aaf1> <4789158D.4000105@servicexp.com> Message-ID: <29f585dd0801122037t6341b15fo2b2519694486444d@mail.gmail.com> I think they are a download, not included in the installation. I could be wrong but I recall that experience. On 1/12/08, Robert wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Does anybody know where the runtime files are located when install? I > can't seem to find them anywhere.. > From jwcolby at colbyconsulting.com Sat Jan 12 23:23:52 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Jan 2008 00:23:52 -0500 Subject: [AccessD] WHS on Virtual Server Message-ID: <001501c855a4$7c6a7c10$657aa8c0@M90> Well as I might have discussed, I got Windows 2003 x64 running the other day (with SQL Server x64). Tonight I downloaded Virtual Server 2005 R2 X64 and got it installed. I am now in the process of creating a virtual hard drive on my raid array. This will be the boot drive for WHS. It is taking awhile to build so I am going to bed. More tomorrow. John W. Colby Colby Consulting www.ColbyConsulting.com From robert at servicexp.com Sun Jan 13 10:07:04 2008 From: robert at servicexp.com (Robert) Date: Sun, 13 Jan 2008 11:07:04 -0500 Subject: [AccessD] Access 2007 Runtime Files In-Reply-To: <29f585dd0801122037t6341b15fo2b2519694486444d@mail.gmail.com> References: <002801c85549$cf36ae60$0200a8c0@murphy3234aaf1> <4789158D.4000105@servicexp.com> <29f585dd0801122037t6341b15fo2b2519694486444d@mail.gmail.com> Message-ID: <478A3728.50603@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arthur, Thank you, but what I'm after is when installed on the computer where are the files installed to. I downloaded and installed the runtime,and would like to point a shortcut to the runtime but need to know where it was installed to. The installation package gives no option, nor any indication of where it's going to be installed. WBR ~Robert Arthur Fuller wrote: > I think they are a download, not included in the installation. I could be > wrong but I recall that experience. > > On 1/12/08, Robert wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Does anybody know where the runtime files are located when install? I >> can't seem to find them anywhere.. >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHijco72dSYCwH8FQRAoU1AKC5QuFdWcwUAab+oxvaTPc7y69jkACfQ7GX YI5rvQ0xVEp5lJDbu5E5T5Q= =H9VQ -----END PGP SIGNATURE----- From rockysmolin at bchacc.com Sun Jan 13 12:32:18 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 13 Jan 2008 10:32:18 -0800 Subject: [AccessD] Currency vs Double Message-ID: <007b01c85612$a35e1070$0301a8c0@HAL9005> Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky From fuller.artful at gmail.com Sun Jan 13 12:37:37 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 13 Jan 2008 13:37:37 -0500 Subject: [AccessD] Currency vs Double In-Reply-To: <007b01c85612$a35e1070$0301a8c0@HAL9005> References: <007b01c85612$a35e1070$0301a8c0@HAL9005> Message-ID: <29f585dd0801131037lf00f377y433bcf884ab90c63@mail.gmail.com> Yes. On 1/13/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > Is there any difference between currency and double when working with > relatively small number - like under a million? Does currency take care > of > rounding errors which would happen in double calculations? > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Sun Jan 13 19:57:10 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 13 Jan 2008 17:57:10 -0800 Subject: [AccessD] Windows Home Server running on a virtual machine In-Reply-To: <000d01c85585$9db008f0$657aa8c0@M90> References: <000d01c85585$9db008f0$657aa8c0@M90> Message-ID: Now that is worthy of a write up when you get it all working. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, January 12, 2008 5:43 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] Windows Home Server running on a virtual machine Here's a novel concept, can I run WHS as a virtual machine on Virtual Server or Virtual PC? IOW can I take the migration tool (VMWare or Windows) install it on the underlying WHS Windows 2003 OS, take a snapshot of the software, take the virtual PC (or VMWare equivalent) file and move it into a virtual server? Why would I do this? RAID!!! I have two fairly high powered servers with terabyte raid arrays. The one glaring weakness of WHS is that it does not support raid, and these machines already have raid set up on them. Thus WHS would boot off of and store onto RAID automatically. Plus as I understand it, a virtual PC can only use a single core so WHS will grab a core and as much memory as I give it and just sit there chugging. I think I like this idea. 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 Sun Jan 13 21:07:06 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Jan 2008 22:07:06 -0500 Subject: [AccessD] Currency vs Double In-Reply-To: <007b01c85612$a35e1070$0301a8c0@HAL9005> References: <007b01c85612$a35e1070$0301a8c0@HAL9005> Message-ID: <002001c8565a$8bba58f0$657aa8c0@M90> Rocky, Currency only stores 4 decimal points, double stores "a lot" (don't have the number off the top of my head). A double is really a "floating point" number whereas a currency is specifically used to handle money. Currency needs lots of numbers to the left of the decimal point, but does not need a lot to the right. Currency rounds numbers beyond the 4th decimal place to cause the 4th decimal place to display the rounded effects of the 5th decimal place. 123.45678 becomes 123.4568 123.45674 becomes 123.4567 Basically this results in differences between complex math operations. ?ccur(1/3)*3 0.9999 ?1/3*3 1 ?cdbl(1/3)*3 1 As you can see, because of the larger numbers of decimal points stored, a float ends up with 1 from the previous operation whereas the currency type ends up with .9999. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Currency vs Double Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Sun Jan 13 21:18:22 2008 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 14 Jan 2008 14:18:22 +1100 Subject: [AccessD] OT: LEGO Mindstorms NXT References: <000301c84f11$387020d0$6501a8c0@nant> <004801c8514d$afe37430$657aa8c0@M90> Message-ID: <011701c8565c$1f4848b0$8b01a8c0@DELLAPTOP> My daughter and her best friend are still (only just) believers ( 9 years old). But their sceptical mate Anna does not. So the three cooked up a plan....Anna provided a document for Santa to sign when he came to our house to prove his existence. Very funny stuff.....I can't remember it being this complicated when I was little! We didn't ask Santa to sign contracts!! Kath ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, January 08, 2008 3:52 AM Subject: Re: [AccessD] OT: LEGO Mindstorms NXT >I believe! I believe!!! > > > John W. Colby > Colby Consulting From rockysmolin at bchacc.com Sun Jan 13 21:18:49 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 13 Jan 2008 19:18:49 -0800 Subject: [AccessD] Currency vs Double In-Reply-To: <002001c8565a$8bba58f0$657aa8c0@M90> References: <007b01c85612$a35e1070$0301a8c0@HAL9005> <002001c8565a$8bba58f0$657aa8c0@M90> Message-ID: <009201c8565c$308ee430$0301a8c0@HAL9005> So it sounds like currency has its own rounding problems? I'm trying to avoid the rounding problem in an application and read somewhere that using Currency data type accomplishes this. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 13, 2008 7:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Currency vs Double Rocky, Currency only stores 4 decimal points, double stores "a lot" (don't have the number off the top of my head). A double is really a "floating point" number whereas a currency is specifically used to handle money. Currency needs lots of numbers to the left of the decimal point, but does not need a lot to the right. Currency rounds numbers beyond the 4th decimal place to cause the 4th decimal place to display the rounded effects of the 5th decimal place. 123.45678 becomes 123.4568 123.45674 becomes 123.4567 Basically this results in differences between complex math operations. ?ccur(1/3)*3 0.9999 ?1/3*3 1 ?cdbl(1/3)*3 1 As you can see, because of the larger numbers of decimal points stored, a float ends up with 1 from the previous operation whereas the currency type ends up with .9999. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Currency vs Double Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? 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.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM From kp at sdsonline.net Sun Jan 13 21:28:45 2008 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 14 Jan 2008 14:28:45 +1100 Subject: [AccessD] Poll: Who's using Vista References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <01db01c8565d$92820180$8b01a8c0@DELLAPTOP> Not at all. Kath ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 12, 2008 1:16 AM Subject: [AccessD] Poll: Who's using Vista > Likewise I would like to get a feeling for who's using Vista: > > 1) At home > 2) At work > 3) At clients > > 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 kp at sdsonline.net Sun Jan 13 21:30:56 2008 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 14 Jan 2008 14:30:56 +1100 Subject: [AccessD] Poll: who's using Access 2007 References: <024901c85480$2bedf020$d54bd355@minster33c3r25> Message-ID: <01eb01c8565d$e083f230$8b01a8c0@DELLAPTOP> Yes - now using Access 2007 for 2 new clients. About 70% of my business is now Access 2003, with another 20% still on Access 2000. Kath >> I would like to get a feeling for how many people in our >> group are using Office 2007. >> >> 1) At home >> 2) At work >> 3) At clients >> >> Thanks, >> >> 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 jwcolby at colbyconsulting.com Sun Jan 13 22:21:06 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Jan 2008 23:21:06 -0500 Subject: [AccessD] I cannot get VMWare converter to download Message-ID: <002101c85664$e25ea170$657aa8c0@M90> I fill in all of the requisite things, read the agreement, click OK and I am back to the "download" page. Does anyone know why / not? Can anyone download this for me and send it to me? I need the "server converter and the Desktop converter. I ran the desktop converter before and it worked smooth as silk. That was long ago however and I have no idea where that downloaded copy might be. Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Jan 14 04:09:48 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Jan 2008 11:09:48 +0100 Subject: [AccessD] Currency vs Double Message-ID: Hi Rocky There is no way to choose a specific data type to solve each and every rounding "issue". You have to know what you are doing and what you wish to accomplish. As the name Currency tells, it is optimized for money calculations where indeed subtractions are performed without the typical errors from using Double or Single. On the other hand, as JC shows, you may need to perform interim calculations with another data type, or apply rounding carefully. Sadly, the native Round function is buggy, so for critical applications you will need a custom rounding function (one of which I have posted several times). /gustav >>> rockysmolin at bchacc.com 13-01-2008 19:32:18 >>> Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky From jimdettman at verizon.net Mon Jan 14 06:05:56 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 14 Jan 2008 07:05:56 -0500 Subject: [AccessD] Currency vs Double In-Reply-To: <009201c8565c$308ee430$0301a8c0@HAL9005> References: <007b01c85612$a35e1070$0301a8c0@HAL9005> <002001c8565a$8bba58f0$657aa8c0@M90> <009201c8565c$308ee430$0301a8c0@HAL9005> Message-ID: <017a01c856a5$d22f58d0$8abea8c0@XPS> Rocky, Currency is a special data type in that it is a scaled integer to four decimal places. What that means is that for up to four decimal places, the number will always be accurate. It achieves this by scaling a number you hand it. For example, when given 1234.5678, it's actually stored as 12345678. It's scaled up by 10^4. When you get the number back, it's scaled down. The reason for this data type is that decimal operations with the Double and single data types are not guaranteed. It has to do with the fundamental differences between binary and decimal arithmetic. Luke Chung has written several papers on this over the years in regards to Microsoft products. Here's one of them: http://www.fmsinc.com/tpapers/math/index.html The Decimal data type was added latter and allows you to specify the scaling factor. However the more you scale, the less significant digits (overall range) you'll have to work with. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 10:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Currency vs Double So it sounds like currency has its own rounding problems? I'm trying to avoid the rounding problem in an application and read somewhere that using Currency data type accomplishes this. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 13, 2008 7:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Currency vs Double Rocky, Currency only stores 4 decimal points, double stores "a lot" (don't have the number off the top of my head). A double is really a "floating point" number whereas a currency is specifically used to handle money. Currency needs lots of numbers to the left of the decimal point, but does not need a lot to the right. Currency rounds numbers beyond the 4th decimal place to cause the 4th decimal place to display the rounded effects of the 5th decimal place. 123.45678 becomes 123.4568 123.45674 becomes 123.4567 Basically this results in differences between complex math operations. ?ccur(1/3)*3 0.9999 ?1/3*3 1 ?cdbl(1/3)*3 1 As you can see, because of the larger numbers of decimal points stored, a float ends up with 1 from the previous operation whereas the currency type ends up with .9999. 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 Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Currency vs Double Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? 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.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 14 07:49:47 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 14 Jan 2008 05:49:47 -0800 Subject: [AccessD] Currency vs Double In-Reply-To: References: Message-ID: <00c201c856b4$5468b770$0301a8c0@HAL9005> Thanks all for the feedback on this. The client has gotten some advice that changing several fields from Double to Currency will avoid some rounding problems that were encountered and worked around in the current legacy app. I wrote a couple of functions myself years ago to round up and down. Anyway I suppose there's no harm in trying to mod the fields and see what happens. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 14, 2008 2:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Currency vs Double Hi Rocky There is no way to choose a specific data type to solve each and every rounding "issue". You have to know what you are doing and what you wish to accomplish. As the name Currency tells, it is optimized for money calculations where indeed subtractions are performed without the typical errors from using Double or Single. On the other hand, as JC shows, you may need to perform interim calculations with another data type, or apply rounding carefully. Sadly, the native Round function is buggy, so for critical applications you will need a custom rounding function (one of which I have posted several times). /gustav >>> rockysmolin at bchacc.com 13-01-2008 19:32:18 >>> Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky -- 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.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM From jwcolby at colbyconsulting.com Mon Jan 14 07:54:52 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 08:54:52 -0500 Subject: [AccessD] Data type mismatch Message-ID: <003701c856b5$09b008e0$657aa8c0@M90> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Mon Jan 14 07:59:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Jan 2008 07:59:08 -0600 Subject: [AccessD] I cannot get VMWare converter to download In-Reply-To: <002101c85664$e25ea170$657aa8c0@M90> References: <002101c85664$e25ea170$657aa8c0@M90> Message-ID: <000601c856b5$a23dd650$0300a8c0@danwaters> I get this once in a while with various sites. To solve it I will temporarily go to internet options / Privacy and open my PC to all cookies. Then I can click through to the next page. Then set cookies back to how they were before. This frequently does work, although I don't think I should have to do this. Gook Luck, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 13, 2008 10:21 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] I cannot get VMWare converter to download I fill in all of the requisite things, read the agreement, click OK and I am back to the "download" page. Does anyone know why / not? Can anyone download this for me and send it to me? I need the "server converter and the Desktop converter. I ran the desktop converter before and it worked smooth as silk. That was long ago however and I have no idea where that downloaded copy might be. Thanks, 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 Gustav at cactus.dk Mon Jan 14 07:59:44 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Jan 2008 14:59:44 +0100 Subject: [AccessD] Data type mismatch Message-ID: Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Mon Jan 14 08:15:43 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 14 Jan 2008 06:15:43 -0800 Subject: [AccessD] Data type mismatch In-Reply-To: References: Message-ID: <00c601c856b7$f32d5f20$0301a8c0@HAL9005> Brilliant! Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 14, 2008 6:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM From rockysmolin at bchacc.com Mon Jan 14 08:16:43 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 14 Jan 2008 06:16:43 -0800 Subject: [AccessD] Data type mismatch In-Reply-To: References: Message-ID: <00c701c856b8$17310980$0301a8c0@HAL9005> Gustav: Is this different in result from Len(Nz(fld)) > 0? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 14, 2008 6:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM From jwcolby at colbyconsulting.com Mon Jan 14 08:17:13 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 09:17:13 -0500 Subject: [AccessD] Data type mismatch In-Reply-To: References: Message-ID: <003901c856b8$28f2c870$657aa8c0@M90> That is interesting. I always thought that a null appended to a string was a null. 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 Mon Jan 14 08:20:07 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 09:20:07 -0500 Subject: [AccessD] Data type mismatch In-Reply-To: References: Message-ID: <003a01c856b8$90ebe8d0$657aa8c0@M90> I wrote a function NoNullStr(varDataToCheck as variant) as string. I then just checked inside of the wrapper and if it was null, returned a "" else return varDataToCheck. I then wrap the problematic text field with that. I was really hoping that someone knew a fix that would just let a base query do the 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 Mon Jan 14 08:22:06 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 09:22:06 -0500 Subject: [AccessD] I cannot get VMWare converter to download In-Reply-To: <000601c856b5$a23dd650$0300a8c0@danwaters> References: <002101c85664$e25ea170$657aa8c0@M90> <000601c856b5$a23dd650$0300a8c0@danwaters> Message-ID: <003b01c856b8$d7cdf770$657aa8c0@M90> I use FireFox, not IE, although I did try to use IE in this case just to see if it was a "have to use IE" kind of problem. I have also tried this on three different computers, two of them Windows Server 2003 and one an XP Pro. I have to believe it is a "logic" problem at their end? 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: Monday, January 14, 2008 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I cannot get VMWare converter to download I get this once in a while with various sites. To solve it I will temporarily go to internet options / Privacy and open my PC to all cookies. Then I can click through to the next page. Then set cookies back to how they were before. This frequently does work, although I don't think I should have to do this. Gook Luck, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 13, 2008 10:21 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] I cannot get VMWare converter to download I fill in all of the requisite things, read the agreement, click OK and I am back to the "download" page. Does anyone know why / not? Can anyone download this for me and send it to me? I need the "server converter and the Desktop converter. I ran the desktop converter before and it worked smooth as silk. That was long ago however and I have no idea where that downloaded copy might be. Thanks, 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 Gustav at cactus.dk Mon Jan 14 08:21:53 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Jan 2008 15:21:53 +0100 Subject: [AccessD] Data type mismatch Message-ID: Hi Rocky Yes, because Nz() is not native of SQL but a function of VBA. /gustav >>> rockysmolin at bchacc.com 14-01-2008 15:16:43 >>> Gustav: Is this different in result from Len(Nz(fld)) > 0? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 14, 2008 6:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Jan 14 08:24:00 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Jan 2008 15:24:00 +0100 Subject: [AccessD] Data type mismatch Message-ID: Hi John You are probably thinking of the way Plus works: String + Null will return Null. /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 15:17:13 >>> That is interesting. I always thought that a null appended to a string was a null. 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Jan 14 08:25:26 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Jan 2008 15:25:26 +0100 Subject: [AccessD] Data type mismatch Message-ID: Hi John That looks similar to the built-in function Nz() ... /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 15:20:07 >>> I wrote a function NoNullStr(varDataToCheck as variant) as string. I then just checked inside of the wrapper and if it was null, returned a "" else return varDataToCheck. I then wrap the problematic text field with that. I was really hoping that someone knew a fix that would just let a base query do the 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? John W. Colby Colby Consulting www.ColbyConsulting.com From max.wanadoo at gmail.com Mon Jan 14 08:27:14 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 14 Jan 2008 14:27:14 -0000 Subject: [AccessD] Data type mismatch In-Reply-To: <003901c856b8$28f2c870$657aa8c0@M90> Message-ID: <00a401c856b9$90787110$8119fea9@LTVM> I think it is where you use the + and not the &. Mynull + mystring gives a null Mynull & mystring gives mystring Function x() Dim y As Variant, s As String y = Null s = "abc" Debug.Print y + s Debug.Print y & s End Function Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 2:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data type mismatch That is interesting. I always thought that a null appended to a string was a null. 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 dwaters at usinternet.com Mon Jan 14 08:40:40 2008 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Jan 2008 08:40:40 -0600 Subject: [AccessD] I cannot get VMWare converter to download In-Reply-To: <003b01c856b8$d7cdf770$657aa8c0@M90> References: <002101c85664$e25ea170$657aa8c0@M90><000601c856b5$a23dd650$0300a8c0@danwaters> <003b01c856b8$d7cdf770$657aa8c0@M90> Message-ID: <001201c856bb$6f7327b0$0300a8c0@danwaters> Try temporarily unblocking all cookies, with both IE and Firefox. I don't use Firefox, but I would think that cookie functionality should be the same between the two apps. This sometimes works for me when I have trouble logging in to a site. It also worked once when I tried to buy a CPU Cooler Lapping Kit from www.easypckits.com, who uses Paypal. I suspect that these sites were simply not using or handling cookies correctly, or they don't realize that some among us do manage cookies. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 8:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I cannot get VMWare converter to download I use FireFox, not IE, although I did try to use IE in this case just to see if it was a "have to use IE" kind of problem. I have also tried this on three different computers, two of them Windows Server 2003 and one an XP Pro. I have to believe it is a "logic" problem at their end? 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: Monday, January 14, 2008 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I cannot get VMWare converter to download I get this once in a while with various sites. To solve it I will temporarily go to internet options / Privacy and open my PC to all cookies. Then I can click through to the next page. Then set cookies back to how they were before. This frequently does work, although I don't think I should have to do this. Gook Luck, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, January 13, 2008 10:21 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] I cannot get VMWare converter to download I fill in all of the requisite things, read the agreement, click OK and I am back to the "download" page. Does anyone know why / not? Can anyone download this for me and send it to me? I need the "server converter and the Desktop converter. I ran the desktop converter before and it worked smooth as silk. That was long ago however and I have no idea where that downloaded copy might be. Thanks, 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 max.wanadoo at gmail.com Mon Jan 14 08:42:15 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 14 Jan 2008 14:42:15 -0000 Subject: [AccessD] Data type mismatch In-Reply-To: <00a401c856b9$90787110$8119fea9@LTVM> Message-ID: <00a501c856bb$a9bda3f0$8119fea9@LTVM> Function x(y As Variant) As String If y & "!" = "!" Then x = "" Else x = y End If End Function Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Monday, January 14, 2008 2:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data type mismatch I think it is where you use the + and not the &. Mynull + mystring gives a null Mynull & mystring gives mystring Function x() Dim y As Variant, s As String y = Null s = "abc" Debug.Print y + s Debug.Print y & s End Function Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 2:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data type mismatch That is interesting. I always thought that a null appended to a string was a null. 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 jwcolby at colbyconsulting.com Mon Jan 14 08:45:51 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 09:45:51 -0500 Subject: [AccessD] Data type mismatch In-Reply-To: References: Message-ID: <003f01c856bc$2932e1e0$657aa8c0@M90> ahhhhhh. Senior moments get longer and longer. ;-) 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: Monday, January 14, 2008 9:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John You are probably thinking of the way Plus works: String + Null will return Null. /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 15:17:13 >>> That is interesting. I always thought that a null appended to a string was a null. 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 Mon Jan 14 08:46:14 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 09:46:14 -0500 Subject: [AccessD] Data type mismatch In-Reply-To: References: Message-ID: <004001c856bc$3704f010$657aa8c0@M90> LOL. And longer and longer and longer... 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: Monday, January 14, 2008 9:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John That looks similar to the built-in function Nz() ... /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 15:20:07 >>> I wrote a function NoNullStr(varDataToCheck as variant) as string. I then just checked inside of the wrapper and if it was null, returned a "" else return varDataToCheck. I then wrap the problematic text field with that. I was really hoping that someone knew a fix that would just let a base query do the 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 robert at webedb.com Mon Jan 14 09:24:34 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 14 Jan 2008 09:24:34 -0600 Subject: [AccessD] Poll: who's using Access 2007 In-Reply-To: References: Message-ID: <200801141529.m0EFTXFk020350@databaseadvisors.com> Office 2007 1) VMs only 2) No (2003) 3) Only one (had to convert my social service software to 2007 because the 2003 mdb kept corrupting under 2007) HATE the ribbon!!!!! Vista 1) One machine (Ultimate version) 2) No 3) No (I have recommended to all of them to stay away from it) At 12:00 PM 1/12/2008, you wrote: > > I would like to get a feeling for how many people in our group are using > > Office 2007. > > > > 1) At home > > 2) At work > > 3) At clients > > > > Thanks, > > > > John W. Colby From bheygood at abestsystems.com Mon Jan 14 10:46:23 2008 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 14 Jan 2008 08:46:23 -0800 Subject: [AccessD] Poll: Who's using Vista In-Reply-To: References: <008a01c8545c$9a5fc070$657aa8c0@M90> Message-ID: <001101c856cc$ff5a8a60$800101df@speedy> not till a client demands and pays for it. bob heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin W Reid Sent: Friday, January 11, 2008 6:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Poll: Who's using Vista Not using it at all. Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby [jwcolby at colbyconsulting.com] Sent: 11 January 2008 14:16 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Poll: Who's using Vista Likewise I would like to get a feeling for who's using Vista: 1) At home 2) At work 3) At clients 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 Mon Jan 14 10:58:28 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 14 Jan 2008 08:58:28 -0800 Subject: [AccessD] Currency vs Double In-Reply-To: <007b01c85612$a35e1070$0301a8c0@HAL9005> References: <007b01c85612$a35e1070$0301a8c0@HAL9005> Message-ID: The problem with doubles is floating point creep. You can prove it by merely taking 0 and adding and subtracting 1 repeatedly. Somewhere in there, you'll start picking up decimals way over to the right. If a decimal type is available, it's better to use that, but in Access, it depends on what you're doing with the numbers. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 10:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Currency vs Double Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky From cfoust at infostatsystems.com Mon Jan 14 11:01:46 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 14 Jan 2008 09:01:46 -0800 Subject: [AccessD] Data type mismatch In-Reply-To: <003901c856b8$28f2c870$657aa8c0@M90> References: <003901c856b8$28f2c870$657aa8c0@M90> Message-ID: Only if you use the + operator, not if you use the &. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data type mismatch That is interesting. I always thought that a null appended to a string was a null. 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: Monday, January 14, 2008 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data type mismatch Hi John Sometimes I concatenate the field and an empty string: Where Len([fld] & "") > 0 /gustav >>> jwcolby at colbyconsulting.com 14-01-2008 14:54:52 >>> There are a lot of places where Access will throw a data type mismatch in a query. One of them is if you try to feed a null into a string query such as left() inside of a query. I have run into one such issue and need to try to solve it. So I created a base query that does a "Where [fld] is not Null" and then build a query on top of the base query that uses the Left(). Unfortunately that doesn't work. You can demonstrate this issue quite easily by building a little table with a text field, put in a few data points including at least one null. Build a base query that filters out the null, and then build a query on top of the base that tries to use one of the string functions. Now I can build a function wrapper that uses a variant as the data type and checks for the null value inside of the wrapper, returning an empty string (not a null) or the data passes in converted to a string type, but I would rather not have to do that. Has anyone found a way to prevent this datatype mismatch scenario where you have tried to filter out the null values but you still get the error? 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 rockysmolin at bchacc.com Mon Jan 14 11:20:05 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 14 Jan 2008 09:20:05 -0800 Subject: [AccessD] Currency vs Double In-Reply-To: References: <007b01c85612$a35e1070$0301a8c0@HAL9005> Message-ID: <010101c856d1$b664ebc0$0301a8c0@HAL9005> Decimal is available as a number data type in a table field but not as a declaration in a Dim. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 14, 2008 8:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Currency vs Double The problem with doubles is floating point creep. You can prove it by merely taking 0 and adding and subtracting 1 repeatedly. Somewhere in there, you'll start picking up decimals way over to the right. If a decimal type is available, it's better to use that, but in Access, it depends on what you're doing with the numbers. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 10:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Currency vs Double Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky -- 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.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM From jwcolby at colbyconsulting.com Mon Jan 14 11:30:57 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Jan 2008 12:30:57 -0500 Subject: [AccessD] Determine if a record is locked? Message-ID: <005701c856d3$39abfcc0$657aa8c0@M90> Is there any way to programmatically determine whether a record is locked other than try a write and see if it errors? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Jan 14 11:37:36 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Jan 2008 18:37:36 +0100 Subject: [AccessD] Currency vs Double Message-ID: Hi Rocky Not directly as, say, Dim d As Dec. But you can declare a Variant and assign it decimals with CDec(). /gustav >>> rockysmolin at bchacc.com 14-01-2008 18:20:05 >>> Decimal is available as a number data type in a table field but not as a declaration in a Dim. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 14, 2008 8:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Currency vs Double The problem with doubles is floating point creep. You can prove it by merely taking 0 and adding and subtracting 1 repeatedly. Somewhere in there, you'll start picking up decimals way over to the right. If a decimal type is available, it's better to use that, but in Access, it depends on what you're doing with the numbers. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 13, 2008 10:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Currency vs Double Dear List: Is there any difference between currency and double when working with relatively small number - like under a million? Does currency take care of rounding errors which would happen in double calculations? MTIA Rocky From jimdettman at verizon.net Mon Jan 14 13:03:12 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 14 Jan 2008 14:03:12 -0500 Subject: [AccessD] Determine if a record is locked? In-Reply-To: <005701c856d3$39abfcc0$657aa8c0@M90> References: <005701c856d3$39abfcc0$657aa8c0@M90> Message-ID: <003c01c856e0$1c64cbd0$8abea8c0@XPS> John, That's it other then try to read the locks JET places. Trying an edit though is simple. See below. BTW this is very old code. Might need some rework. Jim. Function IsLocked(rs As Recordset, UserName As String, MachineName As String) ' Accepts: a recordset and two string variables ' Purpose: determines if the current record in the recordset is locked, ' and if so who has it locked. ' Returns: True if current record is locked (and sets UserName ' and MachineName to the user with the lock). False if the ' record isn't locked. ' From: Building Applications Chapter 12 Dim ErrorString As String Dim MachineNameStart As Integer IsLocked = False On Error GoTo IsLockedError rs.Edit 'Try to edit the current record in the recordset. rs.MoveNext rs.MovePrevious Exit Function 'No error, so return False. IsLockedError: If Err = 3260 Then 'Record is locked -- parse error string. ErrorString = Error$ UserName = Mid$(ErrorString, 44, InStr(44, ErrorString, "'") - 44) If UserName = "" Then UserName = "(unknown)" MachineNameStart = InStr(43, ErrorString, " on machine ") + 13 MachineName = Mid$(ErrorString, MachineNameStart, Len(ErrorString) - MachineNameStart - 1) If MachineName = "" Then MachineName = "(unknown)" IsLocked = True End If Exit Function End Function ' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 12:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Determine if a record is locked? Is there any way to programmatically determine whether a record is locked other than try a write and see if it errors? 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 pcs at azizaz.com Mon Jan 14 17:47:14 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 15 Jan 2008 09:47:14 +1000 (EST) Subject: [AccessD] Data type mismatch Message-ID: <20080115094714.DLY49379@dommail.onthenet.com.au> John, Try and create the base query with a computed field like: vMyText: "" & [MyTextFieldWithNullValues] Another query on the base query handles left(vMyText,4) ok with no datatype mismatch. Regards Borge ---- Original message ---- >Date: Mon, 14 Jan 2008 08:54:52 -0500 >From: "jwcolby" >Subject: [AccessD] Data type mismatch >To: "'Access Developers discussion and problem solving'" > >There are a lot of places where Access will throw a data type mismatch in a >query. One of them is if you try to feed a null into a string query such as >left() inside of a query. I have run into one such issue and need to try to >solve it. So I created a base query that does a "Where [fld] is not Null" >and then build a query on top of the base query that uses the Left(). >Unfortunately that doesn't work. > >You can demonstrate this issue quite easily by building a little table with >a text field, put in a few data points including at least one null. Build a >base query that filters out the null, and then build a query on top of the >base that tries to use one of the string functions. > >Now I can build a function wrapper that uses a variant as the data type and >checks for the null value inside of the wrapper, returning an empty string >(not a null) or the data passes in converted to a string type, but I would >rather not have to do that. Has anyone found a way to prevent this datatype >mismatch scenario where you have tried to filter out the null values but you >still get the error? > >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 Mon Jan 14 23:39:06 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 00:39:06 -0500 Subject: [AccessD] VBA code to acquire system stats Message-ID: <009901c85738$f228bbc0$657aa8c0@M90> I need code to acquire things like memory, cpu type, cpu speed etc. Does anyone have such code? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From john at winhaven.net Tue Jan 15 01:06:53 2008 From: john at winhaven.net (John Bartow) Date: Tue, 15 Jan 2008 01:06:53 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: <009901c85738$f228bbc0$657aa8c0@M90> Message-ID: <200801150706.m0F76Y1e013087@databaseadvisors.com> Sent off list... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 11:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBA code to acquire system stats I need code to acquire things like memory, cpu type, cpu speed etc. Does anyone have such code? Thanks, 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM From fuller.artful at gmail.com Tue Jan 15 04:01:02 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 15 Jan 2008 05:01:02 -0500 Subject: [AccessD] Access connection to .NET? Message-ID: <29f585dd0801150201j64d24981o1982419a87d1e4b1@mail.gmail.com> After a long while connecting .NET to SQL 2000 and 2005, now I need to connect to an Access database. Is there a built-in provider for this? Or... TIA, Arthur From phpons at gmail.com Tue Jan 15 04:40:35 2008 From: phpons at gmail.com (philippe pons) Date: Tue, 15 Jan 2008 11:40:35 +0100 Subject: [AccessD] Access connection to .NET? In-Reply-To: <29f585dd0801150201j64d24981o1982419a87d1e4b1@mail.gmail.com> References: <29f585dd0801150201j64d24981o1982419a87d1e4b1@mail.gmail.com> Message-ID: <57144ced0801150240q1b27c0a1sc2f5e10560ff9515@mail.gmail.com> OleDbDataAdapter in the data tool box. Philippe 2008/1/15, Arthur Fuller : > > After a long while connecting .NET to SQL 2000 and 2005, now I need to > connect to an Access database. Is there a built-in provider for this? > Or... > > TIA, > Arthur > -- > 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 Jan 15 06:58:12 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 15 Jan 2008 15:58:12 +0300 Subject: [AccessD] Access connection to .NET? In-Reply-To: <29f585dd0801150201j64d24981o1982419a87d1e4b1@mail.gmail.com> Message-ID: <001e01c85776$49824250$6401a8c0@nant> using System.Data; using System.Data.OleDb; ... const string accDbFileFullPath = ""; const string accConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + accDbFileFullPath; ... using (OleDbConnection cnn = new OleDbConnection(accConnection)) { cnn.Open(); ... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, January 15, 2008 1:01 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] Access connection to .NET? After a long while connecting .NET to SQL 2000 and 2005, now I need to connect to an Access database. Is there a built-in provider for this? Or... TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Jan 15 08:12:56 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 15 Jan 2008 09:12:56 -0500 Subject: [AccessD] Citrix Access Essentials and Access Message-ID: <018401c85780$baf99b90$8abea8c0@XPS> All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. Jim. From Gustav at cactus.dk Tue Jan 15 08:40:11 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Jan 2008 15:40:11 +0100 Subject: [AccessD] Citrix Access Essentials and Access Message-ID: Hi Jim We are such an "Citrix Access Essentials Solution Advisor" but I'm not the expert in this. However, I've learned that main features are easy user administration and that a remote application appears as a self contained window (not a desktop) in the browser. Also, installation of the server is really a snap. /gustav >>> jimdettman at verizon.net 15-01-2008 15:12:56 >>> All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. Jim. From jwcolby at colbyconsulting.com Tue Jan 15 09:01:20 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 10:01:20 -0500 Subject: [AccessD] Citrix Access Essentials and Access In-Reply-To: <018401c85780$baf99b90$8abea8c0@XPS> References: <018401c85780$baf99b90$8abea8c0@XPS> Message-ID: <00d301c85787$7d355db0$657aa8c0@M90> Jim, In this day and age I might suggest a virtual PC for each user. That way it appears as if each user has his/her own PC but it is actually a virtual machine running on virtual server on a 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 Jim Dettman Sent: Tuesday, January 15, 2008 9:13 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Citrix Access Essentials and Access All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jan 15 09:34:18 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Jan 2008 07:34:18 -0800 Subject: [AccessD] Citrix Access Essentials and Access In-Reply-To: <00d301c85787$7d355db0$657aa8c0@M90> References: <018401c85780$baf99b90$8abea8c0@XPS> <00d301c85787$7d355db0$657aa8c0@M90> Message-ID: Can you get a virtual plasma monitor with that?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 7:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Citrix Access Essentials and Access Jim, In this day and age I might suggest a virtual PC for each user. That way it appears as if each user has his/her own PC but it is actually a virtual machine running on virtual server on a 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 Jim Dettman Sent: Tuesday, January 15, 2008 9:13 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Citrix Access Essentials and Access All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. 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 Jan 15 09:42:56 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 15 Jan 2008 09:42:56 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: <200801150706.m0F76Y1e013087@databaseadvisors.com> Message-ID: Ah, no sharing? Just kidding. I am curious how you are doing it. I have several classes setup to get system information, such as OS, hard drive space, memory, CPU(s), etc. The CPU one is a little tricky though. It tries several methods, from WMI to a .dll I found years ago. Got a method that's a one shot deal? (the different methods are due to older OSes not working right with WMI) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, January 15, 2008 1:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats Sent off list... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 11:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBA code to acquire system stats I need code to acquire things like memory, cpu type, cpu speed etc. Does anyone have such code? Thanks, 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008 8:23 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Tue Jan 15 11:13:07 2008 From: john at winhaven.net (John Bartow) Date: Tue, 15 Jan 2008 11:13:07 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: Message-ID: <200801151712.m0FHCthU031593@databaseadvisors.com> It was an attachment so I couldn't post it here. I just pulled it all out of humongous library and sent it off. There's a lot of extra weight in it that isn't needed but that be cleaned up too. My Library is all categorized modules containing a group of somewhat related procedures. When I pull code from other people that replicates what something in my library already does it gets cleaned up and any similarities are replaced with what is already there. For example: Public Declare Function ac_GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Declare Function sys_GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Declare Function TSB_API_GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Declare Function My_apiGetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Every body and their uncle has api calls and names them different (ADH, FMS, MVP sites, DBA). For the most part my library just replaces them all with my common apiFunctionName format. All get changed to: Public Declare Function apiGetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long So now Bob's your uncle! It does take some time and its not completely that way (yet - I never give up) but pretty close. Makes remembering things much easier. Classes would be cool but I did this about 7-8 years ago so it isn't in classes just modules and procedures. It was a fun little thing I did which pulled together a lot of other people's code and combined it into my "About" form that I use in my apps. Its coming at you now. Anymore me toos can be sent off list to me at: john at winhaven.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Ah, no sharing? From DWUTKA at Marlow.com Tue Jan 15 11:27:01 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 15 Jan 2008 11:27:01 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: <009901c85738$f228bbc0$657aa8c0@M90> Message-ID: JC, I tried sending you something off list, and it bounced back. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 11:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBA code to acquire system stats I need code to acquire things like memory, cpu type, cpu speed etc. Does anyone have such code? Thanks, 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 Jan 15 11:37:24 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 12:37:24 -0500 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: References: <009901c85738$f228bbc0$657aa8c0@M90> Message-ID: <00e801c8579d$4a669d20$657aa8c0@M90> Hmmm... thanks for the try anyway. I did get the widget from John and it works very nicely! LOTS of information, probably more than I need but still 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 Drew Wutka Sent: Tuesday, January 15, 2008 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA code to acquire system stats JC, I tried sending you something off list, and it bounced back. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 14, 2008 11:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBA code to acquire system stats I need code to acquire things like memory, cpu type, cpu speed etc. Does anyone have such code? Thanks, 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 DWUTKA at Marlow.com Tue Jan 15 11:44:09 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 15 Jan 2008 11:44:09 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: <200801151712.m0FHCthU031593@databaseadvisors.com> Message-ID: I sent something to you and JWC, but it bounced back from JWC. http://www.marlow.com/ISFE2007Service.zip It's the source to a VB based NT Service that I wrote (minus one class, to connect to the database, sorry, it has passwords in it). I'll leave that up for a few days. It's got lot's of classes that I wrote to get all sorts of system information. There is some custom error handling (to deal with being an NT Service), other then removing/modifying that error handling code, these classes are pretty much stand alone. The CPU one does use a .dll (which is in the zip), in a last ditch effort to get CPU information. If I remember correctly, it only uses that for Windows 95, everything else can use WMI or registry reads. One class I think some people might like is the OperatingSystem Class. Ie: Dim os AS OperatingSystem Set os=New OperatingSystem If os.WindowsVista then MsgBox "I'm sorry, you've been suckered into using an OS that Microsoft should have never released!" Set os=nothing Yes, that code would work too. It has strings properties for OS Type, Version, Build, ServicePack and Name. It also has Boolean properties for NT Based, NT4, Windows 2000, XP, 2003, Vista, Server, and DomainController. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, January 15, 2008 11:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats It was an attachment so I couldn't post it here. I just pulled it all out of humongous library and sent it off. There's a lot of extra weight in it that isn't needed but that be cleaned up too. My Library is all categorized modules containing a group of somewhat related procedures. When I pull code from other people that replicates what something in my library already does it gets cleaned up and any similarities are replaced with what is already there. For example: From jwcolby at colbyconsulting.com Tue Jan 15 11:58:24 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 12:58:24 -0500 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: References: <200801151712.m0FHCthU031593@databaseadvisors.com> Message-ID: <00ee01c857a0$39d1e520$657aa8c0@M90> ROTFL. The poor people get suckered, and then you rub it in. 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: Tuesday, January 15, 2008 12:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA code to acquire system stats I sent something to you and JWC, but it bounced back from JWC. http://www.marlow.com/ISFE2007Service.zip It's the source to a VB based NT Service that I wrote (minus one class, to connect to the database, sorry, it has passwords in it). I'll leave that up for a few days. It's got lot's of classes that I wrote to get all sorts of system information. There is some custom error handling (to deal with being an NT Service), other then removing/modifying that error handling code, these classes are pretty much stand alone. The CPU one does use a .dll (which is in the zip), in a last ditch effort to get CPU information. If I remember correctly, it only uses that for Windows 95, everything else can use WMI or registry reads. One class I think some people might like is the OperatingSystem Class. Ie: Dim os AS OperatingSystem Set os=New OperatingSystem If os.WindowsVista then MsgBox "I'm sorry, you've been suckered into using an OS that Microsoft should have never released!" Set os=nothing Yes, that code would work too. It has strings properties for OS Type, Version, Build, ServicePack and Name. It also has Boolean properties for NT Based, NT4, Windows 2000, XP, 2003, Vista, Server, and DomainController. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, January 15, 2008 11:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats It was an attachment so I couldn't post it here. I just pulled it all out of humongous library and sent it off. There's a lot of extra weight in it that isn't needed but that be cleaned up too. My Library is all categorized modules containing a group of somewhat related procedures. When I pull code from other people that replicates what something in my library already does it gets cleaned up and any similarities are replaced with what is already there. For example: -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 15 14:26:36 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 15:26:36 -0500 Subject: [AccessD] Massive module edits Message-ID: <00fb01c857b4$ed89f3f0$657aa8c0@M90> Guys, I use my error handler insertion wizard to insert error handlers in all of my modules. It will insert error handlers in every module, in every form etc. Unfortunately it was rewritten in VB6 and I am incapable of modifying the source. I need to change: MsgBox Err.Description, , "Error in Sub tfrmClaim.Form_Open" to LogErr Err.Number, Err.Description, Erl, "tfrmClaim", "Form_Open" I have written an error logger to log the errors and pop up a message box for all unhandled errors. Unfortunately the edit of all the functions in all of the modules is a HUGE undertaking. Does anyone have code for the VBE that will search for and replace strings? If I can get a good start without having to "do it from scratch" I can take it from there. I understand the VBE object model and could if necessary write this but I just thought I'd ask if someone out there has a reasonable "beginning". Additionally if anyone wants to volunteer to modify the Error handler insertion wizard, please contact me offline. You will secure you place in infamy... uh... history by taking on this project. Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From DWUTKA at Marlow.com Tue Jan 15 14:28:05 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 15 Jan 2008 14:28:05 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: <00ee01c857a0$39d1e520$657aa8c0@M90> Message-ID: JC, I replied to your Error Handler email, and got this back in a bounce: < interceptor.marlow.ii-vi.net #5.0.0 X-Postfix; host mail.colbyconsulting.com[216.10.244.254] said: 554 Sending address not accepted due to spam filter (in reply to MAIL FROM command)> Your mail server sees Marlow.com as a spammer....if I had time to spam people I would probably take a vacation! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats ROTFL. The poor people get suckered, and then you rub it in. John W. Colby Colby Consulting www.ColbyConsulting.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Tue Jan 15 14:39:47 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 15 Jan 2008 12:39:47 -0800 Subject: [AccessD] The correct way to install another MS SQL on a server In-Reply-To: References: <200801151712.m0FHCthU031593@databaseadvisors.com> Message-ID: Hi All: I will be installing a new copy of MS SQL 2005 on a server that is currently running MS SQL 2000. I would like to keep both versions running until a migration is completed and fully tested at which time I will just turn off the older version. I know this can be done but because of the sensitivity of this process I need to know what you would feel is the definitive answer or link to the best source of information. MTIA Jim From DWUTKA at Marlow.com Tue Jan 15 14:40:30 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 15 Jan 2008 14:40:30 -0600 Subject: [AccessD] Massive module edits In-Reply-To: <00fb01c857b4$ed89f3f0$657aa8c0@M90> Message-ID: I know you can read and write a module as a whole string, then it would just be a matter of using Replace. As for VB, did your lose your CD or something? It doesn't interfere with .Net, as far as I could tell. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 2:27 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Massive module edits Guys, I use my error handler insertion wizard to insert error handlers in all of my modules. It will insert error handlers in every module, in every form etc. Unfortunately it was rewritten in VB6 and I am incapable of modifying the source. I need to change: MsgBox Err.Description, , "Error in Sub tfrmClaim.Form_Open" to LogErr Err.Number, Err.Description, Erl, "tfrmClaim", "Form_Open" I have written an error logger to log the errors and pop up a message box for all unhandled errors. Unfortunately the edit of all the functions in all of the modules is a HUGE undertaking. Does anyone have code for the VBE that will search for and replace strings? If I can get a good start without having to "do it from scratch" I can take it from there. I understand the VBE object model and could if necessary write this but I just thought I'd ask if someone out there has a reasonable "beginning". Additionally if anyone wants to volunteer to modify the Error handler insertion wizard, please contact me offline. You will secure you place in infamy... uh... history by taking on this project. Thanks, 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Tue Jan 15 14:44:07 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 15:44:07 -0500 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: References: <00ee01c857a0$39d1e520$657aa8c0@M90> Message-ID: <00fc01c857b7$618c5e80$657aa8c0@M90> You're not going through one of those open relays in china or something are you? You BAD BOY! Bad boy! Seriously, I know very little about such things. I suppose I could try logging in to my web site and poking around the mail control thingie but the chances that I will figure it out are pretty slim. 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: Tuesday, January 15, 2008 3:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA code to acquire system stats JC, I replied to your Error Handler email, and got this back in a bounce: < interceptor.marlow.ii-vi.net #5.0.0 X-Postfix; host mail.colbyconsulting.com[216.10.244.254] said: 554 Sending address not accepted due to spam filter (in reply to MAIL FROM command)> Your mail server sees Marlow.com as a spammer....if I had time to spam people I would probably take a vacation! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats ROTFL. The poor people get suckered, and then you rub it in. John W. Colby Colby Consulting www.ColbyConsulting.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Jan 15 14:59:39 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 15 Jan 2008 15:59:39 -0500 Subject: [AccessD] DSN connection Message-ID: <003501c857b9$8cef7a10$4b3a8343@SusanOne> I'm totally pulling a blank -- what's the syntax for using a DSN in a connection string? I've done it a zillion times and I can't even find one of my own examples. Susan H. From jwcolby at colbyconsulting.com Tue Jan 15 15:03:26 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 16:03:26 -0500 Subject: [AccessD] Massive module edits In-Reply-To: References: <00fb01c857b4$ed89f3f0$657aa8c0@M90> Message-ID: <00fd01c857ba$1293f880$657aa8c0@M90> >I know you can read and write a module as a whole string, then it would just be a matter of using Replace No, because each form and (particularly) function is different. >As for VB, did your lose your CD or something? I purchased VB back in about 2002 and played with it briefly. It was probably VB 4 or something. As for the CD? Your guess is as good as mine. Let's just say I don't claim to own it anymore. 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: Tuesday, January 15, 2008 3:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Massive module edits I know you can read and write a module as a whole string, then it would just be a matter of using Replace. As for VB, did your lose your CD or something? It doesn't interfere with .Net, as far as I could tell. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 2:27 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Massive module edits Guys, I use my error handler insertion wizard to insert error handlers in all of my modules. It will insert error handlers in every module, in every form etc. Unfortunately it was rewritten in VB6 and I am incapable of modifying the source. I need to change: MsgBox Err.Description, , "Error in Sub tfrmClaim.Form_Open" to LogErr Err.Number, Err.Description, Erl, "tfrmClaim", "Form_Open" I have written an error logger to log the errors and pop up a message box for all unhandled errors. Unfortunately the edit of all the functions in all of the modules is a HUGE undertaking. Does anyone have code for the VBE that will search for and replace strings? If I can get a good start without having to "do it from scratch" I can take it from there. I understand the VBE object model and could if necessary write this but I just thought I'd ask if someone out there has a reasonable "beginning". Additionally if anyone wants to volunteer to modify the Error handler insertion wizard, please contact me offline. You will secure you place in infamy... uh... history by taking on this project. Thanks, 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Jan 15 15:06:32 2008 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 15 Jan 2008 16:06:32 -0500 Subject: [AccessD] VBA going away References: <00ee01c857a0$39d1e520$657aa8c0@M90> <00fc01c857b7$618c5e80$657aa8c0@M90> Message-ID: <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> Saw this list on my Google Sidebar news feed. http://it.slashdot.org/it/08/01/15/197257.shtml Joe Rojas Information Technology Manager Symmetry Medical TNCO 15 Colebrook Blvd Whitman MA 02382 781.447.6661 x7506 From ssharkins at gmail.com Tue Jan 15 15:09:02 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 15 Jan 2008 16:09:02 -0500 Subject: [AccessD] Nevermind (Fw: DSN connection) Message-ID: <004e01c857ba$dc5e99e0$4b3a8343@SusanOne> Susan H. > I'm totally pulling a blank -- what's the syntax for using a DSN in a > connection string? I've done it a zillion times and I can't even find one > of my own examples. > > Susan H. From jwcolby at colbyconsulting.com Tue Jan 15 15:19:09 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 16:19:09 -0500 Subject: [AccessD] VBA going away In-Reply-To: <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90> <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> Message-ID: <00fe01c857bc$44ca35b0$657aa8c0@M90> And I thought my site was slow! ;-) 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 Joe Rojas Sent: Tuesday, January 15, 2008 4:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] VBA going away Saw this list on my Google Sidebar news feed. http://it.slashdot.org/it/08/01/15/197257.shtml Joe Rojas Information Technology Manager Symmetry Medical TNCO 15 Colebrook Blvd Whitman MA 02382 781.447.6661 x7506 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jan 15 15:37:03 2008 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 15 Jan 2008 15:37:03 -0600 Subject: [AccessD] VBA going away (Not for 10 more years - at least) In-Reply-To: <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90> <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> Message-ID: <000301c857be$c4d81f40$0300a8c0@danwaters> Per MS's support web site, they have stopped issuing new licenses to other software companies who wanted to use VBA in their applications. The latest app to include VBA is Office 2007. MS will provide support for VBA for 10 years after that. The first 5 is mainstream support, the next 5 is extended support, and then 'Self-Help' support after that (reading their existing website pages related to VBA). MS does not 'guarantee' that VBA will work on one of their OS's after 2017, be I would guess that it will for quite some time after that. I don't have the MS web site, but it wasn't hard to find. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, January 15, 2008 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] VBA going away Saw this list on my Google Sidebar news feed. http://it.slashdot.org/it/08/01/15/197257.shtml Joe Rojas Information Technology Manager Symmetry Medical TNCO 15 Colebrook Blvd Whitman MA 02382 781.447.6661 x7506 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Tue Jan 15 16:12:45 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 15 Jan 2008 16:12:45 -0600 Subject: [AccessD] VBA code to acquire system stats In-Reply-To: <00fc01c857b7$618c5e80$657aa8c0@M90> Message-ID: Nope, we have our own mail server. However, I think I know what may be happening. Right now our incoming and outgoing mail servers are 'seen' as two different IP addresses.....that's temporary, but may be the problem, some email servers don't like that, yours might be one of them. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 2:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats You're not going through one of those open relays in china or something are you? You BAD BOY! Bad boy! Seriously, I know very little about such things. I suppose I could try logging in to my web site and poking around the mail control thingie but the chances that I will figure it out are pretty slim. 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: Tuesday, January 15, 2008 3:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA code to acquire system stats JC, I replied to your Error Handler email, and got this back in a bounce: < interceptor.marlow.ii-vi.net #5.0.0 X-Postfix; host mail.colbyconsulting.com[216.10.244.254] said: 554 Sending address not accepted due to spam filter (in reply to MAIL FROM command)> Your mail server sees Marlow.com as a spammer....if I had time to spam people I would probably take a vacation! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA code to acquire system stats ROTFL. The poor people get suckered, and then you rub it in. John W. Colby Colby Consulting www.ColbyConsulting.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From cfoust at infostatsystems.com Tue Jan 15 17:18:34 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Jan 2008 15:18:34 -0800 Subject: [AccessD] VBA going away (Not for 10 more years - at least) In-Reply-To: <000301c857be$c4d81f40$0300a8c0@danwaters> References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90><758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> <000301c857be$c4d81f40$0300a8c0@danwaters> Message-ID: The slashdot article seemed largely a rant against Microsoft, Visual Studio, Windows, and companies that change things without ASKING ME FIRST!! Even if it were all true, I couldn't get very upset by it. Too many others already foaming at the mouth! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, January 15, 2008 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBA going away (Not for 10 more years - at least) Per MS's support web site, they have stopped issuing new licenses to other software companies who wanted to use VBA in their applications. The latest app to include VBA is Office 2007. MS will provide support for VBA for 10 years after that. The first 5 is mainstream support, the next 5 is extended support, and then 'Self-Help' support after that (reading their existing website pages related to VBA). MS does not 'guarantee' that VBA will work on one of their OS's after 2017, be I would guess that it will for quite some time after that. I don't have the MS web site, but it wasn't hard to find. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, January 15, 2008 3:07 PM To: Access Developers discussion and problem solving Subject: [AccessD] VBA going away Saw this list on my Google Sidebar news feed. http://it.slashdot.org/it/08/01/15/197257.shtml Joe Rojas Information Technology Manager Symmetry Medical TNCO 15 Colebrook Blvd Whitman MA 02382 781.447.6661 x7506 From jwcolby at colbyconsulting.com Tue Jan 15 18:13:34 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 15 Jan 2008 19:13:34 -0500 Subject: [AccessD] It MUST be Friday Message-ID: <010201c857d4$a2b91160$657aa8c0@M90> This just in from PC Magazine: We don't want to get too far ahead of ourselves, but the next couple of decades could dramatically change computing. We look forward to delving into these advances in future issues of PC Magazine. 2014 Wireless chip integration onto the CPU die and advance coprocessing 2016 Hybrid laptops with solar cells and lithium ion batteries 2018 System cache size big enough to run operating systems 2022 "Spintronics," technology that changes the quantum spin of electrons. Some call this "quantum computing." 2027 Holographic processing, with advanced -projection technology, to allow users to do away with displays Notice that in 2018 we are supposed to have cache size (on the processor) large enough to run operating systems. Obviously PC Magazine has never seen VISTA. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Jan 15 19:30:24 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Jan 2008 17:30:24 -0800 Subject: [AccessD] It MUST be Friday In-Reply-To: <010201c857d4$a2b91160$657aa8c0@M90> References: <010201c857d4$a2b91160$657aa8c0@M90> Message-ID: >>Obviously PC Magazine has never seen VISTA. ;-) ROTFL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 4:14 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: [AccessD] It MUST be Friday This just in from PC Magazine: We don't want to get too far ahead of ourselves, but the next couple of decades could dramatically change computing. We look forward to delving into these advances in future issues of PC Magazine. 2014 Wireless chip integration onto the CPU die and advance coprocessing 2016 Hybrid laptops with solar cells and lithium ion batteries 2018 System cache size big enough to run operating systems 2022 "Spintronics," technology that changes the quantum spin of electrons. Some call this "quantum computing." 2027 Holographic processing, with advanced -projection technology, to allow users to do away with displays Notice that in 2018 we are supposed to have cache size (on the processor) large enough to run operating systems. Obviously PC Magazine has never seen VISTA. ;-) 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 gmail.com Tue Jan 15 19:49:50 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 15 Jan 2008 20:49:50 -0500 Subject: [AccessD] VBA going away (Not for 10 more years - at least) References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90><758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com><000301c857be$c4d81f40$0300a8c0@danwaters> Message-ID: <011801c857e2$23f65230$4b3a8343@SusanOne> I plan to be independently wealthy by 2017... Susan H. > Even if it were all true, I couldn't get very upset by it. Too many > others already foaming at the mouth! From jimdettman at verizon.net Tue Jan 15 20:17:43 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 15 Jan 2008 21:17:43 -0500 Subject: [AccessD] Massive module edits In-Reply-To: <00fb01c857b4$ed89f3f0$657aa8c0@M90> References: <00fb01c857b4$ed89f3f0$657aa8c0@M90> Message-ID: <008c01c857e5$fac59840$8abea8c0@XPS> John, I e-mailed earlier, but my e-mail has not appeared on the list, so I'm giving it another try. Feel free to send it along. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 15, 2008 3:27 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Massive module edits Guys, I use my error handler insertion wizard to insert error handlers in all of my modules. It will insert error handlers in every module, in every form etc. Unfortunately it was rewritten in VB6 and I am incapable of modifying the source. I need to change: MsgBox Err.Description, , "Error in Sub tfrmClaim.Form_Open" to LogErr Err.Number, Err.Description, Erl, "tfrmClaim", "Form_Open" I have written an error logger to log the errors and pop up a message box for all unhandled errors. Unfortunately the edit of all the functions in all of the modules is a HUGE undertaking. Does anyone have code for the VBE that will search for and replace strings? If I can get a good start without having to "do it from scratch" I can take it from there. I understand the VBE object model and could if necessary write this but I just thought I'd ask if someone out there has a reasonable "beginning". Additionally if anyone wants to volunteer to modify the Error handler insertion wizard, please contact me offline. You will secure you place in infamy... uh... history by taking on this project. Thanks, 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 dwaters at usinternet.com Tue Jan 15 20:20:31 2008 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 15 Jan 2008 20:20:31 -0600 Subject: [AccessD] VBA going away (Not for 10 more years - at least) In-Reply-To: <011801c857e2$23f65230$4b3a8343@SusanOne> References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90><758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com><000301c857be$c4d81f40$0300a8c0@danwaters> <011801c857e2$23f65230$4b3a8343@SusanOne> Message-ID: <000001c857e6$5e9b74c0$0300a8c0@danwaters> Me as well! I'm going to work at home developing Access databases! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, January 15, 2008 7:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBA going away (Not for 10 more years - at least) I plan to be independently wealthy by 2017... Susan H. > Even if it were all true, I couldn't get very upset by it. Too many > others already foaming at the mouth! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Tue Jan 15 20:32:15 2008 From: miscellany at mvps.org (Steve Schapel) Date: Wed, 16 Jan 2008 15:32:15 +1300 Subject: [AccessD] VBA going away (Not for 10 more years - at least) In-Reply-To: <000301c857be$c4d81f40$0300a8c0@danwaters> References: <00ee01c857a0$39d1e520$657aa8c0@M90> <00fc01c857b7$618c5e80$657aa8c0@M90> <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> <000301c857be$c4d81f40$0300a8c0@danwaters> Message-ID: <478D6CAF.5010301@mvps.org> Thanks a lot, Dan. I just tried a few Google searches, but didn't manage to find the site that makes these statements - I would be very interested to see it if you are able to locate it again. Regards Steve Dan Waters wrote: > > I don't have the MS web site, but it wasn't hard to find. From bheid at sc.rr.com Tue Jan 15 20:55:57 2008 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 15 Jan 2008 21:55:57 -0500 Subject: [AccessD] Access connection to .NET? In-Reply-To: <001e01c85776$49824250$6401a8c0@nant> References: <29f585dd0801150201j64d24981o1982419a87d1e4b1@mail.gmail.com> <001e01c85776$49824250$6401a8c0@nant> Message-ID: <000301c857eb$51e7b590$f5b720b0$@rr.com> Just as an FYI, it appears that, according to: http://www.connectionstrings.com/?carrier=access2007 It looks like Access 2007 uses a provider as such: With database password Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Jet OLEDB:Database Password=MyDbPassword; Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, January 15, 2008 7:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access connection to .NET? using System.Data; using System.Data.OleDb; ... const string accDbFileFullPath = ""; const string accConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + accDbFileFullPath; ... using (OleDbConnection cnn = new OleDbConnection(accConnection)) { cnn.Open(); ... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, January 15, 2008 1:01 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] Access connection to .NET? After a long while connecting .NET to SQL 2000 and 2005, now I need to connect to an Access database. Is there a built-in provider for this? Or... TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jan 15 21:35:30 2008 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 15 Jan 2008 21:35:30 -0600 Subject: [AccessD] VBA going away (Not for 10 more years - at least) In-Reply-To: <478D6CAF.5010301@mvps.org> References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90><758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com><000301c857be$c4d81f40$0300a8c0@danwaters> <478D6CAF.5010301@mvps.org> Message-ID: <000801c857f0$d8529f00$0300a8c0@danwaters> It is: http://support.microsoft.com/gp/lifepolicy There is also a link to support for specific MS Products - and there's a bunch! Hope this Helps! Dan -----Original Message----- Thanks a lot, Dan. I just tried a few Google searches, but didn't manage to find the site that makes these statements - I would be very interested to see it if you are able to locate it again. Regards Steve Dan Waters wrote: > > I don't have the MS web site, but it wasn't hard to find. -- 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 Jan 15 21:58:16 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Jan 2008 13:58:16 +1000 Subject: [AccessD] The correct way to install another MS SQL on a server In-Reply-To: References: <200801151712.m0FHCthU031593@databaseadvisors.com>, , Message-ID: <478E0D78.18400.39473AFC@stuart.lexacorp.com.pg> A good article here: http://www.informit.com/guides/content.aspx?g=sqlserver&seqNum=29&rl=1 On 15 Jan 2008 at 12:39, Jim Lawrence wrote: > Hi All: > > I will be installing a new copy of MS SQL 2005 on a server that is currently > running MS SQL 2000. I would like to keep both versions running until a > migration is completed and fully tested at which time I will just turn off > the older version. > > I know this can be done but because of the sensitivity of this process I > need to know what you would feel is the definitive answer or link to the > best source of information. > > MTIA > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From miscellany at mvps.org Tue Jan 15 22:37:02 2008 From: miscellany at mvps.org (Steve Schapel) Date: Wed, 16 Jan 2008 17:37:02 +1300 Subject: [AccessD] VBA going away (Not for 10 more years - at least) In-Reply-To: <000801c857f0$d8529f00$0300a8c0@danwaters> References: <00ee01c857a0$39d1e520$657aa8c0@M90> <00fc01c857b7$618c5e80$657aa8c0@M90> <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> <000301c857be$c4d81f40$0300a8c0@danwaters> <478D6CAF.5010301@mvps.org> <000801c857f0$d8529f00$0300a8c0@danwaters> Message-ID: <478D89EE.5000606@mvps.org> Thanks a lot, Dan. I admit I misinterpreted your earlier post - I thought you were referring to a statement from Microsoft specific to VBA lifecycle. Anyway, that is a very interesting site, which I hadn't seen before. So thanks again. Regards Steve Dan Waters wrote: > It is: > > http://support.microsoft.com/gp/lifepolicy > > There is also a link to support for specific MS Products - and there's a > bunch! From Gustav at cactus.dk Wed Jan 16 02:51:22 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Jan 2008 09:51:22 +0100 Subject: [AccessD] Citrix Access Essentials and Access Message-ID: Hi Jim My colleague can recommend it but points out, as I wrote, that the big difference between this and most other remote operation system is, that it provides access for the user to one single application (per session) and not some desktop. It is a huge advantage is that is what you and the client need, and users are happe not to have to fool around on remote desktops which often is confusing. On the other hand, if a remote desktop is what the client expects, this is clearly not the choice. So, you can remotely launch an executable or a shortcut, that's it. Printing can be set up to remote or local print. Version 1.5 had some minor drawbacks or bugs. That's the one we have experience with. However, they should have been addressed in the current version 2.0. As said, installation of the server is a snap, which makes it realistic to install and test an evaluation version which I believe is available. /gustav >>> jimdettman at verizon.net 15-01-2008 15:12:56 >>> All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. Jim. From pcs at azizaz.com Wed Jan 16 04:21:24 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Wed, 16 Jan 2008 20:21:24 +1000 (EST) Subject: [AccessD] Escaping a Single Quotation Mark in a pass through update query Message-ID: <20080116202124.DMB00712@dommail.onthenet.com.au> Someone please help: I want to update a column with a string that contains a Single Quotation Mark using a pass through query to SQL2005 The code bit with the SQL string looks like: Dim strSQL As String Dim strLog As String Dim strOK As String strLog = "Houston - We've got massive problems!" strSQL = "UPDATE RMS_DATA.dbo.tblBookingRequestExceptionLog SET ExceptionLog = '" & strLog & "' + CHAR(13) + ExceptionLog;" strOK = fncExecuteSP(strSQL) As long as the strLog does not contain a single quotation mark the strSQL updates OK. I've lost patience on this - help please!! borge From Gustav at cactus.dk Wed Jan 16 04:49:37 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Jan 2008 11:49:37 +0100 Subject: [AccessD] Escaping a Single Quotation Mark in a pass through update query Message-ID: Hi Borge You may have to double the single quotes: strLog = "Houston - We've got massive problems!" strLog = Replace(strLog, "'", "''") By the way, wouldn't you need a CR+LF and not just a CR here: SET ExceptionLog = '" & strLog & "' + CHAR(13) + CHAR(10) + /gustav >>> pcs at azizaz.com 16-01-2008 11:21:24 >>> Someone please help: I want to update a column with a string that contains a Single Quotation Mark using a pass through query to SQL2005 The code bit with the SQL string looks like: Dim strSQL As String Dim strLog As String Dim strOK As String strLog = "Houston - We've got massive problems!" strSQL = "UPDATE RMS_DATA.dbo.tblBookingRequestExceptionLog SET ExceptionLog = '" & strLog & "' + CHAR(13) + ExceptionLog;" strOK = fncExecuteSP(strSQL) As long as the strLog does not contain a single quotation mark the strSQL updates OK. I've lost patience on this - help please!! borge From pcs at azizaz.com Wed Jan 16 06:35:29 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Wed, 16 Jan 2008 22:35:29 +1000 (EST) Subject: [AccessD] Escaping a Single Quotation Mark in a pass through update query Message-ID: <20080116223529.DMB09837@dommail.onthenet.com.au> Gustav, Doubling is what is needed (Doubling was one of the first things I did - but somehow I convinced myself it didn't work - and I never went back to check again - one of those moments sshhhh!) I tested and found that CHAR(13) is adequate to cause a line break if you paste the contents of the nvarchar(max) field into a Word document, whereas for a line break to appear when viewing the column as a memo field in Access; and similar if pasting contents into a .txt file you require the CHAR(13) + CHAR(10) in order to get a line break. Thanks! borge ---- Original message ---- >Date: Wed, 16 Jan 2008 11:49:37 +0100 >From: "Gustav Brock" >Subject: Re: [AccessD] Escaping a Single Quotation Mark in a pass through update query >To: > >Hi Borge > >You may have to double the single quotes: > > strLog = "Houston - We've got massive problems!" > strLog = Replace(strLog, "'", "''") > >By the way, wouldn't you need a CR+LF and not just a CR here: > >SET ExceptionLog = '" & strLog & "' + CHAR(13) + CHAR(10) + > >/gustav > >>>> pcs at azizaz.com 16-01-2008 11:21:24 >>> >Someone please help: > >I want to update a column with a string that contains a >Single Quotation Mark using a pass through query to SQL2005 > >The code bit with the SQL string looks like: > >Dim strSQL As String >Dim strLog As String >Dim strOK As String > >strLog = "Houston - We've got massive problems!" > >strSQL = "UPDATE RMS_DATA.dbo.tblBookingRequestExceptionLog >SET ExceptionLog = '" & strLog & "' + CHAR(13) + >ExceptionLog;" > >strOK = fncExecuteSP(strSQL) > >As long as the strLog does not contain a single quotation >mark the strSQL updates OK. > >I've lost patience on this - help please!! > >borge > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Jan 16 07:29:06 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 16 Jan 2008 08:29:06 -0500 Subject: [AccessD] Citrix Access Essentials and Access In-Reply-To: References: Message-ID: <019801c85843$c4d389f0$8abea8c0@XPS> Gustav, Thanks for digging into that and the comments. I was afraid of that. >From the demos I watched on the Citrix's web site, I didn't understand how a user could work with more then one app at a time expect to open another browser window. It also appeared that they could not work with the remote system in anyway except through an application. For example, if I export an XLS file to disk through one of the apps, the user now has no means of getting at that file. I would appreciate it greatly if you double check with your colleague that the above would be true. Thanks, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, January 16, 2008 3:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Citrix Access Essentials and Access Hi Jim My colleague can recommend it but points out, as I wrote, that the big difference between this and most other remote operation system is, that it provides access for the user to one single application (per session) and not some desktop. It is a huge advantage is that is what you and the client need, and users are happe not to have to fool around on remote desktops which often is confusing. On the other hand, if a remote desktop is what the client expects, this is clearly not the choice. So, you can remotely launch an executable or a shortcut, that's it. Printing can be set up to remote or local print. Version 1.5 had some minor drawbacks or bugs. That's the one we have experience with. However, they should have been addressed in the current version 2.0. As said, installation of the server is a snap, which makes it realistic to install and test an evaluation version which I believe is available. /gustav >>> jimdettman at verizon.net 15-01-2008 15:12:56 >>> All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Jan 16 07:56:32 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Jan 2008 14:56:32 +0100 Subject: [AccessD] Citrix Access Essentials and Access Message-ID: Hi Jim That is true. However, I guess would be able to store that xls file at some (fixed) location where the user could access the file and/or its folder via HTTP or FTP. That would require, of course, another browser window or an FTP client to be opened - except if you provide the users with the magic NetDrive from Novell: http://www.crossplatform.no/download/ndrv41862.exe It's a really neat utility. Designed priamrily to connect over the Internet to Novell servers, you can use it to connect to any FTP site. Once connected, the site look just like a local disk drive. Then you can just use Explorer (of Windows), a batch file or XCopy etc. /gustav >>> jimdettman at verizon.net 16-01-2008 14:29:06 >>> Gustav, Thanks for digging into that and the comments. I was afraid of that. >From the demos I watched on the Citrix's web site, I didn't understand how a user could work with more then one app at a time expect to open another browser window. It also appeared that they could not work with the remote system in anyway except through an application. For example, if I export an XLS file to disk through one of the apps, the user now has no means of getting at that file. I would appreciate it greatly if you double check with your colleague that the above would be true. Thanks, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, January 16, 2008 3:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Citrix Access Essentials and Access Hi Jim My colleague can recommend it but points out, as I wrote, that the big difference between this and most other remote operation system is, that it provides access for the user to one single application (per session) and not some desktop. It is a huge advantage is that is what you and the client need, and users are happe not to have to fool around on remote desktops which often is confusing. On the other hand, if a remote desktop is what the client expects, this is clearly not the choice. So, you can remotely launch an executable or a shortcut, that's it. Printing can be set up to remote or local print. Version 1.5 had some minor drawbacks or bugs. That's the one we have experience with. However, they should have been addressed in the current version 2.0. As said, installation of the server is a snap, which makes it realistic to install and test an evaluation version which I believe is available. /gustav >>> jimdettman at verizon.net 15-01-2008 15:12:56 >>> All, Anyone have *direct* experience with Access and Citrix Access Essentials? I have a client that uses Access 2000/2003 FE's against a SQL Server 2000 BE and is currently moving from AZ to OH. As part of that move, their moving to all new hardware. The services company taking care of the hardware is strongly suggesting that they use Citrix Access Essentials to handle remote users. Currently they are using remote desktop to support remote users. They only have a few remote users at present (approx 5) and their will be a dedicated server to take care of them. I don't have any direct experience with Citrix although I've heard good things about it over the years. My concerns are that it's not clear to me exactly what/how it does things in comparison to a straight RDP session, which I understand fairly well (even printing). End user deployment and use will be extremely simplified as they will access the apps through a standard web browser, but it's the under the hood stuff that worries me. Any thoughts, comments, etc. Jim. From Gustav at cactus.dk Wed Jan 16 09:10:15 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Jan 2008 16:10:15 +0100 Subject: [AccessD] Sun to Acquire MySQL Message-ID: Hi all Did you notice: Sun to Acquire MySQL Sun announced an agreement to acquire MySQL AB, an open source icon and developer of one of the world's fastest growing open source databases. This acquisition accelerates Sun's position in enterprise IT to now include the $15 billion database market and reaffirms Sun's position as the leading provider of platforms for the Web economy and its role as the largest commercial open source contributor. http://www.sun.com/aboutsun/media/presskits/2008-0116/index.jsp?intcmp=hp2008jan16_mysql_learn I know not much about Sun except for general stuff and about Java, and they bought the Cobalt servers (to kill them), so ... /gustav From jwcolby at colbyconsulting.com Wed Jan 16 09:49:32 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 16 Jan 2008 10:49:32 -0500 Subject: [AccessD] Show of hands Message-ID: <000101c85857$63255850$657aa8c0@M90> Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com From markamatte at hotmail.com Wed Jan 16 09:50:24 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 16 Jan 2008 15:50:24 +0000 Subject: [AccessD] Escaping a Single Quotation Mark in a pass through update query In-Reply-To: <20080116223529.DMB09837@dommail.onthenet.com.au> References: <20080116223529.DMB09837@dommail.onthenet.com.au> Message-ID: Borge, I have a SP that ran an INSERT that had a similar issue...Yes double quotes are needed...but I found the stupid thing would run 1 day...but if I changed it at all after it ran...it would fail(even with correct syntax). Even more oddly...by the time I got it to run again...the syntax was exactly what I started with. I never really understood this...but someone on the list suggested replacing all double quotes with char(34)....and I have not had a single issue since. Good Luck, Mark A. Matte > From: pcs at azizaz.com > To: accessd at databaseadvisors.com > Date: Wed, 16 Jan 2008 22:35:29 +1000 > Subject: Re: [AccessD] Escaping a Single Quotation Mark in a pass through update query > > Gustav, > Doubling is what is needed > > (Doubling was one of the first things I did - but somehow I > convinced myself it didn't work - and I never went back to > check again - one of those moments sshhhh!) > > I tested and found that CHAR(13) is adequate to cause a line > break if you paste the contents of the nvarchar(max) field > into a Word document, whereas for a line break to appear > when viewing the column as a memo field in Access; and > similar if pasting contents into a .txt file you require the > CHAR(13) + CHAR(10) in order to get a line break. > > Thanks! > > borge > > ---- Original message ---- >>Date: Wed, 16 Jan 2008 11:49:37 +0100 >>From: "Gustav Brock" >>Subject: Re: [AccessD] Escaping a Single Quotation Mark in > a pass through update query >>To: >> >>Hi Borge >> >>You may have to double the single quotes: >> >> strLog = "Houston - We've got massive problems!" >> strLog = Replace(strLog, "'", "''") >> >>By the way, wouldn't you need a CR+LF and not just a CR > here: >> >>SET ExceptionLog = '" & strLog & "' + CHAR(13) + CHAR(10) + >> >>/gustav >> >>>>> pcs at azizaz.com 16-01-2008 11:21:24>>> >>Someone please help: >> >>I want to update a column with a string that contains a >>Single Quotation Mark using a pass through query to SQL2005 >> >>The code bit with the SQL string looks like: >> >>Dim strSQL As String >>Dim strLog As String >>Dim strOK As String >> >>strLog = "Houston - We've got massive problems!" >> >>strSQL = "UPDATE RMS_DATA.dbo.tblBookingRequestExceptionLog >>SET ExceptionLog = '" & strLog & "' + CHAR(13) + >>ExceptionLog;" >> >>strOK = fncExecuteSP(strSQL) >> >>As long as the strLog does not contain a single quotation >>mark the strSQL updates OK. >> >>I've lost patience on this - help please!! >> >>borge >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From jwcolby at colbyconsulting.com Wed Jan 16 09:52:42 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 16 Jan 2008 10:52:42 -0500 Subject: [AccessD] macro scripting tool Message-ID: <000501c85857$d4e5ad00$657aa8c0@M90> Does anyone know of a simple to use widget that will allow me to insert keystrokes into a macro and assign them to a hot key which I can hit to execute the macro. These things used to be popular back in the day and I reaaaaaaly need one now. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Wed Jan 16 10:01:56 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 16 Jan 2008 10:01:56 -0600 Subject: [AccessD] VBA going away (Not for more than 10 years) In-Reply-To: <478D89EE.5000606@mvps.org> References: <00ee01c857a0$39d1e520$657aa8c0@M90><00fc01c857b7$618c5e80$657aa8c0@M90><758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com><000301c857be$c4d81f40$0300a8c0@danwaters> <478D6CAF.5010301@mvps.org><000801c857f0$d8529f00$0300a8c0@danwaters> <478D89EE.5000606@mvps.org> Message-ID: <001801c85859$1e9935b0$0300a8c0@danwaters> Steve, You did interpret correctly. If MS supports a product that uses VBA for X time, then it will support VBA for that same time. VBA is not a separate product that has a its own support lifecycle. I just found this article from Patrick Smith - a MS employee. He states that the version of Office after 2007 will also support VBA (news to me!), so VBA will be supported for 10 more years after THAT release. If that happens in, say, 2010, then VBA will be supported till 2020. http://blogs.msdn.com/patricksmith/archive/2006/03/24/560425.aspx Read the paragraph at the end of this page about VBA 'going away': http://msdn2.microsoft.com/en-us/library/aa159886(office.11).aspx#odc_ofcomp arevba6andvsto_isvba60goingaway This talks about discontinuation of VBA Licensing: http://msdn2.microsoft.com/en-us/isv/bb190542.aspx This appears to be MS's home page for VBA: http://msdn2.microsoft.com/en-us/isv/bb190538.aspx Perhaps this will help more! Dan -----Original Message----- Thanks a lot, Dan. I admit I misinterpreted your earlier post - I thought you were referring to a statement from Microsoft specific to VBA lifecycle. Anyway, that is a very interesting site, which I hadn't seen before. So thanks again. Regards Steve Dan Waters wrote: > It is: > > http://support.microsoft.com/gp/lifepolicy > > There is also a link to support for specific MS Products - and there's a > bunch! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jan 16 10:05:53 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 16 Jan 2008 10:05:53 -0600 Subject: [AccessD] Show of hands In-Reply-To: <000101c85857$63255850$657aa8c0@M90> References: <000101c85857$63255850$657aa8c0@M90> Message-ID: <001901c85859$abfdcdd0$0300a8c0@danwaters> John, I didn't know you had an errorhandler posted. I've been using the errorhandler insertion feature of MZ Tools, which has a number of other code utility tools all bundled together. The errorhandler in MZ Tools does have some customizability built in. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 9:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 rockysmolin at bchacc.com Wed Jan 16 10:32:28 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 16 Jan 2008 08:32:28 -0800 Subject: [AccessD] Show of hands In-Reply-To: <000101c85857$63255850$657aa8c0@M90> References: <000101c85857$63255850$657aa8c0@M90> Message-ID: <005501c8585d$630b8000$0301a8c0@HAL9005> I'm using it. I modified it to pop up a form with the error message which the user can then email to me. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 7:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.4/1226 - Release Date: 1/15/2008 6:19 PM From jwcolby at colbyconsulting.com Wed Jan 16 10:45:21 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 16 Jan 2008 11:45:21 -0500 Subject: [AccessD] Show of hands In-Reply-To: <005501c8585d$630b8000$0301a8c0@HAL9005> References: <000101c85857$63255850$657aa8c0@M90> <005501c8585d$630b8000$0301a8c0@HAL9005> Message-ID: <000601c8585f$2fd86f70$657aa8c0@M90> Hmmm... how did you modify it? Is this the widget I created in A97? 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 Rocky Smolin at Beach Access Software Sent: Wednesday, January 16, 2008 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Show of hands I'm using it. I modified it to pop up a form with the error message which the user can then email to me. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 7:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.4/1226 - Release Date: 1/15/2008 6:19 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Jan 16 11:09:02 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 16 Jan 2008 09:09:02 -0800 Subject: [AccessD] Show of hands In-Reply-To: <000601c8585f$2fd86f70$657aa8c0@M90> References: <000101c85857$63255850$657aa8c0@M90><005501c8585d$630b8000$0301a8c0@HAL9005> <000601c8585f$2fd86f70$657aa8c0@M90> Message-ID: <005601c85862$7e53a770$0301a8c0@HAL9005> Yeah A97 - I just changed one like that it generates: Case Else '.All other errors will trap Beep DoCmd.OpenForm "frmErrorMessage ", , , , , , "Error: " & Err.Number & " - " & Err.Description & vbCrLf & "In: rsubBuyReport.Detail_Format" Resume Exit_Detail_Format End Select the DoCmd.OpenForm. frmErrorMessage shows the message and give the user some instructions. There's a button in frmErrorMessage that says email and if they click it it send the error message to me. So, minimal mods. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Show of hands Hmmm... how did you modify it? Is this the widget I created in A97? 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 Rocky Smolin at Beach Access Software Sent: Wednesday, January 16, 2008 11:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Show of hands I'm using it. I modified it to pop up a form with the error message which the user can then email to me. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 7:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.4/1226 - Release Date: 1/15/2008 6:19 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.516 / Virus Database: 269.19.4/1226 - Release Date: 1/15/2008 6:19 PM From j.r.porter at strath.ac.uk Wed Jan 16 11:07:54 2008 From: j.r.porter at strath.ac.uk (John Porter) Date: Wed, 16 Jan 2008 17:07:54 -0000 Subject: [AccessD] Show of hands In-Reply-To: <005501c8585d$630b8000$0301a8c0@HAL9005> References: <000101c85857$63255850$657aa8c0@M90> <005501c8585d$630b8000$0301a8c0@HAL9005> Message-ID: <5E1BB9C46D0B4E448812F5DEDEF234D0018699B7@BE-SCAM2.ds.strath.ac.uk> I use it with Windows XP and Access 2003 and like it. Regards, John R. Porter IT Services University of Strathclyde Jordanhill Campus 86 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel.: 0141 950 3289 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 16 January 2008 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Show of hands I'm using it. I modified it to pop up a form with the error message which the user can then email to me. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 7:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.4/1226 - Release Date: 1/15/2008 6:19 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Wed Jan 16 11:55:40 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 17 Jan 2008 06:55:40 +1300 Subject: [AccessD] VBA going away (Not for more than 10 years) In-Reply-To: <001801c85859$1e9935b0$0300a8c0@danwaters> References: <00ee01c857a0$39d1e520$657aa8c0@M90> <00fc01c857b7$618c5e80$657aa8c0@M90> <758E92433C4F3740B67BE4DD369AF5775C5640@ex2k3.corp.tnco-inc.com> <000301c857be$c4d81f40$0300a8c0@danwaters> <478D6CAF.5010301@mvps.org> <000801c857f0$d8529f00$0300a8c0@danwaters> <478D89EE.5000606@mvps.org> <001801c85859$1e9935b0$0300a8c0@danwaters> Message-ID: <478E451C.1060800@mvps.org> Thanks again for that, Dan, it is much appreciated. Regards Steve Dan Waters wrote: > Steve, > > You did interpret correctly. If MS supports a product that uses VBA for X > time, then it will support VBA for that same time. VBA is not a separate > product that has a its own support lifecycle. > > I just found this article from Patrick Smith - a MS employee. He states > that the version of Office after 2007 will also support VBA (news to me!), > so VBA will be supported for 10 more years after THAT release. If that > happens in, say, 2010, then VBA will be supported till 2020. > http://blogs.msdn.com/patricksmith/archive/2006/03/24/560425.aspx > > > Read the paragraph at the end of this page about VBA 'going away': > http://msdn2.microsoft.com/en-us/library/aa159886(office.11).aspx#odc_ofcomp > arevba6andvsto_isvba60goingaway > > > This talks about discontinuation of VBA Licensing: > http://msdn2.microsoft.com/en-us/isv/bb190542.aspx > > > This appears to be MS's home page for VBA: > http://msdn2.microsoft.com/en-us/isv/bb190538.aspx From carbonnb at gmail.com Wed Jan 16 14:34:49 2008 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 16 Jan 2008 15:34:49 -0500 Subject: [AccessD] Sun to Acquire MySQL In-Reply-To: References: Message-ID: On Jan 16, 2008 10:10 AM, Gustav Brock wrote: > Did you notice: > > Sun to Acquire MySQL No, but this sure is interesting. > I know not much about Sun except for general stuff and about Java, and they bought the Cobalt servers (to kill them), so ... They also own StarOffice, which is the commercial arm of OpenOffice, which is anything but dead. I believe that they may have their fingers in Cross_Over Office (the closed source version of Wine) -- 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 miscellany at mvps.org Wed Jan 16 15:04:14 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 17 Jan 2008 10:04:14 +1300 Subject: [AccessD] macro scripting tool In-Reply-To: <000501c85857$d4e5ad00$657aa8c0@M90> References: <000501c85857$d4e5ad00$657aa8c0@M90> Message-ID: <478E714E.407@mvps.org> John, Do you mean like an AutoKeys macro? Regards Steve jwcolby wrote: > Does anyone know of a simple to use widget that will allow me to insert > keystrokes into a macro and assign them to a hot key which I can hit to > execute the macro. These things used to be popular back in the day and I > reaaaaaaly need one now. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > From cfoust at infostatsystems.com Wed Jan 16 15:17:54 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Jan 2008 13:17:54 -0800 Subject: [AccessD] Show of hands In-Reply-To: <001901c85859$abfdcdd0$0300a8c0@danwaters> References: <000101c85857$63255850$657aa8c0@M90> <001901c85859$abfdcdd0$0300a8c0@danwaters> Message-ID: Yes, I use MZ-Tools as well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, January 16, 2008 8:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Show of hands John, I didn't know you had an errorhandler posted. I've been using the errorhandler insertion feature of MZ Tools, which has a number of other code utility tools all bundled together. The errorhandler in MZ Tools does have some customizability built in. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 9:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 jwcolby at colbyconsulting.com Wed Jan 16 15:38:51 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 16 Jan 2008 16:38:51 -0500 Subject: [AccessD] Show of hands In-Reply-To: References: <000101c85857$63255850$657aa8c0@M90><001901c85859$abfdcdd0$0300a8c0@danwaters> Message-ID: <000a01c85888$2fc90980$657aa8c0@M90> As do I now! 8-) 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: Wednesday, January 16, 2008 4:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Show of hands Yes, I use MZ-Tools as well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, January 16, 2008 8:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Show of hands John, I didn't know you had an errorhandler posted. I've been using the errorhandler insertion feature of MZ Tools, which has a number of other code utility tools all bundled together. The errorhandler in MZ Tools does have some customizability built in. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 9:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 Elizabeth.J.Doering at wellsfargo.com Wed Jan 16 15:48:42 2008 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Wed, 16 Jan 2008 15:48:42 -0600 Subject: [AccessD] Show of hands References: <000101c85857$63255850$657aa8c0@M90><001901c85859$abfdcdd0$0300a8c0@danwaters> Message-ID: I use it. Several years ago, I inherited a project with zero error handling and it was a God-send! Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 9:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From jwcolby at colbyconsulting.com Wed Jan 16 16:17:49 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 16 Jan 2008 17:17:49 -0500 Subject: [AccessD] Show of hands In-Reply-To: References: <000101c85857$63255850$657aa8c0@M90><001901c85859$abfdcdd0$0300a8c0@danwaters> Message-ID: <000e01c8588d$a1c7ad70$657aa8c0@M90> And that is the one thing I miss in MZ-Tools vis-a-vis vbErrorHandler is the ability to blast in an error handler in every function in every module in the project. 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 Elizabeth.J.Doering at wellsfargo.com Sent: Wednesday, January 16, 2008 4:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Show of hands I use it. Several years ago, I inherited a project with zero error handling and it was a God-send! Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 9:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Wed Jan 16 16:43:37 2008 From: robert at servicexp.com (Robert) Date: Wed, 16 Jan 2008 17:43:37 -0500 Subject: [AccessD] Show of hands In-Reply-To: <000e01c8588d$a1c7ad70$657aa8c0@M90> References: <000101c85857$63255850$657aa8c0@M90><001901c85859$abfdcdd0$0300a8c0@danwaters> <000e01c8588d$a1c7ad70$657aa8c0@M90> Message-ID: <478E8899.6040407@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 MZ-Tools tools for the last 5 years... WBR Robert jwcolby wrote: > And that is the one thing I miss in MZ-Tools vis-a-vis vbErrorHandler is the > ability to blast in an error handler in every function in every module in > the project. > > > 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 > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, January 16, 2008 4:49 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Show of hands > > > I use it. Several years ago, I inherited a project with zero error handling > and it was a God-send! > > Liz > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, January 16, 2008 9:50 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Show of hands > > Would everyone who uses my error handler insertion wizard please respond so > that I can get a feel for whether anyone but me uses it? > > That is the vbErrorHandler that can be found on DatabaseAdvisors web site. > > Thanks. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > > This message may contain confidential and/or privileged information. If you > are not the addressee or authorized to receive this for the addressee, you > must not use, copy, disclose, or take any action based on this message or > any information herein. If you have received this message in error, please > advise the sender immediately by reply e-mail and delete this message. Thank > you for your cooperation. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjoiY72dSYCwH8FQRAikSAKCwf8AYFJfl4E++wKBPxyKQN0sy6QCfW5cM iqzkRqH8lxY796KL+esgqEA= =Yrg7 -----END PGP SIGNATURE----- From fahooper at trapo.com Wed Jan 16 17:26:28 2008 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 16 Jan 2008 18:26:28 -0500 Subject: [AccessD] Show of hands In-Reply-To: <000101c85857$63255850$657aa8c0@M90> Message-ID: <002401c85897$385e28a0$b753dd48@fredxp> I use it; it's being able to put error handling *everywhere* I find most useful. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 16, 2008 10:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 accessd at shaw.ca Wed Jan 16 18:42:32 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 16 Jan 2008 16:42:32 -0800 Subject: [AccessD] The correct way to install another MS SQL on a server In-Reply-To: <478E0D78.18400.39473AFC@stuart.lexacorp.com.pg> References: <200801151712.m0FHCthU031593@databaseadvisors.com> <478E0D78.18400.39473AFC@stuart.lexacorp.com.pg> Message-ID: Thank you Stuart, I will read up on the article and see if it covers all the issues. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, January 15, 2008 7:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The correct way to install another MS SQL on a server A good article here: http://www.informit.com/guides/content.aspx?g=sqlserver&seqNum=29&rl=1 On 15 Jan 2008 at 12:39, Jim Lawrence wrote: > Hi All: > > I will be installing a new copy of MS SQL 2005 on a server that is currently > running MS SQL 2000. I would like to keep both versions running until a > migration is completed and fully tested at which time I will just turn off > the older version. > > I know this can be done but because of the sensitivity of this process I > need to know what you would feel is the definitive answer or link to the > best source of information. > > 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 dwaters at usinternet.com Wed Jan 16 18:54:45 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 16 Jan 2008 18:54:45 -0600 Subject: [AccessD] Set form recordsource on Load event without records Message-ID: <000001c858a3$8dea1160$0300a8c0@danwaters> I have a continuous form that has bound fields in the Detail section. On Load, I want the detail section to show no records, and not show #Error in the bound fields. I can: 1) 'SELECT X FROM table WHERE ID = 0', but that's a hit on the BE. 2) Set Me.Recordsource = "", but then I get #Error. 3) Create a FE table with correct fields and no records, but that's another FE object with only one simple purpose. Is there another way to do this? Thanks! Dan From fuller.artful at gmail.com Wed Jan 16 19:01:47 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 16 Jan 2008 20:01:47 -0500 Subject: [AccessD] Set form recordsource on Load event without records In-Reply-To: <000001c858a3$8dea1160$0300a8c0@danwaters> References: <000001c858a3$8dea1160$0300a8c0@danwaters> Message-ID: <29f585dd0801161701n762a0976nc713ea0cf09a345f@mail.gmail.com> Assuming that ID is the PK of the table, then choice 1 is a very minimal hit on the BE, since the index will quickly deduce that no key matches. I might even adjust the query to PK < 0 (thinking about Colby's and others' use of the zeroth record). Arthur On 1/16/08, Dan Waters wrote: > > I have a continuous form that has bound fields in the Detail section. > > On Load, I want the detail section to show no records, and not show #Error > in the bound fields. > > I can: > > 1) 'SELECT X FROM table WHERE ID = 0', but that's a hit on the BE. > > 2) Set Me.Recordsource = "", but then I get #Error. > > 3) Create a FE table with correct fields and no records, but that's > another > > FE object with only one simple purpose. > > > Is there another way to do this? > > Thanks! > Dan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Wed Jan 16 19:02:32 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 16 Jan 2008 20:02:32 -0500 Subject: [AccessD] Set form recordsource on Load event without records References: <000001c858a3$8dea1160$0300a8c0@danwaters> Message-ID: <011e01c858a4$a5e30aa0$4b3a8343@SusanOne> WHy not just open it in Data Entry mode? Susan H. >I have a continuous form that has bound fields in the Detail section. > > On Load, I want the detail section to show no records, and not show #Error > in the bound fields. From pcs at azizaz.com Wed Jan 16 19:18:54 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 17 Jan 2008 11:18:54 +1000 (EST) Subject: [AccessD] Set form recordsource on Load event without records Message-ID: <20080117111854.DMC58106@dommail.onthenet.com.au> I was once told that if you use WHERE PK IS NULL then the system won't even bother go fetching the indexes - i.e. no hit on the BE Can anyone confirm? borge ---- Original message ---- >Date: Wed, 16 Jan 2008 20:01:47 -0500 >From: "Arthur Fuller" >Subject: Re: [AccessD] Set form recordsource on Load event without records >To: "Access Developers discussion and problem solving" > >Assuming that ID is the PK of the table, then choice 1 is a very minimal hit >on the BE, since the index will quickly deduce that no key matches. I might >even adjust the query to PK < 0 (thinking about Colby's and others' use of >the zeroth record). > >Arthur > >On 1/16/08, Dan Waters wrote: >> >> I have a continuous form that has bound fields in the Detail section. >> >> On Load, I want the detail section to show no records, and not show #Error >> in the bound fields. >> >> I can: >> >> 1) 'SELECT X FROM table WHERE ID = 0', but that's a hit on the BE. >> >> 2) Set Me.Recordsource = "", but then I get #Error. >> >> 3) Create a FE table with correct fields and no records, but that's >> another >> >> FE object with only one simple purpose. >> >> >> Is there another way to do this? >> >> Thanks! >> Dan >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Wed Jan 16 19:30:26 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Jan 2008 17:30:26 -0800 Subject: [AccessD] Set form recordsource on Load event without records In-Reply-To: <000001c858a3$8dea1160$0300a8c0@danwaters> References: <000001c858a3$8dea1160$0300a8c0@danwaters> Message-ID: If you give it an impossible condition, then it won't show #Error when you first open and your fields will still be bound. For example, "Select * FROM table WHERE 1 = 2" will immediately load the form empty without errors and without a trip to the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, January 16, 2008 4:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Set form recordsource on Load event without records I have a continuous form that has bound fields in the Detail section. On Load, I want the detail section to show no records, and not show #Error in the bound fields. I can: 1) 'SELECT X FROM table WHERE ID = 0', but that's a hit on the BE. 2) Set Me.Recordsource = "", but then I get #Error. 3) Create a FE table with correct fields and no records, but that's another FE object with only one simple purpose. Is there another way to do this? Thanks! Dan -- From stuart at lexacorp.com.pg Wed Jan 16 19:33:17 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 17 Jan 2008 11:33:17 +1000 Subject: [AccessD] macro scripting tool In-Reply-To: <000501c85857$d4e5ad00$657aa8c0@M90> References: <000501c85857$d4e5ad00$657aa8c0@M90> Message-ID: <478F3CFD.17472.3DE8FFFE@stuart.lexacorp.com.pg> Check out http://www.autohotkey.com/ On 16 Jan 2008 at 10:52, jwcolby wrote: > Does anyone know of a simple to use widget that will allow me to insert > keystrokes into a macro and assign them to a hot key which I can hit to > execute the macro. These things used to be popular back in the day and I > reaaaaaaly need one now. > > 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 stuart at lexacorp.com.pg Wed Jan 16 19:33:17 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 17 Jan 2008 11:33:17 +1000 Subject: [AccessD] macro scripting tool In-Reply-To: <000501c85857$d4e5ad00$657aa8c0@M90> References: <000501c85857$d4e5ad00$657aa8c0@M90> Message-ID: <478F3CFD.17472.3DE8FFFE@stuart.lexacorp.com.pg> Check out http://www.autohotkey.com/ On 16 Jan 2008 at 10:52, jwcolby wrote: > Does anyone know of a simple to use widget that will allow me to insert > keystrokes into a macro and assign them to a hot key which I can hit to > execute the macro. These things used to be popular back in the day and I > reaaaaaaly need one now. > > 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 R.Griffiths at bury.gov.uk Thu Jan 17 03:57:36 2008 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 17 Jan 2008 09:57:36 -0000 Subject: [AccessD] Design question Message-ID: <200801170941.m0H9fFk00242@smarthost.yourcomms.net> Hi I have a design question I'm looking for help with. Scenario.....Applicant completing questionnaire. Answer options vary...text reply, yes/no etc. I'm not sure how to deal with questions when there are multiple replies e.g; tick which apply to you: 1. Long hair 2. Blue eyes 3. Brown eyes 4. Tall 5. Short 6. Old 7. Young The answer may contain one, more than one or all boxes ticked. So options include having several fields in the answertable to store the answers e.g. longhair y/n, blue eyes y/n and so on. This may be okay for questions where there are 3,4,5 options but what if 8,9,10 or more.(what cut off point would you switch to storing in a separate table?) I assume I have to set up another table say tblMultipleOptionsAnswers ApplicantID MultipleOptionsQuestionID AnswerID So we can get values like 1,1,1 1,1,4 1,2,1, 1,2,3 2,1,3 2,1,4 2,2,1 and so on. Or is there a better way?? Thanks in advance Richard ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* From Gustav at cactus.dk Thu Jan 17 04:17:34 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Jan 2008 11:17:34 +0100 Subject: [AccessD] Design question Message-ID: Hi Richard Eyes and hair are independant, so separate fields. If you run out of fields, you may use a supporting table with a 1-1 relationship. Child tables are to be used if a non-fixed number of options to one question is possible, like sport activity: Tennis, Swimming, Hunting /gustav >>> R.Griffiths at bury.gov.uk 17-01-2008 10:57 >>> So options include having several fields in the answertable to store the answers e.g. longhair y/n, blue eyes y/n and so on. This may be okay for questions where there are 3,4,5 options but what if 8,9,10 or more.(what cut off point would you switch to storing in a separate table?) From Patricia.O'Connor at otda.state.ny.us Thu Jan 17 07:41:21 2008 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 17 Jan 2008 08:41:21 -0500 Subject: [AccessD] Show of hands References: <000101c85857$63255850$657aa8c0@M90> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C1E3@EXCNYSM0A1AI.nysemail.nyenet> I use it in my 2 A97 systems - helped quite a bit. I am now updating these systems to 2k,2k3 and will still use it ************************************************************* * Patricia E. O'Connor * Information Technology Specialist 3 (Programming) * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of jwcolby Sent: Wed 01/16/2008 10:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Show of hands Would everyone who uses my error handler insertion wizard please respond so that I can get a feel for whether anyone but me uses it? That is the vbErrorHandler that can be found on DatabaseAdvisors web site. Thanks. 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 slee at asu.edu Thu Jan 17 09:18:47 2008 From: slee at asu.edu (S Lee (Career Svcs.)) Date: Thu, 17 Jan 2008 08:18:47 -0700 Subject: [AccessD] macro scripting tool In-Reply-To: <478E714E.407@mvps.org> References: <000501c85857$d4e5ad00$657aa8c0@M90> <478E714E.407@mvps.org> Message-ID: <68656C04C7C0AA4883E870908A8577B207CE5308@EX03.asurite.ad.asu.edu> Keyboard Express www.wintools.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Wednesday, January 16, 2008 2:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] macro scripting tool John, Do you mean like an AutoKeys macro? Regards Steve jwcolby wrote: > Does anyone know of a simple to use widget that will allow me to > insert keystrokes into a macro and assign them to a hot key which I > can hit to execute the macro. These things used to be popular back in > the day and I reaaaaaaly need one now. > > 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 mmattys at rochester.rr.com Thu Jan 17 09:57:44 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 17 Jan 2008 10:57:44 -0500 Subject: [AccessD] Virtual PC Message-ID: <000f01c85921$c5a86740$0202a8c0@Laptop> In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), John Colby recommended using a Virtual PC for each user run from a common server. I have a request from a potential client who will need to synchronize appx 8 computers to a central database. Therefore, I would like ask for comments on the Virtual PC methodology as to how it would fare versus Jet Replication and Citrix or even Terminal Server. (Pros/Cons) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From Gustav at cactus.dk Thu Jan 17 10:11:05 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Jan 2008 17:11:05 +0100 Subject: [AccessD] Virtual PC Message-ID: Hi Michael Or "even" WinConnect Server XP: http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx We've used that for several clients - from a couple of users to 20 users. Easy to set up and licensing is cheap and a snap compared to the troublesome administration of Windows Terminal Server. /gustav >>> mmattys at rochester.rr.com 17-01-2008 16:57 >>> In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), John Colby recommended using a Virtual PC for each user run from a common server. I have a request from a potential client who will need to synchronize appx 8 computers to a central database. Therefore, I would like ask for comments on the Virtual PC methodology as to how it would fare versus Jet Replication and Citrix or even Terminal Server. (Pros/Cons) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From mmattys at rochester.rr.com Thu Jan 17 10:28:56 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 17 Jan 2008 11:28:56 -0500 Subject: [AccessD] Virtual PC References: Message-ID: <003b01c85926$0f6389b0$0202a8c0@Laptop> Ah! - Thanks, Gustav! Are you handling synchronization? With Replication Manager or JRO / TSI Synchronizer? Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, January 17, 2008 11:11 AM Subject: Re: [AccessD] Virtual PC > Hi Michael > > Or "even" WinConnect Server XP: > > http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx > > We've used that for several clients - from a couple of users to 20 users. > Easy to set up and licensing is cheap and a snap compared to the > troublesome administration of Windows Terminal Server. > > /gustav > >>>> mmattys at rochester.rr.com 17-01-2008 16:57 >>> > In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), > John Colby recommended using a Virtual PC for each user run from a > common server. > > I have a request from a potential client who will need to synchronize appx > 8 computers to a central database. Therefore, I would like ask for > comments > on the Virtual PC methodology as to how it would fare versus Jet > Replication > and Citrix or even Terminal Server. (Pros/Cons) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.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 Thu Jan 17 10:49:40 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 17 Jan 2008 10:49:40 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: References: Message-ID: Finally got a chance (boss had other projects to do first) to try this query and time it. Run time was 37259.37 seconds. I also did it with 3 queries. One to select the wells with pressure difference over 100, a second to find the last date these selected wells were over a 100 and a last one to calculate the days between today's date and the date selected in the prior query. Total time to run was approximately 11 seconds. I think I will stick with the 3 query method. Thanks for your efforts. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, January 03, 2008 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping SELECT T1.IT_Well, IIf(((SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well))<0,0,(SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well)) AS NumberOfDaysOver100 FROM dbo_Inj_Tests AS T1 GROUP BY T1.IT_Well; Ok, this is plain text, so you shouldn't get word wrap issues, but who knows. To pull off what you are really looking for, the subquery gets a little more complex. I went off the four fields you gave me, with the table name, so this query should just work by cutting and pasting the SQL into a new query. Here's the results: For each IT_Well, if the latest record is less then 100, then it returns 0 for 'NumberOfDaysOver100'. If the latest record is equal or greater then 100, then it returns the number of DAYS that the well has been over 100. Thus, if there IS a date where it was less then 100, then you get the difference between that date and the existing date. Ie: 12/29/2007 - 300 12/27/2007 - 95 This set (whether there is a record for the 28th or not (unless of course there was one under 100) will return 2, which would be the number of days over 100. If there are NO records where it's under 100, then it returns the number of days between the first and last records, INCLUDING the last day, ie: 12/29/2007 - 300 12/27/2007 - 195 This would return 3, since it was over 100 on the 27th, it includes that day. Hope this helps. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Jan 17 10:54:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Jan 2008 17:54:16 +0100 Subject: [AccessD] Virtual PC Message-ID: Hi Michael Oh, we've used it to not have to set up replication ... It's like a terminal server; all sessions of the frontend run on the server and they connect simultaneously to a shared backend. /gustav >>> mmattys at rochester.rr.com 17-01-2008 17:28 >>> Ah! - Thanks, Gustav! Are you handling synchronization? With Replication Manager or JRO / TSI Synchronizer? Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, January 17, 2008 11:11 AM Subject: Re: [AccessD] Virtual PC > Hi Michael > > Or "even" WinConnect Server XP: > > http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx > > We've used that for several clients - from a couple of users to 20 users. > Easy to set up and licensing is cheap and a snap compared to the > troublesome administration of Windows Terminal Server. > > /gustav > >>>> mmattys at rochester.rr.com 17-01-2008 16:57 >>> > In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), > John Colby recommended using a Virtual PC for each user run from a > common server. > > I have a request from a potential client who will need to synchronize appx > 8 computers to a central database. Therefore, I would like ask for > comments > on the Virtual PC methodology as to how it would fare versus Jet > Replication > and Citrix or even Terminal Server. (Pros/Cons) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com From mmattys at rochester.rr.com Thu Jan 17 11:10:59 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 17 Jan 2008 12:10:59 -0500 Subject: [AccessD] Virtual PC References: Message-ID: <006901c8592b$ef36c930$0202a8c0@Laptop> Gustav, Laptops will be used both online and offline. Cable companies in NY have this nasty habit of dropping the connection from 5 to 30 min nearly every day (Phones, too). This should become quite interesting ... Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, January 17, 2008 11:54 AM Subject: Re: [AccessD] Virtual PC > Hi Michael > > Oh, we've used it to not have to set up replication ... > It's like a terminal server; all sessions of the frontend run on the > server and they connect simultaneously to a shared backend. > > /gustav > >>>> mmattys at rochester.rr.com 17-01-2008 17:28 >>> > Ah! - Thanks, Gustav! > Are you handling synchronization? > With Replication Manager or JRO / TSI Synchronizer? > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, January 17, 2008 11:11 AM > Subject: Re: [AccessD] Virtual PC > > >> Hi Michael >> >> Or "even" WinConnect Server XP: >> >> http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx >> >> We've used that for several clients - from a couple of users to 20 users. >> Easy to set up and licensing is cheap and a snap compared to the >> troublesome administration of Windows Terminal Server. >> >> /gustav >> >>>>> mmattys at rochester.rr.com 17-01-2008 16:57 >>> >> In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), >> John Colby recommended using a Virtual PC for each user run from a >> common server. >> >> I have a request from a potential client who will need to synchronize >> appx >> 8 computers to a central database. Therefore, I would like ask for >> comments >> on the Virtual PC methodology as to how it would fare versus Jet >> Replication >> and Citrix or even Terminal Server. (Pros/Cons) >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.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 Jan 17 11:22:22 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 17 Jan 2008 11:22:22 -0600 Subject: [AccessD] I need a better way to do this - looping In-Reply-To: Message-ID: WOW, talk about a time difference there, I really am surprised there was that much of a difference. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, January 17, 2008 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping Finally got a chance (boss had other projects to do first) to try this query and time it. Run time was 37259.37 seconds. I also did it with 3 queries. One to select the wells with pressure difference over 100, a second to find the last date these selected wells were over a 100 and a last one to calculate the days between today's date and the date selected in the prior query. Total time to run was approximately 11 seconds. I think I will stick with the 3 query method. Thanks for your efforts. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, January 03, 2008 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I need a better way to do this - looping SELECT T1.IT_Well, IIf(((SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well))<0,0,(SELECT IIF(IsNull(Max(IT_Date)),0,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)>=100 AND IT_Well=T1.IT_Well)-(SELECT IIF(IsNull(Max(IT_Date)),(SELECT Min(IT_Date) FROM dbo_Inj_Tests WHERE IT_Well=T1.IT_Well)-1,Max(IT_Date)) FROM dbo_Inj_Tests WHERE (Lin_Pres-Tbg_Pres)<100 AND IT_Well=T1.IT_Well)) AS NumberOfDaysOver100 FROM dbo_Inj_Tests AS T1 GROUP BY T1.IT_Well; Ok, this is plain text, so you shouldn't get word wrap issues, but who knows. To pull off what you are really looking for, the subquery gets a little more complex. I went off the four fields you gave me, with the table name, so this query should just work by cutting and pasting the SQL into a new query. Here's the results: For each IT_Well, if the latest record is less then 100, then it returns 0 for 'NumberOfDaysOver100'. If the latest record is equal or greater then 100, then it returns the number of DAYS that the well has been over 100. Thus, if there IS a date where it was less then 100, then you get the difference between that date and the existing date. Ie: 12/29/2007 - 300 12/27/2007 - 95 This set (whether there is a record for the 28th or not (unless of course there was one under 100) will return 2, which would be the number of days over 100. If there are NO records where it's under 100, then it returns the number of days between the first and last records, INCLUDING the last day, ie: 12/29/2007 - 300 12/27/2007 - 195 This would return 3, since it was over 100 on the 27th, it includes that day. Hope this helps. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu Jan 17 11:25:02 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 17 Jan 2008 11:25:02 -0600 Subject: [AccessD] Design question In-Reply-To: <200801170941.m0H9fFk00242@smarthost.yourcomms.net> Message-ID: Actually Richard, it depends on what you are designing. If you are creating a database for ONE questionnaire, then I would go with having a field for each answer. If you are creating a database for MULTIPLE questionnaires, then I would take a different tactic. In a single questionnaire system, the database design represents the questionnaire and the data within represents the responses. In a multiple questionnaire system, the database design represents how to build a questionnaire, and the data represents both the questionnaires and the responses. For example, in a multiple questionnaire system: tblQuestionnaire: QuestionnaireID QuestionnaireName tblQuestions: QuestionID QuestionnaireID QuestionText tblAnswerDefinitions AnswerDefinitionID QuestionID Label DataType (ie, 1 for text, 2 for yes/no) SortOrder tblAnswersText AnswerDefinitionID AnswerValue (As Text) tblAnswersYesNo AnswerDefinitionID AnswerValue (As Yes/No) One caveat here, is that in a design like this, Access is not the optimum GUI for the interface, because the controls will need to be dynamic (ie, in your 'Select the items that fit you' question, that could have 1 item or 20 items....each item requiring a label and a checkbox.) Dynamic controls are inherent in VB, ASP, and .Net. These would be a better choice for the interface itself. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, January 17, 2008 3:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Design question Hi I have a design question I'm looking for help with. Scenario.....Applicant completing questionnaire. Answer options vary...text reply, yes/no etc. I'm not sure how to deal with questions when there are multiple replies e.g; tick which apply to you: 1. Long hair 2. Blue eyes 3. Brown eyes 4. Tall 5. Short 6. Old 7. Young The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Gustav at cactus.dk Thu Jan 17 11:25:18 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Jan 2008 18:25:18 +0100 Subject: [AccessD] Virtual PC Message-ID: Hi Michael If so it sounds like a true job for replication. Among others, Arthur is quite vivid in this area. Recently he posted this: http://databaseadvisors.com/pipermail/accessd/2008-January/058097.html /gustav >>> mmattys at rochester.rr.com 17-01-2008 18:10 >>> Gustav, Laptops will be used both online and offline. Cable companies in NY have this nasty habit of dropping the connection from 5 to 30 min nearly every day (Phones, too). This should become quite interesting ... Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, January 17, 2008 11:54 AM Subject: Re: [AccessD] Virtual PC > Hi Michael > > Oh, we've used it to not have to set up replication ... > It's like a terminal server; all sessions of the frontend run on the > server and they connect simultaneously to a shared backend. > > /gustav > >>>> mmattys at rochester.rr.com 17-01-2008 17:28 >>> > Ah! - Thanks, Gustav! > Are you handling synchronization? > With Replication Manager or JRO / TSI Synchronizer? > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, January 17, 2008 11:11 AM > Subject: Re: [AccessD] Virtual PC > > >> Hi Michael >> >> Or "even" WinConnect Server XP: >> >> http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx >> >> We've used that for several clients - from a couple of users to 20 users. >> Easy to set up and licensing is cheap and a snap compared to the >> troublesome administration of Windows Terminal Server. >> >> /gustav >> >>>>> mmattys at rochester.rr.com 17-01-2008 16:57 >>> >> In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), >> John Colby recommended using a Virtual PC for each user run from a >> common server. >> >> I have a request from a potential client who will need to synchronize appx >> 8 computers to a central database. Therefore, I would like ask for comments >> on the Virtual PC methodology as to how it would fare versus Jet Replication >> and Citrix or even Terminal Server. (Pros/Cons) >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com From mmattys at rochester.rr.com Thu Jan 17 11:51:58 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 17 Jan 2008 12:51:58 -0500 Subject: [AccessD] Virtual PC References: Message-ID: <009c01c85931$a90cff50$0202a8c0@Laptop> Thanks again, Gustav Hmm, Arthur is only across the lake from me ... I'll contact him at the appropriate time to see if he'd be willing to consult (and teach me). Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, January 17, 2008 12:25 PM Subject: Re: [AccessD] Virtual PC > Hi Michael > > If so it sounds like a true job for replication. > Among others, Arthur is quite vivid in this area. Recently he posted this: > > http://databaseadvisors.com/pipermail/accessd/2008-January/058097.html > > /gustav > >>>> mmattys at rochester.rr.com 17-01-2008 18:10 >>> > Gustav, > > Laptops will be used both online and offline. > > Cable companies in NY have this nasty habit of dropping > the connection from 5 to 30 min nearly every day (Phones, too). > > This should become quite interesting ... > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, January 17, 2008 11:54 AM > Subject: Re: [AccessD] Virtual PC > > >> Hi Michael >> >> Oh, we've used it to not have to set up replication ... >> It's like a terminal server; all sessions of the frontend run on the >> server and they connect simultaneously to a shared backend. >> >> /gustav >> >>>>> mmattys at rochester.rr.com 17-01-2008 17:28 >>> >> Ah! - Thanks, Gustav! >> Are you handling synchronization? >> With Replication Manager or JRO / TSI Synchronizer? >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com >> >> ----- Original Message ----- >> From: "Gustav Brock" >> To: >> Sent: Thursday, January 17, 2008 11:11 AM >> Subject: Re: [AccessD] Virtual PC >> >> >>> Hi Michael >>> >>> Or "even" WinConnect Server XP: >>> >>> http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx >>> >>> We've used that for several clients - from a couple of users to 20 >>> users. >>> Easy to set up and licensing is cheap and a snap compared to the >>> troublesome administration of Windows Terminal Server. >>> >>> /gustav >>> >>>>>> mmattys at rochester.rr.com 17-01-2008 16:57 >>> >>> In the thread "Citrix Access Essentials and Access" (Tuesday, Jan 15th), >>> John Colby recommended using a Virtual PC for each user run from a >>> common server. >>> >>> I have a request from a potential client who will need to synchronize >>> appx >>> 8 computers to a central database. Therefore, I would like ask for >>> comments >>> on the Virtual PC methodology as to how it would fare versus Jet >>> Replication >>> and Citrix or even Terminal Server. (Pros/Cons) >>> >>> Michael R. Mattys >>> MapPoint & Access Dev >>> www.mattysconsulting.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Jan 17 12:20:36 2008 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 17 Jan 2008 12:20:36 -0600 Subject: [AccessD] Set form recordsource on Load event without records In-Reply-To: <000001c858a3$8dea1160$0300a8c0@danwaters> References: <000001c858a3$8dea1160$0300a8c0@danwaters> Message-ID: <000b01c85935$a82a1c90$0300a8c0@danwaters> Thanks to everyone for your solutions! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, January 16, 2008 6:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Set form recordsource on Load event without records I have a continuous form that has bound fields in the Detail section. On Load, I want the detail section to show no records, and not show #Error in the bound fields. I can: 1) 'SELECT X FROM table WHERE ID = 0', but that's a hit on the BE. 2) Set Me.Recordsource = "", but then I get #Error. 3) Create a FE table with correct fields and no records, but that's another FE object with only one simple purpose. Is there another way to do this? Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Thu Jan 17 18:40:42 2008 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 18 Jan 2008 13:40:42 +1300 Subject: [AccessD] VBA in Office 14 Message-ID: <478FF58A.5000105@mvps.org> Hi all, A few days ago there was a discussion here, buried in a sub-thread, about Microsoft's future support of VBA. Clint Covington has now posted some brief info here: http://blogs.msdn.com/access/archive/2008/01/17/vba-in-office-14.aspx Regards Steve From Gustav at cactus.dk Fri Jan 18 02:10:26 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Jan 2008 09:10:26 +0100 Subject: [AccessD] Action Pack, now with special edition toolkit for Web Solution Providers Message-ID: Hi all Well, this is on schedule. Today an envelope arrived including these cd-roms: Microsoft Visual Studio 2008 Standard Edition Microsoft Expression Studio and a DVD: Custom Web Development Jumpstart and Windows Live Partner Resources Kit Also, I received 2 GB of ram for my laptop. Do we have a match? /gustav >>> Gustav at cactus.dk 04-12-2007 18:06:22 >>> Hi all Received this today: Our records indicate .. that you are eligible to order the Microsoft Web Solutions Toolkit. You will automatically be shipped the Web Solutions Toolkit in January 2008. /gustav >>> Gustav at cactus.dk 10-10-2007 10:09:07 >>> Hi all We (my employer and I) don't want to spend money on the "MS exam circus" as the ROI is zero. Thus, our official Small Business Specialist status will be lost (and our clients don't care as they hardly knew that anyway). No big deal. However, that status have the additional benefit that combined with the Action Pack Subscription (where the ROI is huge) you are offered Visual Studio Standard 2005 for free. So no SB partner => no free VS which is bad now that VS2008 is close. But a new free add-on to the Action Pack is now announced which could be of interest for those of you not having Visual Studio yet or have felt the limitations of the free Express editions, a "special edition toolkit" for Web Solution Providers: https://partner.microsoft.com/webresourcekit It includes Microsoft Visual Studio Standard 2008 and Expression Studio. The estimated ship date for the kit is January 2008. One of the steps to obtain the kit is to: Successfully complete one of three free online courses and the associated assessment with a score of 70 percent or higher .. These seems to have a duration from 0,5 to 1,5 hours, so you have to pay by spending some of your valuable time! /gustav From Gustav at cactus.dk Fri Jan 18 02:13:54 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Jan 2008 09:13:54 +0100 Subject: [AccessD] Virtual PC Message-ID: Hi Michael OK, then it can't be Michigan Lake ... /gustav >>> mmattys at rochester.rr.com 17-01-2008 18:51:58 >>> Thanks again, Gustav Hmm, Arthur is only across the lake from me ... I'll contact him at the appropriate time to see if he'd be willing to consult (and teach me). Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com From rockysmolin at bchacc.com Sat Jan 19 07:59:22 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 19 Jan 2008 05:59:22 -0800 Subject: [AccessD] Big Page Message-ID: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> Dear List: Is there any way to format a report to 11" x 17" (landscape) and show that size page, without having a printer installed which can print that big? 11" x 8 1/2" seems to be a fixed size and I'm thinking it's tied to the selected printer. I installed an HP5000 PCL which gives me the option on the page setup to select 11 x 17 but when I do a print preview it goes back to Letter size - doesn't seem to want to 'remember ' the 11 x 17. I have it set to print to the specific printer - the HP. MTIA Rocky From fuller.artful at gmail.com Sat Jan 19 08:13:59 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 19 Jan 2008 09:13:59 -0500 Subject: [AccessD] Big Page In-Reply-To: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> Message-ID: <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> IIRC, this has something to do with a bug in the AutoCorrect settings. What the relationship between the two is, I never could understand, but try turning AutoCorrect off and then check what happens to your report settings. hth, Arthur On 1/19/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > Is there any way to format a report to 11" x 17" (landscape) and show that > size page, without having a printer installed which can print that big? > 11" > x 8 1/2" seems to be a fixed size and I'm thinking it's tied to the > selected > printer. > > I installed an HP5000 PCL which gives me the option on the page setup to > select 11 x 17 but when I do a print preview it goes back to Letter size - > doesn't seem to want to 'remember ' the 11 x 17. I have it set to print > to > the specific printer - the HP. > > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sat Jan 19 08:24:44 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 19 Jan 2008 06:24:44 -0800 Subject: [AccessD] Big Page In-Reply-To: <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> Message-ID: <002001c85aa7$09b69ca0$0301a8c0@HAL9005> It's off. I turned it off about 6 years ago. Buggy feature. I assume you're talking about Track Name and not the Spelling Autocorrect? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, January 19, 2008 6:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Big Page IIRC, this has something to do with a bug in the AutoCorrect settings. What the relationship between the two is, I never could understand, but try turning AutoCorrect off and then check what happens to your report settings. hth, Arthur On 1/19/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > Is there any way to format a report to 11" x 17" (landscape) and show > that size page, without having a printer installed which can print that big? > 11" > x 8 1/2" seems to be a fixed size and I'm thinking it's tied to the > selected printer. > > I installed an HP5000 PCL which gives me the option on the page setup > to select 11 x 17 but when I do a print preview it goes back to Letter > size - doesn't seem to want to 'remember ' the 11 x 17. I have it set > to print to the specific printer - the HP. > > > 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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 7:32 PM From markamatte at hotmail.com Sat Jan 19 08:40:10 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Sat, 19 Jan 2008 14:40:10 +0000 Subject: [AccessD] Big Page In-Reply-To: <002001c85aa7$09b69ca0$0301a8c0@HAL9005> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> <002001c85aa7$09b69ca0$0301a8c0@HAL9005> Message-ID: Rocky, OS=XP Access=2002...and I don't have a printer capable of printing that size...but if I go to Page Setup and choose that paper size...print preview shows it that size....I can close and re-open and it is still that size? Maybe something else going on? Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Sat, 19 Jan 2008 06:24:44 -0800 > Subject: Re: [AccessD] Big Page > > It's off. I turned it off about 6 years ago. Buggy feature. I assume > you're talking about Track Name and not the Spelling Autocorrect? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, January 19, 2008 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Big Page > > IIRC, this has something to do with a bug in the AutoCorrect settings. What > the relationship between the two is, I never could understand, but try > turning AutoCorrect off and then check what happens to your report settings. > > hth, > Arthur > > On 1/19/08, Rocky Smolin at Beach Access Software > wrote: >> >> >> Dear List: >> >> Is there any way to format a report to 11" x 17" (landscape) and show >> that size page, without having a printer installed which can print that > big? >> 11" >> x 8 1/2" seems to be a fixed size and I'm thinking it's tied to the >> selected printer. >> >> I installed an HP5000 PCL which gives me the option on the page setup >> to select 11 x 17 but when I do a print preview it goes back to Letter >> size - doesn't seem to want to 'remember ' the 11 x 17. I have it set >> to print to the specific printer - the HP. >> >> >> 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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 > 7:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ From rockysmolin at bchacc.com Sat Jan 19 08:40:11 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 19 Jan 2008 06:40:11 -0800 Subject: [AccessD] Big Page In-Reply-To: <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> Message-ID: <002801c85aa9$337a3900$0301a8c0@HAL9005> Suddenly it's working. Go figure. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, January 19, 2008 6:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Big Page IIRC, this has something to do with a bug in the AutoCorrect settings. What the relationship between the two is, I never could understand, but try turning AutoCorrect off and then check what happens to your report settings. hth, Arthur On 1/19/08, Rocky Smolin at Beach Access Software wrote: > > > Dear List: > > Is there any way to format a report to 11" x 17" (landscape) and show > that size page, without having a printer installed which can print that big? > 11" > x 8 1/2" seems to be a fixed size and I'm thinking it's tied to the > selected printer. > > I installed an HP5000 PCL which gives me the option on the page setup > to select 11 x 17 but when I do a print preview it goes back to Letter > size - doesn't seem to want to 'remember ' the 11 x 17. I have it set > to print to the specific printer - the HP. > > > 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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 7:32 PM From lembit.dbamail at t-online.de Sat Jan 19 09:13:18 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 19 Jan 2008 16:13:18 +0100 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> <002001c85aa7$09b69ca0$0301a8c0@HAL9005> Message-ID: <000c01c85aad$d2d81e00$1800a8c0@s1800> Hi, everybody, In an Access 2002 I have two linked tables, table A is in the BE which belongs to this FE, table B is in a different database, and it is used there as well. Both tables are lists of persons with id, lastname, firstname, and other fields. I want to use names from both tables as customers. I have made a union query, but this gives me duplicate id numbers. Is there a way to insert the source table name into the union query, so that I can then distinguish from which table a certain record is? Or is there a better solution? Thank you Lembit From rockysmolin at bchacc.com Sat Jan 19 09:14:59 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 19 Jan 2008 07:14:59 -0800 Subject: [AccessD] Big Page In-Reply-To: References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> <002001c85aa7$09b69ca0$0301a8c0@HAL9005> Message-ID: <002c01c85aae$0eeecec0$0301a8c0@HAL9005> Mark: My default printer didn't show 11 x 17 as an option. But the HP5500 I installed does. I finally got it to 'stick'. I just have to remember to set the printer back to default before I deliver the app. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Saturday, January 19, 2008 6:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Big Page Rocky, OS=XP Access=2002...and I don't have a printer capable of printing that size...but if I go to Page Setup and choose that paper size...print preview shows it that size....I can close and re-open and it is still that size? Maybe something else going on? Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Sat, 19 Jan 2008 06:24:44 -0800 > Subject: Re: [AccessD] Big Page > > It's off. I turned it off about 6 years ago. Buggy feature. I assume > you're talking about Track Name and not the Spelling Autocorrect? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Saturday, January 19, 2008 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Big Page > > IIRC, this has something to do with a bug in the AutoCorrect settings. > What the relationship between the two is, I never could understand, > but try turning AutoCorrect off and then check what happens to your report settings. > > hth, > Arthur > > On 1/19/08, Rocky Smolin at Beach Access Software > wrote: >> >> >> Dear List: >> >> Is there any way to format a report to 11" x 17" (landscape) and show >> that size page, without having a printer installed which can print >> that > big? >> 11" >> x 8 1/2" seems to be a fixed size and I'm thinking it's tied to the >> selected printer. >> >> I installed an HP5000 PCL which gives me the option on the page setup >> to select 11 x 17 but when I do a print preview it goes back to >> Letter size - doesn't seem to want to 'remember ' the 11 x 17. I have >> it set to print to the specific printer - the HP. >> >> >> 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.516 / Virus Database: 269.19.7/1232 - Release Date: > 1/18/2008 > 7:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 7:32 PM From rockysmolin at bchacc.com Sat Jan 19 09:18:11 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 19 Jan 2008 07:18:11 -0800 Subject: [AccessD] Combine two tables In-Reply-To: <000c01c85aad$d2d81e00$1800a8c0@s1800> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005> <000c01c85aad$d2d81e00$1800a8c0@s1800> Message-ID: <002d01c85aae$81e2e880$0301a8c0@HAL9005> Is DISTINCT available to a union query? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, January 19, 2008 7:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Combine two tables Hi, everybody, In an Access 2002 I have two linked tables, table A is in the BE which belongs to this FE, table B is in a different database, and it is used there as well. Both tables are lists of persons with id, lastname, firstname, and other fields. I want to use names from both tables as customers. I have made a union query, but this gives me duplicate id numbers. Is there a way to insert the source table name into the union query, so that I can then distinguish from which table a certain record is? Or is there a better solution? Thank you Lembit -- 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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 7:32 PM From ssharkins at gmail.com Sat Jan 19 09:23:19 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 19 Jan 2008 10:23:19 -0500 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005> <000c01c85aad$d2d81e00$1800a8c0@s1800> Message-ID: <011901c85aaf$3ad392e0$4b3a8343@SusanOne> Lembit, the duplicate id values aren't really the problem, right? You need to identify the source table -- is this correct? Susan H. > Hi, everybody, > > In an Access 2002 I have two linked tables, > table A is in the BE which belongs to this FE, > table B is in a different database, and it is used there as well. > Both tables are lists of persons with id, lastname, firstname, and other > fields. > > I want to use names from both tables as customers. > I have made a union query, but this gives me duplicate id numbers. > > Is there a way to insert the source table name into the union query, > so that I can then distinguish from which table a certain record is? > > Or is there a better solution? > > Thank you > Lembit > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Sat Jan 19 09:37:29 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 19 Jan 2008 16:37:29 +0100 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005><000c01c85aad$d2d81e00$1800a8c0@s1800> <002d01c85aae$81e2e880$0301a8c0@HAL9005> Message-ID: <002101c85ab1$3387d3f0$1800a8c0@s1800> Rocky, I think so, but how does that help me? I have in the meantime found a way: without changing a table, I have added a column in the union query, which is " id - id as tablename " for one table, and " id - id +1 as tablename " for the other table. Now I get fro the union query an additional column which shows 0 for one table and 1 for the other table. Thanks anyway Lembit ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 19, 2008 4:18 PM Subject: Re: [AccessD] Combine two tables > Is DISTINCT available to a union query? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, January 19, 2008 7:13 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Combine two tables > > Hi, everybody, > > In an Access 2002 I have two linked tables, table A is in the BE which > belongs to this FE, table B is in a different database, and it is used > there > as well. > Both tables are lists of persons with id, lastname, firstname, and other > fields. > > I want to use names from both tables as customers. > I have made a union query, but this gives me duplicate id numbers. > > Is there a way to insert the source table name into the union query, so > that > I can then distinguish from which table a certain record is? > > Or is there a better solution? > > Thank you > Lembit > > -- > 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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 > 7:32 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.516 / Virus Database: 269.19.7/1232 - Release Date: > 18.01.2008 19:32 > > From fuller.artful at gmail.com Sat Jan 19 09:39:46 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 19 Jan 2008 10:39:46 -0500 Subject: [AccessD] Combine two tables In-Reply-To: <011901c85aaf$3ad392e0$4b3a8343@SusanOne> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> <002001c85aa7$09b69ca0$0301a8c0@HAL9005> <000c01c85aad$d2d81e00$1800a8c0@s1800> <011901c85aaf$3ad392e0$4b3a8343@SusanOne> Message-ID: <29f585dd0801190739h287a8b15we94d0b3acbbc1e96@mail.gmail.com> The simplest way to do this is to embed the table name as a literal in both queries: SELECT CustomerID, CustomerName, "Table1" FROM somewhere UNION SELECT CustomerID, CustomerName, "Table2" FROM somewhere hth, Arthur On 1/19/08, Susan Harkins wrote: > > Lembit, the duplicate id values aren't really the problem, right? You need > to identify the source table -- is this correct? > > Susan H. > > > > Hi, everybody, > > > > In an Access 2002 I have two linked tables, > > table A is in the BE which belongs to this FE, > > table B is in a different database, and it is used there as well. > > Both tables are lists of persons with id, lastname, firstname, and other > > fields. > > > > I want to use names from both tables as customers. > > I have made a union query, but this gives me duplicate id numbers. > > > > Is there a way to insert the source table name into the union query, > > so that I can then distinguish from which table a certain record is? > > > > Or is there a better solution? > > > > Thank you > > Lembit > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lembit.dbamail at t-online.de Sat Jan 19 09:45:31 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 19 Jan 2008 16:45:31 +0100 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005><000c01c85aad$d2d81e00$1800a8c0@s1800> <011901c85aaf$3ad392e0$4b3a8343@SusanOne> Message-ID: <002a01c85ab2$52a12470$1800a8c0@s1800> until I know which record belongs to which table, it is. or better: the duplicate id values point to the need to identify the tables. now that I have found I need to identify them, (while writing a msg to AccessD), the solution was easy :-) Helps to send the problem to AccessD, and you get magically a solution. :) Lembit ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Saturday, January 19, 2008 4:23 PM Subject: Re: [AccessD] Combine two tables > Lembit, the duplicate id values aren't really the problem, right? You need > to identify the source table -- is this correct? > > Susan H. > > >> Hi, everybody, >> >> In an Access 2002 I have two linked tables, >> table A is in the BE which belongs to this FE, >> table B is in a different database, and it is used there as well. >> Both tables are lists of persons with id, lastname, firstname, and other >> fields. >> >> I want to use names from both tables as customers. >> I have made a union query, but this gives me duplicate id numbers. >> >> Is there a way to insert the source table name into the union query, >> so that I can then distinguish from which table a certain record is? >> >> Or is there a better solution? >> >> Thank you >> Lembit >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.19.7/1232 - Release Date: > 18.01.2008 19:32 > > From ssharkins at gmail.com Sat Jan 19 09:45:52 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 19 Jan 2008 10:45:52 -0500 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005><000c01c85aad$d2d81e00$1800a8c0@s1800><011901c85aaf$3ad392e0$4b3a8343@SusanOne> <29f585dd0801190739h287a8b15we94d0b3acbbc1e96@mail.gmail.com> Message-ID: <014501c85ab2$619f2f80$4b3a8343@SusanOne> I thought so too Arthur, but apparently, the tables have the same name -- is this correct Lembit? Susan H. > The simplest way to do this is to embed the table name as a literal in > both > queries: > > SELECT CustomerID, CustomerName, "Table1" FROM somewhere > UNION > SELECT CustomerID, CustomerName, "Table2" FROM somewhere From lembit.dbamail at t-online.de Sat Jan 19 09:50:33 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 19 Jan 2008 16:50:33 +0100 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005><000c01c85aad$d2d81e00$1800a8c0@s1800><011901c85aaf$3ad392e0$4b3a8343@SusanOne> <29f585dd0801190739h287a8b15we94d0b3acbbc1e96@mail.gmail.com> Message-ID: <003d01c85ab3$06a4f960$1800a8c0@s1800> Thanks Arthur, and its easier than my solution. should have thought of that. Lembit ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Saturday, January 19, 2008 4:39 PM Subject: Re: [AccessD] Combine two tables > The simplest way to do this is to embed the table name as a literal in > both > queries: > > SELECT CustomerID, CustomerName, "Table1" FROM somewhere > UNION > SELECT CustomerID, CustomerName, "Table2" FROM somewhere > > hth, > Arthur > > On 1/19/08, Susan Harkins wrote: >> >> Lembit, the duplicate id values aren't really the problem, right? You >> need >> to identify the source table -- is this correct? >> >> Susan H. >> >> >> > Hi, everybody, >> > >> > In an Access 2002 I have two linked tables, >> > table A is in the BE which belongs to this FE, >> > table B is in a different database, and it is used there as well. >> > Both tables are lists of persons with id, lastname, firstname, and >> > other >> > fields. >> > >> > I want to use names from both tables as customers. >> > I have made a union query, but this gives me duplicate id numbers. >> > >> > Is there a way to insert the source table name into the union query, >> > so that I can then distinguish from which table a certain record is? >> > >> > Or is there a better solution? >> > >> > Thank you >> > Lembit >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.19.7/1232 - Release Date: > 18.01.2008 19:32 > From drawbridgej at sympatico.ca Sat Jan 19 10:27:44 2008 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Sat, 19 Jan 2008 11:27:44 -0500 Subject: [AccessD] Combine two tables In-Reply-To: <000c01c85aad$d2d81e00$1800a8c0@s1800> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005> <000c01c85aad$d2d81e00$1800a8c0@s1800> Message-ID: <000801c85ab8$38bb4b20$6401a8c0@home6399619597> My approach for what it's worth. Select fld1, fld2,fldx,"Table A" as tableSource from TableA Union Select fld1, fld2,fldx,"Table B" as tableSource from TableB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, January 19, 2008 10:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Combine two tables Hi, everybody, In an Access 2002 I have two linked tables, table A is in the BE which belongs to this FE, table B is in a different database, and it is used there as well. Both tables are lists of persons with id, lastname, firstname, and other fields. I want to use names from both tables as customers. I have made a union query, but this gives me duplicate id numbers. Is there a way to insert the source table name into the union query, so that I can then distinguish from which table a certain record is? Or is there a better solution? Thank you Lembit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Sat Jan 19 11:09:41 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 19 Jan 2008 18:09:41 +0100 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005><000c01c85aad$d2d81e00$1800a8c0@s1800><011901c85aaf$3ad392e0$4b3a8343@SusanOne><29f585dd0801190739h287a8b15we94d0b3acbbc1e96@mail.gmail.com> <014501c85ab2$619f2f80$4b3a8343@SusanOne> Message-ID: <001801c85abe$14cdb210$1800a8c0@s1800> no, not same name. thanks Lembit ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Saturday, January 19, 2008 4:45 PM Subject: Re: [AccessD] Combine two tables >I thought so too Arthur, but apparently, the tables have the same name -- >is > this correct Lembit? > > Susan H. > > >> The simplest way to do this is to embed the table name as a literal in >> both >> queries: >> >> SELECT CustomerID, CustomerName, "Table1" FROM somewhere >> UNION >> SELECT CustomerID, CustomerName, "Table2" FROM somewhere > > -- > 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.516 / Virus Database: 269.19.7/1232 - Release Date: > 18.01.2008 19:32 > > From lembit.dbamail at t-online.de Sat Jan 19 11:10:43 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 19 Jan 2008 18:10:43 +0100 Subject: [AccessD] Combine two tables References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005><29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com><002001c85aa7$09b69ca0$0301a8c0@HAL9005><000c01c85aad$d2d81e00$1800a8c0@s1800> <000801c85ab8$38bb4b20$6401a8c0@home6399619597> Message-ID: <001d01c85abe$39aca140$1800a8c0@s1800> thanks Jack or Pat, that works Lembit ----- Original Message ----- From: "Jack and Pat" To: "'Access Developers discussion and problem solving'" Sent: Saturday, January 19, 2008 5:27 PM Subject: Re: [AccessD] Combine two tables > My approach for what it's worth. > > Select fld1, fld2,fldx,"Table A" as tableSource from TableA > Union > Select fld1, fld2,fldx,"Table B" as tableSource from TableB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Saturday, January 19, 2008 10:13 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Combine two tables > > Hi, everybody, > > In an Access 2002 I have two linked tables, > table A is in the BE which belongs to this FE, > table B is in a different database, and it is used there as well. > Both tables are lists of persons with id, lastname, firstname, and other > fields. > > I want to use names from both tables as customers. > I have made a union query, but this gives me duplicate id numbers. > > Is there a way to insert the source table name into the union query, > so that I can then distinguish from which table a certain record is? > > Or is there a better solution? > > Thank you > Lembit > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.19.7/1232 - Release Date: > 18.01.2008 19:32 > > From accessd at shaw.ca Sat Jan 19 12:56:56 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Jan 2008 10:56:56 -0800 Subject: [AccessD] Combine two tables In-Reply-To: <002d01c85aae$81e2e880$0301a8c0@HAL9005> References: <000901c85aa3$7eca85f0$0301a8c0@HAL9005> <29f585dd0801190613x2f38d80fub955e3b6efe5d500@mail.gmail.com> <002001c85aa7$09b69ca0$0301a8c0@HAL9005> <000c01c85aad$d2d81e00$1800a8c0@s1800> <002d01c85aae$81e2e880$0301a8c0@HAL9005> Message-ID: <4B8F87438F194EF9A72A26ABFF88E29E@creativesystemdesigns.com> DISTINCT is only not available when you are using with the ORDER BY clause within the same statement. In the case of a UNION query, it would not be necessary to use DISTINCT as it provides the same functionality. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 19, 2008 7:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combine two tables Is DISTINCT available to a union query? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Saturday, January 19, 2008 7:13 AM To: Access Developers discussion and problem solving Subject: [AccessD] Combine two tables Hi, everybody, In an Access 2002 I have two linked tables, table A is in the BE which belongs to this FE, table B is in a different database, and it is used there as well. Both tables are lists of persons with id, lastname, firstname, and other fields. I want to use names from both tables as customers. I have made a union query, but this gives me duplicate id numbers. Is there a way to insert the source table name into the union query, so that I can then distinguish from which table a certain record is? Or is there a better solution? Thank you Lembit -- 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.516 / Virus Database: 269.19.7/1232 - Release Date: 1/18/2008 7:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Jan 22 03:08:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 22 Jan 2008 10:08:30 +0100 Subject: [AccessD] Row number in form Message-ID: Hi all If you in a form wish to store a row number in records added, I found an extremely simple method I haven't seen anywhere else: Private Sub Form_BeforeInsert(Cancel As Integer) Me!RowNo.Value = Me.CurrentRecord End Sub Of course, in a multi-user environment, this must somehow be isolated for a single user's entries. /gustav From R.Griffiths at bury.gov.uk Tue Jan 22 03:19:49 2008 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 22 Jan 2008 09:19:49 -0000 Subject: [AccessD] Design question In-Reply-To: References: <200801170941.m0H9fFk00242@smarthost.yourcomms.net> Message-ID: <200801220903.m0M933k06591@smarthost.yourcomms.net> Hi Drew Thanks for your time in offering a full reply to my question. I take your points on board. I think in this instance as the requirements are for a one-off project (2/3 questionnaires for a specific survey - 100 or so fields with) I will treat the multiple options as questions/fields in their own right but appreciate your schema suggestion for a larger project. I am coding using Vb.net/asp.net for this app. Thanks Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: 17 January 2008 17:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design question Actually Richard, it depends on what you are designing. If you are creating a database for ONE questionnaire, then I would go with having a field for each answer. If you are creating a database for MULTIPLE questionnaires, then I would take a different tactic. In a single questionnaire system, the database design represents the questionnaire and the data within represents the responses. In a multiple questionnaire system, the database design represents how to build a questionnaire, and the data represents both the questionnaires and the responses. For example, in a multiple questionnaire system: tblQuestionnaire: QuestionnaireID QuestionnaireName tblQuestions: QuestionID QuestionnaireID QuestionText tblAnswerDefinitions AnswerDefinitionID QuestionID Label DataType (ie, 1 for text, 2 for yes/no) SortOrder tblAnswersText AnswerDefinitionID AnswerValue (As Text) tblAnswersYesNo AnswerDefinitionID AnswerValue (As Yes/No) One caveat here, is that in a design like this, Access is not the optimum GUI for the interface, because the controls will need to be dynamic (ie, in your 'Select the items that fit you' question, that could have 1 item or 20 items....each item requiring a label and a checkbox.) Dynamic controls are inherent in VB, ASP, and .Net. These would be a better choice for the interface itself. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, January 17, 2008 3:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Design question Hi I have a design question I'm looking for help with. Scenario.....Applicant completing questionnaire. Answer options vary...text reply, yes/no etc. I'm not sure how to deal with questions when there are multiple replies e.g; tick which apply to you: 1. Long hair 2. Blue eyes 3. Brown eyes 4. Tall 5. Short 6. Old 7. Young The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* From ssharkins at gmail.com Tue Jan 22 08:59:32 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Jan 2008 09:59:32 -0500 Subject: [AccessD] Row number in form References: Message-ID: <008e01c85d07$67d0f1c0$4b3a8343@SusanOne> So, this displays a record number, similar to the form's navigational toolbar? I'm not why you'd need anything extra in a multi-user environment -- wouldn't this rely on the form's recordset and not the data source? Susan H. > Hi all > > If you in a form wish to store a row number in records added, I found an > extremely simple method I haven't seen anywhere else: > > Private Sub Form_BeforeInsert(Cancel As Integer) > Me!RowNo.Value = Me.CurrentRecord > End Sub > > Of course, in a multi-user environment, this must somehow be isolated for > a single user's entries. > > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Jan 22 09:08:38 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 22 Jan 2008 16:08:38 +0100 Subject: [AccessD] Row number in form Message-ID: Hi Susan It does, in fact it _is_ that record number. You can use it in a multi-user environment if you don't rely on it as a kind of unique Id as you may get duplicate entries in the table behind for this field. /gustav >>> ssharkins at gmail.com 22-01-2008 15:59:32 >>> So, this displays a record number, similar to the form's navigational toolbar? I'm not why you'd need anything extra in a multi-user environment -- wouldn't this rely on the form's recordset and not the data source? Susan H. > Hi all > > If you in a form wish to store a row number in records added, I found an > extremely simple method I haven't seen anywhere else: > > Private Sub Form_BeforeInsert(Cancel As Integer) > Me!RowNo.Value = Me.CurrentRecord > End Sub > > Of course, in a multi-user environment, this must somehow be isolated for > a single user's entries. > > /gustav From EdTesiny at oasas.state.ny.us Tue Jan 22 09:26:09 2008 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 22 Jan 2008 10:26:09 -0500 Subject: [AccessD] OT: Copenhagen Message-ID: Hi Gustav, We're confirmed for Copenhagen April 30 - May 9, staying at the Marriott Copenhagen. Would like to try a proper open sandwich....still making plans, I'll contact you off list. Peace, Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From ssharkins at gmail.com Tue Jan 22 09:35:46 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Jan 2008 10:35:46 -0500 Subject: [AccessD] Row number in form References: Message-ID: <00e101c85d0c$7693fd60$4b3a8343@SusanOne> > > It does, in fact it _is_ that record number. > > You can use it in a multi-user environment if you don't rely on it as a > kind of unique Id as you may get duplicate entries in the table behind for > this field. =====OK, I get it, although I can't imagine why anyone would want to use it as a unique id, outside of the context of that particular work session, but I see what you're saying. Susan H. From Gustav at cactus.dk Tue Jan 22 09:55:24 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 22 Jan 2008 16:55:24 +0100 Subject: [AccessD] OT: Copenhagen Message-ID: Hi Ed Great! That's a nice hotel. /gustav >>> EdTesiny at oasas.state.ny.us 22-01-2008 16:26:09 >>> Hi Gustav, We're confirmed for Copenhagen April 30 - May 9, staying at the Marriott Copenhagen. Would like to try a proper open sandwich....still making plans, I'll contact you off list. Peace, Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From cfoust at infostatsystems.com Tue Jan 22 10:27:50 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 22 Jan 2008 08:27:50 -0800 Subject: [AccessD] Row number in form In-Reply-To: References: Message-ID: But what purpose does it actually serve? Wouldn't a CreatedBy and CreatedDate field make more sense? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 22, 2008 7:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Row number in form Hi Susan It does, in fact it _is_ that record number. You can use it in a multi-user environment if you don't rely on it as a kind of unique Id as you may get duplicate entries in the table behind for this field. /gustav >>> ssharkins at gmail.com 22-01-2008 15:59:32 >>> So, this displays a record number, similar to the form's navigational toolbar? I'm not why you'd need anything extra in a multi-user environment -- wouldn't this rely on the form's recordset and not the data source? Susan H. > Hi all > > If you in a form wish to store a row number in records added, I found > an extremely simple method I haven't seen anywhere else: > > Private Sub Form_BeforeInsert(Cancel As Integer) > Me!RowNo.Value = Me.CurrentRecord > End Sub > > Of course, in a multi-user environment, this must somehow be isolated > for a single user's entries. > > /gustav From ssharkins at gmail.com Tue Jan 22 10:37:23 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Jan 2008 11:37:23 -0500 Subject: [AccessD] Row number in form References: Message-ID: <011501c85d15$11fe8b50$4b3a8343@SusanOne> How so Charlotte? I don't even see the two as related -- what have you got up your sleeve? :) Susan H. > But what purpose does it actually serve? Wouldn't a CreatedBy and > CreatedDate field make more sense? > From jimdettman at verizon.net Tue Jan 22 10:43:41 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 22 Jan 2008 11:43:41 -0500 Subject: [AccessD] Row number in form In-Reply-To: References: Message-ID: <01a601c85d15$f2972ff0$8abea8c0@XPS> One place it would work well is numbering child rows. I.e. Order or PO line items. The PK would be the Order number and line number (or rather it would be a unique candidate key for you surrogate folks). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, January 22, 2008 11:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Row number in form But what purpose does it actually serve? Wouldn't a CreatedBy and CreatedDate field make more sense? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 22, 2008 7:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Row number in form Hi Susan It does, in fact it _is_ that record number. You can use it in a multi-user environment if you don't rely on it as a kind of unique Id as you may get duplicate entries in the table behind for this field. /gustav >>> ssharkins at gmail.com 22-01-2008 15:59:32 >>> So, this displays a record number, similar to the form's navigational toolbar? I'm not why you'd need anything extra in a multi-user environment -- wouldn't this rely on the form's recordset and not the data source? Susan H. > Hi all > > If you in a form wish to store a row number in records added, I found > an extremely simple method I haven't seen anywhere else: > > Private Sub Form_BeforeInsert(Cancel As Integer) > Me!RowNo.Value = Me.CurrentRecord > End Sub > > Of course, in a multi-user environment, this must somehow be isolated > for a single user's entries. > > /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Jan 22 10:44:23 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 22 Jan 2008 17:44:23 +0100 Subject: [AccessD] Row number in form Message-ID: Hi Charlotte It's up to you, but I think it mainly would be for display in a form. Even if you have to browse records in list view, you can easily see - when you enter a new record - which number it has without having to display the native record navigator bar. If you delete records, however, you'll get into trouble as the numbering of existing records may be false while any new record will be numbered correctly. If so, the records could be renumbered by one cycle through the RecordsetClone of the form. /gustav >>> cfoust at infostatsystems.com 22-01-2008 17:27:50 >>> But what purpose does it actually serve? Wouldn't a CreatedBy and CreatedDate field make more sense? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 22, 2008 7:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Row number in form Hi Susan It does, in fact it _is_ that record number. You can use it in a multi-user environment if you don't rely on it as a kind of unique Id as you may get duplicate entries in the table behind for this field. /gustav >>> ssharkins at gmail.com 22-01-2008 15:59:32 >>> So, this displays a record number, similar to the form's navigational toolbar? I'm not why you'd need anything extra in a multi-user environment -- wouldn't this rely on the form's recordset and not the data source? Susan H. > Hi all > > If you in a form wish to store a row number in records added, I found > an extremely simple method I haven't seen anywhere else: > > Private Sub Form_BeforeInsert(Cancel As Integer) > Me!RowNo.Value = Me.CurrentRecord > End Sub > > Of course, in a multi-user environment, this must somehow be isolated > for a single user's entries. > > /gustav From Gustav at cactus.dk Tue Jan 22 10:46:27 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 22 Jan 2008 17:46:27 +0100 Subject: [AccessD] SQL Server 2008 Message-ID: Hi all I have enough to evaluate so I was a bit reluctant to "waste" time on SQL Server 2008 until further. But then I read about the new DATETIMEOFFSET data type and a Hierarchy Id under "Store Any Information" here: http://www.microsoft.com/sql/2008/prodinfo/newfeatures.mspxypes DATE/TIME: SQL Server 2008 introduces new date and time data types: DATE * a date only type TIME * a time only type DATETIMEOFFSET * a time zone aware datetime type DATETIME2 * a datetime type w/ larger fractional seconds and year range than the existing DATETIME type The new data types enable applications to have separate data and time types while providing large data ranges or user defined precision for time values. HIERARCHY ID: Enable database applications to model tree structures in a more efficient way than currently possible. New system type, HierarchyId, can store values that represent nodes in a hierarchy tree. This new type will be implemented as a CLR UDT, and will expose several efficient and useful built-in methods for creating and operating on hierarchy nodes with a flexible programming model. That looks tempting indeed. /gustav From dkalsow at yahoo.com Tue Jan 22 10:57:48 2008 From: dkalsow at yahoo.com (Dale Kalsow) Date: Tue, 22 Jan 2008 08:57:48 -0800 (PST) Subject: [AccessD] Recovering a lost password In-Reply-To: Message-ID: <586797.54240.qm@web50411.mail.re2.yahoo.com> hi all, Does anyone know of a free utility to recover a lost access password? thanks! Dale --------------------------------- Never miss a thing. Make Yahoo your homepage. From DWUTKA at Marlow.com Tue Jan 22 11:11:38 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 22 Jan 2008 11:11:38 -0600 Subject: [AccessD] Design question In-Reply-To: <200801220903.m0M933k06591@smarthost.yourcomms.net> Message-ID: You're quite welcome. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Tuesday, January 22, 2008 3:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design question Hi Drew Thanks for your time in offering a full reply to my question. I take your points on board. I think in this instance as the requirements are for a one-off project (2/3 questionnaires for a specific survey - 100 or so fields with) I will treat the multiple options as questions/fields in their own right but appreciate your schema suggestion for a larger project. I am coding using Vb.net/asp.net for this app. Thanks Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: 17 January 2008 17:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design question Actually Richard, it depends on what you are designing. If you are creating a database for ONE questionnaire, then I would go with having a field for each answer. If you are creating a database for MULTIPLE questionnaires, then I would take a different tactic. In a single questionnaire system, the database design represents the questionnaire and the data within represents the responses. In a multiple questionnaire system, the database design represents how to build a questionnaire, and the data represents both the questionnaires and the responses. For example, in a multiple questionnaire system: tblQuestionnaire: QuestionnaireID QuestionnaireName tblQuestions: QuestionID QuestionnaireID QuestionText tblAnswerDefinitions AnswerDefinitionID QuestionID Label DataType (ie, 1 for text, 2 for yes/no) SortOrder tblAnswersText AnswerDefinitionID AnswerValue (As Text) tblAnswersYesNo AnswerDefinitionID AnswerValue (As Yes/No) One caveat here, is that in a design like this, Access is not the optimum GUI for the interface, because the controls will need to be dynamic (ie, in your 'Select the items that fit you' question, that could have 1 item or 20 items....each item requiring a label and a checkbox.) Dynamic controls are inherent in VB, ASP, and .Net. These would be a better choice for the interface itself. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, January 17, 2008 3:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Design question Hi I have a design question I'm looking for help with. Scenario.....Applicant completing questionnaire. Answer options vary...text reply, yes/no etc. I'm not sure how to deal with questions when there are multiple replies e.g; tick which apply to you: 1. Long hair 2. Blue eyes 3. Brown eyes 4. Tall 5. Short 6. Old 7. Young The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Tue Jan 22 11:11:52 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 22 Jan 2008 11:11:52 -0600 Subject: [AccessD] Recovering a lost password In-Reply-To: <586797.54240.qm@web50411.mail.re2.yahoo.com> Message-ID: Database or Access User Level security? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Tuesday, January 22, 2008 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recovering a lost password hi all, Does anyone know of a free utility to recover a lost access password? thanks! Dale --------------------------------- Never miss a thing. Make Yahoo your homepage. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From markamatte at hotmail.com Tue Jan 22 11:41:43 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 22 Jan 2008 17:41:43 +0000 Subject: [AccessD] Recovering a lost password In-Reply-To: References: <586797.54240.qm@web50411.mail.re2.yahoo.com> Message-ID: And what version of Access? > Date: Tue, 22 Jan 2008 11:11:52 -0600 > From: DWUTKA at marlow.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Recovering a lost password > > Database or Access User Level security? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow > Sent: Tuesday, January 22, 2008 10:58 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Recovering a lost password > > hi all, > > Does anyone know of a free utility to recover a lost access password? > > thanks! > > Dale > > > --------------------------------- > Never miss a thing. Make Yahoo your homepage. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ From dkalsow at yahoo.com Tue Jan 22 11:54:44 2008 From: dkalsow at yahoo.com (Dale Kalsow) Date: Tue, 22 Jan 2008 09:54:44 -0800 (PST) Subject: [AccessD] Recovering a lost password In-Reply-To: Message-ID: <735744.33894.qm@web50403.mail.re2.yahoo.com> at the database level and access 03 Drew Wutka wrote: Database or Access User Level security? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Tuesday, January 22, 2008 10:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recovering a lost password hi all, Does anyone know of a free utility to recover a lost access password? thanks! Dale --------------------------------- Never miss a thing. Make Yahoo your homepage. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From EdTesiny at oasas.state.ny.us Tue Jan 22 12:05:18 2008 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 22 Jan 2008 13:05:18 -0500 Subject: [AccessD] Recovering a lost password In-Reply-To: <586797.54240.qm@web50411.mail.re2.yahoo.com> References: <586797.54240.qm@web50411.mail.re2.yahoo.com> Message-ID: I have one, I'll send it off list. Will your email let an .exe file through? 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 Dale Kalsow > Sent: Tuesday, January 22, 2008 11:58 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Recovering a lost password > > hi all, > > Does anyone know of a free utility to recover a lost access > password? > > thanks! > > Dale > > > --------------------------------- > Never miss a thing. Make Yahoo your homepage. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Jan 22 13:12:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 22 Jan 2008 11:12:51 -0800 Subject: [AccessD] Row number in form In-Reply-To: References: Message-ID: I see. Thanks for explaining. I still don't see any real reason for it since it doesn't identify anything and it gives the user a false feeling that the rows have meaningful numbers. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 22, 2008 8:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Row number in form Hi Charlotte It's up to you, but I think it mainly would be for display in a form. Even if you have to browse records in list view, you can easily see - when you enter a new record - which number it has without having to display the native record navigator bar. If you delete records, however, you'll get into trouble as the numbering of existing records may be false while any new record will be numbered correctly. If so, the records could be renumbered by one cycle through the RecordsetClone of the form. /gustav >>> cfoust at infostatsystems.com 22-01-2008 17:27:50 >>> But what purpose does it actually serve? Wouldn't a CreatedBy and CreatedDate field make more sense? Charlotte Foust From cfoust at infostatsystems.com Tue Jan 22 13:13:49 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 22 Jan 2008 11:13:49 -0800 Subject: [AccessD] Row number in form In-Reply-To: <011501c85d15$11fe8b50$4b3a8343@SusanOne> References: <011501c85d15$11fe8b50$4b3a8343@SusanOne> Message-ID: I was assuming Gustav had a data-related reason for displaying the number, which was an incorrect assumption. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, January 22, 2008 8:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Row number in form How so Charlotte? I don't even see the two as related -- what have you got up your sleeve? :) Susan H. > But what purpose does it actually serve? Wouldn't a CreatedBy and > CreatedDate field make more sense? > From ssharkins at gmail.com Tue Jan 22 13:24:41 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Jan 2008 14:24:41 -0500 Subject: [AccessD] Row number in form References: <011501c85d15$11fe8b50$4b3a8343@SusanOne> Message-ID: <021401c85d2c$71da8670$4b3a8343@SusanOne> If the form doesn't display the navigational toolbar and the user has a need to know the number of the new record they're inserting, it'd be helpful. Susan H. >I was assuming Gustav had a data-related reason for displaying the > number, which was an incorrect assumption. From cfoust at infostatsystems.com Tue Jan 22 13:49:39 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 22 Jan 2008 11:49:39 -0800 Subject: [AccessD] Row number in form In-Reply-To: <021401c85d2c$71da8670$4b3a8343@SusanOne> References: <011501c85d15$11fe8b50$4b3a8343@SusanOne> <021401c85d2c$71da8670$4b3a8343@SusanOne> Message-ID: In that case, I would always use some kind of VCR controls that displayed a virtual record in the footer. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, January 22, 2008 11:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Row number in form If the form doesn't display the navigational toolbar and the user has a need to know the number of the new record they're inserting, it'd be helpful. Susan H. >I was assuming Gustav had a data-related reason for displaying the >number, which was an incorrect assumption. From miscellany at mvps.org Tue Jan 22 14:41:59 2008 From: miscellany at mvps.org (Steve Schapel) Date: Wed, 23 Jan 2008 09:41:59 +1300 Subject: [AccessD] Row number in form In-Reply-To: References: Message-ID: <47965517.30600@mvps.org> Hi Gustav, Gustav Brock wrote: > It does, in fact it _is_ that record number. It is only the record number if you don't sort or filter the records. In other words, the RowNo value will only reflect the record number in tables/forms/queries/reports where *all* of the records are displayed, and in the same order as they were at the point where the RowNo was assigned. Regards Steve From markamatte at hotmail.com Tue Jan 22 18:05:13 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 00:05:13 +0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: <011501c85d15$11fe8b50$4b3a8343@SusanOne> <021401c85d2c$71da8670$4b3a8343@SusanOne> Message-ID: Hello All, I am looping thru a recordset...and I need it to stop when it gets to a certain time. I am sure I am missing something simple...below is the code...it FAILS!!!...and I have no clue why...probably very simple...but anyway...any thoughts...even the IF fails...when they appear to be equal???? Dim RecordDT As Date Dim RecordDT_end As Date RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") Do Until RecordDT = RecordDT_end If RecordDT = RecordDT_end Then MsgBox "yes" 'Inner Loop RecordDT = CDate(DateAdd("n", 30, RecordDT)) Loop Thanks, mark _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From ssharkins at gmail.com Tue Jan 22 18:35:25 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Jan 2008 19:35:25 -0500 Subject: [AccessD] Loop Until Date=Date References: <011501c85d15$11fe8b50$4b3a8343@SusanOne><021401c85d2c$71da8670$4b3a8343@SusanOne> Message-ID: <001201c85d57$dba487b0$4b3a8343@SusanOne> I'm sure to be missing something here, but you're defining RecordDT_end and RecordDT with two different time values, so regardless of what rst!Q_DT is, they can never match. Susan H. Hello All, I am looping thru a recordset...and I need it to stop when it gets to a certain time. I am sure I am missing something simple...below is the code...it FAILS!!!...and I have no clue why...probably very simple...but anyway...any thoughts...even the IF fails...when they appear to be equal???? Dim RecordDT As Date Dim RecordDT_end As Date RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") Do Until RecordDT = RecordDT_end If RecordDT = RecordDT_end Then MsgBox "yes" 'Inner Loop RecordDT = CDate(DateAdd("n", 30, RecordDT)) Loop Thanks, mark _________________________________________________________________ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Jan 22 19:20:38 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 01:20:38 +0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: <001201c85d57$dba487b0$4b3a8343@SusanOne> References: <011501c85d15$11fe8b50$4b3a8343@SusanOne><021401c85d2c$71da8670$4b3a8343@SusanOne> <001201c85d57$dba487b0$4b3a8343@SusanOne> Message-ID: Susan, Inside the loop it adds 30 minutes..."RecordDT = CDate(DateAdd("n", 30, RecordDT))"...so RecordDT...should and does catch up to RecordDT_End...they look equal...but the code does not see it that way. Thanks, mark > From: ssharkins at gmail.com > To: accessd at databaseadvisors.com > Date: Tue, 22 Jan 2008 19:35:25 -0500 > Subject: Re: [AccessD] Loop Until Date=Date > > I'm sure to be missing something here, but you're defining RecordDT_end and > RecordDT with two different time values, so regardless of what rst!Q_DT is, > they can never match. > > Susan H. > > > > Hello All, > > I am looping thru a recordset...and I need it to stop when it gets to a > certain time. I am sure I am missing something simple...below is the > code...it FAILS!!!...and I have no clue why...probably very simple...but > anyway...any thoughts...even the IF fails...when they appear to be equal???? > > > Dim RecordDT As Date > Dim RecordDT_end As Date > RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") > RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") > > Do Until RecordDT = RecordDT_end > If RecordDT = RecordDT_end Then MsgBox "yes" > 'Inner Loop > > > RecordDT = CDate(DateAdd("n", 30, RecordDT)) > Loop > > > Thanks, > > mark > > _________________________________________________________________ > Helping your favorite cause is as easy as instant messaging. You IM, we > give. > http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From tom.p at piedpiper.com.au Tue Jan 22 23:32:21 2008 From: tom.p at piedpiper.com.au (Tom Keatley) Date: Wed, 23 Jan 2008 13:32:21 +0800 Subject: [AccessD] OFF TOPIC: Utility to run report on web site References: <011501c85d15$11fe8b50$4b3a8343@SusanOne><021401c85d2c$71da8670$4b3a8343@SusanOne> <001201c85d57$dba487b0$4b3a8343@SusanOne> Message-ID: <002101c85d81$53f18280$f500a8c0@TOMNEW> Hi all .... Does anyone know of a small utility that could log on to a website running SQL-SERVER run an existing report after setting criteria from checkboxes and then send the report to me via email (the reports are set to export to EXCEL on the machine). The idea would be that I would supply this utility to the users on a CD and they could run this from their PC.....this would simply automate a process that they do manually anyway TIA Tom Keatley From Darryl.Collins at coles.com.au Wed Jan 23 00:31:52 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 23 Jan 2008 17:31:52 +1100 Subject: [AccessD] DLL needed to prevent mouse scroll to new record. Message-ID: <49DFE57FB126044B8A8B934E7AEA09ED09FD6E23@WPEXCH05.colesmyer.ad.cmltd.net.au> Hey All, ' --------------------------------------- ''- x posted to Excel-L mailing list - apologies if you get this twice. ' --------------------------------------- I am new to this list after folks on the Access-L list recommended this group, I don't normally ask favours on day one of being on a list, but I have a deadline, this is very straight forward if you have Visual Basic 6.0 and I would help me out a lot. Quick Overview: Need to prevent the user using the mouse scroll wheel to move to a new record. Found code that does that from MS themselves, but it is pretty darn wobbly if the code lives 100% in the VBE - MS don't recommend this and do recommend using the DLL. Trouble is I do have access to VB6.0 to whip this up. So does anyone feel like creating an ActiveX DLL for me? There is bugger all work involved as all the code is a 'copy/paste' job from the website listed below. This is actually for a Access database I am working on and whilst I can (and have) install(ed) the code directly in Access it is not recommended by MS (and I can see why, but I have no choice as we dont have VB6 at work and it does make the project unstable at times). If anyone has VB6.0 and doesn't mind following these simple instructions (http://support.microsoft.com/kb/278379) and emailing back the DLL, it would be much appreciated. Or if anyone has any better suggestions I would love to hear them. Many thanks and regards Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From john at winhaven.net Wed Jan 23 01:16:11 2008 From: john at winhaven.net (John Bartow) Date: Wed, 23 Jan 2008 01:16:11 -0600 Subject: [AccessD] DLL needed to prevent mouse scroll to new record. In-Reply-To: <49DFE57FB126044B8A8B934E7AEA09ED09FD6E23@WPEXCH05.colesmyer.ad.cmltd.net.au> Message-ID: <200801230715.m0N7FpiH016780@databaseadvisors.com> This should do it for you: http://www.access-programmers.co.uk/forums/showthread.php?p=664156 HTH John B From Gustav at cactus.dk Wed Jan 23 01:43:35 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 08:43:35 +0100 Subject: [AccessD] Row number in form Message-ID: Hi Steve Sorry, this detail was lost from the previous postings in the thread: > It does, in fact it _is_ that record number - when the record is inserted. /gustav >>> miscellany at mvps.org 22-01-2008 21:41:59 >>> Hi Gustav, Gustav Brock wrote: > It does, in fact it _is_ that record number. It is only the record number if you don't sort or filter the records. In other words, the RowNo value will only reflect the record number in tables/forms/queries/reports where *all* of the records are displayed, and in the same order as they were at the point where the RowNo was assigned. Regards Steve From andy at minstersystems.co.uk Wed Jan 23 01:51:02 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 23 Jan 2008 07:51:02 -0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: Message-ID: <001001c85d94$b6828850$518ed355@minster33c3r25> Personally Mark I'd make the test >= rather than = in case some craziness in the date maths causes them never to be equal. -- Andy Lacey http://www.minstersystems.co.uk >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: 23 January 2008 01:21 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Loop Until Date=Date > > > >Susan, > >Inside the loop it adds 30 minutes..."RecordDT = >CDate(DateAdd("n", 30, RecordDT))"...so RecordDT...should and >does catch up to RecordDT_End...they look equal...but the code >does not see it that way. > >Thanks, > >mark > > >> From: ssharkins at gmail.com >> To: accessd at databaseadvisors.com >> Date: Tue, 22 Jan 2008 19:35:25 -0500 >> Subject: Re: [AccessD] Loop Until Date=Date >> >> I'm sure to be missing something here, but you're defining >> RecordDT_end and RecordDT with two different time values, so >> regardless of what rst!Q_DT is, they can never match. >> >> Susan H. >> >> >> >> Hello All, >> >> I am looping thru a recordset...and I need it to stop when >it gets to >> a certain time. I am sure I am missing something >simple...below is the >> code...it FAILS!!!...and I have no clue why...probably very >> simple...but anyway...any thoughts...even the IF fails...when they >> appear to be equal???? >> >> >> Dim RecordDT As Date >> Dim RecordDT_end As Date >> RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") >> RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") >> >> Do Until RecordDT = RecordDT_end >> If RecordDT = RecordDT_end Then MsgBox "yes" >> 'Inner Loop >> >> >> RecordDT = CDate(DateAdd("n", 30, RecordDT)) >> Loop >> >> >> Thanks, >> >> mark >> >> _________________________________________________________________ >> Helping your favorite cause is as easy as instant messaging. You IM, >> we give. >> http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Helping your favorite cause is as easy as instant messaging.? >You IM, we give. >http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Jan 23 02:05:12 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 09:05:12 +0100 Subject: [AccessD] DLL needed to prevent mouse scroll to new record. Message-ID: Hi Darryl Welcome. Perhaps this is what you are looking for: http://www.lebans.com/mousewheelonoff.htm I have no experience with it though. /gustav >>> Darryl.Collins at coles.com.au 23-01-2008 07:31:52 >>> Hey All, ' --------------------------------------- ''- x posted to Excel-L mailing list - apologies if you get this twice. ' --------------------------------------- I am new to this list after folks on the Access-L list recommended this group, I don't normally ask favours on day one of being on a list, but I have a deadline, this is very straight forward if you have Visual Basic 6.0 and I would help me out a lot. Quick Overview: Need to prevent the user using the mouse scroll wheel to move to a new record. Found code that does that from MS themselves, but it is pretty darn wobbly if the code lives 100% in the VBE - MS don't recommend this and do recommend using the DLL. Trouble is I do have access to VB6.0 to whip this up. So does anyone feel like creating an ActiveX DLL for me? There is bugger all work involved as all the code is a 'copy/paste' job from the website listed below. This is actually for a Access database I am working on and whilst I can (and have) install(ed) the code directly in Access it is not recommended by MS (and I can see why, but I have no choice as we dont have VB6 at work and it does make the project unstable at times). If anyone has VB6.0 and doesn't mind following these simple instructions (http://support.microsoft.com/kb/278379) and emailing back the DLL, it would be much appreciated. Or if anyone has any better suggestions I would love to hear them. Many thanks and regards Darryl. From Gustav at cactus.dk Wed Jan 23 03:17:35 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 10:17:35 +0100 Subject: [AccessD] Loop Until Date=Date Message-ID: Hi Mark Your problem is perhaps that you are casting the poor date time values to and from string values. Try this: ' Remove a time part and add new time. RecordDT_end = Fix(rst!Q_DT.Value) + #4:30:00 PM# RecordDT = Fix(rst!Q_DT.Value) + #9:30:00 AM#) Do Until RecordDT = RecordDT_end If RecordDT = RecordDT_end Then MsgBox "yes" 'Inner Loop RecordDT = DateAdd("n", 30, RecordDT) Loop If that still fails, follow the advice from Andy to eliminate rounding errors: Do Until DateDiff("s", RecordDT, RecordDT_end) = 0 /gustav >>> markamatte at hotmail.com 23-01-2008 01:05:13 >>> Hello All, I am looping thru a recordset...and I need it to stop when it gets to a certain time. I am sure I am missing something simple...below is the code...it FAILS!!!...and I have no clue why...probably very simple...but anyway...any thoughts...even the IF fails...when they appear to be equal???? Dim RecordDT As Date Dim RecordDT_end As Date RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") Do Until RecordDT = RecordDT_end If RecordDT = RecordDT_end Then MsgBox "yes" 'Inner Loop RecordDT = CDate(DateAdd("n", 30, RecordDT)) Loop Thanks, mark From Darryl.Collins at coles.com.au Wed Jan 23 04:51:25 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 23 Jan 2008 21:51:25 +1100 Subject: [AccessD] DLL needed to prevent mouse scroll to new record. Message-ID: <49DFE57FB126044B8A8B934E7AEA09ED09FD6E24@WPEXCH05.colesmyer.ad.cmltd.net.au> thank you to everyone for their help/advice. It is 10pm here in deep south Oz so I haven't actually tested anything, but from what I can see it looks like I have the solution I require. Once again, many thanks. regards darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darryl Collins Sent: Wednesday, 23 January 2008 5:32 PM To: AccessD at databaseadvisors.com Subject: [AccessD] DLL needed to prevent mouse scroll to new record. Hey All, ' --------------------------------------- ''- x posted to Excel-L mailing list - apologies if you get this twice. ' --------------------------------------- I am new to this list after folks on the Access-L list recommended this group, I don't normally ask favours on day one of being on a list, but I have a deadline, this is very straight forward if you have Visual Basic 6.0 and I would help me out a lot. Quick Overview: Need to prevent the user using the mouse scroll wheel to move to a new record. Found code that does that from MS themselves, but it is pretty darn wobbly if the code lives 100% in the VBE - MS don't recommend this and do recommend using the DLL. Trouble is I do have access to VB6.0 to whip this up. So does anyone feel like creating an ActiveX DLL for me? There is bugger all work involved as all the code is a 'copy/paste' job from the website listed below. This is actually for a Access database I am working on and whilst I can (and have) install(ed) the code directly in Access it is not recommended by MS (and I can see why, but I have no choice as we dont have VB6 at work and it does make the project unstable at times). If anyone has VB6.0 and doesn't mind following these simple instructions (http://support.microsoft.com/kb/278379) and emailing back the DLL, it would be much appreciated. Or if anyone has any better suggestions I would love to hear them. Many thanks and regards Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From rockysmolin at bchacc.com Wed Jan 23 09:59:20 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 07:59:20 -0800 Subject: [AccessD] Mail Merge Message-ID: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> Dear List: I need to do a simple Mail Merge Access-->Word and don't want to reinvent the wheel. Is there a canned routine on line that I could crib? I checked Lebans but didn't see anything. MTIA Rocky From markamatte at hotmail.com Wed Jan 23 10:05:10 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 16:05:10 +0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: Message-ID: Hello All, Thanks for the suggestions. I found last night that "DateDiff("s", RecordDT, RecordDT_end) = 0" would work...but I just can't seem to understand why they were not equal. I tried the suggestion below...but it failed as well. I also tried "If RecordDT>= RecordDT_end"...this works...but scares me because I don't know why it works and "=" does not. I think I will just use the datediff approach...but am still curious... Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 10:17:35 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > Hi Mark > > Your problem is perhaps that you are casting the poor date time values to and from string values. > > Try this: > > ' Remove a time part and add new time. > RecordDT_end = Fix(rst!Q_DT.Value) + #4:30:00 PM# > RecordDT = Fix(rst!Q_DT.Value) + #9:30:00 AM#) > > Do Until RecordDT = RecordDT_end > If RecordDT = RecordDT_end Then MsgBox "yes" > 'Inner Loop > RecordDT = DateAdd("n", 30, RecordDT) > Loop > > If that still fails, follow the advice from Andy to eliminate rounding errors: > > Do Until DateDiff("s", RecordDT, RecordDT_end) = 0 > > /gustav > > >>>> markamatte at hotmail.com 23-01-2008 01:05:13>>> > > Hello All, > > I am looping thru a recordset...and I need it to stop when it gets to a certain time. I am sure I am missing something simple...below is the code...it FAILS!!!...and I have no clue why...probably very simple...but anyway...any thoughts...even the IF fails...when they appear to be equal???? > > > Dim RecordDT As Date > Dim RecordDT_end As Date > RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") > RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") > > Do Until RecordDT = RecordDT_end > If RecordDT = RecordDT_end Then MsgBox "yes" > 'Inner Loop > > > RecordDT = CDate(DateAdd("n", 30, RecordDT)) > Loop > > > Thanks, > > mark > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan From Gustav at cactus.dk Wed Jan 23 10:13:06 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 17:13:06 +0100 Subject: [AccessD] Loop Until Date=Date Message-ID: Hi Mark When they match and you stop the loop, do a Debug.Print CDbl(RecordDT), CDbl(RecordDT_end), CDbl(RecordDT - RecordDT_end) and I guess you'll see why. /gustav >>> markamatte at hotmail.com 23-01-2008 17:05:10 >>> Hello All, Thanks for the suggestions. I found last night that "DateDiff("s", RecordDT, RecordDT_end) = 0" would work...but I just can't seem to understand why they were not equal. I tried the suggestion below...but it failed as well. I also tried "If RecordDT>= RecordDT_end"...this works...but scares me because I don't know why it works and "=" does not. I think I will just use the datediff approach...but am still curious... Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 10:17:35 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > Hi Mark > > Your problem is perhaps that you are casting the poor date time values to and from string values. > > Try this: > > ' Remove a time part and add new time. > RecordDT_end = Fix(rst!Q_DT.Value) + #4:30:00 PM# > RecordDT = Fix(rst!Q_DT.Value) + #9:30:00 AM#) > > Do Until RecordDT = RecordDT_end > If RecordDT = RecordDT_end Then MsgBox "yes" > 'Inner Loop > RecordDT = DateAdd("n", 30, RecordDT) > Loop > > If that still fails, follow the advice from Andy to eliminate rounding errors: > > Do Until DateDiff("s", RecordDT, RecordDT_end) = 0 > > /gustav > > >>>> markamatte at hotmail.com 23-01-2008 01:05:13>>> > > Hello All, > > I am looping thru a recordset...and I need it to stop when it gets to a certain time. I am sure I am missing something simple...below is the code...it FAILS!!!...and I have no clue why...probably very simple...but anyway...any thoughts...even the IF fails...when they appear to be equal???? > > > Dim RecordDT As Date > Dim RecordDT_end As Date > RecordDT_end = CDate(rst!Q_DT & " 4:30:00 PM") > RecordDT = CDate(rst!Q_DT & " 9:30:00 AM") > > Do Until RecordDT = RecordDT_end > If RecordDT = RecordDT_end Then MsgBox "yes" > 'Inner Loop > > > RecordDT = CDate(DateAdd("n", 30, RecordDT)) > Loop > > > Thanks, > > mark From fuller.artful at gmail.com Wed Jan 23 10:14:55 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 23 Jan 2008 11:14:55 -0500 Subject: [AccessD] Mail Merge In-Reply-To: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> Message-ID: <29f585dd0801230814h5b32c7aajf6d952b5cd1fdacd@mail.gmail.com> Helen Feddema's site has lots such things. Her specialty is Office integration. Google will take you there quickly. A. On 1/23/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to reinvent > the wheel. Is there a canned routine on line that I could crib? I > checked > Lebans but didn't see anything. > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Wed Jan 23 10:22:05 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 23 Jan 2008 11:22:05 -0500 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: Message-ID: <29f585dd0801230822m1085e502se6e41db0ec277b97@mail.gmail.com> I would add a Debug.Print statement at the top or bottom of the loop to print out both values in Long Date format so you can see all the particulars of both values. That should reveal the difference, and why equality is failing. A. On 1/23/08, Mark A Matte wrote: > > > Hello All, > > Thanks for the suggestions. I found last night that "DateDiff("s", > RecordDT, RecordDT_end) = 0" would work...but I just can't seem to > understand why they were not equal. I tried the suggestion below...but it > failed as well. I also tried "If RecordDT>= RecordDT_end"...this > works...but scares me because I don't know why it works and "=" does not. I > think I will just use the datediff approach...but am still curious... > > > Thanks, > > Mark A. Matte > > From garykjos at gmail.com Wed Jan 23 10:22:09 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Jan 2008 10:22:09 -0600 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: Message-ID: I'm guessing that it won't test true as equal because there are some additional decimal values in the date/time field that are being rounded off that you don't see. Date/time fields are actually numeric fields with the date part left of the decimal and the time part as the decimal part stored as a fractional type of a value so chances are there are fractional values there that you aren't really looking at. Have a look at this article that explains date/time data types http://support.microsoft.com/kb/210276 GK On 1/23/08, Mark A Matte wrote: > > Hello All, > > Thanks for the suggestions. I found last night that "DateDiff("s", RecordDT, RecordDT_end) = 0" would work...but I just can't seem to understand why they were not equal. I tried the suggestion below...but it failed as well. I also tried "If RecordDT>= RecordDT_end"...this works...but scares me because I don't know why it works and "=" does not. I think I will just use the datediff approach...but am still curious... > > > Thanks, > > Mark A. Matte -- Gary Kjos garykjos at gmail.com From markamatte at hotmail.com Wed Jan 23 10:26:17 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 16:26:17 +0000 Subject: [AccessD] Mail Merge In-Reply-To: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> Message-ID: Rocky, Are you needing a formated Word document...or are you just printing from an access report...and it looks like a doc? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 07:59:20 -0800 > Subject: [AccessD] Mail Merge > > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to reinvent > the wheel. Is there a canned routine on line that I could crib? I checked > Lebans but didn't see anything. > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx From markamatte at hotmail.com Wed Jan 23 10:31:30 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 16:31:30 +0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: <29f585dd0801230822m1085e502se6e41db0ec277b97@mail.gmail.com> References: <29f585dd0801230822m1085e502se6e41db0ec277b97@mail.gmail.com> Message-ID: That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 11:22:05 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > I would add a Debug.Print statement at the top or bottom of the loop to > print out both values in Long Date format so you can see all the particulars > of both values. That should reveal the difference, and why equality is > failing. > > A. > > On 1/23/08, Mark A Matte wrote: >> >> >> Hello All, >> >> Thanks for the suggestions. I found last night that "DateDiff("s", >> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >> understand why they were not equal. I tried the suggestion below...but it >> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >> works...but scares me because I don't know why it works and "=" does not. I >> think I will just use the datediff approach...but am still curious... >> >> >> Thanks, >> >> Mark A. Matte >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From Gustav at cactus.dk Wed Jan 23 10:35:38 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 17:35:38 +0100 Subject: [AccessD] Loop Until Date=Date Message-ID: Hi Mark But what about: CDbl(RecordDT - RecordDT_end)? /gustav >>> markamatte at hotmail.com 23-01-2008 17:31:30 >>> That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 11:22:05 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > I would add a Debug.Print statement at the top or bottom of the loop to > print out both values in Long Date format so you can see all the particulars > of both values. That should reveal the difference, and why equality is > failing. > > A. > > On 1/23/08, Mark A Matte wrote: >> >> >> Hello All, >> >> Thanks for the suggestions. I found last night that "DateDiff("s", >> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >> understand why they were not equal. I tried the suggestion below...but it >> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >> works...but scares me because I don't know why it works and "=" does not. I >> think I will just use the datediff approach...but am still curious... >> >> >> Thanks, >> >> Mark A. Matte From ssharkins at gmail.com Wed Jan 23 10:44:34 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 23 Jan 2008 11:44:34 -0500 Subject: [AccessD] Loop Until Date=Date References: <29f585dd0801230822m1085e502se6e41db0ec277b97@mail.gmail.com> Message-ID: <015d01c85ddf$3e8394c0$4b3a8343@SusanOne> Format the results as a serial value. Susan H. That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 11:22:05 -0500 > From: fuller.artful at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > I would add a Debug.Print statement at the top or bottom of the loop to > print out both values in Long Date format so you can see all the > particulars > of both values. That should reveal the difference, and why equality is > failing. > > A. > > On 1/23/08, Mark A Matte wrote: >> >> >> Hello All, >> >> Thanks for the suggestions. I found last night that "DateDiff("s", >> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >> understand why they were not equal. I tried the suggestion below...but it >> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >> works...but scares me because I don't know why it works and "=" does not. >> I >> think I will just use the datediff approach...but am still curious... >> >> >> Thanks, >> >> Mark A. Matte >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Jan 23 10:59:50 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 16:59:50 +0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: Message-ID: Ok...its now clear as mud... RecordDT = 12/17/2007 4:30:00 PM RecordDT_end =12/17/2007 4:30:00 PM CDbl(RecordDT)=39433.6875 CDbl(RecordDT_End)=39433.6875 CDbl(RecordDT-RecordDT_End)=3.63797880709171E-11 I'm not liking computers very much right now...so...since I added 30 minutes I have this problem? ...and Going forward...I should never ask if 2 DateTime values are equal...I should compare using datediff and seconds? Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 17:35:38 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > Hi Mark > > But what about: CDbl(RecordDT - RecordDT_end)? > > /gustav > >>>> markamatte at hotmail.com 23-01-2008 17:31:30>>> > > That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. > > Thanks, > > Mark A. Matte > > >> Date: Wed, 23 Jan 2008 11:22:05 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Loop Until Date=Date >> >> I would add a Debug.Print statement at the top or bottom of the loop to >> print out both values in Long Date format so you can see all the particulars >> of both values. That should reveal the difference, and why equality is >> failing. >> >> A. >> >> On 1/23/08, Mark A Matte wrote: >>> >>> >>> Hello All, >>> >>> Thanks for the suggestions. I found last night that "DateDiff("s", >>> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >>> understand why they were not equal. I tried the suggestion below...but it >>> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >>> works...but scares me because I don't know why it works and "=" does not. I >>> think I will just use the datediff approach...but am still curious... >>> >>> >>> Thanks, >>> >>> Mark A. Matte > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan From cfoust at infostatsystems.com Wed Jan 23 11:01:13 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 23 Jan 2008 09:01:13 -0800 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: Message-ID: We ran into issues with our .net apps switching between SQL Server and Access backends because of date differences. There are extra milliseconds in there you can't see, so we created a routine to truncate them. Basically, we call the routine passing in a date and the function uses those values to create a new date using only the short date, hours, minutes and seconds and then passes that back. I don't know if this is the issue you're fighting, but it sure sounds like it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, January 23, 2008 8:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Loop Until Date=Date I'm guessing that it won't test true as equal because there are some additional decimal values in the date/time field that are being rounded off that you don't see. Date/time fields are actually numeric fields with the date part left of the decimal and the time part as the decimal part stored as a fractional type of a value so chances are there are fractional values there that you aren't really looking at. Have a look at this article that explains date/time data types http://support.microsoft.com/kb/210276 GK On 1/23/08, Mark A Matte wrote: > > Hello All, > > Thanks for the suggestions. I found last night that "DateDiff("s", RecordDT, RecordDT_end) = 0" would work...but I just can't seem to understand why they were not equal. I tried the suggestion below...but it failed as well. I also tried "If RecordDT>= RecordDT_end"...this works...but scares me because I don't know why it works and "=" does not. I think I will just use the datediff approach...but am still curious... > > > Thanks, > > Mark A. Matte -- Gary Kjos garykjos at gmail.com -- From DWUTKA at Marlow.com Wed Jan 23 11:15:37 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 23 Jan 2008 11:15:37 -0600 Subject: [AccessD] Loop Until Date=Date In-Reply-To: Message-ID: 1/48=.0208333333333.......... So every time you add 30 minutes, you're tacking on all those 3's, and with floating point math, you start to get some tiny tiny decimals creeping in on you. One way to change this is to no use date add. Instead, build and change your data/time structure with DateSerial and TimeSerial. Though the simpler method would be to change the comparison from = to >= Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 23, 2008 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Loop Until Date=Date Ok...its now clear as mud... RecordDT = 12/17/2007 4:30:00 PM RecordDT_end =12/17/2007 4:30:00 PM CDbl(RecordDT)=39433.6875 CDbl(RecordDT_End)=39433.6875 CDbl(RecordDT-RecordDT_End)=3.63797880709171E-11 I'm not liking computers very much right now...so...since I added 30 minutes I have this problem? ...and Going forward...I should never ask if 2 DateTime values are equal...I should compare using datediff and seconds? Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 17:35:38 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > Hi Mark > > But what about: CDbl(RecordDT - RecordDT_end)? > > /gustav > >>>> markamatte at hotmail.com 23-01-2008 17:31:30>>> > > That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. > > Thanks, > > Mark A. Matte > > >> Date: Wed, 23 Jan 2008 11:22:05 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Loop Until Date=Date >> >> I would add a Debug.Print statement at the top or bottom of the loop to >> print out both values in Long Date format so you can see all the particulars >> of both values. That should reveal the difference, and why equality is >> failing. >> >> A. >> >> On 1/23/08, Mark A Matte wrote: >>> >>> >>> Hello All, >>> >>> Thanks for the suggestions. I found last night that "DateDiff("s", >>> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >>> understand why they were not equal. I tried the suggestion below...but it >>> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >>> works...but scares me because I don't know why it works and "=" does not. I >>> think I will just use the datediff approach...but am still curious... >>> >>> >>> Thanks, >>> >>> Mark A. Matte > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Gustav at cactus.dk Wed Jan 23 11:30:33 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 18:30:33 +0100 Subject: [AccessD] Loop Until Date=Date Message-ID: Hi Mark No, it is just that a date time value really is a Double, and subtracting Doubles will cause rounding errors sooner or later. And you do perform a subtraction because the comparison RecordDT = RecordDT_end is performed behind the scene as RecordDT - RecordDT_end = 0 Thus, always either use the DateSerial, TimeSerial, DateDiff, DateAdd, etc functions when handling date times, or be very careful with rounding errors, or test for an interval (comparing only >= or <= as Drew suggests is only halfway safe) Abs(RecordDT - RecordDT_end) <= 0.0001 Here are the functions we use to round a date time value correctly: Private Const clngSecondsPerDay As Long = 24& * 60& * 60& Public Function DateTimeRound( _ ByVal datTime As Date) _ As Date ' Returns datTime rounded off to the second by ' removing a millisecond portion. ' ' 2006-01-23, Cactus Data ApS, CPH Call RoundSecondOff(datTime) DateTimeRound = datTime End Function Private Sub RoundSecondOff( _ ByRef datDate As Date) ' Rounds off datDate to the second by ' removing a millisecond portion. ' ' 2006-01-23, Cactus Data ApS, CPH Dim lngDate As Long Dim lngTime As Long Dim dblTime As Double ' Get date part. lngDate = Fix(datDate) ' Get time part. dblTime = datDate - lngDate ' Round time part to the second. lngTime = Fix(dblTime * clngSecondsPerDay) ' Return date part and rounded time part. datDate = CVDate(lngDate + lngTime / clngSecondsPerDay) End Sub /gustav >>> markamatte at hotmail.com 23-01-2008 17:59:50 >>> Ok...its now clear as mud... RecordDT = 12/17/2007 4:30:00 PM RecordDT_end =12/17/2007 4:30:00 PM CDbl(RecordDT)=39433.6875 CDbl(RecordDT_End)=39433.6875 CDbl(RecordDT-RecordDT_End)=3.63797880709171E-11 I'm not liking computers very much right now...so...since I added 30 minutes I have this problem? ...and Going forward...I should never ask if 2 DateTime values are equal...I should compare using datediff and seconds? Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 17:35:38 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > Hi Mark > > But what about: CDbl(RecordDT - RecordDT_end)? > > /gustav > >>>> markamatte at hotmail.com 23-01-2008 17:31:30>>> > > That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. > > Thanks, > > Mark A. Matte > > >> Date: Wed, 23 Jan 2008 11:22:05 -0500 >> From: fuller.artful at gmail.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Loop Until Date=Date >> >> I would add a Debug.Print statement at the top or bottom of the loop to >> print out both values in Long Date format so you can see all the particulars >> of both values. That should reveal the difference, and why equality is >> failing. >> >> A. >> >> On 1/23/08, Mark A Matte wrote: >>> >>> >>> Hello All, >>> >>> Thanks for the suggestions. I found last night that "DateDiff("s", >>> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >>> understand why they were not equal. I tried the suggestion below...but it >>> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >>> works...but scares me because I don't know why it works and "=" does not. I >>> think I will just use the datediff approach...but am still curious... >>> >>> >>> Thanks, >>> >>> Mark A. Matte From markamatte at hotmail.com Wed Jan 23 11:54:03 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 17:54:03 +0000 Subject: [AccessD] Loop Until Date=Date In-Reply-To: References: Message-ID: Thanks Everyone, I never thought of 30 minutes as 1/48 of a day. It does feel better knowing that my looking at 2 identical things...and them not being = was my ignorance and not my insanity. Is this 'issue' just in access...maybe excel...and what about SQL Server? Thanks, Mark A. Matte > Date: Wed, 23 Jan 2008 18:30:33 +0100 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Loop Until Date=Date > > Hi Mark > > No, it is just that a date time value really is a Double, and subtracting Doubles will cause rounding errors sooner or later. > And you do perform a subtraction because the comparison > > RecordDT = RecordDT_end > > is performed behind the scene as > > RecordDT - RecordDT_end = 0 > > Thus, always either use the DateSerial, TimeSerial, DateDiff, DateAdd, etc functions when handling date times, or be very careful with rounding errors, or test for an interval (comparing only>= or <= as Drew suggests is only halfway safe) > > Abs(RecordDT - RecordDT_end) <= 0.0001 > > Here are the functions we use to round a date time value correctly: > > > > Private Const clngSecondsPerDay As Long = 24& * 60& * 60& > > Public Function DateTimeRound( _ > ByVal datTime As Date) _ > As Date > > ' Returns datTime rounded off to the second by > ' removing a millisecond portion. > ' > ' 2006-01-23, Cactus Data ApS, CPH > > > Call RoundSecondOff(datTime) > > DateTimeRound = datTime > > End Function > > Private Sub RoundSecondOff( _ > ByRef datDate As Date) > > ' Rounds off datDate to the second by > ' removing a millisecond portion. > ' > ' 2006-01-23, Cactus Data ApS, CPH > > Dim lngDate As Long > Dim lngTime As Long > Dim dblTime As Double > > ' Get date part. > lngDate = Fix(datDate) > ' Get time part. > dblTime = datDate - lngDate > ' Round time part to the second. > lngTime = Fix(dblTime * clngSecondsPerDay) > ' Return date part and rounded time part. > datDate = CVDate(lngDate + lngTime / clngSecondsPerDay) > > End Sub > > > > /gustav > > >>>> markamatte at hotmail.com 23-01-2008 17:59:50>>> > > Ok...its now clear as mud... > > RecordDT = 12/17/2007 4:30:00 PM > RecordDT_end =12/17/2007 4:30:00 PM > CDbl(RecordDT)=39433.6875 > CDbl(RecordDT_End)=39433.6875 > CDbl(RecordDT-RecordDT_End)=3.63797880709171E-11 > > I'm not liking computers very much right now...so...since I added 30 minutes I have this problem? > > ...and Going forward...I should never ask if 2 DateTime values are equal...I should compare using datediff and seconds? > > Thanks, > > Mark A. Matte > > >> Date: Wed, 23 Jan 2008 17:35:38 +0100 >> From: Gustav at cactus.dk >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Loop Until Date=Date >> >> Hi Mark >> >> But what about: CDbl(RecordDT - RecordDT_end)? >> >> /gustav >> >>>>> markamatte at hotmail.com 23-01-2008 17:31:30>>> >> >> That was the first thing I did...both are showing 12/17/2007 4:30:00 PM...but the "=" fails. >> >> Thanks, >> >> Mark A. Matte >> >> >>> Date: Wed, 23 Jan 2008 11:22:05 -0500 >>> From: fuller.artful at gmail.com >>> To: accessd at databaseadvisors.com >>> Subject: Re: [AccessD] Loop Until Date=Date >>> >>> I would add a Debug.Print statement at the top or bottom of the loop to >>> print out both values in Long Date format so you can see all the particulars >>> of both values. That should reveal the difference, and why equality is >>> failing. >>> >>> A. >>> >>> On 1/23/08, Mark A Matte wrote: >>>> >>>> >>>> Hello All, >>>> >>>> Thanks for the suggestions. I found last night that "DateDiff("s", >>>> RecordDT, RecordDT_end) = 0" would work...but I just can't seem to >>>> understand why they were not equal. I tried the suggestion below...but it >>>> failed as well. I also tried "If RecordDT>= RecordDT_end"...this >>>> works...but scares me because I don't know why it works and "=" does not. I >>>> think I will just use the datediff approach...but am still curious... >>>> >>>> >>>> Thanks, >>>> >>>> Mark A. Matte > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From rockysmolin at bchacc.com Wed Jan 23 11:51:45 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 09:51:45 -0800 Subject: [AccessD] Mail Merge In-Reply-To: References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> Message-ID: <006101c85de8$9eb929f0$0301a8c0@HAL9005> Mark: It's merging into a variety docs that have the fields inserted into them. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 23, 2008 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Rocky, Are you needing a formated Word document...or are you just printing from an access report...and it looks like a doc? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 07:59:20 -0800 > Subject: [AccessD] Mail Merge > > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to > reinvent the wheel. Is there a canned routine on line that I could > crib? I checked Lebans but didn't see anything. > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Need to know the score, the latest news, or you need your HotmailR-get your "fix". http://www.msnmobilefix.com/Default.aspx -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From miscellany at mvps.org Wed Jan 23 12:07:01 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 24 Jan 2008 07:07:01 +1300 Subject: [AccessD] Mail Merge In-Reply-To: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> Message-ID: <47978245.20107@mvps.org> Rocky, Scroll down to the "super easy word merge" section on this page: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Not sure if it's what you're after. But I have used this successfully, so can recommend. Regards Steve Rocky Smolin at Beach Access Software wrote: > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to reinvent > the wheel. Is there a canned routine on line that I could crib? I checked > Lebans but didn't see anything. > > MTIA > > Rocky > > > > From markamatte at hotmail.com Wed Jan 23 12:20:33 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 18:20:33 +0000 Subject: [AccessD] Mail Merge In-Reply-To: <006101c85de8$9eb929f0$0301a8c0@HAL9005> References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> <006101c85de8$9eb929f0$0301a8c0@HAL9005> Message-ID: Rocky, I have a db that generates 500-1000 letters a week...I think there are about 30 different types of letters...but only 1 or 2 Reports in Access. All of the text from the letters is stored in a table. I use some conditional formatting on the report to change a few things depending on what type of letter(change logo,greeting, ect). Each letter includes specific info Name,Product, caseID...and such from a query/table. Its like a mail merge...but WORD is never used or referenced. I never create a .doc, I just print from access. This way...I don't have any other files to keep up with...just the db...and now I have reports like...this many letters of this type were printed on this day...yada yada yada... Wasn't sure if you were looking at something like this...or an actual MSWord.doc. Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 09:51:45 -0800 > Subject: Re: [AccessD] Mail Merge > > Mark: > > It's merging into a variety docs that have the fields inserted into them. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Wednesday, January 23, 2008 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > > Rocky, > > Are you needing a formated Word document...or are you just printing from an > access report...and it looks like a doc? > > Thanks, > > Mark A. Matte > > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Wed, 23 Jan 2008 07:59:20 -0800 >> Subject: [AccessD] Mail Merge >> >> Dear List: >> >> I need to do a simple Mail Merge Access-->Word and don't want to >> reinvent the wheel. Is there a canned routine on line that I could >> crib? I checked Lebans but didn't see anything. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Need to know the score, the latest news, or you need your HotmailR-get your > "fix". > http://www.msnmobilefix.com/Default.aspx > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ From kismert at gmail.com Wed Jan 23 12:26:20 2008 From: kismert at gmail.com (Ken Ismert) Date: Wed, 23 Jan 2008 12:26:20 -0600 Subject: [AccessD] DLL needed to prevent mouse scroll to new record. In-Reply-To: References: Message-ID: <479786CC.2030206@gmail.com> Darryl, Here's my completely low-tech, fail-safe solution: Restrict a form's query to return only one record, and all mouse scroll wheel problems disappear! This requires two forms: a parent form which views and searches records, and a child form that edits only the record chosen. If your app is amenable to this approach, this could be the quickest fix for you. -Ken From Gustav at cactus.dk Wed Jan 23 12:25:53 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 23 Jan 2008 19:25:53 +0100 Subject: [AccessD] Loop Until Date=Date Message-ID: Hi Mark It is not just in Access or VBA, it's everywhere where floating point values are used for date time values. In SQL Server it may or may not be worse as VBA can round to 1 ms (and below for non-extreme date values) while SQL Server only has a resolution of about 3.33 ms by always rounding to 0, 3, or 7: ' ms SqlServer ' 0 0 ' 1 0 ' 2 3 ' 3 3 ' 4 3 ' 5 7 ' 6 7 ' 7 7 ' 8 7 ' 9 10 ' 10 10 ' 11 10 ' 12 13 ' 13 13 ' 14 13 ' 15 17 ' 16 17 ' 17 17 ' 18 17 ' 19 20 - and so on. However, it also features the SmallDateTime data type with a limited range of January 1, 1900 to June 6, 2079 which may be fine for many purposes and rounds to the second which may have helped you if you did the calculation in a stored procedure outside Access. /gustav >>> markamatte at hotmail.com 23-01-2008 18:54:03 >>> Thanks Everyone, I never thought of 30 minutes as 1/48 of a day. It does feel better knowing that my looking at 2 identical things...and them not being = was my ignorance and not my insanity. Is this 'issue' just in access...maybe excel...and what about SQL Server? Thanks, Mark A. Matte From rockysmolin at bchacc.com Wed Jan 23 12:34:17 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 10:34:17 -0800 Subject: [AccessD] Mail Merge In-Reply-To: <47978245.20107@mvps.org> References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> <47978245.20107@mvps.org> Message-ID: <006e01c85dee$93b2d730$0301a8c0@HAL9005> That looks real promising. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Wednesday, January 23, 2008 10:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Rocky, Scroll down to the "super easy word merge" section on this page: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Not sure if it's what you're after. But I have used this successfully, so can recommend. Regards Steve Rocky Smolin at Beach Access Software wrote: > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to > reinvent the wheel. Is there a canned routine on line that I could > crib? I checked Lebans but didn't see anything. > > MTIA > > Rocky > > > > -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From rockysmolin at bchacc.com Wed Jan 23 12:34:51 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 10:34:51 -0800 Subject: [AccessD] Mail Merge In-Reply-To: References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> <006101c85de8$9eb929f0$0301a8c0@HAL9005> Message-ID: <006f01c85dee$a435fba0$0301a8c0@HAL9005> Mark: Gotta be WORD. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 23, 2008 10:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Rocky, I have a db that generates 500-1000 letters a week...I think there are about 30 different types of letters...but only 1 or 2 Reports in Access. All of the text from the letters is stored in a table. I use some conditional formatting on the report to change a few things depending on what type of letter(change logo,greeting, ect). Each letter includes specific info Name,Product, caseID...and such from a query/table. Its like a mail merge...but WORD is never used or referenced. I never create a .doc, I just print from access. This way...I don't have any other files to keep up with...just the db...and now I have reports like...this many letters of this type were printed on this day...yada yada yada... Wasn't sure if you were looking at something like this...or an actual MSWord.doc. Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 09:51:45 -0800 > Subject: Re: [AccessD] Mail Merge > > Mark: > > It's merging into a variety docs that have the fields inserted into them. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Wednesday, January 23, 2008 8:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > > Rocky, > > Are you needing a formated Word document...or are you just printing > from an access report...and it looks like a doc? > > Thanks, > > Mark A. Matte > > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Wed, 23 Jan 2008 07:59:20 -0800 >> Subject: [AccessD] Mail Merge >> >> Dear List: >> >> I need to do a simple Mail Merge Access-->Word and don't want to >> reinvent the wheel. Is there a canned routine on line that I could >> crib? I checked Lebans but didn't see anything. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Need to know the score, the latest news, or you need your HotmailR-get > your "fix". > http://www.msnmobilefix.com/Default.aspx > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: > 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From rockysmolin at bchacc.com Wed Jan 23 13:07:44 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 11:07:44 -0800 Subject: [AccessD] SQL INSERT Question Message-ID: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> I have a client who write a lot of his own stuff. Right now he's trying to insert into an Access table memo field using the following: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT " & RS(0) & ", '" & RS(10) & "'" which generates the error: "Syntax error in INSERT INTO statement" RA(n) are the fields in a recordset hooked to SQL database. The fields RS(0) and RS(10) contain god data (he checked) with no embedded quotes or apostrophes. Although he says that he needs to be able to The target field Note is a memo field in the Access table. RS(0) has already been successfully inserted into tEvictionCasesTemp1. What might be causing the syntax error? MTIA Rocky From mmattys at rochester.rr.com Wed Jan 23 13:36:17 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 23 Jan 2008 14:36:17 -0500 Subject: [AccessD] SQL INSERT Question References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> Message-ID: <009201c85df7$3a4ba380$0202a8c0@Laptop> You need the word VALUES instead of SELECT Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, January 23, 2008 2:07 PM Subject: [AccessD] SQL INSERT Question >I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has > already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Jan 23 13:44:26 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 11:44:26 -0800 Subject: [AccessD] SQL INSERT Question In-Reply-To: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> Message-ID: <009c01c85df8$5e107ab0$0301a8c0@HAL9005> One more thing - the field RS(10) is of type nvarchar and can be up to 4000 characters in length. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 11:08 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SQL INSERT Question I have a client who write a lot of his own stuff. Right now he's trying to insert into an Access table memo field using the following: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT " & RS(0) & ", '" & RS(10) & "'" which generates the error: "Syntax error in INSERT INTO statement" RA(n) are the fields in a recordset hooked to SQL database. The fields RS(0) and RS(10) contain god data (he checked) with no embedded quotes or apostrophes. Although he says that he needs to be able to The target field Note is a memo field in the Access table. RS(0) has already been successfully inserted into tEvictionCasesTemp1. What might be causing the syntax error? MTIA Rocky -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From john at winhaven.net Wed Jan 23 13:58:52 2008 From: john at winhaven.net (John Bartow) Date: Wed, 23 Jan 2008 13:58:52 -0600 Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell Message-ID: <200801231958.m0NJwkZF002102@databaseadvisors.com> It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Bryan Carbonell with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. Award link: http://www.winhaven.net/misc/BryanCarbonnell.htm John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From john at winhaven.net Wed Jan 23 14:00:27 2008 From: john at winhaven.net (John Bartow) Date: Wed, 23 Jan 2008 14:00:27 -0600 Subject: [AccessD] DBA Award Announcement - Jim Lawrence Message-ID: <200801232000.m0NK0Oin003206@databaseadvisors.com> It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Jim Lawrence with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. http://www.winhaven.net/misc/JimLawrence.htm John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Jan 23 14:04:00 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 23 Jan 2008 15:04:00 -0500 Subject: [AccessD] SQL INSERT Question References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> Message-ID: <021901c85dfb$1a4b3510$4b3a8343@SusanOne> The easiest way to find a syntax error is to define a string variable to hold the evaulated statement and then run a Debug.Print -- it is such a good idea that I never run an evaluated string any other way strSQL = "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" Debug.Print strSQL DoCmd.RunSQL strSQL IF you can't find the error by viewing it in the Immediate window, paste it into a SQL window and run it to get more specific clues as to the real problem. BTW, INSERT INTO needs a FROM clause: INSERT INTO target SELECT * FROM source Using this syntax, target and source may share the same structure. Susan H. DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, January 23, 2008 2:07 PM Subject: [AccessD] SQL INSERT Question >I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has > already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From fahooper at trapo.com Wed Jan 23 14:07:15 2008 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 23 Jan 2008 15:07:15 -0500 Subject: [AccessD] SQL INSERT Question In-Reply-To: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> Message-ID: <003701c85dfb$8ccf27e0$b753dd48@fredxp> How about something like this: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT [" & RS(0) & "], [" & RS(10) & "] FROM " -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 2:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SQL INSERT Question I have a client who write a lot of his own stuff. Right now he's trying to insert into an Access table memo field using the following: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT " & RS(0) & ", '" & RS(10) & "'" which generates the error: "Syntax error in INSERT INTO statement" RA(n) are the fields in a recordset hooked to SQL database. The fields RS(0) and RS(10) contain god data (he checked) with no embedded quotes or apostrophes. Although he says that he needs to be able to The target field Note is a memo field in the Access table. RS(0) has already been successfully inserted into tEvictionCasesTemp1. What might be causing the syntax error? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Jan 23 14:05:07 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 12:05:07 -0800 Subject: [AccessD] SQL INSERT Question In-Reply-To: <009201c85df7$3a4ba380$0202a8c0@Laptop> References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> <009201c85df7$3a4ba380$0202a8c0@Laptop> Message-ID: <009d01c85dfb$40b976d0$0301a8c0@HAL9005> Mike: I'll forward to the client to test. He says he's used that SELECT statement successfully on fields (0) through (9). So we'll see. I'll let you know. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, January 23, 2008 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question You need the word VALUES instead of SELECT Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, January 23, 2008 2:07 PM Subject: [AccessD] SQL INSERT Question >I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has > already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From rockysmolin at bchacc.com Wed Jan 23 14:10:48 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 12:10:48 -0800 Subject: [AccessD] SQL INSERT Question In-Reply-To: <021901c85dfb$1a4b3510$4b3a8343@SusanOne> References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> <021901c85dfb$1a4b3510$4b3a8343@SusanOne> Message-ID: <00a601c85dfc$0c48ab90$0301a8c0@HAL9005> Well, you wrote the book. I'll forward to client and let you know what happens. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, January 23, 2008 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question The easiest way to find a syntax error is to define a string variable to hold the evaulated statement and then run a Debug.Print -- it is such a good idea that I never run an evaluated string any other way strSQL = "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" Debug.Print strSQL DoCmd.RunSQL strSQL IF you can't find the error by viewing it in the Immediate window, paste it into a SQL window and run it to get more specific clues as to the real problem. BTW, INSERT INTO needs a FROM clause: INSERT INTO target SELECT * FROM source Using this syntax, target and source may share the same structure. Susan H. DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, January 23, 2008 2:07 PM Subject: [AccessD] SQL INSERT Question >I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has > already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From rockysmolin at bchacc.com Wed Jan 23 14:09:22 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 12:09:22 -0800 Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell In-Reply-To: <200801231958.m0NJwkZF002102@databaseadvisors.com> References: <200801231958.m0NJwkZF002102@databaseadvisors.com> Message-ID: <00a401c85dfb$d89f9290$0301a8c0@HAL9005> That award comes with a vodka martini made with frozen Stolichnaya vodka, very dry, straight up, two jumbo olives. (But you have to come to Del Mar to collect.) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, January 23, 2008 11:59 AM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Bryan Carbonell with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. Award link: http://www.winhaven.net/misc/BryanCarbonnell.htm 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From jwcolby at colbyconsulting.com Wed Jan 23 14:20:56 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Jan 2008 15:20:56 -0500 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: <006e01c85dfd$76757f60$657aa8c0@M90> Congrats Jim and Bryan, there are few people who have done more for DBA than the two of you! My deepest appreciation for all your hard 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 John Bartow Sent: Wednesday, January 23, 2008 3:00 PM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Jim Lawrence It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Jim Lawrence with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. http://www.winhaven.net/misc/JimLawrence.htm 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 rockysmolin at bchacc.com Wed Jan 23 14:09:48 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 12:09:48 -0800 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: <00a501c85dfb$e868b5d0$0301a8c0@HAL9005> Same martini spiff for Dr. Lawrence. Same conditions. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, January 23, 2008 12:00 PM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Jim Lawrence It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Jim Lawrence with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. http://www.winhaven.net/misc/JimLawrence.htm 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From ssharkins at gmail.com Wed Jan 23 14:25:33 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 23 Jan 2008 15:25:33 -0500 Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell References: <200801231958.m0NJwkZF002102@databaseadvisors.com> <00a401c85dfb$d89f9290$0301a8c0@HAL9005> Message-ID: <025801c85dfe$1cb17f50$4b3a8343@SusanOne> And then to Kentucky for straight up bourbon and a ride on a pretty horse with a fast wom... I mean a ride on a fast horse with a pretty woman! ;) Cool award Bryan -- well deserved! Thank you! Susan H. > That award comes with a vodka martini made with frozen Stolichnaya vodka, > very dry, straight up, two jumbo olives. (But you have to come to Del Mar > to collect.) From markamatte at hotmail.com Wed Jan 23 14:33:03 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 20:33:03 +0000 Subject: [AccessD] SQL INSERT Question_SOLVED??? In-Reply-To: <009c01c85df8$5e107ab0$0301a8c0@HAL9005> References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> <009c01c85df8$5e107ab0$0301a8c0@HAL9005> Message-ID: I HATE COMPUTERS TODAY!!!!!!!!!!!!!!!!!!!!!!!!! Rocky, 1 of my programs uses the same syntax to update a memo field...so I took your example and very easily re-created your error...which confused me, since they were so similar and did exactly the same thing...and mine ran... ...so I started getting rid of things I knew worked...even changing table names to something shorter...then I was left with only 1 thing I had not changed,,,so my logic told me this MUST be the problem...so I changed it...and the error was no more. Million Dollar answer: I changed the field name From Note...to Notes. Maybe Note is a reserved word? Thanks, Mark A. MAtte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 11:44:26 -0800 > Subject: Re: [AccessD] SQL INSERT Question > > One more thing - the field RS(10) is of type nvarchar and can be up to 4000 > characters in length. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, January 23, 2008 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] SQL INSERT Question > > I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ From rockysmolin at bchacc.com Wed Jan 23 14:15:51 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 12:15:51 -0800 Subject: [AccessD] Mail Merge In-Reply-To: <29f585dd0801230814h5b32c7aajf6d952b5cd1fdacd@mail.gmail.com> References: <004701c85dd8$eb5bcc00$0301a8c0@HAL9005> <29f585dd0801230814h5b32c7aajf6d952b5cd1fdacd@mail.gmail.com> Message-ID: <00a801c85dfc$c1d395b0$0301a8c0@HAL9005> My current attempt, which I think used to work, looks like this: Dim objWordDoc As Word.Document Dim objWord As Object Set objWord = CreateObject("Word.Application") With objWord 'Visible is set True in order to view the operation. .Visible = True .Documents.Open (strDocName) .ActiveDocument.MailMerge.Destination = wdSendToNewDocument .ActiveDocument.MailMerge.SuppressBlankLines = True .ActiveDocument.MailMerge.Execute End With It blows up on " .ActiveDocument.MailMerge.Destination = wdSendToNewDocument" with an error "Requested Object is not Available". If there's a simple fix to this that would be great. The word doc opens up just fine, BTW. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, January 23, 2008 8:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Helen Feddema's site has lots such things. Her specialty is Office integration. Google will take you there quickly. A. On 1/23/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to > reinvent the wheel. Is there a canned routine on line that I could > crib? I checked Lebans but didn't see anything. > > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From markamatte at hotmail.com Wed Jan 23 14:39:17 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 20:39:17 +0000 Subject: [AccessD] SQL INSERT Question In-Reply-To: <009c01c85df8$5e107ab0$0301a8c0@HAL9005> References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> <009c01c85df8$5e107ab0$0301a8c0@HAL9005> Message-ID: I HATE COMPUTERS TODAY!!!!!!!!!!!!!!!!!!!!!!!!! Rocky, 1 of my programs uses the same syntax to update a memo field...so I took your example and very easily re-created your error...which confused me, since they were so similar and did exactly the same thing...and mine ran... ...so I started getting rid of things I knew worked...even changing table names to something shorter...then I was left with only 1 thing I had not changed,,,so my logic told me this MUST be the problem...so I changed it...and the error was no more. Million Dollar answer: I changed the field name From Note...to Notes. Maybe Note is a reserved word? Thanks, Mark A. MAtte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 11:44:26 -0800 > Subject: Re: [AccessD] SQL INSERT Question > > One more thing - the field RS(10) is of type nvarchar and can be up to 4000 > characters in length. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, January 23, 2008 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] SQL INSERT Question > > I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx From cfoust at infostatsystems.com Wed Jan 23 14:43:03 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 23 Jan 2008 12:43:03 -0800 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: Congratulations to Jim, and profound thanks! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, January 23, 2008 12:00 PM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Jim Lawrence It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Jim Lawrence with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. http://www.winhaven.net/misc/JimLawrence.htm John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jan 23 14:46:36 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 23 Jan 2008 12:46:36 -0800 Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell In-Reply-To: <00a401c85dfb$d89f9290$0301a8c0@HAL9005> References: <200801231958.m0NJwkZF002102@databaseadvisors.com> <00a401c85dfb$d89f9290$0301a8c0@HAL9005> Message-ID: I'll second that motion, although I must admit, I never got the original announcement on Bryan, so I'll let Rocky pay for the drinks!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 12:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DBA Award Announcement - Bryan Carbonnell That award comes with a vodka martini made with frozen Stolichnaya vodka, very dry, straight up, two jumbo olives. (But you have to come to Del Mar to collect.) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, January 23, 2008 11:59 AM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Bryan Carbonell with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. Award link: http://www.winhaven.net/misc/BryanCarbonnell.htm John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 23 14:52:16 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Jan 2008 15:52:16 -0500 Subject: [AccessD] SQL INSERT Question_SOLVED??? In-Reply-To: References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005><009c01c85df8$5e107ab0$0301a8c0@HAL9005> Message-ID: <007201c85e01$d8974670$657aa8c0@M90> It sure sounds that way. LOVE those reserved words. 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: Wednesday, January 23, 2008 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question_SOLVED??? I HATE COMPUTERS TODAY!!!!!!!!!!!!!!!!!!!!!!!!! Rocky, 1 of my programs uses the same syntax to update a memo field...so I took your example and very easily re-created your error...which confused me, since they were so similar and did exactly the same thing...and mine ran... ...so I started getting rid of things I knew worked...even changing table names to something shorter...then I was left with only 1 thing I had not changed,,,so my logic told me this MUST be the problem...so I changed it...and the error was no more. Million Dollar answer: I changed the field name From Note...to Notes. Maybe Note is a reserved word? Thanks, Mark A. MAtte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 11:44:26 -0800 > Subject: Re: [AccessD] SQL INSERT Question > > One more thing - the field RS(10) is of type nvarchar and can be up to > 4000 characters in length. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, January 23, 2008 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] SQL INSERT Question > > I have a client who write a lot of his own stuff. Right now he's > trying to insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes > or apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has > already been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: > 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.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 Jan 23 14:54:10 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 23 Jan 2008 14:54:10 -0600 Subject: [AccessD] SQL INSERT Question_SOLVED??? In-Reply-To: References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005><009c01c85df8$5e107ab0$0301a8c0@HAL9005> Message-ID: You got it right! According to Microsoft KB article 286335 note is a reserved word in Access version 2002 and later. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 23, 2008 2:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question_SOLVED??? I HATE COMPUTERS TODAY!!!!!!!!!!!!!!!!!!!!!!!!! Rocky, 1 of my programs uses the same syntax to update a memo field...so I took your example and very easily re-created your error...which confused me, since they were so similar and did exactly the same thing...and mine ran... ...so I started getting rid of things I knew worked...even changing table names to something shorter...then I was left with only 1 thing I had not changed,,,so my logic told me this MUST be the problem...so I changed it...and the error was no more. Million Dollar answer: I changed the field name From Note...to Notes. Maybe Note is a reserved word? Thanks, Mark A. MAtte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 11:44:26 -0800 > Subject: Re: [AccessD] SQL INSERT Question > > One more thing - the field RS(10) is of type nvarchar and can be up to 4000 > characters in length. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, January 23, 2008 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] SQL INSERT Question > > I have a client who write a lot of his own stuff. Right now he's trying to > insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes or > apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has already > been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.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 Jan 23 14:59:50 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Jan 2008 14:59:50 -0600 Subject: [AccessD] [dba-OT] DBA Award Announcement - Bryan Carbonnell In-Reply-To: <200801231958.m0NJwkZF002102@databaseadvisors.com> References: <200801231958.m0NJwkZF002102@databaseadvisors.com> Message-ID: Yes, THANK YOU BRYAN! GK On 1/23/08, John Bartow wrote: > It is with great pleasure that the Board of Directors for Database Advisors, > Inc. presents Bryan Carbonell with a Special Service Award in deep > appreciation for all that he has done for Database Advisors as List Master. > We value his dedication, professionalism and the sharing of his talents and > we look forward to continuing our work together. > > Award link: http://www.winhaven.net/misc/BryanCarbonnell.htm > > John Bartow, President > Database Advisors, Inc. > Email: mailto:president at databaseadvisors.com > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Wed Jan 23 15:00:34 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Jan 2008 15:00:34 -0600 Subject: [AccessD] [dba-OT] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: Yes, THANK YOU JIM! GK On 1/23/08, John Bartow wrote: > It is with great pleasure that the Board of Directors for Database Advisors, > Inc. presents Jim Lawrence with a Special Service Award in deep appreciation > for all that he has done for Database Advisors as List Master. We value his > dedication, professionalism and the sharing of his talents and we look > forward to continuing our work together. > > http://www.winhaven.net/misc/JimLawrence.htm > > John Bartow, President > Database Advisors, Inc. > Email: mailto:president at databaseadvisors.com > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Wed Jan 23 14:50:45 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 12:50:45 -0800 Subject: [AccessD] SQL INSERT Question In-Reply-To: References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005><009c01c85df8$5e107ab0$0301a8c0@HAL9005> Message-ID: <00be01c85e01$a0a734f0$0301a8c0@HAL9005> Wow. If that's true YOU get the martini! I will let you know. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 23, 2008 12:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question I HATE COMPUTERS TODAY!!!!!!!!!!!!!!!!!!!!!!!!! Rocky, 1 of my programs uses the same syntax to update a memo field...so I took your example and very easily re-created your error...which confused me, since they were so similar and did exactly the same thing...and mine ran... ...so I started getting rid of things I knew worked...even changing table names to something shorter...then I was left with only 1 thing I had not changed,,,so my logic told me this MUST be the problem...so I changed it...and the error was no more. Million Dollar answer: I changed the field name From Note...to Notes. Maybe Note is a reserved word? Thanks, Mark A. MAtte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 11:44:26 -0800 > Subject: Re: [AccessD] SQL INSERT Question > > One more thing - the field RS(10) is of type nvarchar and can be up to > 4000 characters in length. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, January 23, 2008 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] SQL INSERT Question > > I have a client who write a lot of his own stuff. Right now he's > trying to insert into an Access table memo field using the following: > > DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ > "SELECT " & RS(0) & ", '" & RS(10) & "'" > > which generates the error: "Syntax error in INSERT INTO statement" > > RA(n) are the fields in a recordset hooked to SQL database. The fields > RS(0) and RS(10) contain god data (he checked) with no embedded quotes > or apostrophes. Although he says that he needs to be able to > > > The target field Note is a memo field in the Access table. RS(0) has > already been successfully inserted into tEvictionCasesTemp1. > > What might be causing the syntax error? > > MTIA > > Rocky > > > > > -- > 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.516 / Virus Database: 269.19.8/1236 - Release Date: > 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Need to know the score, the latest news, or you need your HotmailR-get your "fix". http://www.msnmobilefix.com/Default.aspx -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From tinanfields at torchlake.com Wed Jan 23 15:17:28 2008 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 23 Jan 2008 16:17:28 -0500 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: <4797AEE8.2060005@torchlake.com> And hats off to Jim, too. Thanks from all of us. Tina John Bartow wrote: > It is with great pleasure that the Board of Directors for Database Advisors, > Inc. presents Jim Lawrence with a Special Service Award in deep appreciation > for all that he has done for Database Advisors as List Master. We value his > dedication, professionalism and the sharing of his talents and we look > forward to continuing our work together. > > http://www.winhaven.net/misc/JimLawrence.htm > > John Bartow, President > Database Advisors, Inc. > Email: mailto:president at databaseadvisors.com > Website: http://www.databaseadvisors.com > > > > > From rockysmolin at bchacc.com Wed Jan 23 15:53:56 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 13:53:56 -0800 Subject: [AccessD] FW: Note is a reserved word Message-ID: <00ed01c85e0a$73d8a180$0301a8c0@HAL9005> Dr. Matte gets the martini! Note is reserved and bracketing it, apparently, takes it out of the reserved word category. Thank you one and all. Rocky _____ From: James Sent: Wednesday, January 23, 2008 1:43 PM To: Rocky Smolin at Beach Access Software Subject: RE: Note is a reserved word I put Note in brackets "[Note]" and it worked perfectly. Thanks. Send us the bill. I so appreciate you. _____ From: Rocky Smolin at Beach Access Software [mailto:rockysmolin at bchacc.com] Sent: Wednesday, January 23, 2008 1:15 PM To: James Subject: Note is a reserved word James: It would appear that Note is a reserved word and so should not be used is a field name. http://support.microsoft.com/kb/286335 Rocky No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From DWUTKA at Marlow.com Wed Jan 23 15:59:22 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 23 Jan 2008 15:59:22 -0600 Subject: [AccessD] SQL INSERT Question In-Reply-To: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> Message-ID: Isn't it VALUES? And just curious, what is god data? Shouldn't this post be on OT? ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SQL INSERT Question I have a client who write a lot of his own stuff. Right now he's trying to insert into an Access table memo field using the following: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT " & RS(0) & ", '" & RS(10) & "'" which generates the error: "Syntax error in INSERT INTO statement" RA(n) are the fields in a recordset hooked to SQL database. The fields RS(0) and RS(10) contain god data (he checked) with no embedded quotes or apostrophes. Although he says that he needs to be able to The target field Note is a memo field in the Access table. RS(0) has already been successfully inserted into tEvictionCasesTemp1. What might be causing the syntax error? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From ssharkins at gmail.com Wed Jan 23 16:04:37 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 23 Jan 2008 17:04:37 -0500 Subject: [AccessD] SQL INSERT Question References: Message-ID: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne> VALUES is required if the structure of both tables isn't the same. Susan H. > Isn't it VALUES? > > And just curious, what is god data? Shouldn't this post be on OT? From anitatiedemann at gmail.com Wed Jan 23 16:59:08 2008 From: anitatiedemann at gmail.com (Anita Smith) Date: Thu, 24 Jan 2008 09:59:08 +1100 Subject: [AccessD] OT: Copenhagen In-Reply-To: References: Message-ID: Gustav, I'm heading to DK in August/September - perhaps we can finally meet? Anita On Jan 23, 2008 2:55 AM, Gustav Brock wrote: > Hi Ed > > Great! That's a nice hotel. > > /gustav > > >>> EdTesiny at oasas.state.ny.us 22-01-2008 16:26:09 >>> > Hi Gustav, > We're confirmed for Copenhagen April 30 - May 9, staying at the Marriott > Copenhagen. Would like to try a proper open sandwich....still making > plans, I'll contact you off list. > Peace, > Ed > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Wed Jan 23 17:49:19 2008 From: darren at activebilling.com.au (Darren D) Date: Thu, 24 Jan 2008 10:49:19 +1100 Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell In-Reply-To: <200801231958.m0NJwkZF002102@databaseadvisors.com> Message-ID: <200801232349.m0NNnRQG027437@databaseadvisors.com> Congrats Bryan - outstanding work and well deserved Here here Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, 24 January 2008 6:59 AM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Bryan Carbonell with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. Award link: http://www.winhaven.net/misc/BryanCarbonnell.htm 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM From darren at activebilling.com.au Wed Jan 23 17:49:19 2008 From: darren at activebilling.com.au (Darren D) Date: Thu, 24 Jan 2008 10:49:19 +1100 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: <200801232349.m0NNnRlB027440@databaseadvisors.com> Congrats Jim Love your work - wouldn't be here without your mammoth contributions (and the efforts of a handful of others) - with no pay and almost as little thanks - until now Many many thanks Darren ----------------- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, 24 January 2008 7:00 AM To: dba-sqlserver at databaseadvisors.com; _DBA-Access; dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; dba-vb at databaseadvisors.com Subject: [AccessD] DBA Award Announcement - Jim Lawrence It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Jim Lawrence with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. http://www.winhaven.net/misc/JimLawrence.htm 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM From markamatte at hotmail.com Wed Jan 23 17:52:27 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 23 Jan 2008 23:52:27 +0000 Subject: [AccessD] FW: Note is a reserved word In-Reply-To: <00ed01c85e0a$73d8a180$0301a8c0@HAL9005> References: <00ed01c85e0a$73d8a180$0301a8c0@HAL9005> Message-ID: Rocky, Did he say a bill?...I'll take the martini, or whiskey, or beer...which one comes with airfare? Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 13:53:56 -0800 > Subject: [AccessD] FW: Note is a reserved word > > Dr. Matte gets the martini! > > Note is reserved and bracketing it, apparently, takes it out of the reserved > word category. > > Thank you one and all. > > Rocky > > > > _____ > > From: James > Sent: Wednesday, January 23, 2008 1:43 PM > To: Rocky Smolin at Beach Access Software > Subject: RE: Note is a reserved word > > > I put Note in brackets "[Note]" and it worked perfectly. Thanks. Send us > the bill. I so appreciate you. > > _____ > > From: Rocky Smolin at Beach Access Software [mailto:rockysmolin at bchacc.com] > Sent: Wednesday, January 23, 2008 1:15 PM > To: James > Subject: Note is a reserved word > > > James: > > It would appear that Note is a reserved word and so should not be used is a > field name. > > http://support.microsoft.com/kb/286335 > > Rocky > > > > > > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From robert at servicexp.com Wed Jan 23 17:53:05 2008 From: robert at servicexp.com (Robert) Date: Wed, 23 Jan 2008 18:53:05 -0500 Subject: [AccessD] DLL needed to prevent mouse scroll to new record. In-Reply-To: <479786CC.2030206@gmail.com> References: <479786CC.2030206@gmail.com> Message-ID: <4797D361.6000605@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 And not mention the only way to (unless changing the new record property to false) 100% solve the problem (before A07). As neither solutions discussed here work all the time, especially for larger more complex applications. By the way the mousewheel.dll is a far better solution then the Leban solution, more reliably catches the mousewheel in my testing. Horrray to A07 for solving the problem internally. WBR Robert Ken Ismert wrote: > Darryl, > > Here's my completely low-tech, fail-safe solution: > > Restrict a form's query to return only one record, and all mouse scroll > wheel problems disappear! > > This requires two forms: a parent form which views and searches records, > and a child form that edits only the record chosen. > > If your app is amenable to this approach, this could be the quickest fix > for you. > > -Ken > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHl9Nh72dSYCwH8FQRAiaBAKCfcGfN2xAqcYrrvrvJfY49nQYx2wCgrjfD 8WvYeZDMcc0Bf33b8GHrQB8= =Zi4S -----END PGP SIGNATURE----- From mmattys at rochester.rr.com Wed Jan 23 17:53:14 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 23 Jan 2008 18:53:14 -0500 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne> Message-ID: <001601c85e1b$1f3a1fd0$0202a8c0@Laptop> http://www.w3schools.com/sql/sql_insert.asp Since the values were coming from 2 recordsets, the VALUES statement made sense given the lack of FROM in the SQL string. As the saying goes, "There's more than one way to skin a cat" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, January 23, 2008 5:04 PM Subject: Re: [AccessD] SQL INSERT Question > VALUES is required if the structure of both tables isn't the same. > > Susan H. > > >> Isn't it VALUES? >> >> And just curious, what is god data? Shouldn't this post be on OT? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From miscellany at mvps.org Wed Jan 23 18:20:31 2008 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 24 Jan 2008 13:20:31 +1300 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <200801232000.m0NK0Oin003206@databaseadvisors.com> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: <4797D9CF.5090704@mvps.org> My congratulations to both Bryan and Jim, for this obviously well-deserved recognition. Regards Steve John Bartow wrote: > It is with great pleasure that the Board of Directors for Database Advisors, > Inc. presents Jim Lawrence with a Special Service Award in deep appreciation > for all that he has done for Database Advisors as List Master. We value his > dedication, professionalism and the sharing of his talents and we look > forward to continuing our work together. > From ssharkins at gmail.com Wed Jan 23 18:21:06 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 23 Jan 2008 19:21:06 -0500 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne> <001601c85e1b$1f3a1fd0$0202a8c0@Laptop> Message-ID: <03a401c85e1f$092e5e50$4b3a8343@SusanOne> I've never tried a JOIN without VALUES, but theoretically, I guess it could work if all the fields are covered -- but I've never tried. Honestly, I missed that they were coming from different recordsets. Susan H. > http://www.w3schools.com/sql/sql_insert.asp > > Since the values were coming from 2 recordsets, > the VALUES statement made sense given the > lack of FROM
in the SQL string. > > As the saying goes, "There's more than one way to skin a cat" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, January 23, 2008 5:04 PM > Subject: Re: [AccessD] SQL INSERT Question > > >> VALUES is required if the structure of both tables isn't the same. >> >> Susan H. >> >> >>> Isn't it VALUES? >>> >>> And just curious, what is god data? Shouldn't this post be on OT? >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Jan 23 18:30:44 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Jan 2008 19:30:44 -0500 Subject: [AccessD] Lab Notes : Eureka! How the Brain has 'Aha' Moments Message-ID: <000f01c85e20$5beb4990$0401a8c0@M90> http://www.blog.newsweek.com/blogs/labnotes/archive/2008/01/22/eureka-how-th e-brain-has-aha-moments.aspx jwc From mmattys at rochester.rr.com Wed Jan 23 18:31:36 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 23 Jan 2008 19:31:36 -0500 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne> <001601c85e1b$1f3a1fd0$0202a8c0@Laptop> <03a401c85e1f$092e5e50$4b3a8343@SusanOne> Message-ID: <004201c85e20$7c03d710$0202a8c0@Laptop> Hi Susan, Uh, well ... I was wrong ... just one rs Anyway ... enjoy your evening :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, January 23, 2008 7:21 PM Subject: Re: [AccessD] SQL INSERT Question > I've never tried a JOIN without VALUES, but theoretically, I guess it > could > work if all the fields are covered -- but I've never tried. Honestly, I > missed that they were coming from different recordsets. > > Susan H. > > >> http://www.w3schools.com/sql/sql_insert.asp >> >> Since the values were coming from 2 recordsets, >> the VALUES statement made sense given the >> lack of FROM
in the SQL string. >> >> As the saying goes, "There's more than one way to skin a cat" >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com From rockysmolin at bchacc.com Wed Jan 23 19:25:27 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 17:25:27 -0800 Subject: [AccessD] SQL INSERT Question In-Reply-To: References: <008501c85df3$3d2b8ec0$0301a8c0@HAL9005> Message-ID: <012b01c85e28$006486b0$0301a8c0@HAL9005> Don't get cheeky. I have god data. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 23, 2008 1:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question Isn't it VALUES? And just curious, what is god data? Shouldn't this post be on OT? ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SQL INSERT Question I have a client who write a lot of his own stuff. Right now he's trying to insert into an Access table memo field using the following: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT " & RS(0) & ", '" & RS(10) & "'" which generates the error: "Syntax error in INSERT INTO statement" RA(n) are the fields in a recordset hooked to SQL database. The fields RS(0) and RS(10) contain god data (he checked) with no embedded quotes or apostrophes. Although he says that he needs to be able to The target field Note is a memo field in the Access table. RS(0) has already been successfully inserted into tEvictionCasesTemp1. What might be causing the syntax error? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From fuller.artful at gmail.com Wed Jan 23 19:44:59 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 23 Jan 2008 20:44:59 -0500 Subject: [AccessD] SQL INSERT Question In-Reply-To: <03a401c85e1f$092e5e50$4b3a8343@SusanOne> References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne> <001601c85e1b$1f3a1fd0$0202a8c0@Laptop> <03a401c85e1f$092e5e50$4b3a8343@SusanOne> Message-ID: <29f585dd0801231744k135899c1y2feca9326cfb343b@mail.gmail.com> A join without values is equivalent to relational multiplication: the result set has the number of rows in T1 * the number of rows in T2. Arthur On 1/23/08, Susan Harkins wrote: > > I've never tried a JOIN without VALUES, but theoretically, I guess it > could > work if all the fields are covered -- but I've never tried. Honestly, I > missed that they were coming from different recordsets. > > Susan H. > From ssharkins at gmail.com Wed Jan 23 19:56:13 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 23 Jan 2008 20:56:13 -0500 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne><001601c85e1b$1f3a1fd0$0202a8c0@Laptop><03a401c85e1f$092e5e50$4b3a8343@SusanOne> <29f585dd0801231744k135899c1y2feca9326cfb343b@mail.gmail.com> Message-ID: <03c001c85e2c$4ea2e750$4b3a8343@SusanOne> Really! Now that's interesting. Susan H. >A join without values is equivalent to relational multiplication: the >result > set has the number of rows in T1 * the number of rows in T2. From fuller.artful at gmail.com Wed Jan 23 19:58:37 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 23 Jan 2008 20:58:37 -0500 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <4797D9CF.5090704@mvps.org> References: <200801232000.m0NK0Oin003206@databaseadvisors.com> <4797D9CF.5090704@mvps.org> Message-ID: <29f585dd0801231758j7a8792f6t73f177fb863437ff@mail.gmail.com> Yes, congratulations Jim! A. On 1/23/08, Steve Schapel wrote: > > My congratulations to both Bryan and Jim, for this obviously > well-deserved recognition. > > Regards > Steve > From rockysmolin at bchacc.com Wed Jan 23 21:28:53 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 23 Jan 2008 19:28:53 -0800 Subject: [AccessD] FW: Note is a reserved word In-Reply-To: References: <00ed01c85e0a$73d8a180$0301a8c0@HAL9005> Message-ID: <000c01c85e39$4734d250$0301a8c0@HAL9005> :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 23, 2008 3:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Note is a reserved word Rocky, Did he say a bill?...I'll take the martini, or whiskey, or beer...which one comes with airfare? Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Wed, 23 Jan 2008 13:53:56 -0800 > Subject: [AccessD] FW: Note is a reserved word > > Dr. Matte gets the martini! > > Note is reserved and bracketing it, apparently, takes it out of the > reserved word category. > > Thank you one and all. > > Rocky > > > > _____ > > From: James > Sent: Wednesday, January 23, 2008 1:43 PM > To: Rocky Smolin at Beach Access Software > Subject: RE: Note is a reserved word > > > I put Note in brackets "[Note]" and it worked perfectly. Thanks. Send > us the bill. I so appreciate you. > > _____ > > From: Rocky Smolin at Beach Access Software > [mailto:rockysmolin at bchacc.com] > Sent: Wednesday, January 23, 2008 1:15 PM > To: James > Subject: Note is a reserved word > > > James: > > It would appear that Note is a reserved word and so should not be used > is a field name. > > http://support.microsoft.com/kb/286335 > > Rocky > > > > > > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: > 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From adtp at airtelbroadband.in Wed Jan 23 23:48:04 2008 From: adtp at airtelbroadband.in (A.D.Tejpal) Date: Thu, 24 Jan 2008 11:18:04 +0530 Subject: [AccessD] DBA Award Announcement - Jim Lawrence References: <200801232000.m0NK0Oin003206@databaseadvisors.com> Message-ID: <001701c85e4c$cb7cac50$0757a27a@personald6374f> Heartiest congratulations to Jim and Bryan for this richly deserved recognition. Your invaluable efforts deserve our collective thanks. A.D.Tejpal ------------ ----- Original Message ----- From: John Bartow To: dba-sqlserver at databaseadvisors.com ; _DBA-Access ; dba-ot at databaseadvisors.com ; _DBA-Owners ; _DBA-Tech ; dba-vb at databaseadvisors.com Sent: Thursday, January 24, 2008 01:30 Subject: [AccessD] DBA Award Announcement - Jim Lawrence It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Jim Lawrence with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. http://www.winhaven.net/misc/JimLawrence.htm John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com ========================================== ----- Original Message ----- From: John Bartow To: dba-sqlserver at databaseadvisors.com ; _DBA-Access ; dba-ot at databaseadvisors.com ; _DBA-Owners ; _DBA-Tech ; dba-vb at databaseadvisors.com Sent: Thursday, January 24, 2008 01:28 Subject: [AccessD] DBA Award Announcement - Bryan Carbonnell It is with great pleasure that the Board of Directors for Database Advisors, Inc. presents Bryan Carbonell with a Special Service Award in deep appreciation for all that he has done for Database Advisors as List Master. We value his dedication, professionalism and the sharing of his talents and we look forward to continuing our work together. Award link: http://www.winhaven.net/misc/BryanCarbonnell.htm John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Jan 24 01:28:31 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 08:28:31 +0100 Subject: [AccessD] OT: Copenhagen Message-ID: Hi Anita Yes. I work in Copenhagen where you probably will arrive. So drop me a note when your schedule is ready! /gustav >>> anitatiedemann at gmail.com 23-01-2008 23:59:08 >>> Gustav, I'm heading to DK in August/September - perhaps we can finally meet? Anita On Jan 23, 2008 2:55 AM, Gustav Brock wrote: From Gustav at cactus.dk Thu Jan 24 01:35:31 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 08:35:31 +0100 Subject: [AccessD] DBA Award Announcements Message-ID: Hi John And good timing too. You tend to forget those who work behind the scene when the performance is perfect. >>> miscellany at mvps.org 24-01-2008 01:20:31 >>> My congratulations to both Bryan and Jim, for this obviously well-deserved recognition. Regards Steve John Bartow wrote: > It is with great pleasure that the Board of Directors for Database Advisors, > Inc. presents Jim Lawrence with a Special Service Award in deep appreciation > for all that he has done for Database Advisors as List Master. We value his > dedication, professionalism and the sharing of his talents and we look > forward to continuing our work together. From andy at minstersystems.co.uk Thu Jan 24 02:08:59 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 24 Jan 2008 08:08:59 -0000 Subject: [AccessD] DBA Award Announcement - Jim Lawrence In-Reply-To: <006e01c85dfd$76757f60$657aa8c0@M90> Message-ID: <000001c85e60$5fb11010$518ed355@minster33c3r25> I echo JC's comments. Thanks so much to you both. -- Andy Lacey http://www.minstersystems.co.uk >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >Sent: 23 January 2008 20:21 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] DBA Award Announcement - Jim Lawrence > > >Congrats Jim and Bryan, there are few people who have done >more for DBA than the two of you! > >My deepest appreciation for all your hard 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 John Bartow >Sent: Wednesday, January 23, 2008 3:00 PM >To: dba-sqlserver at databaseadvisors.com; _DBA-Access; >dba-ot at databaseadvisors.com; _DBA-Owners; _DBA-Tech; >dba-vb at databaseadvisors.com >Subject: [AccessD] DBA Award Announcement - Jim Lawrence > >It is with great pleasure that the Board of Directors for >Database Advisors, Inc. presents Jim Lawrence with a Special >Service Award in deep appreciation for all that he has done >for Database Advisors as List Master. We value his dedication, >professionalism and the sharing of his talents and we look >forward to continuing our work together. > >http://www.winhaven.net/misc/JimLawrence.htm > >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 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Thu Jan 24 03:21:57 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 10:21:57 +0100 Subject: [AccessD] Multiplying query (was: SQL INSERT Question) Message-ID: Hi Susan It even has a name: Cartesian join. It can be quite useful for some special cases. Create a table, tbzMultiply, with one Integer field, Factor, with 100 records - from 1 to 100. For example,to create a query that will return one record for every minute of the year - 527040 records for 2008! - do like this: PARAMETERS Year Integer; SELECT DISTINCT DateSerial([Year], [M]![Factor], [D]![Factor]) + TimeSerial([H]![Factor] - 1, [N]![Factor] - 1, 0) AS MinutesOfYear FROM tbzMultiply AS M, tbzMultiply AS D, tbzMultiply AS H, tbzMultiply AS N WHERE M.Factor Between 1 And 12 AND D.Factor Between 1 And 31 AND H.Factor Between 1 And 24 AND N.Factor Between 1 And 60 ORDER BY DateSerial([Year], [M]![Factor], [D]![Factor]) + TimeSerial([H]![Factor] - 1, [N]![Factor] - 1, 0); Now, this can easily be expanded to return the 31622400 records for every second of this year or for 10 years but I haven't tried that. Perhaps someone with a fast machine will do a test run? /gustav >>> ssharkins at gmail.com 24-01-2008 02:56:13 >>> Really! Now that's interesting. Susan H. >A join without values is equivalent to relational multiplication: the >result set has the number of rows in T1 * the number of rows in T2. From lembit.dbamail at t-online.de Thu Jan 24 05:40:36 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Thu, 24 Jan 2008 12:40:36 +0100 Subject: [AccessD] [dba-OT] DBA Award Announcement References: <200801231958.m0NJwkZF002102@databaseadvisors.com> Message-ID: <005001c85e7d$efec68b0$1800a8c0@s1800> Thank you, Jim and Bryan, for all this work done consistently and reliably over many years. and thank you, John for the idea and execution. Lembit From ewaldt at gdls.com Thu Jan 24 05:58:01 2008 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Thu, 24 Jan 2008 06:58:01 -0500 Subject: [AccessD] Array Education In-Reply-To: Message-ID: What is the best source for complete information about arrays in VB/VBA? A book, a chapter in a book, video, something on-line, whatever. If someone really wanted to become knowledgeable, what's the best source you know of? Obviously practice is important, but so is a knowledge source.. TIA, Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems 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 paul.hartland at fsmail.net Thu Jan 24 07:20:09 2008 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 24 Jan 2008 14:20:09 +0100 (CET) Subject: [AccessD] OT: SQL Server 2005 & Pictures Message-ID: <5014875.38601201180809534.JavaMail.www@wwinf3203> To all, We have an adminstration database, and a couple of months ago built a utility to scan employee's photo's. Currently we store the photo's under an employee folder, then have sub-folders with their payroll number. This seems to work ok, but what is the preferred way, is this method correct, or should I be storing the photo in the actual table on 2005 against their record, or would this cause too much bloat to the database ? Thanks in advance for any help on this. Paul Hartland From JHewson at karta.com Thu Jan 24 07:50:08 2008 From: JHewson at karta.com (Jim Hewson) Date: Thu, 24 Jan 2008 07:50:08 -0600 Subject: [AccessD] DBA Award Announcement - Jim Lawrence References: <200801232000.m0NK0Oin003206@databaseadvisors.com> <001701c85e4c$cb7cac50$0757a27a@personald6374f> Message-ID: <1C877227AE9F2A4BB20BABE94325D15B0B37B9@exchange.Karta.com> Well said, my sentiments exactly. Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Wednesday, January 23, 2008 11:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DBA Award Announcement - Jim Lawrence Heartiest congratulations to Jim and Bryan for this richly deserved recognition. Your invaluable efforts deserve our collective thanks. A.D.Tejpal ------------ From Gustav at cactus.dk Thu Jan 24 08:07:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 15:07:43 +0100 Subject: [AccessD] OT: SQL Server 2005 & Pictures Message-ID: Hi Paul If it works well, I would leave it as is - there is no "correct" method for storing pictures. That said, I guess the picture files are small. For that scenario we once used two backend files, one for the "real" data, and one for the pictures. The picture database file contained one table only with an ID field and a picture field. The ID field was referenced in the main database file as the key to look up a picture. This worked very well; no pictures to bloat the main database file, and no thousands of small picture files floating around in hundreds of subfolders. /gustav >>> paul.hartland at fsmail.net 24-01-2008 14:20:09 >>> To all, We have an adminstration database, and a couple of months ago built a utility to scan employee's photo's. Currently we store the photo's under an employee folder, then have sub-folders with their payroll number. This seems to work ok, but what is the preferred way, is this method correct, or should I be storing the photo in the actual table on 2005 against their record, or would this cause too much bloat to the database ? Thanks in advance for any help on this. Paul Hartland From fuller.artful at gmail.com Thu Jan 24 08:08:46 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 24 Jan 2008 09:08:46 -0500 Subject: [AccessD] OT: SQL Server 2005 & Pictures In-Reply-To: <5014875.38601201180809534.JavaMail.www@wwinf3203> References: <5014875.38601201180809534.JavaMail.www@wwinf3203> Message-ID: <29f585dd0801240608j587c6862u933fa9e73534ab08@mail.gmail.com> You can nothing and lose plenty by embedding the photos in the DB. Bloat is obviously a consideration, but there are others, too. Consider DB backups: How many redundant copies of the photos do you want? Consider updating the photos. Then you have to obtain the new photo, store it somewhere, and write a stored procedure to update the row. If instead you put all the photos in a directory, and store only a filepath to the particular photo in the DB, then you can update the photos simply by copying the new one(s) to that directory, and change nothing else. Your DB backups will be much quicker and less redundant in content. You can make a backup of the photos directory separately, whenever you wish. A. On 1/24/08, paul.hartland at fsmail.net wrote: > > To all, > > We have an adminstration database, and a couple of months ago built a > utility to scan employee's photo's. Currently we store the photo's under an > employee folder, then have sub-folders with their payroll number. This > seems to work ok, but what is the preferred way, is this method correct, or > should I be storing the photo in the actual table on 2005 against their > record, or would this cause too much bloat to the database ? > > Thanks in advance for any help on this. > From ssharkins at gmail.com Thu Jan 24 08:10:22 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 24 Jan 2008 09:10:22 -0500 Subject: [AccessD] Array Education References: Message-ID: <004e01c85e92$f52b7040$4b3a8343@SusanOne> Unless you have a specific reason to use arrays, you might consider a custom collection instead -- I find them much easier to work with than arrays. Susan H. > What is the best source for complete information about arrays in VB/VBA? A > book, a chapter in a book, video, something on-line, whatever. If someone > really wanted to become knowledgeable, what's the best source you know of? > Obviously practice is important, but so is a knowledge source.. From ssharkins at gmail.com Thu Jan 24 08:09:40 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 24 Jan 2008 09:09:40 -0500 Subject: [AccessD] Multiplying query (was: SQL INSERT Question) References: Message-ID: <004b01c85e92$f40d5610$4b3a8343@SusanOne> :) I know about the Cartesian join, I am just surprised to see it show up in a multi-table INSERT INTO -- interesting. If I weren't so old and feeble, I could probably figure it out. :) Susan H. > Hi Susan > > It even has a name: Cartesian join. > > It can be quite useful for some special cases. > Create a table, tbzMultiply, with one Integer field, Factor, with 100 > records - from 1 to 100. > > For example,to create a query that will return one record for every minute > of the year - 527040 records for 2008! - do like this: > > PARAMETERS > Year Integer; > SELECT DISTINCT > DateSerial([Year], [M]![Factor], [D]![Factor]) + > TimeSerial([H]![Factor] - 1, [N]![Factor] - 1, 0) AS MinutesOfYear > FROM > tbzMultiply AS M, > tbzMultiply AS D, > tbzMultiply AS H, > tbzMultiply AS N > WHERE > M.Factor Between 1 And 12 > AND > D.Factor Between 1 And 31 > AND > H.Factor Between 1 And 24 > AND > N.Factor Between 1 And 60 > ORDER BY > DateSerial([Year], [M]![Factor], [D]![Factor]) + > TimeSerial([H]![Factor] - 1, [N]![Factor] - 1, 0); > > Now, this can easily be expanded to return the 31622400 records for every > second of this year or for 10 years but I haven't tried that. > Perhaps someone with a fast machine will do a test run? From Gustav at cactus.dk Thu Jan 24 08:10:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 15:10:49 +0100 Subject: [AccessD] OT: SQL Server 2005 & Pictures Message-ID: Hi Paul Just noticed your OT(why?) and SQL Server 2005. Thus - in my previous post - database file could be replaced with just database. Note too, that we do have a list for SQL Server: http://databaseadvisors.com/mailman/listinfo/dba-sqlserver /gustav >>> paul.hartland at fsmail.net 24-01-2008 14:20:09 >>> To all, We have an adminstration database, and a couple of months ago built a utility to scan employee's photo's. Currently we store the photo's under an employee folder, then have sub-folders with their payroll number. This seems to work ok, but what is the preferred way, is this method correct, or should I be storing the photo in the actual table on 2005 against their record, or would this cause too much bloat to the database ? Thanks in advance for any help on this. Paul Hartland From Gustav at cactus.dk Thu Jan 24 08:34:27 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 15:34:27 +0100 Subject: [AccessD] OT: SQL Server 2005 & Pictures Message-ID: Hi Arthur and Paul Microsoft seems to address this with the options in 2008 for: Managing Unstructured Data with SQL Server 2008 http://www.microsoft.com/sql/techinfo/whitepapers/sql_2008_unstructured.mspx /gustav >>> fuller.artful at gmail.com 24-01-2008 15:08:46 >>> You can nothing and lose plenty by embedding the photos in the DB. Bloat is obviously a consideration, but there are others, too. Consider DB backups: How many redundant copies of the photos do you want? Consider updating the photos. Then you have to obtain the new photo, store it somewhere, and write a stored procedure to update the row. If instead you put all the photos in a directory, and store only a filepath to the particular photo in the DB, then you can update the photos simply by copying the new one(s) to that directory, and change nothing else. Your DB backups will be much quicker and less redundant in content. You can make a backup of the photos directory separately, whenever you wish. A. On 1/24/08, paul.hartland at fsmail.net wrote: > > To all, > > We have an adminstration database, and a couple of months ago built a > utility to scan employee's photo's. Currently we store the photo's under an > employee folder, then have sub-folders with their payroll number. This > seems to work ok, but what is the preferred way, is this method correct, or > should I be storing the photo in the actual table on 2005 against their > record, or would this cause too much bloat to the database ? > > Thanks in advance for any help on this. From Gustav at cactus.dk Thu Jan 24 08:46:50 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Jan 2008 15:46:50 +0100 Subject: [AccessD] Array Education Message-ID: Hi Tom Here is one article which moves beyond the basic stuff you probably are familiar with: http://www.developerfusion.co.uk/vb/35/ I don't know your need, but don't forget that Collections are often much easier to deal with for simple tasks. /gustav >>> ewaldt at gdls.com 24-01-2008 12:58:01 >>> What is the best source for complete information about arrays in VB/VBA? A book, a chapter in a book, video, something on-line, whatever. If someone really wanted to become knowledgeable, what's the best source you know of? Obviously practice is important, but so is a knowledge source.. TIA, Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems From rockysmolin at bchacc.com Thu Jan 24 08:56:42 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 06:56:42 -0800 Subject: [AccessD] Mail Merge Message-ID: <000d01c85e99$555992c0$0301a8c0@HAL9005> Dear List: I'm still struggling with this word merge thing. The code I'm looking at I thought was working previously. I cribbed it right out of Balter's Mastering Access 97 Development. I'm using A2K3. No references missing. It's not very much code. strDocName contains a valid document and it actually opens: Dim objWord As Object Set objWord = CreateObject("Word.Application") With objWord 'Visible is set True in order to view the operation. .Visible = True .Documents.Open (strDocName) .ActiveDocument.MailMerge.Destination = wdSendToNewDocument .ActiveDocument.MailMerge.SuppressBlankLines = True .ActiveDocument.MailMerge.Execute End With It blows up on " .ActiveDocument.MailMerge.Destination = wdSendToNewDocument" with an error "Requested Object is not Available". I've had this 'Object Not Available' problem before but due to my advanced age cannot remember what the fix is. Does anyone have a hint why this is failing at that point? MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, January 23, 2008 8:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Helen Feddema's site has lots such things. Her specialty is Office integration. Google will take you there quickly. A. On 1/23/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I need to do a simple Mail Merge Access-->Word and don't want to > reinvent the wheel. Is there a canned routine on line that I could > crib? I checked Lebans but didn't see anything. > > 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM From ssharkins at gmail.com Thu Jan 24 09:07:10 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 24 Jan 2008 10:07:10 -0500 Subject: [AccessD] Mail Merge References: <000d01c85e99$555992c0$0301a8c0@HAL9005> Message-ID: <00ea01c85e9a$cdc7d860$4b3a8343@SusanOne> Rocky, Help says the Destination property (wdSendToNewDocument) applies to a Mail Merge object and objWord is a Word object -- not sure that's your problem. From HELP Example This example sends the results of a mail merge operation to a new document. Dim mmTemp As MailMerge Set mmTemp = ActiveDocument.MailMerge If mmTemp.State = wdMainAndDataSource Then mmTemp.Destination = wdSendToNewDocument mmTemp.Execute End If Susan H. > Dear List: > > I'm still struggling with this word merge thing. The code I'm looking at > I > thought was working previously. I cribbed it right out of Balter's > Mastering Access 97 Development. I'm using A2K3. No references missing. > > It's not very much code. strDocName contains a valid document and it > actually opens: > > > Dim objWord As Object > > Set objWord = CreateObject("Word.Application") > > With objWord > 'Visible is set True in order to view the operation. > .Visible = True > .Documents.Open (strDocName) > .ActiveDocument.MailMerge.Destination = wdSendToNewDocument > .ActiveDocument.MailMerge.SuppressBlankLines = True > .ActiveDocument.MailMerge.Execute > End With > > It blows up on " .ActiveDocument.MailMerge.Destination = > wdSendToNewDocument" with an error "Requested Object is not Available". > > I've had this 'Object Not Available' problem before but due to my advanced > age cannot remember what the fix is. > > Does anyone have a hint why this is failing at that point? > > MTIA, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Wednesday, January 23, 2008 8:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > Helen Feddema's site has lots such things. Her specialty is Office > integration. Google will take you there quickly. > > A. > > On 1/23/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I need to do a simple Mail Merge Access-->Word and don't want to >> reinvent the wheel. Is there a canned routine on line that I could >> crib? I checked Lebans but didn't see anything. >> >> 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jan 24 09:40:00 2008 From: john at winhaven.net (John Bartow) Date: Thu, 24 Jan 2008 09:40:00 -0600 Subject: [AccessD] Mail Merge In-Reply-To: <000d01c85e99$555992c0$0301a8c0@HAL9005> Message-ID: <200801241540.m0OFdvtY013608@databaseadvisors.com> Rocky, Here is code I use use for mail merging: 'Form code: '---------- Private Sub cmdWordPersonLetter_Click() ' Comments : Opens PersonLetterMerge.dot Word document for doing a envelope merge with individuals (not companies) ' Source : WinHaven revised: 10/24/2003 ' Parameters : none ' Returns : none On Error GoTo cmdWordPersonLetter_Click_ERR Dim fOk As Boolean DoCmd.Hourglass True DoCmd.Echo False, "Performing Mail Merge with Word Letter Document..." fOk = OpenWordDocument("qryPeopleForMerging", False, "PersonLetterMerge.dot") DoCmd.Echo True, "Word Merge process complete." DoCmd.Hourglass False cmdWordPersonLetter_Click_EXIT: Exit Sub cmdWordPersonLetter_Click_ERR: Exit Sub End Sub 'Module code: '------------ Function OpenWordDocument(strQuery As String, fChoose As Boolean, Optional strWordFile As String) As Boolean ' Comments : Opens specific Word document for mail merging ' Source : WinHaven revised: 10/24/2003 ' Parameters : strQuery - indicates the query to be used for the merge ' fChoose - indicates if user will browse for word file or if one has been specified ' strWordFile - name of the file to open ' Returns : Boolean (to indicate results) On Error GoTo OpenWordDocument_ERR Dim objWord As Object Dim strDialogTitle As String Dim strPath As String Dim strFileFilter As String Dim strMergeFilePath As String Dim strDocFile As String strPath = GetCurrentPath_TSB() strMergeFilePath = strPath & "MergeData.txt" Call CreateMergeDataSource(strQuery, strMergeFilePath) 'let user pick merge file If fChoose = True Then strDialogTitle = "Find the MS Word Merge Document" strFileFilter = "Word Documents or Templates (*.doc;*.dot)|*.doc;*.dot" DoCmd.Echo False, "Retrieving Word Document..." DoCmd.Hourglass False strDocFile = OpenFiles(strDialogTitle, strPath, strFileFilter) DoCmd.Hourglass True Else strDocFile = strPath & strWordFile End If If strDocFile = "" Then 'User pressed Cancel OpenWordDocument = False GoTo OpenWordDocument_EXIT End If Set objWord = GetObject(strDocFile, "Word.Document") ' Make Word visible With objWord .Application.Visible = True 'Execute the mail merge .MailMerge.ViewMailMergeFieldCodes = True .MailMerge.Execute End With OpenWordDocument = True Set objWord = Nothing OpenWordDocument_EXIT: Exit Function OpenWordDocument_ERR: Exit Function End Function Private Sub CreateMergeDataSource(ByVal strTblQry As String, ByVal strFilePath As String) ' Comments : Creates a text file for merge purposes ' Source : Bret Barabash - from AccessD ' Parameters : strTblQry - Query or Table to use for producing mail merge file ' strFilePath - path and filename of the file to be created ' Returns : Boolean (to indicate results) On Error GoTo CreateMergeDataSource_ERR 'use delimiters that won't be used in a normal Word document Const cstrFieldDelim As String = "~" Const cstrRecordDelim As String = "^" Dim db As DAO.Database Dim rs As DAO.Recordset Dim fld As DAO.Field Dim lngFileNo As Long Dim strBuffer As String Set db = CurrentDb() Set rs = db.OpenRecordset(strTblQry, dbOpenSnapshot) 'Initialize field name list (first line of data source) For Each fld In rs.Fields Select Case fld.Type Case dbGUID, dbLongBinary, dbMemo 'Do not include these types of fields Case Else strBuffer = strBuffer & Chr$(34) & fld.Name & Chr$(34) & cstrFieldDelim End Select Next fld strBuffer = strBuffer & cstrRecordDelim 'Loop through all records in source table/query Do Until rs.EOF For Each fld In rs.Fields DoCmd.Hourglass True Select Case fld.Type Case dbGUID, dbLongBinary, dbMemo 'Do not include these types of fields Case Else strBuffer = strBuffer & Chr$(34) & fld.Value & Chr$(34) & cstrFieldDelim End Select DoCmd.Hourglass False Next fld strBuffer = strBuffer & cstrRecordDelim rs.MoveNext Loop rs.Close 'Make sure there isn't already a file with the name of the merge file. If Dir(strFilePath) <> "" Then Kill strFilePath End If 'Generate data source text file lngFileNo = FreeFile Open strFilePath For Output As #lngFileNo Print #lngFileNo, strBuffer Close #lngFileNo Set rs = Nothing Set db = Nothing CreateMergeDataSource_EXIT: Exit Sub CreateMergeDataSource_ERR: Exit Sub End Sub Function GetCurrentPath_TSB() As String ' Comments : returns that path that the currently database is located in ' Source : FMS Access Source Book '97 ' Parameters: none ' Returns : path of current database ' Dim dbsCurrent As Database Dim strTmp As String Dim strNew As String Dim intCounter As Integer Dim chrTmp As String * 1 Dim fAdd As Boolean Set dbsCurrent = CurrentDb() strTmp = dbsCurrent.Name For intCounter = Len(strTmp) To 1 Step -1 chrTmp = Mid$(strTmp, intCounter, 1) If chrTmp = "\" Then fAdd = True End If If fAdd Then strNew = chrTmp & strNew End If Next intCounter GetCurrentPath_TSB = strNew End Function Public Function OpenFiles(strTitle As String, strInitDir As String, strFileType As String, Optional strDefaultExt As String, Optional strDefaultFileName As String) As String ' Comments : Opens the common dialog for finding a file ' Source : WinHaven revised: 10/24/2003 ' Parameters : strTitle=Title of Dialog Box ' strInitDir=Initial Directory to Open ' strFileType=Default File Type to Filter for ' strDefaultExt=default file extension to filter for ' strDefaultFileName=Default File Name to use ' Returns : full path of file selected On Error GoTo OpenFiles_ERR 'Open up a hidden form containing a common dialog control DoCmd.OpenForm "frmUtilityCommonDialog", WindowMode:=acHidden 'Give the form time to load DoEvents 'Set the properties of the Common dialog control If IsEmpty(strDefaultExt) Then strDefaultExt = "" End If If IsEmpty(strDefaultFileName) Then strDefaultFileName = "" End If With Forms!frmUtilityCommonDialog!ctlComDialog .DialogTitle = strTitle .InitDir = strInitDir .Filter = strFileType .DefaultExt = strDefaultExt .CancelError = False .FileName = strDefaultFileName .Flags = OFN_LONGNAMES + OFN_HIDEREADONLY + OFN_FILEMUSTEXIST End With 'Invoke the File Open common dialog Forms!frmUtilityCommonDialog!ctlComDialog.ShowOpen 'Store the name and location the user selected OpenFiles = Forms!frmUtilityCommonDialog!ctlComDialog.FileName OpenFiles_Exit: Exit Function OpenFiles_ERR: MsgBox "MsgBox 'Error in basWindowsCommonDialogs_WH - OpenFiles: ' & Error$", vbOKOnly + vbExclamation, "System Information" Resume OpenFiles_Exit End Function From DWUTKA at Marlow.com Thu Jan 24 09:36:59 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 24 Jan 2008 09:36:59 -0600 Subject: [AccessD] SQL INSERT Question In-Reply-To: <012b01c85e28$006486b0$0301a8c0@HAL9005> Message-ID: LOL, I just thought it was funny. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 7:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL INSERT Question Don't get cheeky. I have god data. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, January 23, 2008 1:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL INSERT Question Isn't it VALUES? And just curious, what is god data? Shouldn't this post be on OT? ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, January 23, 2008 1:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SQL INSERT Question I have a client who write a lot of his own stuff. Right now he's trying to insert into an Access table memo field using the following: DoCmd.RunSQL "INSERT INTO tEvictionCasesTemp1 ( UDCaseID, Note ) " & _ "SELECT " & RS(0) & ", '" & RS(10) & "'" which generates the error: "Syntax error in INSERT INTO statement" RA(n) are the fields in a recordset hooked to SQL database. The fields RS(0) and RS(10) contain god data (he checked) with no embedded quotes or apostrophes. Although he says that he needs to be able to The target field Note is a memo field in the Access table. RS(0) has already been successfully inserted into tEvictionCasesTemp1. What might be causing the syntax error? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 8:23 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From john at winhaven.net Thu Jan 24 10:01:35 2008 From: john at winhaven.net (John Bartow) Date: Thu, 24 Jan 2008 10:01:35 -0600 Subject: [AccessD] Mail Merge In-Reply-To: <200801241540.m0OFdvtY013608@databaseadvisors.com> Message-ID: <200801241601.m0OG1UK4022846@databaseadvisors.com> BTW in the comments where it says "revised" - that actually only means it compiled successfully. I'm guessing most of this code is ported up from A97 and has never been changed one bit since the original. From markamatte at hotmail.com Thu Jan 24 10:18:10 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 24 Jan 2008 16:18:10 +0000 Subject: [AccessD] Mail Merge In-Reply-To: <200801241601.m0OG1UK4022846@databaseadvisors.com> References: <200801241540.m0OFdvtY013608@databaseadvisors.com> <200801241601.m0OG1UK4022846@databaseadvisors.com> Message-ID: Rocky, Not saying this is the answer...but I was having some problems with an app that went from 97 to xp...out of 30 machines only about 8 had the issue. There were no missing references...just the code failed in an illogical place. It turned out to be a DLL issue...not one that was missing in references...but actually not in the list at all. Apparently, if you have DAO 3.6 referenced and 3.51 is not on the computer...you 'might' have strange issues. There was a MS article about it, but I can't find it now. Again, not saying its the issue...just some thoughts. Thanks, Mark A. Matte > From: john at winhaven.net > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 10:01:35 -0600 > Subject: Re: [AccessD] Mail Merge > > BTW in the comments where it says "revised" - that actually only means it > compiled successfully. I'm guessing most of this code is ported up from A97 > and has never been changed one bit since the original. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From markamatte at hotmail.com Thu Jan 24 10:27:38 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 24 Jan 2008 16:27:38 +0000 Subject: [AccessD] Mail Merge In-Reply-To: <000d01c85e99$555992c0$0301a8c0@HAL9005> References: <000d01c85e99$555992c0$0301a8c0@HAL9005> Message-ID: Found the article...don't think its related...but it just shows that just because a DLL is not checked in references...does not mean it is not used, and not missing. http://support.microsoft.com/kb/303829 Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 06:56:42 -0800 > Subject: [AccessD] Mail Merge > > Dear List: > > I'm still struggling with this word merge thing. The code I'm looking at I > thought was working previously. I cribbed it right out of Balter's > Mastering Access 97 Development. I'm using A2K3. No references missing. > > It's not very much code. strDocName contains a valid document and it > actually opens: > > > Dim objWord As Object > > Set objWord = CreateObject("Word.Application") > > With objWord > 'Visible is set True in order to view the operation. > .Visible = True > .Documents.Open (strDocName) > .ActiveDocument.MailMerge.Destination = wdSendToNewDocument > .ActiveDocument.MailMerge.SuppressBlankLines = True > .ActiveDocument.MailMerge.Execute > End With > > It blows up on " .ActiveDocument.MailMerge.Destination = > wdSendToNewDocument" with an error "Requested Object is not Available". > > I've had this 'Object Not Available' problem before but due to my advanced > age cannot remember what the fix is. > > Does anyone have a hint why this is failing at that point? > > MTIA, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Wednesday, January 23, 2008 8:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > Helen Feddema's site has lots such things. Her specialty is Office > integration. Google will take you there quickly. > > A. > > On 1/23/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I need to do a simple Mail Merge Access-->Word and don't want to >> reinvent the wheel. Is there a canned routine on line that I could >> crib? I checked Lebans but didn't see anything. >> >> 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From rockysmolin at bchacc.com Thu Jan 24 11:49:13 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 09:49:13 -0800 Subject: [AccessD] Mail Merge In-Reply-To: References: <200801241540.m0OFdvtY013608@databaseadvisors.com><200801241601.m0OG1UK4022846@databaseadvisors.com> Message-ID: <002401c85eb1$6e7a24a0$0301a8c0@HAL9005> I pushed the app over to my A2000 machine, changed the reference to DAO 3.51 but no luck. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, January 24, 2008 8:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Rocky, Not saying this is the answer...but I was having some problems with an app that went from 97 to xp...out of 30 machines only about 8 had the issue. There were no missing references...just the code failed in an illogical place. It turned out to be a DLL issue...not one that was missing in references...but actually not in the list at all. Apparently, if you have DAO 3.6 referenced and 3.51 is not on the computer...you 'might' have strange issues. There was a MS article about it, but I can't find it now. Again, not saying its the issue...just some thoughts. Thanks, Mark A. Matte > From: john at winhaven.net > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 10:01:35 -0600 > Subject: Re: [AccessD] Mail Merge > > BTW in the comments where it says "revised" - that actually only means > it compiled successfully. I'm guessing most of this code is ported up > from A97 and has never been changed one bit since the original. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- 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.516 / Virus Database: 269.19.10/1240 - Release Date: 1/23/2008 5:47 PM From markamatte at hotmail.com Thu Jan 24 12:52:40 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 24 Jan 2008 18:52:40 +0000 Subject: [AccessD] Mail Merge In-Reply-To: <000d01c85e99$555992c0$0301a8c0@HAL9005> References: <000d01c85e99$555992c0$0301a8c0@HAL9005> Message-ID: Rocky, Below is a link discussing late binding and word automation. It appears to give a workaround for this type of issue about 1/4 down the page: http://www.thescripts.com/forum/thread189594.html ***************SNIP****************** wdSendToNewDocument is a named constant or something like that. What if you cheat and do something like ?wdSendToNewDocument in the immediate window, get the number/value associated with this variable and use that number instead? Does it work?" ***************SNIP****************** Good Luck, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 06:56:42 -0800 > Subject: [AccessD] Mail Merge > > Dear List: > > I'm still struggling with this word merge thing. The code I'm looking at I > thought was working previously. I cribbed it right out of Balter's > Mastering Access 97 Development. I'm using A2K3. No references missing. > > It's not very much code. strDocName contains a valid document and it > actually opens: > > > Dim objWord As Object > > Set objWord = CreateObject("Word.Application") > > With objWord > 'Visible is set True in order to view the operation. > .Visible = True > .Documents.Open (strDocName) > .ActiveDocument.MailMerge.Destination = wdSendToNewDocument > .ActiveDocument.MailMerge.SuppressBlankLines = True > .ActiveDocument.MailMerge.Execute > End With > > It blows up on " .ActiveDocument.MailMerge.Destination = > wdSendToNewDocument" with an error "Requested Object is not Available". > > I've had this 'Object Not Available' problem before but due to my advanced > age cannot remember what the fix is. > > Does anyone have a hint why this is failing at that point? > > MTIA, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Wednesday, January 23, 2008 8:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > Helen Feddema's site has lots such things. Her specialty is Office > integration. Google will take you there quickly. > > A. > > On 1/23/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I need to do a simple Mail Merge Access-->Word and don't want to >> reinvent the wheel. Is there a canned routine on line that I could >> crib? I checked Lebans but didn't see anything. >> >> 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.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From rockysmolin at bchacc.com Thu Jan 24 13:32:33 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 11:32:33 -0800 Subject: [AccessD] Mail Merge In-Reply-To: References: <000d01c85e99$555992c0$0301a8c0@HAL9005> Message-ID: <005301c85ebf$dec8df90$0301a8c0@HAL9005> Mark: I read the post and switched to early binding but it didn't make any difference. Also substituted 0 for wdSendToNewDocument. No soap. Although that seemed to work for the poster. :( Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, January 24, 2008 10:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Rocky, Below is a link discussing late binding and word automation. It appears to give a workaround for this type of issue about 1/4 down the page: http://www.thescripts.com/forum/thread189594.html ***************SNIP****************** wdSendToNewDocument is a named constant or something like that. What if you cheat and do something like ?wdSendToNewDocument in the immediate window, get the number/value associated with this variable and use that number instead? Does it work?" ***************SNIP****************** Good Luck, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 06:56:42 -0800 > Subject: [AccessD] Mail Merge > > Dear List: > > I'm still struggling with this word merge thing. The code I'm looking > at I thought was working previously. I cribbed it right out of > Balter's Mastering Access 97 Development. I'm using A2K3. No references missing. > > It's not very much code. strDocName contains a valid document and it > actually opens: > > > Dim objWord As Object > > Set objWord = CreateObject("Word.Application") > > With objWord > 'Visible is set True in order to view the operation. > .Visible = True > .Documents.Open (strDocName) > .ActiveDocument.MailMerge.Destination = wdSendToNewDocument > .ActiveDocument.MailMerge.SuppressBlankLines = True > .ActiveDocument.MailMerge.Execute End With > > It blows up on " .ActiveDocument.MailMerge.Destination = > wdSendToNewDocument" with an error "Requested Object is not Available". > > I've had this 'Object Not Available' problem before but due to my > advanced age cannot remember what the fix is. > > Does anyone have a hint why this is failing at that point? > > MTIA, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Wednesday, January 23, 2008 8:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > Helen Feddema's site has lots such things. Her specialty is Office > integration. Google will take you there quickly. > > A. > > On 1/23/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I need to do a simple Mail Merge Access-->Word and don't want to >> reinvent the wheel. Is there a canned routine on line that I could >> crib? I checked Lebans but didn't see anything. >> >> 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.516 / Virus Database: 269.19.8/1236 - Release Date: > 1/21/2008 > 8:23 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -- 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.516 / Virus Database: 269.19.10/1240 - Release Date: 1/23/2008 5:47 PM From markamatte at hotmail.com Thu Jan 24 14:32:54 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 24 Jan 2008 20:32:54 +0000 Subject: [AccessD] Mail Merge In-Reply-To: <005301c85ebf$dec8df90$0301a8c0@HAL9005> References: <000d01c85e99$555992c0$0301a8c0@HAL9005> <005301c85ebf$dec8df90$0301a8c0@HAL9005> Message-ID: Ok...Are we up for some Registry Hacking? It is the last post on the page(even though it says members only...just scroll down)...good luck. Mark P.S...NO WARRANTY...I just found it...passed it on...have NOT tried it...just sharing. New link: http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_22901956.html ******************link snip************* DCrats:The problem is resolved... This is what I had to do: The document is linked to a data source....and I got this message when I open the document in word. You receive the "Opening this will run the following SQL command" message when you open a Word mail merge main document that is linked to a data source Word 2007 HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options "SQLSecurityCheck"=dword:00000000 1. Start Registry Editor. 2. Locate and then click the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options 3. On the Edit menu, point to New, and then click DWORD Value. 4. Under Name, type: SQLSecurityCheck 5. Double-click SQLSecurityCheck. 6. In the Value data box, type: 00000000 7. Click OK. ******************link snip************* > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 11:32:33 -0800 > Subject: Re: [AccessD] Mail Merge > > Mark: > > I read the post and switched to early binding but it didn't make any > difference. Also substituted 0 for wdSendToNewDocument. No soap. Although > that seemed to work for the poster. :( > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Thursday, January 24, 2008 10:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > > Rocky, > > Below is a link discussing late binding and word automation. It appears to > give a workaround for this type of issue about 1/4 down the page: > http://www.thescripts.com/forum/thread189594.html > > ***************SNIP****************** > wdSendToNewDocument is a named constant or something like that. What if you > cheat and do something like > > ?wdSendToNewDocument > > in the immediate window, get the number/value associated with this variable > and use that number instead? Does it work?" > ***************SNIP****************** > > Good Luck, > > Mark A. Matte > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Thu, 24 Jan 2008 06:56:42 -0800 >> Subject: [AccessD] Mail Merge >> >> Dear List: >> >> I'm still struggling with this word merge thing. The code I'm looking >> at I thought was working previously. I cribbed it right out of >> Balter's Mastering Access 97 Development. I'm using A2K3. No references > missing. >> >> It's not very much code. strDocName contains a valid document and it >> actually opens: >> >> >> Dim objWord As Object >> >> Set objWord = CreateObject("Word.Application") >> >> With objWord >> 'Visible is set True in order to view the operation. >> .Visible = True >> .Documents.Open (strDocName) >> .ActiveDocument.MailMerge.Destination = wdSendToNewDocument >> .ActiveDocument.MailMerge.SuppressBlankLines = True >> .ActiveDocument.MailMerge.Execute End With >> >> It blows up on " .ActiveDocument.MailMerge.Destination = >> wdSendToNewDocument" with an error "Requested Object is not Available". >> >> I've had this 'Object Not Available' problem before but due to my >> advanced age cannot remember what the fix is. >> >> Does anyone have a hint why this is failing at that point? >> >> MTIA, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur >> Fuller >> Sent: Wednesday, January 23, 2008 8:15 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Mail Merge >> >> Helen Feddema's site has lots such things. Her specialty is Office >> integration. Google will take you there quickly. >> >> A. >> >> On 1/23/08, Rocky Smolin at Beach Access Software >> wrote: >>> >>> Dear List: >>> >>> I need to do a simple Mail Merge Access-->Word and don't want to >>> reinvent the wheel. Is there a canned routine on line that I could >>> crib? I checked Lebans but didn't see anything. >>> >>> 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.516 / Virus Database: 269.19.8/1236 - Release Date: >> 1/21/2008 >> 8:23 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Helping your favorite cause is as easy as instant messaging. You IM, we > give. > http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join > -- > 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.516 / Virus Database: 269.19.10/1240 - Release Date: 1/23/2008 > 5:47 PM > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx From rockysmolin at bchacc.com Thu Jan 24 15:22:28 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 13:22:28 -0800 Subject: [AccessD] Mail Merge In-Reply-To: References: <000d01c85e99$555992c0$0301a8c0@HAL9005> <005301c85ebf$dec8df90$0301a8c0@HAL9005> Message-ID: <00a501c85ecf$3926e270$0301a8c0@HAL9005> I ain't afraid o' no registry. But I tried that one too with no luck. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, January 24, 2008 12:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge Ok...Are we up for some Registry Hacking? It is the last post on the page(even though it says members only...just scroll down)...good luck. Mark P.S...NO WARRANTY...I just found it...passed it on...have NOT tried it...just sharing. New link: http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_2290195 6.html ******************link snip************* DCrats:The problem is resolved... This is what I had to do: The document is linked to a data source....and I got this message when I open the document in word. You receive the "Opening this will run the following SQL command" message when you open a Word mail merge main document that is linked to a data source Word 2007 HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options "SQLSecurityCheck"=dword:00000000 1. Start Registry Editor. 2. Locate and then click the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options 3. On the Edit menu, point to New, and then click DWORD Value. 4. Under Name, type: SQLSecurityCheck 5. Double-click SQLSecurityCheck. 6. In the Value data box, type: 00000000 7. Click OK. ******************link snip************* > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Thu, 24 Jan 2008 11:32:33 -0800 > Subject: Re: [AccessD] Mail Merge > > Mark: > > I read the post and switched to early binding but it didn't make any > difference. Also substituted 0 for wdSendToNewDocument. No soap. > Although that seemed to work for the poster. :( > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > Matte > Sent: Thursday, January 24, 2008 10:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Mail Merge > > > Rocky, > > Below is a link discussing late binding and word automation. It > appears to give a workaround for this type of issue about 1/4 down the page: > http://www.thescripts.com/forum/thread189594.html > > ***************SNIP****************** > wdSendToNewDocument is a named constant or something like that. What > if you cheat and do something like > > ?wdSendToNewDocument > > in the immediate window, get the number/value associated with this > variable and use that number instead? Does it work?" > ***************SNIP****************** > > Good Luck, > > Mark A. Matte > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Thu, 24 Jan 2008 06:56:42 -0800 >> Subject: [AccessD] Mail Merge >> >> Dear List: >> >> I'm still struggling with this word merge thing. The code I'm looking >> at I thought was working previously. I cribbed it right out of >> Balter's Mastering Access 97 Development. I'm using A2K3. No >> references > missing. >> >> It's not very much code. strDocName contains a valid document and it >> actually opens: >> >> >> Dim objWord As Object >> >> Set objWord = CreateObject("Word.Application") >> >> With objWord >> 'Visible is set True in order to view the operation. >> .Visible = True >> .Documents.Open (strDocName) >> .ActiveDocument.MailMerge.Destination = wdSendToNewDocument >> .ActiveDocument.MailMerge.SuppressBlankLines = True >> .ActiveDocument.MailMerge.Execute End With >> >> It blows up on " .ActiveDocument.MailMerge.Destination = >> wdSendToNewDocument" with an error "Requested Object is not Available". >> >> I've had this 'Object Not Available' problem before but due to my >> advanced age cannot remember what the fix is. >> >> Does anyone have a hint why this is failing at that point? >> >> MTIA, >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur >> Fuller >> Sent: Wednesday, January 23, 2008 8:15 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Mail Merge >> >> Helen Feddema's site has lots such things. Her specialty is Office >> integration. Google will take you there quickly. >> >> A. >> >> On 1/23/08, Rocky Smolin at Beach Access Software >> wrote: >>> >>> Dear List: >>> >>> I need to do a simple Mail Merge Access-->Word and don't want to >>> reinvent the wheel. Is there a canned routine on line that I could >>> crib? I checked Lebans but didn't see anything. >>> >>> 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.516 / Virus Database: 269.19.8/1236 - Release Date: >> 1/21/2008 >> 8:23 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Helping your favorite cause is as easy as instant messaging. You IM, > we give. > http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join > -- > 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.516 / Virus Database: 269.19.10/1240 - Release Date: > 1/23/2008 > 5:47 PM > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Need to know the score, the latest news, or you need your HotmailR-get your "fix". http://www.msnmobilefix.com/Default.aspx -- 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.516 / Virus Database: 269.19.10/1240 - Release Date: 1/23/2008 5:47 PM From rockysmolin at bchacc.com Thu Jan 24 18:47:20 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 16:47:20 -0800 Subject: [AccessD] Today's User Request Message-ID: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> >From a client: "Can you do something with making the font a little bigger without cutting down the amount of information on one page? " Sure. How hard could that be? Rocky From stuart at lexacorp.com.pg Thu Jan 24 19:17:02 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 25 Jan 2008 11:17:02 +1000 Subject: [AccessD] Today's User Request In-Reply-To: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> References: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> Message-ID: <4799C52E.21923.142582A1@stuart.lexacorp.com.pg> Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Jan 24 19:22:28 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 17:22:28 -0800 Subject: [AccessD] Today's User Request In-Reply-To: <4799C52E.21923.142582A1@stuart.lexacorp.com.pg> References: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> <4799C52E.21923.142582A1@stuart.lexacorp.com.pg> Message-ID: <00c201c85ef0$c0c2c110$0301a8c0@HAL9005> They're on 11 x 17 now and were insistent on getting so much stuff on the page that it would be almost impossible to read. I put the text boxes at 7 points and tried to reduce the space between rows as much as possible. Guess they can't read 7 point so I bumped it to 8. They'll like that better but won't be happy about the loss of a couple lines at the bottom of the page. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 5:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without > cutting down the amount of information on one page? " > > Sure. How hard could that be? > > 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.516 / Virus Database: 269.19.10/1240 - Release Date: 1/23/2008 5:47 PM From dw-murphy at cox.net Thu Jan 24 20:46:34 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 24 Jan 2008 18:46:34 -0800 Subject: [AccessD] Today's User Request In-Reply-To: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> Message-ID: <003401c85efc$7fbd96c0$0200a8c0@murphy3234aaf1> TABS? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 24, 2008 4:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Today's User Request >From a client: "Can you do something with making the font a little bigger without cutting down the amount of information on one page? " Sure. How hard could that be? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jan 24 22:22:00 2008 From: john at winhaven.net (John Bartow) Date: Thu, 24 Jan 2008 22:22:00 -0600 Subject: [AccessD] Today's User Request In-Reply-To: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> Message-ID: <200801250421.m0P4LlGx023001@databaseadvisors.com> Change it the report all to font size 14. have them insert the same sheet of paper twice. Twice the font size, same information, all on one page. ;o) From rockysmolin at bchacc.com Thu Jan 24 23:12:50 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 24 Jan 2008 21:12:50 -0800 Subject: [AccessD] Today's User Request In-Reply-To: <003401c85efc$7fbd96c0$0200a8c0@murphy3234aaf1> References: <00b101c85eeb$d7a96eb0$0301a8c0@HAL9005> <003401c85efc$7fbd96c0$0200a8c0@murphy3234aaf1> Message-ID: <00d001c85f10$ee6e2350$0301a8c0@HAL9005> It's a printed report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, January 24, 2008 6:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request TABS? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 24, 2008 4:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Today's User Request >From a client: "Can you do something with making the font a little bigger without cutting down the amount of information on one page? " Sure. How hard could that be? 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From pcs at azizaz.com Thu Jan 24 23:27:33 2008 From: pcs at azizaz.com (pcs at azizaz.com) Date: Fri, 25 Jan 2008 15:27:33 +1000 (EST) Subject: [AccessD] C2DbWakeupCall.mdb Message-ID: <20080125152733.DMS84577@dommail.onthenet.com.au> This one is for Mr Colby: Hi John, Had a look at C2DbWakeupCall.mdb Whereas I can get notepad to kick in (Yes!) I have problems getting a public sub or function in the mdb to do the same.... Your function that makes the process kick in looks like this: Function Run(lstrProcessName) As Boolean Dim lngProc As Long 'Hasn't run today so check if the time is > mdetTimeToRun If Time() > mdteTimeToRun Then If Date > mdteLastRan Then 'Mark mdteLastRun = Now() mdteLastRan = Date ' If mblnRunCommand Then lngProc = WinExec(mstrProcessName, 1) End If 'and return true lstrProcessName = mstrProcessName Run = True End If End If End Function I changed the follwing section to: If mblnRunCommand Then lngProc = WinExec(mstrProcessName, 1) 'added Else Eval (mstrProcessName & "()") 'end added End If thinking that if the tickbox on the form (mblnRunCommand) has not been ticked, and in the text control on the form I add the name of a public sub or function, that procedure should start running.... but it don't!! mstrProcessName is "bshTest" which is Public Sub bshTest() MsgBox "Hello Universe?", vbQuestion + vbOKCancel End Sub The error is 2425 : The expression you entered has a function name that Microsoft Office can't find. What am I missing? Regards borge From jwcolby at colbyconsulting.com Fri Jan 25 00:30:43 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jan 2008 01:30:43 -0500 Subject: [AccessD] C2DbWakeupCall.mdb In-Reply-To: <20080125152733.DMS84577@dommail.onthenet.com.au> References: <20080125152733.DMS84577@dommail.onthenet.com.au> Message-ID: <007701c85f1b$d081c3a0$0401a8c0@M90> Try changing the sub to a function? 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 pcs at azizaz.com Sent: Friday, January 25, 2008 12:28 AM To: Access Developers discussion and problemsolving Subject: [AccessD] C2DbWakeupCall.mdb This one is for Mr Colby: Hi John, Had a look at C2DbWakeupCall.mdb Whereas I can get notepad to kick in (Yes!) I have problems getting a public sub or function in the mdb to do the same.... Your function that makes the process kick in looks like this: Function Run(lstrProcessName) As Boolean Dim lngProc As Long 'Hasn't run today so check if the time is > mdetTimeToRun If Time() > mdteTimeToRun Then If Date > mdteLastRan Then 'Mark mdteLastRun = Now() mdteLastRan = Date ' If mblnRunCommand Then lngProc = WinExec(mstrProcessName, 1) End If 'and return true lstrProcessName = mstrProcessName Run = True End If End If End Function I changed the follwing section to: If mblnRunCommand Then lngProc = WinExec(mstrProcessName, 1) 'added Else Eval (mstrProcessName & "()") 'end added End If thinking that if the tickbox on the form (mblnRunCommand) has not been ticked, and in the text control on the form I add the name of a public sub or function, that procedure should start running.... but it don't!! mstrProcessName is "bshTest" which is Public Sub bshTest() MsgBox "Hello Universe?", vbQuestion + vbOKCancel End Sub The error is 2425 : The expression you entered has a function name that Microsoft Office can't find. What am I missing? Regards borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Fri Jan 25 01:38:34 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 25 Jan 2008 01:38:34 -0600 Subject: [AccessD] Today's User Request In-Reply-To: <4799C52E.21923.142582A1@stuart.lexacorp.com.pg> Message-ID: Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Gustav at cactus.dk Fri Jan 25 01:48:27 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 25 Jan 2008 08:48:27 +0100 Subject: [AccessD] Today's User Request Message-ID: Hi Rocky If the page already is crammed, move to a large format inkjet printer. Seriously, what does the client expect? /gustav >>> rockysmolin at bchacc.com 25-01-2008 01:47:20 >>> >From a client: "Can you do something with making the font a little bigger without cutting down the amount of information on one page? " Sure. How hard could that be? Rocky From jwcolby at colbyconsulting.com Fri Jan 25 02:29:42 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jan 2008 03:29:42 -0500 Subject: [AccessD] Today's User Request In-Reply-To: References: <4799C52E.21923.142582A1@stuart.lexacorp.com.pg> Message-ID: <008301c85f2c$6f305f60$0401a8c0@M90> Think hardware. READING GLASSES! Print to a size 3 pitch and make reading glasses standard issue to all employees. 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: Friday, January 25, 2008 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- 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 Jan 25 02:54:19 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 25 Jan 2008 11:54:19 +0300 Subject: [AccessD] Today's User Request In-Reply-To: <008301c85f2c$6f305f60$0401a8c0@M90> Message-ID: <000001c85f2f$dfc6aba0$6501a8c0@nant> http://smsconsulting.spb.ru/humor/kvn.jpg (It's Friday here :) ) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request Think hardware. READING GLASSES! Print to a size 3 pitch and make reading glasses standard issue to all employees. 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: Friday, January 25, 2008 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jan 25 02:59:25 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jan 2008 03:59:25 -0500 Subject: [AccessD] The expression you entered refers to an object that is closed or doesnt exist. Message-ID: <008501c85f30$963ce020$0401a8c0@M90> How many of you have come across that error? I have a system where the user selects some criteria, then a form is opened using that criteria. There is a command button that is the "default" button (clicked if the user hits enter) which loads the form, so the user can either click the button with the mouse or just hit enter. I was getting "The expression you entered refers to an object that is closed or doesn't exist." very occasionally as the form opened. I finally discovered that if I tapped the enter key several times as the form loaded, Access sensed TWO key clicks and thus tried to open the form a second time. I got rid of the error with the following code: Private Sub but_wrksht_Click() On Error GoTo Err_but_wrksht_Click Static blnOpening As Boolean If blnOpening Then Exit Sub blnOpening = True OpenClaimFrm blnOpening = False Exit_but_wrksht_Click: Exit Sub end sub As you can see, I create a static variable, set it to True as I pass through the first time and clear it again as the OpenClaimForm() finished. If the click event is sensed a second time while the OpenClaimForm() is still processing, the blnOpening is still true and the sub is exited. What a PITA Access is sometimes. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Jan 25 03:05:46 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jan 2008 04:05:46 -0500 Subject: [AccessD] Today's User Request In-Reply-To: <000001c85f2f$dfc6aba0$6501a8c0@nant> References: <008301c85f2c$6f305f60$0401a8c0@M90> <000001c85f2f$dfc6aba0$6501a8c0@nant> Message-ID: <008601c85f31$798ba410$0401a8c0@M90> ROTFLMAO! That is TOO FUNNY Shamil! I assume that is an old TV or something that someone bolted a huge lens over the front of? I think that should suffice for this specific client! 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, January 25, 2008 3:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request http://smsconsulting.spb.ru/humor/kvn.jpg (It's Friday here :) ) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request Think hardware. READING GLASSES! Print to a size 3 pitch and make reading glasses standard issue to all employees. 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: Friday, January 25, 2008 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jan 25 03:31:17 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 25 Jan 2008 12:31:17 +0300 Subject: [AccessD] Today's User Request In-Reply-To: <008601c85f31$798ba410$0401a8c0@M90> Message-ID: <000001c85f35$0922f350$6501a8c0@nant> John, This is a REAL(!) thing.... :) This is the second(?) model of the Soviet mass production TV-set... There were quite some these REAL things sold and used here after WWII starting 50-ies(?) till 60-ies last century... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 12:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request ROTFLMAO! That is TOO FUNNY Shamil! I assume that is an old TV or something that someone bolted a huge lens over the front of? I think that should suffice for this specific client! 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, January 25, 2008 3:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request http://smsconsulting.spb.ru/humor/kvn.jpg (It's Friday here :) ) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request Think hardware. READING GLASSES! Print to a size 3 pitch and make reading glasses standard issue to all employees. 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: Friday, January 25, 2008 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jan 25 03:43:30 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 25 Jan 2008 12:43:30 +0300 Subject: [AccessD] Today's User Request In-Reply-To: <008601c85f31$798ba410$0401a8c0@M90> Message-ID: <000401c85f36$be397b50$6501a8c0@nant> John, This is a REAL(!) thing.... :) This is the second(?) model of the Soviet mass production TV-set... There were quite some these REAL things sold and used here after WWII starting 50-ies(?) till 60-ies last century... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 12:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request ROTFLMAO! That is TOO FUNNY Shamil! I assume that is an old TV or something that someone bolted a huge lens over the front of? I think that should suffice for this specific client! 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, January 25, 2008 3:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request http://smsconsulting.spb.ru/humor/kvn.jpg (It's Friday here :) ) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request Think hardware. READING GLASSES! Print to a size 3 pitch and make reading glasses standard issue to all employees. 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: Friday, January 25, 2008 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.dbamail at t-online.de Fri Jan 25 06:05:35 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Fri, 25 Jan 2008 13:05:35 +0100 Subject: [AccessD] use of Public Type in Collections References: <200801241540.m0OFdvtY013608@databaseadvisors.com> Message-ID: <001201c85f4a$9829bd30$1800a8c0@s1800> Hello All, with the following code in Access 2002 I get a compile error that reads(translated from German): Only user-defined types, which are defined in public Object-Modules, may be converted to or from type Variant or passed to a function which is resolvable at runtime. ---------------start code----------------------------- Option Compare Database Option Explicit Public Type Verzeichnis VzID As Long VzPfad As String VzParent As Long End Type Public Function testCollect() As Boolean Dim ColPath As New Collection Dim dirPath As Verzeichnis With dirPath .VzID = 1 .VzPfad = "J:\" .VzParent = 0 End With ColPath.Add (dirPath)<-------------------------Error: dirPath is marked ----------------------------------------------------------- This code is in a module, not behind a form. Do I have to make this module public? if so, how? thank you Lembit From rockysmolin at bchacc.com Fri Jan 25 07:32:07 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 05:32:07 -0800 Subject: [AccessD] Today's User Request In-Reply-To: References: Message-ID: <000901c85f56$aeca2a50$0301a8c0@HAL9005> It was actually more of a Friday OT post. We all get unusual requests from time to time. I thought this one was particularly cute - along the lines of 'can't you put 12 gallons of crap in this 10 gallon bucket?'. Defies the laws of physics, doesn't it? Make the font bigger so it's readable but keep the same amount of information on the page. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 24, 2008 11:48 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Today's User Request Hi Rocky If the page already is crammed, move to a large format inkjet printer. Seriously, what does the client expect? /gustav >>> rockysmolin at bchacc.com 25-01-2008 01:47:20 >>> >From a client: "Can you do something with making the font a little bigger without cutting down the amount of information on one page? " Sure. How hard could that be? Rocky -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From rockysmolin at bchacc.com Fri Jan 25 07:33:01 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 05:33:01 -0800 Subject: [AccessD] Today's User Request In-Reply-To: <000001c85f2f$dfc6aba0$6501a8c0@nant> References: <008301c85f2c$6f305f60$0401a8c0@M90> <000001c85f2f$dfc6aba0$6501a8c0@nant> Message-ID: <000a01c85f56$cf5bb860$0301a8c0@HAL9005> I like it! I'll let you know what the client says. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 25, 2008 12:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request http://smsconsulting.spb.ru/humor/kvn.jpg (It's Friday here :) ) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request Think hardware. READING GLASSES! Print to a size 3 pitch and make reading glasses standard issue to all employees. 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: Friday, January 25, 2008 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Think hardware. Bigger monitor! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 24, 2008 7:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's User Request Easy, use a bigger page :-) On 24 Jan 2008 at 16:47, Rocky Smolin at Beach Access wrote: > >From a client: > > "Can you do something with making the font a little bigger without cutting > down the amount of information on one page? " > > Sure. How hard could that be? > > 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From rockysmolin at bchacc.com Fri Jan 25 07:35:43 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 05:35:43 -0800 Subject: [AccessD] The expression you entered refers to an object that isclosed or doesnt exist. In-Reply-To: <008501c85f30$963ce020$0401a8c0@M90> References: <008501c85f30$963ce020$0401a8c0@M90> Message-ID: <000b01c85f57$2ef300d0$0301a8c0@HAL9005> That's great! I've been having this error in an app - random. Maybe from keyboard bounce? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 12:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] The expression you entered refers to an object that isclosed or doesnt exist. How many of you have come across that error? I have a system where the user selects some criteria, then a form is opened using that criteria. There is a command button that is the "default" button (clicked if the user hits enter) which loads the form, so the user can either click the button with the mouse or just hit enter. I was getting "The expression you entered refers to an object that is closed or doesn't exist." very occasionally as the form opened. I finally discovered that if I tapped the enter key several times as the form loaded, Access sensed TWO key clicks and thus tried to open the form a second time. I got rid of the error with the following code: Private Sub but_wrksht_Click() On Error GoTo Err_but_wrksht_Click Static blnOpening As Boolean If blnOpening Then Exit Sub blnOpening = True OpenClaimFrm blnOpening = False Exit_but_wrksht_Click: Exit Sub end sub As you can see, I create a static variable, set it to True as I pass through the first time and clear it again as the OpenClaimForm() finished. If the click event is sensed a second time while the OpenClaimForm() is still processing, the blnOpening is still true and the sub is exited. What a PITA Access is sometimes. 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From rockysmolin at bchacc.com Fri Jan 25 08:52:30 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 06:52:30 -0800 Subject: [AccessD] Retrieve command line arguments Message-ID: <002101c85f61$ebd74800$0301a8c0@HAL9005> Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. MTIA Rocky From dwaters at usinternet.com Fri Jan 25 09:13:12 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 09:13:12 -0600 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <002101c85f61$ebd74800$0301a8c0@HAL9005> References: <002101c85f61$ebd74800$0301a8c0@HAL9005> Message-ID: <001601c85f64$cd4ca620$0300a8c0@danwaters> Rocky, I use a startup form (hidden). In the Open event for that form, I have a long list of Calls to other procedures and functions, which do a myriad of things - including send out reminder emails if this is the first time the db has been opened for the day. This has been a straightforward and reliable method so far! HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 8:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Jan 25 09:21:51 2008 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 25 Jan 2008 09:21:51 -0600 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <002101c85f61$ebd74800$0301a8c0@HAL9005> References: <002101c85f61$ebd74800$0301a8c0@HAL9005> Message-ID: Does it HAVE TO be in the same database? How about a seperate database that links to the same tables in the original and then when you open that "Automail" database it runs and sends the reports and then exits. GK On 1/25/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch on > startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that calls > access and starts the app, I suppose I could intercept al the startup > housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? > > > The automated email sender has to be part of the larger app - originally it > was split off for development purposes, but now, it's part of the design > that it should be integrated into the application. > > MTIA > > Rocky > > > > > -- > 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 rockysmolin at bchacc.com Fri Jan 25 09:32:57 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 07:32:57 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <001601c85f64$cd4ca620$0300a8c0@danwaters> References: <002101c85f61$ebd74800$0301a8c0@HAL9005> <001601c85f64$cd4ca620$0300a8c0@danwaters> Message-ID: <004901c85f67$8f8557d0$0301a8c0@HAL9005> Dan: They'll be using (I assume) Windows scheduler to start it up, send the emails, and close. When the app opens I need to know if its for use by a user, or to run the emails and close. I figure a command line option is just the ticket. But I need to be able to retrieve the command line that started the app to those options, if they're there. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 7:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, I use a startup form (hidden). In the Open event for that form, I have a long list of Calls to other procedures and functions, which do a myriad of things - including send out reminder emails if this is the first time the db has been opened for the day. This has been a straightforward and reliable method so far! HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 8:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From rockysmolin at bchacc.com Fri Jan 25 09:33:35 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 07:33:35 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: References: <002101c85f61$ebd74800$0301a8c0@HAL9005> Message-ID: <004a01c85f67$a664e740$0301a8c0@HAL9005> Gary: That would be my preferred design. But the client wants it this way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, January 25, 2008 7:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Does it HAVE TO be in the same database? How about a seperate database that links to the same tables in the original and then when you open that "Automail" database it runs and sends the reports and then exits. GK On 1/25/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch > on startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that > calls access and starts the app, I suppose I could intercept al the > startup housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? > > > The automated email sender has to be part of the larger app - > originally it was split off for development purposes, but now, it's > part of the design that it should be integrated into the application. > > MTIA > > Rocky > > > > > -- > 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From max.wanadoo at gmail.com Fri Jan 25 09:53:31 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 25 Jan 2008 15:53:31 -0000 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <004a01c85f67$a664e740$0301a8c0@HAL9005> Message-ID: <008e01c85f6a$702b5800$8119fea9@LTVM> Rocky, We do this every night. Just call the app from Windows Scheduler. We use the autoexec macro to call a function which runs whatever and then closes down. You could have the Startup Options set to a form which immediately calls the function also and then closes down. You don't need any command line parameters. Max Ps. If you wanted to lock the app down, make it a MDE instead of a MDB + password protection of the database. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 3:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Gary: That would be my preferred design. But the client wants it this way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, January 25, 2008 7:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Does it HAVE TO be in the same database? How about a seperate database that links to the same tables in the original and then when you open that "Automail" database it runs and sends the reports and then exits. GK On 1/25/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch > on startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that > calls access and starts the app, I suppose I could intercept al the > startup housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? > > > The automated email sender has to be part of the larger app - > originally it was split off for development purposes, but now, it's > part of the design that it should be integrated into the application. > > MTIA > > Rocky > > > > > -- > 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Jan 25 09:58:54 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 07:58:54 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <008e01c85f6a$702b5800$8119fea9@LTVM> References: <004a01c85f67$a664e740$0301a8c0@HAL9005> <008e01c85f6a$702b5800$8119fea9@LTVM> Message-ID: <005701c85f6b$31a47520$0301a8c0@HAL9005> Max: That would work except that the function I need to run is embedded in the application and the client does not want a separate mdb or mde just to run that function - has to be in embedded in the whole application. Users - gotta love 'em. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Friday, January 25, 2008 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, We do this every night. Just call the app from Windows Scheduler. We use the autoexec macro to call a function which runs whatever and then closes down. You could have the Startup Options set to a form which immediately calls the function also and then closes down. You don't need any command line parameters. Max Ps. If you wanted to lock the app down, make it a MDE instead of a MDB + password protection of the database. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 3:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Gary: That would be my preferred design. But the client wants it this way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Friday, January 25, 2008 7:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Does it HAVE TO be in the same database? How about a seperate database that links to the same tables in the original and then when you open that "Automail" database it runs and sends the reports and then exits. GK On 1/25/08, Rocky Smolin at Beach Access Software wrote: > > Dear List: > > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch > on startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that > calls access and starts the app, I suppose I could intercept al the > startup housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? > > > The automated email sender has to be part of the larger app - > originally it was split off for development purposes, but now, it's > part of the design that it should be integrated into the application. > > MTIA > > Rocky > > > > > -- > 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From dw-murphy at cox.net Fri Jan 25 10:05:00 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 25 Jan 2008 08:05:00 -0800 Subject: [AccessD] Today's User Request In-Reply-To: <00d001c85f10$ee6e2350$0301a8c0@HAL9005> Message-ID: <002801c85f6c$09cfd020$0200a8c0@murphy3234aaf1> Sorry. I tend to read through these posts quickly and just assumed it was a form. I have had clients who want to add fields to forms and keep it all on the screen. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 24, 2008 9:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request It's a printed report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, January 24, 2008 6:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Today's User Request TABS? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, January 24, 2008 4:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Today's User Request >From a client: "Can you do something with making the font a little bigger without cutting down the amount of information on one page? " Sure. How hard could that be? 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 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 Jan 25 10:15:57 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 10:15:57 -0600 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <004901c85f67$8f8557d0$0301a8c0@HAL9005> References: <002101c85f61$ebd74800$0301a8c0@HAL9005><001601c85f64$cd4ca620$0300a8c0@danwaters> <004901c85f67$8f8557d0$0301a8c0@HAL9005> Message-ID: <000901c85f6d$91652ca0$0300a8c0@danwaters> Yes - that's exactly what I do. The Schedule actually calls a very small database which opens the main database which contains all the auto-email code. I prefer to keep the auto-email code in the main database - Schedule is not always 100% reliable, so if it didn't work then the first person who opens the database will trigger sending out the emails. (Send out emails records the current date - check to be sure you're past that date before sending emails.) In the small database (MorningReminders.mdb) I use this code: In MorningReminders.mdb there is a startup form with this single procedure: ----------------------------- Private Sub Form_Load() Call OpenFE End Sub ---------------------------------------------------- In a module called Startup is this single procedure: ---------------------------- Public Sub OpenFE() On Error GoTo EH Dim stgAccessPath As String Dim stgFEPath As String Dim stgWorkgroupPath As String Dim stgUserNamePassword As String Dim varAppOpen As Variant Dim stgShell As String Dim stgMorningRemindersPath As String Dim stg As String Dim rst As DAO.Recordset stgMorningRemindersPath = CurrentProject.Path stg = "SELECT * FROM tblParameters" Set rst = CurrentDb.OpenRecordset(stg, dbOpenSnapshot) '-- Create target string stgAccessPath = Chr(34) & SysCmd(acSysCmdAccessDir) & "MSAccess.exe" & Chr(34) stgFEPath = " " & Chr(34) & Replace(stgMorningRemindersPath, "MorningReminders", "FrontEnd") & "\" & rst("FEName") & Chr(34) stgWorkgroupPath = " /WRKGRP " & Chr(34) & Replace(stgMorningRemindersPath, "MorningReminders", "Workgroup") & "\" & rst("WorkgroupName") & Chr(34) stgUserNamePassword = " /USER " & Chr(34) & rst("UserName") & Chr(34) & " /PWD " & Chr(34) & rst("Password") & Chr(34) rst.Close Set rst = Nothing '-- Concatenate path stgShell = stgAccessPath _ & stgFEPath _ & stgWorkgroupPath _ & stgUserNamePassword '-- Open FE on Client varAppOpen = Shell(stgShell, vbMaximizedFocus) Application.Quit acQuitSaveNone Exit Sub EH: Application.Quit acQuitSaveNone End Sub -------------------------------------------------------- There is also a table in MorningReminders.mdb (tblParameters) that contains all the parameters. Now, the main database will know who is logging in by the built-in CurrentUser function. Because the main database maintains a log when people log in, you can pull a report of when the MorningReminders database actually triggered the auto-emails. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Dan: They'll be using (I assume) Windows scheduler to start it up, send the emails, and close. When the app opens I need to know if its for use by a user, or to run the emails and close. I figure a command line option is just the ticket. But I need to be able to retrieve the command line that started the app to those options, if they're there. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 7:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, I use a startup form (hidden). In the Open event for that form, I have a long list of Calls to other procedures and functions, which do a myriad of things - including send out reminder emails if this is the first time the db has been opened for the day. This has been a straightforward and reliable method so far! HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 8:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jan 25 10:19:19 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 25 Jan 2008 17:19:19 +0100 Subject: [AccessD] Retrieve command line arguments Message-ID: Hi Rocky Forget the macro thing. Use the command line switch /cmd to feed a parameter to the Access app. Use the function Command() to read the parameter(s), if any, passed at launch. Use Command Line Parameters under Settings, Advanced to simulate that a command line parameter was given when you open the mdb. /gustav > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch > on startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that > calls access and starts the app, I suppose I could intercept al the > startup housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? From rockysmolin at bchacc.com Fri Jan 25 10:25:00 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 08:25:00 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <000901c85f6d$91652ca0$0300a8c0@danwaters> References: <002101c85f61$ebd74800$0301a8c0@HAL9005><001601c85f64$cd4ca620$0300a8c0@danwaters><004901c85f67$8f8557d0$0301a8c0@HAL9005> <000901c85f6d$91652ca0$0300a8c0@danwaters> Message-ID: <006e01c85f6e$d5459e90$0301a8c0@HAL9005> "HTH," Yes, it will. Especially if it can convince the client to have a separate front end either to call the code in the main app or just to have the required modules in the separate front end. Like I say, I had it separated for development purposes but now it's integrated into the main app. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Yes - that's exactly what I do. The Schedule actually calls a very small database which opens the main database which contains all the auto-email code. I prefer to keep the auto-email code in the main database - Schedule is not always 100% reliable, so if it didn't work then the first person who opens the database will trigger sending out the emails. (Send out emails records the current date - check to be sure you're past that date before sending emails.) In the small database (MorningReminders.mdb) I use this code: In MorningReminders.mdb there is a startup form with this single procedure: ----------------------------- Private Sub Form_Load() Call OpenFE End Sub ---------------------------------------------------- In a module called Startup is this single procedure: ---------------------------- Public Sub OpenFE() On Error GoTo EH Dim stgAccessPath As String Dim stgFEPath As String Dim stgWorkgroupPath As String Dim stgUserNamePassword As String Dim varAppOpen As Variant Dim stgShell As String Dim stgMorningRemindersPath As String Dim stg As String Dim rst As DAO.Recordset stgMorningRemindersPath = CurrentProject.Path stg = "SELECT * FROM tblParameters" Set rst = CurrentDb.OpenRecordset(stg, dbOpenSnapshot) '-- Create target string stgAccessPath = Chr(34) & SysCmd(acSysCmdAccessDir) & "MSAccess.exe" & Chr(34) stgFEPath = " " & Chr(34) & Replace(stgMorningRemindersPath, "MorningReminders", "FrontEnd") & "\" & rst("FEName") & Chr(34) stgWorkgroupPath = " /WRKGRP " & Chr(34) & Replace(stgMorningRemindersPath, "MorningReminders", "Workgroup") & "\" & rst("WorkgroupName") & Chr(34) stgUserNamePassword = " /USER " & Chr(34) & rst("UserName") & Chr(34) & " /PWD " & Chr(34) & rst("Password") & Chr(34) rst.Close Set rst = Nothing '-- Concatenate path stgShell = stgAccessPath _ & stgFEPath _ & stgWorkgroupPath _ & stgUserNamePassword '-- Open FE on Client varAppOpen = Shell(stgShell, vbMaximizedFocus) Application.Quit acQuitSaveNone Exit Sub EH: Application.Quit acQuitSaveNone End Sub -------------------------------------------------------- There is also a table in MorningReminders.mdb (tblParameters) that contains all the parameters. Now, the main database will know who is logging in by the built-in CurrentUser function. Because the main database maintains a log when people log in, you can pull a report of when the MorningReminders database actually triggered the auto-emails. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Dan: They'll be using (I assume) Windows scheduler to start it up, send the emails, and close. When the app opens I need to know if its for use by a user, or to run the emails and close. I figure a command line option is just the ticket. But I need to be able to retrieve the command line that started the app to those options, if they're there. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 7:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, I use a startup form (hidden). In the Open event for that form, I have a long list of Calls to other procedures and functions, which do a myriad of things - including send out reminder emails if this is the first time the db has been opened for the day. This has been a straightforward and reliable method so far! HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 8:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From Jim.Hale at FleetPride.com Fri Jan 25 10:33:15 2008 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 25 Jan 2008 10:33:15 -0600 Subject: [AccessD] The expression you entered refers to an object that isclosed or doesnt exist. In-Reply-To: <008501c85f30$963ce020$0401a8c0@M90> References: <008501c85f30$963ce020$0401a8c0@M90> Message-ID: This one goes in the goody bag, Thanks John. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 2:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] The expression you entered refers to an object that isclosed or doesnt exist. How many of you have come across that error? I have a system where the user selects some criteria, then a form is opened using that criteria. There is a command button that is the "default" button (clicked if the user hits enter) which loads the form, so the user can either click the button with the mouse or just hit enter. I was getting "The expression you entered refers to an object that is closed or doesn't exist." very occasionally as the form opened. I finally discovered that if I tapped the enter key several times as the form loaded, Access sensed TWO key clicks and thus tried to open the form a second time. I got rid of the error with the following code: Private Sub but_wrksht_Click() On Error GoTo Err_but_wrksht_Click Static blnOpening As Boolean If blnOpening Then Exit Sub blnOpening = True OpenClaimFrm blnOpening = False Exit_but_wrksht_Click: Exit Sub end sub As you can see, I create a static variable, set it to True as I pass through the first time and clear it again as the OpenClaimForm() finished. If the click event is sensed a second time while the OpenClaimForm() is still processing, the blnOpening is still true and the sub is exited. What a PITA Access is sometimes. John W. Colby Colby Consulting www.ColbyConsulting.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 rockysmolin at bchacc.com Fri Jan 25 10:39:30 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 08:39:30 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: References: Message-ID: <007e01c85f70$dbb88ce0$0301a8c0@HAL9005> Gustav: Thanks. Just what was needed. Three hours of research. Four minutes of implementation. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, January 25, 2008 8:19 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Retrieve command line arguments Hi Rocky Forget the macro thing. Use the command line switch /cmd to feed a parameter to the Access app. Use the function Command() to read the parameter(s), if any, passed at launch. Use Command Line Parameters under Settings, Advanced to simulate that a command line parameter was given when you open the mdb. /gustav > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch > on startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that > calls access and starts the app, I suppose I could intercept al the > startup housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From max.wanadoo at gmail.com Fri Jan 25 10:55:27 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 25 Jan 2008 16:55:27 -0000 Subject: [AccessD] Retrieve command line arguments In-Reply-To: Message-ID: <002501c85f73$16ab1e10$8119fea9@LTVM> Nice one Gustav. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, January 25, 2008 4:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Retrieve command line arguments Hi Rocky Forget the macro thing. Use the command line switch /cmd to feed a parameter to the Access app. Use the function Command() to read the parameter(s), if any, passed at launch. Use Command Line Parameters under Settings, Advanced to simulate that a command line parameter was given when you open the mdb. /gustav > I want to run a function in an application (emails out reports) > automatically. I see that one way to do this is to use the /x switch > on startup to run a macro which will run a module which could have > Application.Quit at the end of it. But I can't seem to get this to work. > And besides, I'm under the impression that macros are not PC anymore. > > Anyway, if I can 'see' the startup switches on the command line that > calls access and starts the app, I suppose I could intercept al the > startup housekeeping, run the reports, send the emails and exit. > > Is there a way to see what the command was that started an app , IOW > retrieve the command line arguments ? Or is there a better way to do this? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Jan 25 11:12:30 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jan 2008 12:12:30 -0500 Subject: [AccessD] The expression you entered refers to an object thatisclosed or doesnt exist. In-Reply-To: References: <008501c85f30$963ce020$0401a8c0@M90> Message-ID: <009c01c85f75$78a28bb0$0401a8c0@M90> Love those goodie bags. 8-) 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 Hale, Jim Sent: Friday, January 25, 2008 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The expression you entered refers to an object thatisclosed or doesnt exist. This one goes in the goody bag, Thanks John. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 2:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] The expression you entered refers to an object that isclosed or doesnt exist. How many of you have come across that error? I have a system where the user selects some criteria, then a form is opened using that criteria. There is a command button that is the "default" button (clicked if the user hits enter) which loads the form, so the user can either click the button with the mouse or just hit enter. I was getting "The expression you entered refers to an object that is closed or doesn't exist." very occasionally as the form opened. I finally discovered that if I tapped the enter key several times as the form loaded, Access sensed TWO key clicks and thus tried to open the form a second time. I got rid of the error with the following code: Private Sub but_wrksht_Click() On Error GoTo Err_but_wrksht_Click Static blnOpening As Boolean If blnOpening Then Exit Sub blnOpening = True OpenClaimFrm blnOpening = False Exit_but_wrksht_Click: Exit Sub end sub As you can see, I create a static variable, set it to True as I pass through the first time and clear it again as the OpenClaimForm() finished. If the click event is sensed a second time while the OpenClaimForm() is still processing, the blnOpening is still true and the sub is exited. What a PITA Access is sometimes. John W. Colby Colby Consulting www.ColbyConsulting.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 markamatte at hotmail.com Fri Jan 25 11:35:57 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 25 Jan 2008 17:35:57 +0000 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <005701c85f6b$31a47520$0301a8c0@HAL9005> References: <004a01c85f67$a664e740$0301a8c0@HAL9005> <008e01c85f6a$702b5800$8119fea9@LTVM> <005701c85f6b$31a47520$0301a8c0@HAL9005> Message-ID: Rocky, If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler? I do this for some of my local apps. When the app opens the load form uses api to find windows user name...then determines by list if this is a manager or regular user...then launches correct form. Could you do the same to determine if a user whether to launch your function? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Fri, 25 Jan 2008 07:58:54 -0800 > Subject: Re: [AccessD] Retrieve command line arguments > > Max: > > That would work except that the function I need to run is embedded in the > application and the client does not want a separate mdb or mde just to run > that function - has to be in embedded in the whole application. Users - > gotta love 'em. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, January 25, 2008 7:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Rocky, > We do this every night. > Just call the app from Windows Scheduler. > We use the autoexec macro to call a function which runs whatever and then > closes down. > > You could have the Startup Options set to a form which immediately calls the > function also and then closes down. > > You don't need any command line parameters. > > Max > Ps. If you wanted to lock the app down, make it a MDE instead of a MDB + > password protection of the database. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Friday, January 25, 2008 3:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Gary: > > That would be my preferred design. But the client wants it this way. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, January 25, 2008 7:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Retrieve command line arguments > > Does it HAVE TO be in the same database? How about a seperate database that > links to the same tables in the original and then when you open that > "Automail" database it runs and sends the reports and then exits. > > GK > > On 1/25/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I want to run a function in an application (emails out reports) >> automatically. I see that one way to do this is to use the /x switch >> on startup to run a macro which will run a module which could have >> Application.Quit at the end of it. But I can't seem to get this to work. >> And besides, I'm under the impression that macros are not PC anymore. >> >> Anyway, if I can 'see' the startup switches on the command line that >> calls access and starts the app, I suppose I could intercept al the >> startup housekeeping, run the reports, send the emails and exit. >> >> Is there a way to see what the command was that started an app , IOW >> retrieve the command line arguments ? Or is there a better way to do > this? >> >> >> The automated email sender has to be part of the larger app - >> originally it was split off for development purposes, but now, it's >> part of the design that it should be integrated into the application. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 > 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 > 8:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From dwaters at usinternet.com Fri Jan 25 11:38:05 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 11:38:05 -0600 Subject: [AccessD] Relationships View Message-ID: <000f01c85f79$0af1f610$0300a8c0@danwaters> I am lamenting the lack of features in Access' table relationships viewer. Is there some other utility that could help do better? For example, I would like to create multiple views of selected tables, save those views with different names, and call them back up later. Is SQL Server 2005 better in this regard? Thanks! Dan From rockysmolin at bchacc.com Fri Jan 25 11:45:18 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 09:45:18 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: References: <004a01c85f67$a664e740$0301a8c0@HAL9005><008e01c85f6a$702b5800$8119fea9@LTVM> <005701c85f6b$31a47520$0301a8c0@HAL9005> Message-ID: <00c101c85f7a$0d41bd00$0301a8c0@HAL9005> 'If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler?" Exactly. But Gustav's solution of using the /cmd switch and then checking for the presence of an argument using Command() works real well and was simple to implement. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, January 25, 2008 9:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Rocky, If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler? I do this for some of my local apps. When the app opens the load form uses api to find windows user name...then determines by list if this is a manager or regular user...then launches correct form. Could you do the same to determine if a user whether to launch your function? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Fri, 25 Jan 2008 07:58:54 -0800 > Subject: Re: [AccessD] Retrieve command line arguments > > Max: > > That would work except that the function I need to run is embedded in > the application and the client does not want a separate mdb or mde > just to run that function - has to be in embedded in the whole > application. Users - gotta love 'em. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, January 25, 2008 7:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Rocky, > We do this every night. > Just call the app from Windows Scheduler. > We use the autoexec macro to call a function which runs whatever and > then closes down. > > You could have the Startup Options set to a form which immediately > calls the function also and then closes down. > > You don't need any command line parameters. > > Max > Ps. If you wanted to lock the app down, make it a MDE instead of a MDB > + password protection of the database. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, January 25, 2008 3:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Gary: > > That would be my preferred design. But the client wants it this way. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, January 25, 2008 7:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Retrieve command line arguments > > Does it HAVE TO be in the same database? How about a seperate database > that links to the same tables in the original and then when you open > that "Automail" database it runs and sends the reports and then exits. > > GK > > On 1/25/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I want to run a function in an application (emails out reports) >> automatically. I see that one way to do this is to use the /x switch >> on startup to run a macro which will run a module which could have >> Application.Quit at the end of it. But I can't seem to get this to work. >> And besides, I'm under the impression that macros are not PC anymore. >> >> Anyway, if I can 'see' the startup switches on the command line that >> calls access and starts the app, I suppose I could intercept al the >> startup housekeeping, run the reports, send the emails and exit. >> >> Is there a way to see what the command was that started an app , IOW >> retrieve the command line arguments ? Or is there a better way to do > this? >> >> >> The automated email sender has to be part of the larger app - >> originally it was split off for development purposes, but now, it's >> part of the design that it should be integrated into the application. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From rockysmolin at bchacc.com Fri Jan 25 11:47:02 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 09:47:02 -0800 Subject: [AccessD] Relationships View In-Reply-To: <000f01c85f79$0af1f610$0300a8c0@danwaters> References: <000f01c85f79$0af1f610$0300a8c0@danwaters> Message-ID: <00c201c85f7a$4b033790$0301a8c0@HAL9005> Just a WAG - but is there some way to get that relationships view into Visio? Alternatively, if you just wanted them to look at and not manipulate, you could use a PDF printer like PrimoPDF and save the different views as PDFs. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 9:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Relationships View I am lamenting the lack of features in Access' table relationships viewer. Is there some other utility that could help do better? For example, I would like to create multiple views of selected tables, save those views with different names, and call them back up later. Is SQL Server 2005 better in this regard? Thanks! Dan -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From fuller.artful at gmail.com Fri Jan 25 12:28:40 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 25 Jan 2008 13:28:40 -0500 Subject: [AccessD] Relationships View In-Reply-To: <000f01c85f79$0af1f610$0300a8c0@danwaters> References: <000f01c85f79$0af1f610$0300a8c0@danwaters> Message-ID: <29f585dd0801251028me25fbccgff88c278def5297b@mail.gmail.com> SQL 2005 is substantially better, notably because you can create any number of database diagrams showing only portions of the entire schema. In fact, you can even create tables from a diagram. Establishing relationships in a diagram automatically modifies the table definitions to include foreign key constraints, too. Arthur On 1/25/08, Dan Waters wrote: > > I am lamenting the lack of features in Access' table relationships viewer. > > Is there some other utility that could help do better? For example, I > would > like to create multiple views of selected tables, save those views with > different names, and call them back up later. > > Is SQL Server 2005 better in this regard? > > Thanks! > Dan > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Fri Jan 25 12:28:40 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 25 Jan 2008 13:28:40 -0500 Subject: [AccessD] Relationships View In-Reply-To: <000f01c85f79$0af1f610$0300a8c0@danwaters> References: <000f01c85f79$0af1f610$0300a8c0@danwaters> Message-ID: <29f585dd0801251028me25fbccgff88c278def5297b@mail.gmail.com> SQL 2005 is substantially better, notably because you can create any number of database diagrams showing only portions of the entire schema. In fact, you can even create tables from a diagram. Establishing relationships in a diagram automatically modifies the table definitions to include foreign key constraints, too. Arthur On 1/25/08, Dan Waters wrote: > > I am lamenting the lack of features in Access' table relationships viewer. > > Is there some other utility that could help do better? For example, I > would > like to create multiple views of selected tables, save those views with > different names, and call them back up later. > > Is SQL Server 2005 better in this regard? > > Thanks! > Dan > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Fri Jan 25 12:29:55 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 25 Jan 2008 13:29:55 -0500 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <002101c85f61$ebd74800$0301a8c0@HAL9005> References: <002101c85f61$ebd74800$0301a8c0@HAL9005> Message-ID: <002b01c85f80$494aca70$8abea8c0@XPS> Rocky, Below is code to grab the value you pass in with /cmd on the command line. Call GetCommandLine() in your startup form. You can optionally pass an argument on the number of parameters you expect to see. If you don't, it assumes up to 10. The procedure assumes a space or tab delimits an argument unless it's within quotes. Once you've done that, then anytime in the app call GetCommandLineArg() with the argument number to get it's value. Here's an example of that: ' Main processing loop for app ' Check command line passed: ' P1 - Job/Customer: ' 'ALL' - Process all defined jobs (Customers). ' '' as per table tbl_Init ' ' P2 - Document Type: ' 'ALL' - Process all document types. ' '' - Process only for this doc type Const RoutineName = "AppMain" Const Version = "1.0" Dim varJob As Variant Dim varDocType As Variant Dim intJobFound As Integer Dim rsJobs As ADODB.Recordset Dim intRet As Integer 10 On Error GoTo Error_AppMain 20 Call GetCommandLine(2) 30 varJob = GetCommandLineArg(0) 40 varDocType = GetCommandLineArg(1) 50 intJobFound = False 60 OpenADORecordset rsJobs, "Select * from tbl_Init order by ODBC" Note that I have not posted the UnexpectedError procedure, so you need to change the error handling a bit. HTH, Jim. ' Used within this module Private gvarCmdArgArray() As Variant Public Sub GetCommandLine(Optional intMaxArgs As Integer) Const RoutineName = "GetCommandLine" Const Version = "3.0" 'Declare variables. Dim strChr As String Dim strCmdLine As String Dim strCmdLnLen As Integer Dim intInArg As Integer Dim intI As Integer Dim intNumArgs As Integer Dim intInQuotes As Integer 'See if intMaxArgs was provided. 10 If IsMissing(intMaxArgs) Then intMaxArgs = 10 'Make array of the correct size. 20 ReDim gvarCmdArgArray(intMaxArgs - 1) 30 intNumArgs = 0 40 intInArg = False 50 intInQuotes = False 'Get command line arguments. 60 strCmdLine = Command() 70 strCmdLnLen = Len(strCmdLine) 'Go thru command line one character at a time. 80 For intI = 1 To strCmdLnLen 90 strChr = Mid(strCmdLine, intI, 1) 'Test for space or tab. 100 If (intInQuotes = False And strChr <> " " And strChr <> vbTab And strChr <> Chr$(34)) Or (intInQuotes = True And strChr <> Chr$(34)) Then 'Neither space, tab, or quote. 'Test if already in argument. 110 If Not intInArg Then 'New argument begins. 'Test for too many arguments. 120 If intNumArgs = intMaxArgs Then Exit For 130 intNumArgs = intNumArgs + 1 140 intInArg = True 150 End If 'Add character to current argument. 160 gvarCmdArgArray(intNumArgs - 1) = gvarCmdArgArray(intNumArgs - 1) + strChr 170 Else 'Found a space, tab or quote. 'Set intInArg flag to False. 180 intInArg = False 190 If strChr = Chr$(34) Then 200 intInQuotes = True 210 Else 220 intInQuotes = False 230 End If 240 End If 250 Next intI ' Don't want to do this as some arguments may be optional. 'Resize array just enough to hold arguments. 'ReDim Preserve gvarCmdArgArray(intNumArgs - 1) 260 For intI = 0 To intNumArgs - 1 270 gvarCmdArgArray(intI) = Trim(gvarCmdArgArray(intI)) 280 Next intI End Sub Public Function GetCommandLineArg(intArgNumber) As Variant ' Returns an argument from the command line ' Null is returned on Error or non-existant argument Const RoutineName = "GetCommandLineArg" Const Version = "2.0" 10 On Error GoTo GetCommandLineArgError 20 If intArgNumber > UBound(gvarCmdArgArray()) Then 30 GetCommandLineArg = Null 40 Else 50 GetCommandLineArg = gvarCmdArgArray(intArgNumber) 60 End If GetCommandLineArgExit: 70 On Error Resume Next 80 Exit Function GetCommandLineArgError: 90 UnexpectedError ModuleName, RoutineName, Version, Err.Number, Err.Description, Err.Source, VBA.Erl 100 GetCommandLineArg = Null 110 Resume GetCommandLineArgExit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 9:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Jan 25 13:01:44 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 11:01:44 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <002b01c85f80$494aca70$8abea8c0@XPS> References: <002101c85f61$ebd74800$0301a8c0@HAL9005> <002b01c85f80$494aca70$8abea8c0@XPS> Message-ID: <00f601c85f84$bae264a0$0301a8c0@HAL9005> So this would allow you to pass multiple parameters in through the command line? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, January 25, 2008 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, Below is code to grab the value you pass in with /cmd on the command line. Call GetCommandLine() in your startup form. You can optionally pass an argument on the number of parameters you expect to see. If you don't, it assumes up to 10. The procedure assumes a space or tab delimits an argument unless it's within quotes. Once you've done that, then anytime in the app call GetCommandLineArg() with the argument number to get it's value. Here's an example of that: ' Main processing loop for app ' Check command line passed: ' P1 - Job/Customer: ' 'ALL' - Process all defined jobs (Customers). ' '' as per table tbl_Init ' ' P2 - Document Type: ' 'ALL' - Process all document types. ' '' - Process only for this doc type Const RoutineName = "AppMain" Const Version = "1.0" Dim varJob As Variant Dim varDocType As Variant Dim intJobFound As Integer Dim rsJobs As ADODB.Recordset Dim intRet As Integer 10 On Error GoTo Error_AppMain 20 Call GetCommandLine(2) 30 varJob = GetCommandLineArg(0) 40 varDocType = GetCommandLineArg(1) 50 intJobFound = False 60 OpenADORecordset rsJobs, "Select * from tbl_Init order by ODBC" Note that I have not posted the UnexpectedError procedure, so you need to change the error handling a bit. HTH, Jim. ' Used within this module Private gvarCmdArgArray() As Variant Public Sub GetCommandLine(Optional intMaxArgs As Integer) Const RoutineName = "GetCommandLine" Const Version = "3.0" 'Declare variables. Dim strChr As String Dim strCmdLine As String Dim strCmdLnLen As Integer Dim intInArg As Integer Dim intI As Integer Dim intNumArgs As Integer Dim intInQuotes As Integer 'See if intMaxArgs was provided. 10 If IsMissing(intMaxArgs) Then intMaxArgs = 10 'Make array of the correct size. 20 ReDim gvarCmdArgArray(intMaxArgs - 1) 30 intNumArgs = 0 40 intInArg = False 50 intInQuotes = False 'Get command line arguments. 60 strCmdLine = Command() 70 strCmdLnLen = Len(strCmdLine) 'Go thru command line one character at a time. 80 For intI = 1 To strCmdLnLen 90 strChr = Mid(strCmdLine, intI, 1) 'Test for space or tab. 100 If (intInQuotes = False And strChr <> " " And strChr <> vbTab And strChr <> Chr$(34)) Or (intInQuotes = True And strChr <> Chr$(34)) Then 'Neither space, tab, or quote. 'Test if already in argument. 110 If Not intInArg Then 'New argument begins. 'Test for too many arguments. 120 If intNumArgs = intMaxArgs Then Exit For 130 intNumArgs = intNumArgs + 1 140 intInArg = True 150 End If 'Add character to current argument. 160 gvarCmdArgArray(intNumArgs - 1) = gvarCmdArgArray(intNumArgs - 1) + strChr 170 Else 'Found a space, tab or quote. 'Set intInArg flag to False. 180 intInArg = False 190 If strChr = Chr$(34) Then 200 intInQuotes = True 210 Else 220 intInQuotes = False 230 End If 240 End If 250 Next intI ' Don't want to do this as some arguments may be optional. 'Resize array just enough to hold arguments. 'ReDim Preserve gvarCmdArgArray(intNumArgs - 1) 260 For intI = 0 To intNumArgs - 1 270 gvarCmdArgArray(intI) = Trim(gvarCmdArgArray(intI)) 280 Next intI End Sub Public Function GetCommandLineArg(intArgNumber) As Variant ' Returns an argument from the command line ' Null is returned on Error or non-existant argument Const RoutineName = "GetCommandLineArg" Const Version = "2.0" 10 On Error GoTo GetCommandLineArgError 20 If intArgNumber > UBound(gvarCmdArgArray()) Then 30 GetCommandLineArg = Null 40 Else 50 GetCommandLineArg = gvarCmdArgArray(intArgNumber) 60 End If GetCommandLineArgExit: 70 On Error Resume Next 80 Exit Function GetCommandLineArgError: 90 UnexpectedError ModuleName, RoutineName, Version, Err.Number, Err.Description, Err.Source, VBA.Erl 100 GetCommandLineArg = Null 110 Resume GetCommandLineArgExit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 9:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From brock.christian at us.army.mil Fri Jan 25 13:18:00 2008 From: brock.christian at us.army.mil (Brock, Christian T CTR USA HRC) Date: Fri, 25 Jan 2008 14:18:00 -0500 Subject: [AccessD] Retrieve command line arguments (UNCLASSIFIED) In-Reply-To: References: <004a01c85f67$a664e740$0301a8c0@HAL9005><008e01c85f6a$702b5800$8119fea9@LTVM> <005701c85f6b$31a47520$0301a8c0@HAL9005> Message-ID: <3473717ED62A384FA23764D0EFE7D8C401938575@ahrc00be0106285.nae.ds.army.mil> Classification: UNCLASSIFIED Caveats: NONE How do you handle the Security Warning message that Access displays when you open the database with VBA code unless the macro security level is set to low? Or do you set security to low? What is you organization's policies don't allow you to set it to low? Christian Brock -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, January 25, 2008 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Rocky, If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler? I do this for some of my local apps. When the app opens the load form uses api to find windows user name...then determines by list if this is a manager or regular user...then launches correct form. Could you do the same to determine if a user whether to launch your function? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Fri, 25 Jan 2008 07:58:54 -0800 > Subject: Re: [AccessD] Retrieve command line arguments > > Max: > > That would work except that the function I need to run is embedded in > the application and the client does not want a separate mdb or mde > just to run that function - has to be in embedded in the whole > application. Users - gotta love 'em. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, January 25, 2008 7:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Rocky, > We do this every night. > Just call the app from Windows Scheduler. > We use the autoexec macro to call a function which runs whatever and > then closes down. > > You could have the Startup Options set to a form which immediately > calls the function also and then closes down. > > You don't need any command line parameters. > > Max > Ps. If you wanted to lock the app down, make it a MDE instead of a MDB > + password protection of the database. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, January 25, 2008 3:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Gary: > > That would be my preferred design. But the client wants it this way. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, January 25, 2008 7:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Retrieve command line arguments > > Does it HAVE TO be in the same database? How about a seperate database > that links to the same tables in the original and then when you open > that "Automail" database it runs and sends the reports and then exits. > > GK > > On 1/25/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I want to run a function in an application (emails out reports) >> automatically. I see that one way to do this is to use the /x switch >> on startup to run a macro which will run a module which could have >> Application.Quit at the end of it. But I can't seem to get this to work. >> And besides, I'm under the impression that macros are not PC anymore. >> >> Anyway, if I can 'see' the startup switches on the command line that >> calls access and starts the app, I suppose I could intercept al the >> startup housekeeping, run the reports, send the emails and exit. >> >> Is there a way to see what the command was that started an app , IOW >> retrieve the command line arguments ? Or is there a better way to do > this? >> >> >> The automated email sender has to be part of the larger app - >> originally it was split off for development purposes, but now, it's >> part of the design that it should be integrated into the application. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012 008 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Classification: UNCLASSIFIED Caveats: NONE From dwaters at usinternet.com Fri Jan 25 13:29:40 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 13:29:40 -0600 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <00c101c85f7a$0d41bd00$0301a8c0@HAL9005> References: <004a01c85f67$a664e740$0301a8c0@HAL9005><008e01c85f6a$702b5800$8119fea9@LTVM><005701c85f6b$31a47520$0301a8c0@HAL9005> <00c101c85f7a$0d41bd00$0301a8c0@HAL9005> Message-ID: <001e01c85f88$a15ae9e0$0300a8c0@danwaters> Rocky, One of the reasons I went with the small MorningReminders.mdb was that the main database needs a user name and password to log in. In MorningReminders.mdb those are stored in a parameters table and passed to the main database with the Shell function. Does your system require a user name and password? If so, how will you be able to open your database from a Scheduled Task? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 11:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments 'If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler?" Exactly. But Gustav's solution of using the /cmd switch and then checking for the presence of an argument using Command() works real well and was simple to implement. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, January 25, 2008 9:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Rocky, If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler? I do this for some of my local apps. When the app opens the load form uses api to find windows user name...then determines by list if this is a manager or regular user...then launches correct form. Could you do the same to determine if a user whether to launch your function? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Fri, 25 Jan 2008 07:58:54 -0800 > Subject: Re: [AccessD] Retrieve command line arguments > > Max: > > That would work except that the function I need to run is embedded in > the application and the client does not want a separate mdb or mde > just to run that function - has to be in embedded in the whole > application. Users - gotta love 'em. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, January 25, 2008 7:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Rocky, > We do this every night. > Just call the app from Windows Scheduler. > We use the autoexec macro to call a function which runs whatever and > then closes down. > > You could have the Startup Options set to a form which immediately > calls the function also and then closes down. > > You don't need any command line parameters. > > Max > Ps. If you wanted to lock the app down, make it a MDE instead of a MDB > + password protection of the database. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, January 25, 2008 3:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Gary: > > That would be my preferred design. But the client wants it this way. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, January 25, 2008 7:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Retrieve command line arguments > > Does it HAVE TO be in the same database? How about a seperate database > that links to the same tables in the original and then when you open > that "Automail" database it runs and sends the reports and then exits. > > GK > > On 1/25/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I want to run a function in an application (emails out reports) >> automatically. I see that one way to do this is to use the /x switch >> on startup to run a macro which will run a module which could have >> Application.Quit at the end of it. But I can't seem to get this to work. >> And besides, I'm under the impression that macros are not PC anymore. >> >> Anyway, if I can 'see' the startup switches on the command line that >> calls access and starts the app, I suppose I could intercept al the >> startup housekeeping, run the reports, send the emails and exit. >> >> Is there a way to see what the command was that started an app , IOW >> retrieve the command line arguments ? Or is there a better way to do > this? >> >> >> The automated email sender has to be part of the larger app - >> originally it was split off for development purposes, but now, it's >> part of the design that it should be integrated into the application. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Jan 25 13:44:53 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 25 Jan 2008 14:44:53 -0500 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <00f601c85f84$bae264a0$0301a8c0@HAL9005> References: <002101c85f61$ebd74800$0301a8c0@HAL9005> <002b01c85f80$494aca70$8abea8c0@XPS> <00f601c85f84$bae264a0$0301a8c0@HAL9005> Message-ID: <009801c85f8a$c2078f20$8abea8c0@XPS> Rocky, <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments So this would allow you to pass multiple parameters in through the command line? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, January 25, 2008 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, Below is code to grab the value you pass in with /cmd on the command line. Call GetCommandLine() in your startup form. You can optionally pass an argument on the number of parameters you expect to see. If you don't, it assumes up to 10. The procedure assumes a space or tab delimits an argument unless it's within quotes. Once you've done that, then anytime in the app call GetCommandLineArg() with the argument number to get it's value. Here's an example of that: ' Main processing loop for app ' Check command line passed: ' P1 - Job/Customer: ' 'ALL' - Process all defined jobs (Customers). ' '' as per table tbl_Init ' ' P2 - Document Type: ' 'ALL' - Process all document types. ' '' - Process only for this doc type Const RoutineName = "AppMain" Const Version = "1.0" Dim varJob As Variant Dim varDocType As Variant Dim intJobFound As Integer Dim rsJobs As ADODB.Recordset Dim intRet As Integer 10 On Error GoTo Error_AppMain 20 Call GetCommandLine(2) 30 varJob = GetCommandLineArg(0) 40 varDocType = GetCommandLineArg(1) 50 intJobFound = False 60 OpenADORecordset rsJobs, "Select * from tbl_Init order by ODBC" Note that I have not posted the UnexpectedError procedure, so you need to change the error handling a bit. HTH, Jim. ' Used within this module Private gvarCmdArgArray() As Variant Public Sub GetCommandLine(Optional intMaxArgs As Integer) Const RoutineName = "GetCommandLine" Const Version = "3.0" 'Declare variables. Dim strChr As String Dim strCmdLine As String Dim strCmdLnLen As Integer Dim intInArg As Integer Dim intI As Integer Dim intNumArgs As Integer Dim intInQuotes As Integer 'See if intMaxArgs was provided. 10 If IsMissing(intMaxArgs) Then intMaxArgs = 10 'Make array of the correct size. 20 ReDim gvarCmdArgArray(intMaxArgs - 1) 30 intNumArgs = 0 40 intInArg = False 50 intInQuotes = False 'Get command line arguments. 60 strCmdLine = Command() 70 strCmdLnLen = Len(strCmdLine) 'Go thru command line one character at a time. 80 For intI = 1 To strCmdLnLen 90 strChr = Mid(strCmdLine, intI, 1) 'Test for space or tab. 100 If (intInQuotes = False And strChr <> " " And strChr <> vbTab And strChr <> Chr$(34)) Or (intInQuotes = True And strChr <> Chr$(34)) Then 'Neither space, tab, or quote. 'Test if already in argument. 110 If Not intInArg Then 'New argument begins. 'Test for too many arguments. 120 If intNumArgs = intMaxArgs Then Exit For 130 intNumArgs = intNumArgs + 1 140 intInArg = True 150 End If 'Add character to current argument. 160 gvarCmdArgArray(intNumArgs - 1) = gvarCmdArgArray(intNumArgs - 1) + strChr 170 Else 'Found a space, tab or quote. 'Set intInArg flag to False. 180 intInArg = False 190 If strChr = Chr$(34) Then 200 intInQuotes = True 210 Else 220 intInQuotes = False 230 End If 240 End If 250 Next intI ' Don't want to do this as some arguments may be optional. 'Resize array just enough to hold arguments. 'ReDim Preserve gvarCmdArgArray(intNumArgs - 1) 260 For intI = 0 To intNumArgs - 1 270 gvarCmdArgArray(intI) = Trim(gvarCmdArgArray(intI)) 280 Next intI End Sub Public Function GetCommandLineArg(intArgNumber) As Variant ' Returns an argument from the command line ' Null is returned on Error or non-existant argument Const RoutineName = "GetCommandLineArg" Const Version = "2.0" 10 On Error GoTo GetCommandLineArgError 20 If intArgNumber > UBound(gvarCmdArgArray()) Then 30 GetCommandLineArg = Null 40 Else 50 GetCommandLineArg = gvarCmdArgArray(intArgNumber) 60 End If GetCommandLineArgExit: 70 On Error Resume Next 80 Exit Function GetCommandLineArgError: 90 UnexpectedError ModuleName, RoutineName, Version, Err.Number, Err.Description, Err.Source, VBA.Erl 100 GetCommandLineArg = Null 110 Resume GetCommandLineArgExit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 9:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Jan 25 13:54:55 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 11:54:55 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <001e01c85f88$a15ae9e0$0300a8c0@danwaters> References: <004a01c85f67$a664e740$0301a8c0@HAL9005><008e01c85f6a$702b5800$8119fea9@LTVM><005701c85f6b$31a47520$0301a8c0@HAL9005><00c101c85f7a$0d41bd00$0301a8c0@HAL9005> <001e01c85f88$a15ae9e0$0300a8c0@danwaters> Message-ID: <010f01c85f8c$2840e1a0$0301a8c0@HAL9005> No user name and password. Well, I rolled my own. So it's all internal. Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, One of the reasons I went with the small MorningReminders.mdb was that the main database needs a user name and password to log in. In MorningReminders.mdb those are stored in a parameters table and passed to the main database with the Shell function. Does your system require a user name and password? If so, how will you be able to open your database from a Scheduled Task? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 11:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments 'If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler?" Exactly. But Gustav's solution of using the /cmd switch and then checking for the presence of an argument using Command() works real well and was simple to implement. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, January 25, 2008 9:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Rocky, If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler? I do this for some of my local apps. When the app opens the load form uses api to find windows user name...then determines by list if this is a manager or regular user...then launches correct form. Could you do the same to determine if a user whether to launch your function? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Fri, 25 Jan 2008 07:58:54 -0800 > Subject: Re: [AccessD] Retrieve command line arguments > > Max: > > That would work except that the function I need to run is embedded in > the application and the client does not want a separate mdb or mde > just to run that function - has to be in embedded in the whole > application. Users - gotta love 'em. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, January 25, 2008 7:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Rocky, > We do this every night. > Just call the app from Windows Scheduler. > We use the autoexec macro to call a function which runs whatever and > then closes down. > > You could have the Startup Options set to a form which immediately > calls the function also and then closes down. > > You don't need any command line parameters. > > Max > Ps. If you wanted to lock the app down, make it a MDE instead of a MDB > + password protection of the database. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, January 25, 2008 3:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Gary: > > That would be my preferred design. But the client wants it this way. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, January 25, 2008 7:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Retrieve command line arguments > > Does it HAVE TO be in the same database? How about a seperate database > that links to the same tables in the original and then when you open > that "Automail" database it runs and sends the reports and then exits. > > GK > > On 1/25/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I want to run a function in an application (emails out reports) >> automatically. I see that one way to do this is to use the /x switch >> on startup to run a macro which will run a module which could have >> Application.Quit at the end of it. But I can't seem to get this to work. >> And besides, I'm under the impression that macros are not PC anymore. >> >> Anyway, if I can 'see' the startup switches on the command line that >> calls access and starts the app, I suppose I could intercept al the >> startup housekeeping, run the reports, send the emails and exit. >> >> Is there a way to see what the command was that started an app , IOW >> retrieve the command line arguments ? Or is there a better way to do > this? >> >> >> The automated email sender has to be part of the larger app - >> originally it was split off for development purposes, but now, it's >> part of the design that it should be integrated into the application. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From rockysmolin at bchacc.com Fri Jan 25 13:55:06 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 25 Jan 2008 11:55:06 -0800 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <009801c85f8a$c2078f20$8abea8c0@XPS> References: <002101c85f61$ebd74800$0301a8c0@HAL9005><002b01c85f80$494aca70$8abea8c0@XPS><00f601c85f84$bae264a0$0301a8c0@HAL9005> <009801c85f8a$c2078f20$8abea8c0@XPS> Message-ID: <011001c85f8c$2ed8f610$0301a8c0@HAL9005> Slick. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, January 25, 2008 11:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 2:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments So this would allow you to pass multiple parameters in through the command line? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, January 25, 2008 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, Below is code to grab the value you pass in with /cmd on the command line. Call GetCommandLine() in your startup form. You can optionally pass an argument on the number of parameters you expect to see. If you don't, it assumes up to 10. The procedure assumes a space or tab delimits an argument unless it's within quotes. Once you've done that, then anytime in the app call GetCommandLineArg() with the argument number to get it's value. Here's an example of that: ' Main processing loop for app ' Check command line passed: ' P1 - Job/Customer: ' 'ALL' - Process all defined jobs (Customers). ' '' as per table tbl_Init ' ' P2 - Document Type: ' 'ALL' - Process all document types. ' '' - Process only for this doc type Const RoutineName = "AppMain" Const Version = "1.0" Dim varJob As Variant Dim varDocType As Variant Dim intJobFound As Integer Dim rsJobs As ADODB.Recordset Dim intRet As Integer 10 On Error GoTo Error_AppMain 20 Call GetCommandLine(2) 30 varJob = GetCommandLineArg(0) 40 varDocType = GetCommandLineArg(1) 50 intJobFound = False 60 OpenADORecordset rsJobs, "Select * from tbl_Init order by ODBC" Note that I have not posted the UnexpectedError procedure, so you need to change the error handling a bit. HTH, Jim. ' Used within this module Private gvarCmdArgArray() As Variant Public Sub GetCommandLine(Optional intMaxArgs As Integer) Const RoutineName = "GetCommandLine" Const Version = "3.0" 'Declare variables. Dim strChr As String Dim strCmdLine As String Dim strCmdLnLen As Integer Dim intInArg As Integer Dim intI As Integer Dim intNumArgs As Integer Dim intInQuotes As Integer 'See if intMaxArgs was provided. 10 If IsMissing(intMaxArgs) Then intMaxArgs = 10 'Make array of the correct size. 20 ReDim gvarCmdArgArray(intMaxArgs - 1) 30 intNumArgs = 0 40 intInArg = False 50 intInQuotes = False 'Get command line arguments. 60 strCmdLine = Command() 70 strCmdLnLen = Len(strCmdLine) 'Go thru command line one character at a time. 80 For intI = 1 To strCmdLnLen 90 strChr = Mid(strCmdLine, intI, 1) 'Test for space or tab. 100 If (intInQuotes = False And strChr <> " " And strChr <> vbTab And strChr <> Chr$(34)) Or (intInQuotes = True And strChr <> Chr$(34)) Then 'Neither space, tab, or quote. 'Test if already in argument. 110 If Not intInArg Then 'New argument begins. 'Test for too many arguments. 120 If intNumArgs = intMaxArgs Then Exit For 130 intNumArgs = intNumArgs + 1 140 intInArg = True 150 End If 'Add character to current argument. 160 gvarCmdArgArray(intNumArgs - 1) = gvarCmdArgArray(intNumArgs - 1) + strChr 170 Else 'Found a space, tab or quote. 'Set intInArg flag to False. 180 intInArg = False 190 If strChr = Chr$(34) Then 200 intInQuotes = True 210 Else 220 intInQuotes = False 230 End If 240 End If 250 Next intI ' Don't want to do this as some arguments may be optional. 'Resize array just enough to hold arguments. 'ReDim Preserve gvarCmdArgArray(intNumArgs - 1) 260 For intI = 0 To intNumArgs - 1 270 gvarCmdArgArray(intI) = Trim(gvarCmdArgArray(intI)) 280 Next intI End Sub Public Function GetCommandLineArg(intArgNumber) As Variant ' Returns an argument from the command line ' Null is returned on Error or non-existant argument Const RoutineName = "GetCommandLineArg" Const Version = "2.0" 10 On Error GoTo GetCommandLineArgError 20 If intArgNumber > UBound(gvarCmdArgArray()) Then 30 GetCommandLineArg = Null 40 Else 50 GetCommandLineArg = gvarCmdArgArray(intArgNumber) 60 End If GetCommandLineArgExit: 70 On Error Resume Next 80 Exit Function GetCommandLineArgError: 90 UnexpectedError ModuleName, RoutineName, Version, Err.Number, Err.Description, Err.Source, VBA.Erl 100 GetCommandLineArg = Null 110 Resume GetCommandLineArgExit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 9:53 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Retrieve command line arguments Dear List: I want to run a function in an application (emails out reports) automatically. I see that one way to do this is to use the /x switch on startup to run a macro which will run a module which could have Application.Quit at the end of it. But I can't seem to get this to work. And besides, I'm under the impression that macros are not PC anymore. Anyway, if I can 'see' the startup switches on the command line that calls access and starts the app, I suppose I could intercept al the startup housekeeping, run the reports, send the emails and exit. Is there a way to see what the command was that started an app , IOW retrieve the command line arguments ? Or is there a better way to do this? The automated email sender has to be part of the larger app - originally it was split off for development purposes, but now, it's part of the design that it should be integrated into the application. 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 PM From dwaters at usinternet.com Fri Jan 25 13:55:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 13:55:08 -0600 Subject: [AccessD] Relationships View In-Reply-To: <29f585dd0801251028me25fbccgff88c278def5297b@mail.gmail.com> References: <000f01c85f79$0af1f610$0300a8c0@danwaters> <29f585dd0801251028me25fbccgff88c278def5297b@mail.gmail.com> Message-ID: <002701c85f8c$3072f700$0300a8c0@danwaters> I will be moving to SQL this year and I'll look forward to that! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, January 25, 2008 12:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Relationships View SQL 2005 is substantially better, notably because you can create any number of database diagrams showing only portions of the entire schema. In fact, you can even create tables from a diagram. Establishing relationships in a diagram automatically modifies the table definitions to include foreign key constraints, too. Arthur On 1/25/08, Dan Waters wrote: > > I am lamenting the lack of features in Access' table relationships viewer. > > Is there some other utility that could help do better? For example, I > would > like to create multiple views of selected tables, save those views with > different names, and call them back up later. > > Is SQL Server 2005 better in this regard? > > Thanks! > Dan > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Jan 25 14:05:03 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 14:05:03 -0600 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <010f01c85f8c$2840e1a0$0301a8c0@HAL9005> References: <004a01c85f67$a664e740$0301a8c0@HAL9005><008e01c85f6a$702b5800$8119fea9@LTVM><005701c85f6b$31a47520$0301a8c0@HAL9005><00c101c85f7a$0d41bd00$0301a8c0@HAL9005><001e01c85f88$a15ae9e0$0300a8c0@danwaters> <010f01c85f8c$2840e1a0$0301a8c0@HAL9005> Message-ID: <002d01c85f8d$92ab33a0$0300a8c0@danwaters> Well, maybe I could pass the username and password with the parameters from the Scheduled Task. But that might be a security hole. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments No user name and password. Well, I rolled my own. So it's all internal. Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 25, 2008 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, One of the reasons I went with the small MorningReminders.mdb was that the main database needs a user name and password to log in. In MorningReminders.mdb those are stored in a parameters table and passed to the main database with the Shell function. Does your system require a user name and password? If so, how will you be able to open your database from a Scheduled Task? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, January 25, 2008 11:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments 'If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler?" Exactly. But Gustav's solution of using the /cmd switch and then checking for the presence of an argument using Command() works real well and was simple to implement. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, January 25, 2008 9:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Retrieve command line arguments Rocky, If I understand your request...you want 1 thing to happen when a user opens the db...and another if it is opened by a scheduler? I do this for some of my local apps. When the app opens the load form uses api to find windows user name...then determines by list if this is a manager or regular user...then launches correct form. Could you do the same to determine if a user whether to launch your function? Thanks, Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Fri, 25 Jan 2008 07:58:54 -0800 > Subject: Re: [AccessD] Retrieve command line arguments > > Max: > > That would work except that the function I need to run is embedded in > the application and the client does not want a separate mdb or mde > just to run that function - has to be in embedded in the whole > application. Users - gotta love 'em. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Friday, January 25, 2008 7:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Rocky, > We do this every night. > Just call the app from Windows Scheduler. > We use the autoexec macro to call a function which runs whatever and > then closes down. > > You could have the Startup Options set to a form which immediately > calls the function also and then closes down. > > You don't need any command line parameters. > > Max > Ps. If you wanted to lock the app down, make it a MDE instead of a MDB > + password protection of the database. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Friday, January 25, 2008 3:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Retrieve command line arguments > > Gary: > > That would be my preferred design. But the client wants it this way. > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Friday, January 25, 2008 7:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Retrieve command line arguments > > Does it HAVE TO be in the same database? How about a seperate database > that links to the same tables in the original and then when you open > that "Automail" database it runs and sends the reports and then exits. > > GK > > On 1/25/08, Rocky Smolin at Beach Access Software > wrote: >> >> Dear List: >> >> I want to run a function in an application (emails out reports) >> automatically. I see that one way to do this is to use the /x switch >> on startup to run a macro which will run a module which could have >> Application.Quit at the end of it. But I can't seem to get this to work. >> And besides, I'm under the impression that macros are not PC anymore. >> >> Anyway, if I can 'see' the startup switches on the command line that >> calls access and starts the app, I suppose I could intercept al the >> startup housekeeping, run the reports, send the emails and exit. >> >> Is there a way to see what the command was that started an app , IOW >> retrieve the command line arguments ? Or is there a better way to do > this? >> >> >> The automated email sender has to be part of the larger app - >> originally it was split off for development purposes, but now, it's >> part of the design that it should be integrated into the application. >> >> MTIA >> >> Rocky >> >> >> >> >> -- >> 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: > 1/24/2008 > 8:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- 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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8: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.516 / Virus Database: 269.19.11/1242 - Release Date: 1/24/2008 8:32 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 Jan 25 16:38:59 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jan 2008 17:38:59 -0500 Subject: [AccessD] Getting a handle to hidden word instance Message-ID: <00d201c85fa3$13f23ed0$0401a8c0@M90> I am using a mail merge system that occasionally leaves Word open but hidden. The next time the mail merge tries to run it can't since word is open and holding a file open that the mail merge function is trying to create. Thus I need to get a handle on any open word instance, and hopefully see if it is hidden. If so assume it is mine and close it. Is there any way to do such a thing in VBA code? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com From ssharkins at gmail.com Fri Jan 25 17:11:50 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 25 Jan 2008 18:11:50 -0500 Subject: [AccessD] Getting a handle to hidden word instance References: <00d201c85fa3$13f23ed0$0401a8c0@M90> Message-ID: <00c101c85fa7$af415250$4b3a8343@SusanOne> John, what do you mean by hidden? The following code is pretty typical and it's probably what you're already using. My guess is this hidden business is something different? Susan H. Dim appWord As Word.Application Dim doc As Word.Document 'Avoid error 429, when Word isn't open. On Error Resume Next Err.Clear 'Set appWord object variable to running instance of Word. Set appWord = GetObject(, "Word.Application") If Err.Number <> 0 Then 'If Word isn't open, create a new instance of Word. Set appWord = New Word.Application End If Susan H. >I am using a mail merge system that occasionally leaves Word open but > hidden. The next time the mail merge tries to run it can't since word is > open and holding a file open that the mail merge function is trying to > create. Thus I need to get a handle on any open word instance, and > hopefully see if it is hidden. If so assume it is mine and close it. Is > there any way to do such a thing in VBA code? From robert at servicexp.com Fri Jan 25 18:26:47 2008 From: robert at servicexp.com (Robert) Date: Fri, 25 Jan 2008 19:26:47 -0500 Subject: [AccessD] Getting a handle to hidden word instance In-Reply-To: <00d201c85fa3$13f23ed0$0401a8c0@M90> References: <00d201c85fa3$13f23ed0$0401a8c0@M90> Message-ID: <479A7E47.70902@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 After you located the open document could you do something like If objword.Application.visible = True Then end if WBR Robert jwcolby wrote: > I am using a mail merge system that occasionally leaves Word open but > hidden. The next time the mail merge tries to run it can't since word is > open and holding a file open that the mail merge function is trying to > create. Thus I need to get a handle on any open word instance, and > hopefully see if it is hidden. If so assume it is mine and close it. Is > there any way to do such a thing in VBA code? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHmn5G72dSYCwH8FQRAk50AJ9k10LUFduKS0pauIkcBL6aQZaYiQCfSJmt ALLwoojIx5PT/VOcfpwIUTA= =a8GV -----END PGP SIGNATURE----- From dwaters at usinternet.com Fri Jan 25 19:41:24 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Jan 2008 19:41:24 -0600 Subject: [AccessD] The expression you entered refers to an object that is closed or doesnt exist. In-Reply-To: <008501c85f30$963ce020$0401a8c0@M90> References: <008501c85f30$963ce020$0401a8c0@M90> Message-ID: <000001c85fbc$8f685950$0300a8c0@danwaters> I get this in my error logs once in a while too. Nice sleuthing John! Each time I get this from now on I can add this as a potential fix. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 2:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] The expression you entered refers to an object that is closed or doesnt exist. How many of you have come across that error? I have a system where the user selects some criteria, then a form is opened using that criteria. There is a command button that is the "default" button (clicked if the user hits enter) which loads the form, so the user can either click the button with the mouse or just hit enter. I was getting "The expression you entered refers to an object that is closed or doesn't exist." very occasionally as the form opened. I finally discovered that if I tapped the enter key several times as the form loaded, Access sensed TWO key clicks and thus tried to open the form a second time. I got rid of the error with the following code: Private Sub but_wrksht_Click() On Error GoTo Err_but_wrksht_Click Static blnOpening As Boolean If blnOpening Then Exit Sub blnOpening = True OpenClaimFrm blnOpening = False Exit_but_wrksht_Click: Exit Sub end sub As you can see, I create a static variable, set it to True as I pass through the first time and clear it again as the OpenClaimForm() finished. If the click event is sensed a second time while the OpenClaimForm() is still processing, the blnOpening is still true and the sub is exited. What a PITA Access is sometimes. 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 miscellany at mvps.org Sat Jan 26 02:05:51 2008 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 26 Jan 2008 21:05:51 +1300 Subject: [AccessD] Relationships View In-Reply-To: <000f01c85f79$0af1f610$0300a8c0@danwaters> References: <000f01c85f79$0af1f610$0300a8c0@danwaters> Message-ID: <479AE9DF.2060803@mvps.org> Dan, Maybe this will be of help: http://www.lebans.com/saverelationshipview.htm Regards Steve Dan Waters wrote: > I am lamenting the lack of features in Access' table relationships viewer. > > Is there some other utility that could help do better? For example, I would > like to create multiple views of selected tables, save those views with > different names, and call them back up later. From lembit.dbamail at t-online.de Sat Jan 26 05:31:41 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 26 Jan 2008 12:31:41 +0100 Subject: [AccessD] use of Public Type in Collections References: <200801241540.m0OFdvtY013608@databaseadvisors.com> <001201c85f4a$9829bd30$1800a8c0@s1800> Message-ID: <000401c8600f$06356e40$1800a8c0@s1800> I have tried some things here. the collection works with a string, but it doesnt want a user defined datatype, even if I make it public. >From the help files I understand Collection works with ANY datatype. Has somebody used Collection with a user-defined type? thaynks Lembit > Hello All, > > with the following code in Access 2002 I get a compile error that > reads(translated from German): > > Only user-defined types, which are defined in public Object-Modules, may > be > converted to or from type Variant > or passed to a function which is resolvable at runtime. > > ---------------start code----------------------------- > Option Compare Database > Option Explicit > > Public Type Verzeichnis > VzID As Long > VzPfad As String > VzParent As Long > End Type > > Public Function testCollect() As Boolean > Dim ColPath As New Collection > Dim dirPath As Verzeichnis > With dirPath > .VzID = 1 > .VzPfad = "J:\" > .VzParent = 0 > End With > ColPath.Add (dirPath)<-------------------------Error: dirPath is marked > > ----------------------------------------------------------- > > This code is in a module, not behind a form. Do I have to make this module > public? if so, how? > > thank you > > Lembit > > -- > 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.516 / Virus Database: 269.19.11/1242 - Release Date: > 24.01.2008 20:32 > > From iggy at nanaimo.ark.com Sat Jan 26 08:44:23 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 26 Jan 2008 06:44:23 -0800 Subject: [AccessD] Word Table to text Import into Acess 2003 Message-ID: <479B4747.8070206@nanaimo.ark.com> Hey All I have an inherited Word Table that I would like to bring into Access 2003. I have followed the intructions of selecting the table and then converting it to text using a % delimiter character (checked table data no % used whereas commas are used in the table) and saving it as a text only file. When Word converts the table to text, the format is kinda of goofy. Simple example Word Table column headers are converted to Reference Number% Date % Category % Action % Required % When I try to import it into Access or Excel I get column headers Reference Number Date Category Action Required being the first row of data 1 July 31/07 being the second row of data It gets worse with the text in the rows. I can manually go in and fix the text file. I have not done this before I am missing something obvious here??? Thanks From pete.phillipps at ntlworld.com Sat Jan 26 09:00:15 2008 From: pete.phillipps at ntlworld.com (Pete Phillipps) Date: Sat, 26 Jan 2008 15:00:15 -0000 Subject: [AccessD] Data Encryption In-Reply-To: <479B4747.8070206@nanaimo.ark.com> References: <479B4747.8070206@nanaimo.ark.com> Message-ID: Hi Everyone, I'm due to start work on creating a database in a couple of weeks amd in view of the recent UK government record on losing data it has made me thing about data encryption. Does anyone have any advice/code on encrypting data in an Access 2003 back-end that would be accessed via an Access 2003 front end and via ASP/ASP. NET? Pete From ssharkins at gmail.com Sat Jan 26 09:01:48 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 26 Jan 2008 10:01:48 -0500 Subject: [AccessD] Word Table to text Import into Acess 2003 References: <479B4747.8070206@nanaimo.ark.com> Message-ID: <016301c8602c$62701800$4b3a8343@SusanOne> There should be an option for identifying the first row as header when you export and import. As for the rows of data, sometimes you have to clean up the data before you export. Years ago I wrote something on cleaning up Excel data before importing to Access, but I don't know how helpful it would be with Word data. I can try to find it for you if nothing more helpful turns up. Susan H. > When I try to import it into Access or Excel I get column headers > Reference Number Date > Category Action Required being > the first row of data > 1 July 31/07 > being the second row of data > It gets worse with the text in the rows. I can manually go in and fix > the text file. > I have not done this before I am missing something obvious here??? From dwaters at usinternet.com Sat Jan 26 09:05:49 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 26 Jan 2008 09:05:49 -0600 Subject: [AccessD] Relationships View In-Reply-To: <479AE9DF.2060803@mvps.org> References: <000f01c85f79$0af1f610$0300a8c0@danwaters> <479AE9DF.2060803@mvps.org> Message-ID: <002701c8602c$efba9870$0300a8c0@danwaters> Yes - this is Excellent! Exactly what I was looking for. One thing caught me at first - I normally have all my databases on my PC set to 'Break on all errors'. In Stephen's code he has one location that uses 'On Error Resume Next'. So I switched to 'Break on Unhandled Errors' and all worked very well. I'll change this later to switch back and forth as Stephen's form opens and closes. This will be quite a time saver. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, January 26, 2008 2:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Relationships View Dan, Maybe this will be of help: http://www.lebans.com/saverelationshipview.htm Regards Steve Dan Waters wrote: > I am lamenting the lack of features in Access' table relationships viewer. > > Is there some other utility that could help do better? For example, I would > like to create multiple views of selected tables, save those views with > different names, and call them back up later. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sat Jan 26 09:37:17 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 26 Jan 2008 07:37:17 -0800 Subject: [AccessD] Word Table to text Import into Acess 2003 In-Reply-To: <016301c8602c$62701800$4b3a8343@SusanOne> References: <479B4747.8070206@nanaimo.ark.com> <016301c8602c$62701800$4b3a8343@SusanOne> Message-ID: <479B53AD.5060808@nanaimo.ark.com> Hey Susan When I import into Excel or Access I do indicate that the first row is the header. If I go into the text file and pull the header information up so that it all appears on one line it imports the headers with no problem. Reference Number %Date %Category %Action %Required You may be right, I may have to clean up the converted Word table text before I import it. It may also be embedded characters in the table. Turned on the Show and I can see some weird characters. Now I got to figure out what they indicate and how to turn them off. Thank you kindly Susan Harkins wrote: >There should be an option for identifying the first row as header when you >export and import. As for the rows of data, sometimes you have to clean up >the data before you export. Years ago I wrote something on cleaning up Excel >data before importing to Access, but I don't know how helpful it would be >with Word data. I can try to find it for you if nothing more helpful turns >up. > >Susan H. > > > > >>When I try to import it into Access or Excel I get column headers >>Reference Number Date >> Category Action Required being >>the first row of data >>1 July 31/07 >> being the second row of data >>It gets worse with the text in the rows. I can manually go in and fix >>the text file. >>I have not done this before I am missing something obvious here??? >> >> > > > From rockysmolin at bchacc.com Sat Jan 26 09:45:39 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 26 Jan 2008 07:45:39 -0800 Subject: [AccessD] Old Dog - New Tricks Message-ID: <000701c86032$805aba40$0301a8c0@HAL9005> Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky From iggy at nanaimo.ark.com Sat Jan 26 09:54:54 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 26 Jan 2008 07:54:54 -0800 Subject: [AccessD] Word Table to text Import to Access -Got It Message-ID: <479B57CE.7030608@nanaimo.ark.com> Hey Susan Got it. Deleted some of the nonprinting backwards Ps in the cells for the header and first three records. They converted and imported correctly. The rest of the records are still all over the place. Now not being a heavy duty Word user I will have to figure out how to automate this, so they are removed globally throughout the table. Thanks for your help. Sometimes just sounding off, gets the old grey matter working. From markamatte at hotmail.com Sat Jan 26 10:28:57 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Sat, 26 Jan 2008 16:28:57 +0000 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000701c86032$805aba40$0301a8c0@HAL9005> References: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: Rocky, I wish I had advice for you. This response is more in the form of a support group. Hi, my name is Mark...MS Access saved my life...I love it...and now I don't know if I can still make money with it. (sob,sniff) My point is I feel I'm in the same boat...I might not be as 'seasoned' as some of the others...but I think I see the writing on the wall as well...and its well past time for the next step. You are not alone my friend. Mark A. Matte > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Sat, 26 Jan 2008 07:45:39 -0800 > Subject: [AccessD] Old Dog - New Tricks > > Dear List: > > I am trying to decide what to do when I grow up. Access is great but I > think the market for indies like myself is declining and I'm thinking that I > need to learn some new tricks. The question is just what to learn. > > I like developing small business applications - that's my strength. So that > would be my target market. But what platform? > > I suppose whatever it is had better be web friendly. Everyone seems to want > their databases and applications to reside on the web. Or, if local, run > them in a browser. > > So what should I learn? VB.Net? ASP? > I already have Visual Studio 2005 Standard Edition which I got at a > Microsoft Launch and includes SQL Server 2005. > I also have VB 2008 Express Edition and Visual Web Developer. > I also have Front Page but that's been obsolete by Expressions which I can > get from the Web. > > But I don't know how these different components relate. Is ASP part of > Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net > app to the web or do you use something like Expressions to do it? What > should I learn? > > Maybe I can combine what I need to learn with a Microsoft tutorial that will > get me back into the Partner Program. > > I'm a bit at sea here as you can tell. But assuming that I don't lay down > and let the feeling pass, I think it's time to start taking a serious look > at what I'm going to do for the next ten years. Probably a couple years past > due, actually. > > Any advice/experience is of course, welcome. > > Regards, > > Rocky > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From ssharkins at gmail.com Sat Jan 26 10:45:01 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 26 Jan 2008 11:45:01 -0500 Subject: [AccessD] Word Table to text Import to Access -Got It References: <479B57CE.7030608@nanaimo.ark.com> Message-ID: <002901c8603a$cd87ae10$4b3a8343@SusanOne> Sounds like you need to delete code characters, right? The following article probably isn't specific to your needs, but might provide a bit of direction: http://articles.techrepublic.com.com/5100-10877_11-6170792.html Susan H. > Got it. > Deleted some of the nonprinting backwards Ps in the cells for the > header and first three records. They converted and imported correctly. > The rest of the records are still all over the place. Now not being a > heavy duty Word user I will have to figure out how to automate this, so > they are removed globally throughout the table. > > Thanks for your help. Sometimes just sounding off, gets the old grey > matter working. From ssharkins at gmail.com Sat Jan 26 10:46:30 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 26 Jan 2008 11:46:30 -0500 Subject: [AccessD] Old Dog - New Tricks References: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: <002c01c8603b$022fe790$4b3a8343@SusanOne> No, definitely not alone. I think a number of folks here are now working with .NET. Our old buddy Mike Gunderloy has totally abandoned MS technology -- http://afreshcup.com/ I think I'm going to become a travel agent. :) Susan H. > > Rocky, > > I wish I had advice for you. This response is more in the form of a > support group. > > Hi, my name is Mark...MS Access saved my life...I love it...and now I > don't know if I can still make money with it. (sob,sniff) > > My point is I feel I'm in the same boat...I might not be as 'seasoned' as > some of the others...but I think I see the writing on the wall as > well...and its well past time for the next step. > > You are not alone my friend. > > Mark A. Matte > > >> From: rockysmolin at bchacc.com >> To: accessd at databaseadvisors.com >> Date: Sat, 26 Jan 2008 07:45:39 -0800 >> Subject: [AccessD] Old Dog - New Tricks >> >> Dear List: >> >> I am trying to decide what to do when I grow up. Access is great but I >> think the market for indies like myself is declining and I'm thinking >> that I >> need to learn some new tricks. The question is just what to learn. >> >> I like developing small business applications - that's my strength. So >> that >> would be my target market. But what platform? >> >> I suppose whatever it is had better be web friendly. Everyone seems to >> want >> their databases and applications to reside on the web. Or, if local, run >> them in a browser. >> >> So what should I learn? VB.Net? ASP? >> I already have Visual Studio 2005 Standard Edition which I got at a >> Microsoft Launch and includes SQL Server 2005. >> I also have VB 2008 Express Edition and Visual Web Developer. >> I also have Front Page but that's been obsolete by Expressions which I >> can >> get from the Web. >> >> But I don't know how these different components relate. Is ASP part of >> Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net >> app to the web or do you use something like Expressions to do it? What >> should I learn? >> >> Maybe I can combine what I need to learn with a Microsoft tutorial that >> will >> get me back into the Partner Program. >> >> I'm a bit at sea here as you can tell. But assuming that I don't lay down >> and let the feeling pass, I think it's time to start taking a serious >> look >> at what I'm going to do for the next ten years. Probably a couple years >> past >> due, actually. >> >> Any advice/experience is of course, welcome. >> >> Regards, >> >> Rocky >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Connect and share in new ways with Windows Live. > http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Sat Jan 26 11:12:01 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 26 Jan 2008 09:12:01 -0800 Subject: [AccessD] Word Table to text Import to Access -Got It In-Reply-To: <002901c8603a$cd87ae10$4b3a8343@SusanOne> References: <479B57CE.7030608@nanaimo.ark.com> <002901c8603a$cd87ae10$4b3a8343@SusanOne> Message-ID: <479B69E1.10902@nanaimo.ark.com> Hey Susan It was the nonprinting paragraph style character that was causing my problem. As I mentioned not being proficient Word I have come up with a quick manual way (using find and replace and tracking) to strip out the nonprinting paragraph style characters. Some Word gurus will probably say it is crude but it works. Thanks again Susan Harkins wrote: >Sounds like you need to delete code characters, right? The following article >probably isn't specific to your needs, but might provide a bit of direction: > >http://articles.techrepublic.com.com/5100-10877_11-6170792.html > >Susan H. > > > >>Got it. >>Deleted some of the nonprinting backwards Ps in the cells for the >>header and first three records. They converted and imported correctly. >>The rest of the records are still all over the place. Now not being a >>heavy duty Word user I will have to figure out how to automate this, so >>they are removed globally throughout the table. >> >>Thanks for your help. Sometimes just sounding off, gets the old grey >>matter working. >> >> > > > From ssharkins at gmail.com Sat Jan 26 11:13:41 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 26 Jan 2008 12:13:41 -0500 Subject: [AccessD] Word Table to text Import to Access -Got It References: <479B57CE.7030608@nanaimo.ark.com><002901c8603a$cd87ae10$4b3a8343@SusanOne> <479B69E1.10902@nanaimo.ark.com> Message-ID: <005a01c8603e$cfa22cd0$4b3a8343@SusanOne> Never crude if it works. :) Susan H. > Hey Susan > It was the nonprinting paragraph style character that was causing my > problem. As I mentioned not being proficient Word I have come up with a > quick manual way (using find and replace and tracking) to strip out the > nonprinting paragraph style characters. Some Word gurus will probably > say it is crude but it works. From drawbridgej at sympatico.ca Sat Jan 26 11:34:28 2008 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Sat, 26 Jan 2008 12:34:28 -0500 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000701c86032$805aba40$0301a8c0@HAL9005> References: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: <000301c86041$b3c3bf30$6401a8c0@home6399619597> I'm with you Rocky. Not sure what the next step should be, but will watch this forum to see what others suggest. Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Jan 26 11:46:50 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 26 Jan 2008 12:46:50 -0500 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <002c01c8603b$022fe790$4b3a8343@SusanOne> References: <000701c86032$805aba40$0301a8c0@HAL9005> <002c01c8603b$022fe790$4b3a8343@SusanOne> Message-ID: <29f585dd0801260946u3d82f981l23e51b9ea8062df0@mail.gmail.com> Mike is way ahead of me on the RoR track, but I'm catching up bit by bit. Ruby on Rails is amazing technology, IMO. For what it's worth, I'm also learning Python, and finding it totally neat. As some of you may know, I play a musical instrument called tabla (drums from India); in fact I dedicated my first book on programming to one of the foremost tabla players in the world, Zakir Hussain. (He can be seen on YouTube, if anyone's interested.) Anyway, for years I have fantasized about writing a program that writes tabla solos. I've tried to do it in a dozen or so languages, and it's been very difficult. Now in Python, I think I have found the perfect language in which to write it. I've made more progress in a couple of days, using Python, than I have in months using other languages. Back to RoR. Compared to other webdev alternatives such as Java, well, there is no comparison. It's a ton simpler than .NET, too. Finally, it runs on any platform you desire. All that said, my left foot remains in the Access camp, if for no other reason than I know it so well. Arthur On 1/26/08, Susan Harkins wrote: > > No, definitely not alone. I think a number of folks here are now working > with .NET. Our old buddy Mike Gunderloy has totally abandoned MS > technology -- http://afreshcup.com/ > > I think I'm going to become a travel agent. :) > > Susan H. > > > > > > > Rocky, > > > > I wish I had advice for you. This response is more in the form of a > > support group. > > > > Hi, my name is Mark...MS Access saved my life...I love it...and now I > > don't know if I can still make money with it. (sob,sniff) > > > > My point is I feel I'm in the same boat...I might not be as 'seasoned' > as > > some of the others...but I think I see the writing on the wall as > > well...and its well past time for the next step. > > > > You are not alone my friend. > > > > Mark A. Matte > > > > > >> From: rockysmolin at bchacc.com > >> To: accessd at databaseadvisors.com > >> Date: Sat, 26 Jan 2008 07:45:39 -0800 > >> Subject: [AccessD] Old Dog - New Tricks > >> > >> Dear List: > >> > >> I am trying to decide what to do when I grow up. Access is great but I > >> think the market for indies like myself is declining and I'm thinking > >> that I > >> need to learn some new tricks. The question is just what to learn. > >> > >> I like developing small business applications - that's my strength. So > >> that > >> would be my target market. But what platform? > >> > >> I suppose whatever it is had better be web friendly. Everyone seems to > >> want > >> their databases and applications to reside on the web. Or, if local, > run > >> them in a browser. > >> > >> So what should I learn? VB.Net? ASP? > >> I already have Visual Studio 2005 Standard Edition which I got at a > >> Microsoft Launch and includes SQL Server 2005. > >> I also have VB 2008 Express Edition and Visual Web Developer. > >> I also have Front Page but that's been obsolete by Expressions which I > >> can > >> get from the Web. > >> > >> But I don't know how these different components relate. Is ASP part of > >> Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a > .Net > >> app to the web or do you use something like Expressions to do it? What > >> should I learn? > >> > >> Maybe I can combine what I need to learn with a Microsoft tutorial that > >> will > >> get me back into the Partner Program. > >> > >> I'm a bit at sea here as you can tell. But assuming that I don't lay > down > >> and let the feeling pass, I think it's time to start taking a serious > >> look > >> at what I'm going to do for the next ten years. Probably a couple years > >> past > >> due, actually. > >> > >> Any advice/experience is of course, welcome. > >> > >> Regards, > >> > >> Rocky > >> > >> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Connect and share in new ways with Windows Live. > > > http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From randall.anthony at cox.net Sat Jan 26 11:57:54 2008 From: randall.anthony at cox.net (Randall Anthony) Date: Sat, 26 Jan 2008 12:57:54 -0500 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: <003501c86044$f9eeab70$6600a8c0@DF2PJY11> If anybody recalls, I basically had a life changing moment about three years ago. After getting laid off for the third time, I took MCDBA classes, passed 3 out of 4 exams, and am very happily ensconced in an IT shop that covers the MS spectrum. I've got apps in A97, A2K3, VB, web pages and a lot of SQL backends. I've now been tasked with converting existing stuff into .Net and have been given a choice to use VB or C#. We're migrating just about everything to .Net, explored some CSLA concepts and are also planning on moving to Sharepoint. IMHO, generally what I've learned so far: ASP is basically old news. VB.Net uses aspx with code behind pages. Going from asp to .Net is like going from sql 6.5 to sql 2005 with almost no backward compatibility. Access is still going to be used, but maybe just as the backend for someone who can't afford SQL. VB.Net is intrinsically designed to allow the developer to create desktop and web apps, and connect to data within the same IDE. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Jan 26 12:50:23 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 26 Jan 2008 10:50:23 -0800 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000301c86041$b3c3bf30$6401a8c0@home6399619597> References: <000701c86032$805aba40$0301a8c0@HAL9005> <000301c86041$b3c3bf30$6401a8c0@home6399619597> Message-ID: <001101c8604c$4eff8a10$0301a8c0@HAL9005> Damn. The audience is growing. But there's no one at the podium. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Saturday, January 26, 2008 9:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks I'm with you Rocky. Not sure what the next step should be, but will watch this forum to see what others suggest. Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 PM From RRANTHON at sentara.com Sat Jan 26 13:12:21 2008 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Sat, 26 Jan 2008 14:12:21 -0500 Subject: [AccessD] Cannot set recordsource on Load Event Message-ID: <200801261911.m0QJBVte021891@databaseadvisors.com> Greetings, Im vexed by a problem Im having with a form. A97. On form A, I have a Do.Cmd etc, and passing an openarg value of 1 or 2. On form B, I have an on load event to evaluate the openarg and set the recordsource. This is obviously not working as the form opens with all the records displayed. If I set the recordsource in the properties window, it works fine. What am I missing? TIA. Form A DoCmd.OpenForm "Audit Entry", acNormal, , Criteria, , , "1" Form B Private Sub Form_Load() Dim iBusUnit As Integer iBusUnit = Me.Form.OpenArgs If iBusUnit = 1 Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub From shamil at users.mns.ru Sat Jan 26 13:23:41 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 26 Jan 2008 22:23:41 +0300 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: <000001c86050$f5f937e0$6501a8c0@nant> Hi Rocky, Go ASP.NET. Your E-Z-MRP should be relatively easy to port to ASP.NET: I mean the way you do organize your GUI in E-Z-ERP is rather similar to the pure ASP.NET apps, IOW ASP.NET apps without AJAX and all other "goodies", which you can add later, when first ASP.NET port ready and you get first experience with ASP.NET (if that port is the goal of you and your customers)... ASP.NET embraces everything in .NET technology except WinForms, which anyway are getting a kind of obsolete replaced by WPF with XAML, XBAP and SilverLight... MS SQL Server 2005 Express edition should be good enough for small businesses, when needed you can seamlessly switch to full MS SQL Server 2005 edition... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 6:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Jan 26 13:29:02 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 26 Jan 2008 11:29:02 -0800 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <200801261911.m0QJBVte021891@databaseadvisors.com> References: <200801261911.m0QJBVte021891@databaseadvisors.com> Message-ID: <001b01c86051$b5741400$0301a8c0@HAL9005> set a breakpoint at the beginning of the Form B load event and step through the code looking at the values. Might reveal where it's going wrong. Also, run both record source queries from the QBE grid to make sure they give diriment results. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Saturday, January 26, 2008 11:12 AM To: Database Advisors Group Subject: [AccessD] Cannot set recordsource on Load Event Greetings, Im vexed by a problem Im having with a form. A97. On form A, I have a Do.Cmd etc, and passing an openarg value of 1 or 2. On form B, I have an on load event to evaluate the openarg and set the recordsource. This is obviously not working as the form opens with all the records displayed. If I set the recordsource in the properties window, it works fine. What am I missing? TIA. Form A DoCmd.OpenForm "Audit Entry", acNormal, , Criteria, , , "1" Form B Private Sub Form_Load() Dim iBusUnit As Integer iBusUnit = Me.Form.OpenArgs If iBusUnit = 1 Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub -- 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 PM From randall.anthony at cox.net Sat Jan 26 13:35:55 2008 From: randall.anthony at cox.net (Randall Anthony) Date: Sat, 26 Jan 2008 14:35:55 -0500 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <001b01c86051$b5741400$0301a8c0@HAL9005> Message-ID: <004501c86052$ab0a8fc0$6600a8c0@DF2PJY11> I've done that, when it hits the openargs on form B, it goes to the oncurrent event. I've placed the me.recordsource in the the current event, it still doesn't set it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event set a breakpoint at the beginning of the Form B load event and step through the code looking at the values. Might reveal where it's going wrong. Also, run both record source queries from the QBE grid to make sure they give diriment results. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Saturday, January 26, 2008 11:12 AM To: Database Advisors Group Subject: [AccessD] Cannot set recordsource on Load Event Greetings, Im vexed by a problem Im having with a form. A97. On form A, I have a Do.Cmd etc, and passing an openarg value of 1 or 2. On form B, I have an on load event to evaluate the openarg and set the recordsource. This is obviously not working as the form opens with all the records displayed. If I set the recordsource in the properties window, it works fine. What am I missing? TIA. Form A DoCmd.OpenForm "Audit Entry", acNormal, , Criteria, , , "1" Form B Private Sub Form_Load() Dim iBusUnit As Integer iBusUnit = Me.Form.OpenArgs If iBusUnit = 1 Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub -- 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Jan 26 13:51:03 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 26 Jan 2008 13:51:03 -0600 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <004501c86052$ab0a8fc0$6600a8c0@DF2PJY11> References: <001b01c86051$b5741400$0301a8c0@HAL9005> <004501c86052$ab0a8fc0$6600a8c0@DF2PJY11> Message-ID: <000601c86054$c85b38c0$0300a8c0@danwaters> Randall, You can't put me.recordsource in the Current event because setting me.recordsource will trigger the current event. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall Anthony Sent: Saturday, January 26, 2008 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event I've done that, when it hits the openargs on form B, it goes to the oncurrent event. I've placed the me.recordsource in the the current event, it still doesn't set it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event set a breakpoint at the beginning of the Form B load event and step through the code looking at the values. Might reveal where it's going wrong. Also, run both record source queries from the QBE grid to make sure they give diriment results. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Saturday, January 26, 2008 11:12 AM To: Database Advisors Group Subject: [AccessD] Cannot set recordsource on Load Event Greetings, Im vexed by a problem Im having with a form. A97. On form A, I have a Do.Cmd etc, and passing an openarg value of 1 or 2. On form B, I have an on load event to evaluate the openarg and set the recordsource. This is obviously not working as the form opens with all the records displayed. If I set the recordsource in the properties window, it works fine. What am I missing? TIA. Form A DoCmd.OpenForm "Audit Entry", acNormal, , Criteria, , , "1" Form B Private Sub Form_Load() Dim iBusUnit As Integer iBusUnit = Me.Form.OpenArgs If iBusUnit = 1 Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub -- 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 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 randall.anthony at cox.net Sat Jan 26 13:54:37 2008 From: randall.anthony at cox.net (Randall Anthony) Date: Sat, 26 Jan 2008 14:54:37 -0500 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <000601c86054$c85b38c0$0300a8c0@danwaters> Message-ID: <004601c86055$484112d0$6600a8c0@DF2PJY11> So, setting the recordsource (no matter where) triggers the oncurrent? Therefore bypassing the set criteria? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, January 26, 2008 2:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event Randall, You can't put me.recordsource in the Current event because setting me.recordsource will trigger the current event. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall Anthony Sent: Saturday, January 26, 2008 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event I've done that, when it hits the openargs on form B, it goes to the oncurrent event. I've placed the me.recordsource in the the current event, it still doesn't set it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event set a breakpoint at the beginning of the Form B load event and step through the code looking at the values. Might reveal where it's going wrong. Also, run both record source queries from the QBE grid to make sure they give diriment results. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Saturday, January 26, 2008 11:12 AM To: Database Advisors Group Subject: [AccessD] Cannot set recordsource on Load Event Greetings, Im vexed by a problem Im having with a form. A97. On form A, I have a Do.Cmd etc, and passing an openarg value of 1 or 2. On form B, I have an on load event to evaluate the openarg and set the recordsource. This is obviously not working as the form opens with all the records displayed. If I set the recordsource in the properties window, it works fine. What am I missing? TIA. Form A DoCmd.OpenForm "Audit Entry", acNormal, , Criteria, , , "1" Form B Private Sub Form_Load() Dim iBusUnit As Integer iBusUnit = Me.Form.OpenArgs If iBusUnit = 1 Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub -- 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 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 miscellany at mvps.org Sat Jan 26 14:35:59 2008 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 27 Jan 2008 09:35:59 +1300 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <004601c86055$484112d0$6600a8c0@DF2PJY11> References: <004601c86055$484112d0$6600a8c0@DF2PJY11> Message-ID: <479B99AF.2000003@mvps.org> Randall, I would always use the Open event of the form, rather than the Load event, to manipulate the Record Source. Not sure whether that will make a difference, but waiting until after the data is populated seems a bit late in the day to be telling it which records to include. The OpenArgs property is text, not numerical. Therefore, your code should read: Private Sub Form_Open(Cancel As Integer) If Me.OpenArgs = "1" Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub Randall Anthony wrote: > So, setting the recordsource (no matter where) triggers the oncurrent? > Therefore bypassing the set criteria? From dwaters at usinternet.com Sat Jan 26 15:10:18 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 26 Jan 2008 15:10:18 -0600 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <004601c86055$484112d0$6600a8c0@DF2PJY11> References: <000601c86054$c85b38c0$0300a8c0@danwaters> <004601c86055$484112d0$6600a8c0@DF2PJY11> Message-ID: <000001c8605f$db0cfc00$0300a8c0@danwaters> -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall Anthony Sent: Saturday, January 26, 2008 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event So, setting the recordsource (no matter where) triggers the oncurrent? - Yes Therefore bypassing the set criteria? - I don't know what your question is. Try setting breakpoints at each Instance of setting the recordsource and another one at the Current Event to see how it works out. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, January 26, 2008 2:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event Randall, You can't put me.recordsource in the Current event because setting me.recordsource will trigger the current event. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall Anthony Sent: Saturday, January 26, 2008 1:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event I've done that, when it hits the openargs on form B, it goes to the oncurrent event. I've placed the me.recordsource in the the current event, it still doesn't set it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 2:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cannot set recordsource on Load Event set a breakpoint at the beginning of the Form B load event and step through the code looking at the values. Might reveal where it's going wrong. Also, run both record source queries from the QBE grid to make sure they give diriment results. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Saturday, January 26, 2008 11:12 AM To: Database Advisors Group Subject: [AccessD] Cannot set recordsource on Load Event Greetings, Im vexed by a problem Im having with a form. A97. On form A, I have a Do.Cmd etc, and passing an openarg value of 1 or 2. On form B, I have an on load event to evaluate the openarg and set the recordsource. This is obviously not working as the form opens with all the records displayed. If I set the recordsource in the properties window, it works fine. What am I missing? TIA. Form A DoCmd.OpenForm "Audit Entry", acNormal, , Criteria, , , "1" Form B Private Sub Form_Load() Dim iBusUnit As Integer iBusUnit = Me.Form.OpenArgs If iBusUnit = 1 Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub -- 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 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 randall.anthony at cox.net Sat Jan 26 15:11:55 2008 From: randall.anthony at cox.net (Randall Anthony) Date: Sat, 26 Jan 2008 16:11:55 -0500 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <479B99AF.2000003@mvps.org> Message-ID: <004701c86060$146772f0$6600a8c0@DF2PJY11> I sorry I didn't make myself clear. I have also just placed a line of code in the OpenForm event Me.Recordsource = "Audit_Data_Med" and it still returns all records. Could setting the criteria be the problem? That I can't apply a filter to the form while dynamically setting the recordsource? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, January 26, 2008 3:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot set recordsource on Load Event Randall, I would always use the Open event of the form, rather than the Load event, to manipulate the Record Source. Not sure whether that will make a difference, but waiting until after the data is populated seems a bit late in the day to be telling it which records to include. The OpenArgs property is text, not numerical. Therefore, your code should read: Private Sub Form_Open(Cancel As Integer) If Me.OpenArgs = "1" Me.RecordSource = "Audit_Data_Med" Else Me.RecordSource = "Audit_Data_MH" End If End Sub Randall Anthony wrote: > So, setting the recordsource (no matter where) triggers the oncurrent? > Therefore bypassing the set criteria? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Sat Jan 26 15:38:51 2008 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 27 Jan 2008 10:38:51 +1300 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <004701c86060$146772f0$6600a8c0@DF2PJY11> References: <004701c86060$146772f0$6600a8c0@DF2PJY11> Message-ID: <479BA86B.7030107@mvps.org> Randall, Ah, now I see what you mean. You are using a Where Condition in your OpenForm method. I sorta didn't notice that before. Yes, subsequently setting the Record Source property will obviously overwrite the Where Condition previously applied. Ok, as a concept, here's how I would do it: Form A DoCmd.OpenForm "Audit Entry", , , , , , "1" Form B Private Sub Form_Open(Cancel As Integer) If Me.OpenArgs = "1" Then Me.RecordSource = "SELECT * FROM Audit_Data_Med WHERE " Else Me.RecordSource = "Audit_Data_MH" End If End Sub Hard to shoot in the dark here, without knowing what the mysterious Criteria is all about. But it could be that this is more applicable concept: Form A DoCmd.OpenForm "Audit Entry", , , , , , Criteria Form B Private Sub Form_Open(Cancel As Integer) If Len(Me.OpenArgs) Then Me.RecordSource = "SELECT * FROM Audit_Data_Med WHERE " & Me.OpenArgs Else Me.RecordSource = "Audit_Data_MH" End If End Sub ... Or: Form A DoCmd.OpenForm "Audit Entry", , , , , , "1" & Criteria Form B Private Sub Form_Open(Cancel As Integer) If Me.OpenArgs Like "1*" Then Me.RecordSource = "SELECT * FROM Audit_Data_Med WHERE " & Mid(Me.OpenArgs, 2) Else Me.RecordSource = "SELECT * FROM Audit_Data_MH WHERE " & Me.OpenArgs End If End Sub Regards Steve Randall Anthony wrote: > I sorry I didn't make myself clear. I have also just placed a line of code > in the OpenForm event Me.Recordsource = "Audit_Data_Med" and it still > returns all records. > > Could setting the criteria be the problem? That I can't apply a filter to > the form while dynamically setting the recordsource? From rockysmolin at bchacc.com Sat Jan 26 15:41:53 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 26 Jan 2008 13:41:53 -0800 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000001c86050$f5f937e0$6501a8c0@nant> References: <000701c86032$805aba40$0301a8c0@HAL9005> <000001c86050$f5f937e0$6501a8c0@nant> Message-ID: <002801c86064$441a27a0$0301a8c0@HAL9005> Shamil: How does ASP.NET relate to VB.NET? Is ASP.NET a stand alone development language live VB.NET? Is ASP.NET part of the Visual Studio suite? Is it primarily a back end tool or do you create all of the forms, reports, etc. in ASP? So many questions... Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, January 26, 2008 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Hi Rocky, Go ASP.NET. Your E-Z-MRP should be relatively easy to port to ASP.NET: I mean the way you do organize your GUI in E-Z-ERP is rather similar to the pure ASP.NET apps, IOW ASP.NET apps without AJAX and all other "goodies", which you can add later, when first ASP.NET port ready and you get first experience with ASP.NET (if that port is the goal of you and your customers)... ASP.NET embraces everything in .NET technology except WinForms, which anyway are getting a kind of obsolete replaced by WPF with XAML, XBAP and SilverLight... MS SQL Server 2005 Express edition should be good enough for small businesses, when needed you can seamlessly switch to full MS SQL Server 2005 edition... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 6:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 PM From randall.anthony at cox.net Sat Jan 26 16:03:49 2008 From: randall.anthony at cox.net (Randall Anthony) Date: Sat, 26 Jan 2008 17:03:49 -0500 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <479BA86B.7030107@mvps.org> Message-ID: <004801c86067$54760da0$6600a8c0@DF2PJY11> Gotcha! I was trying to work within the bounds of the existing code and didn't explore alternatives to that. Since I am passing the openargs, why not include the criteria (which can be multiple coming from form A) as in proposed solution b and c? I'm tired of looking at it today, but I think I'll explore those ideas tomorrow and report back posthaste. Thanks Steve, and everyone else for your help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, January 26, 2008 4:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cannot set recordsource on Load Event Randall, Ah, now I see what you mean. You are using a Where Condition in your OpenForm method. I sorta didn't notice that before. Yes, subsequently setting the Record Source property will obviously overwrite the Where Condition previously applied. Ok, as a concept, here's how I would do it: Form A DoCmd.OpenForm "Audit Entry", , , , , , "1" Form B Private Sub Form_Open(Cancel As Integer) If Me.OpenArgs = "1" Then Me.RecordSource = "SELECT * FROM Audit_Data_Med WHERE " Else Me.RecordSource = "Audit_Data_MH" End If End Sub Hard to shoot in the dark here, without knowing what the mysterious Criteria is all about. But it could be that this is more applicable concept: Form A DoCmd.OpenForm "Audit Entry", , , , , , Criteria Form B Private Sub Form_Open(Cancel As Integer) If Len(Me.OpenArgs) Then Me.RecordSource = "SELECT * FROM Audit_Data_Med WHERE " & Me.OpenArgs Else Me.RecordSource = "Audit_Data_MH" End If End Sub ... Or: Form A DoCmd.OpenForm "Audit Entry", , , , , , "1" & Criteria Form B Private Sub Form_Open(Cancel As Integer) If Me.OpenArgs Like "1*" Then Me.RecordSource = "SELECT * FROM Audit_Data_Med WHERE " & Mid(Me.OpenArgs, 2) Else Me.RecordSource = "SELECT * FROM Audit_Data_MH WHERE " & Me.OpenArgs End If End Sub Regards Steve Randall Anthony wrote: > I sorry I didn't make myself clear. I have also just placed a line of code > in the OpenForm event Me.Recordsource = "Audit_Data_Med" and it still > returns all records. > > Could setting the criteria be the problem? That I can't apply a filter to > the form while dynamically setting the recordsource? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Sat Jan 26 18:44:19 2008 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 26 Jan 2008 19:44:19 -0500 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000301c86041$b3c3bf30$6401a8c0@home6399619597> References: <000701c86032$805aba40$0301a8c0@HAL9005> <000301c86041$b3c3bf30$6401a8c0@home6399619597> Message-ID: <000c01c8607d$c0facea0$42f06be0$@rr.com> I think SQL Server or SQL 2005 Express edition (until 2008 comes out) is the way to go: http://www.microsoft.com/sql/downloads/trial-software.mspx Even if you are using an Access front-end. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Saturday, January 26, 2008 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks I'm with you Rocky. Not sure what the next step should be, but will watch this forum to see what others suggest. Jack From ssharkins at gmail.com Sat Jan 26 18:48:52 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 26 Jan 2008 19:48:52 -0500 Subject: [AccessD] Old Dog - New Tricks References: <000701c86032$805aba40$0301a8c0@HAL9005><000301c86041$b3c3bf30$6401a8c0@home6399619597> <000c01c8607d$c0facea0$42f06be0$@rr.com> Message-ID: <002c01c8607e$655600a0$4b3a8343@SusanOne> >I think SQL Server or SQL 2005 Express edition (until 2008 comes out) is >the > way to go: > http://www.microsoft.com/sql/downloads/trial-software.mspx > Even if you are using an Access front-end. =======Or VB Express -- don't need Access anymore at all. VB Express is incredibly easy to use -- it does almost everything you need with just a few clicks. Susan H. From miscellany at mvps.org Sat Jan 26 20:33:48 2008 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 27 Jan 2008 15:33:48 +1300 Subject: [AccessD] Cannot set recordsource on Load Event In-Reply-To: <004801c86067$54760da0$6600a8c0@DF2PJY11> References: <004801c86067$54760da0$6600a8c0@DF2PJY11> Message-ID: <479BED8C.2060600@mvps.org> Randall, It also could be that it is easier/better to write the criteria directly into the Audit_Data_Med query or whatever it is? Regards Steve Randall Anthony wrote: > Gotcha! I was trying to work within the bounds of the existing code and > didn't explore alternatives to that. Since I am passing the openargs, why > not include the criteria (which can be multiple coming from form A) as in > proposed solution b and c? I'm tired of looking at it today, but I think > I'll explore those ideas tomorrow and report back posthaste. Thanks Steve, > and everyone else for your help. > From max.wanadoo at gmail.com Sun Jan 27 04:13:01 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 27 Jan 2008 10:13:01 -0000 Subject: [AccessD] Data Encryption In-Reply-To: Message-ID: <000c01c860cd$351219c0$8119fea9@LTVM> Pete, I have a similar system. Following a comment from John Colby re TrueCrypt, I downloaded and installed it plus the following: TrueCrypt cGeep ZipGenius TRUECRYPT (Free) The BE and FE's are encrypted using TrueCrypt and can only be seen when Mounted as a Drive. The encryption key (passphrase) can be any length you want - the longer the better for security, the shorter the better for ease of use - your choice. We mount them to Drive Z and it works a dream. When UnMounted they appear as a garbled file. You need to determine beforehand what size you want the encrypted file to be as this will determine how much data you can put into it. One it is Mounted it will appear as a normal windows drive and you can drag-n-drop, copy, paste etc etc as you would be able to for any other drive. When doing backups and offsite copies, you only need to copy the encrypted file which mean that even if the get stolen or compromised the code is still encrypted. Once a PC/Laptop is turn off, it automatically disMounts the Drive. The Pro version (cheap) will allow you to do other things. Not only is the BE encrypted until Mounted, but the mdb is itself also password protected. Each night various routines are run to generate web sites, compress/compact etc. The Server then reboots (which dismounts the Drives) and on booting, auto-loads the program to Mount the Drives and sits there waiting for somebody with the passphrase to key it in. Then they are Mounted. People then switch on their PCs and a batch file copies over the latest FE mdb from the Server which only take a few secs over 1Gb net. This means they always have the latest copy. It all works seamlessly and easily. The only thing you need to do once it is set up is to remember the passphrase. cGeep (Free) We use this for transmitting personal data and files (eg. Spreadsheet) between staff/branches etc. It is based on PGP and excellent. Any attachments are also encrypted. Only users with a matching key can decrypt the email/attachments. The Pro version (cheap) will allow you to do other things. ZipGenius (Free) We use this to compress files before transmitting them using cGeep. The three packages above have been in use now for some months and have behaved faultless (fingers crossed, knock on wood, etc) and I can definitely recommend this approach. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pete Phillipps Sent: Saturday, January 26, 2008 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data Encryption Hi Everyone, I'm due to start work on creating a database in a couple of weeks amd in view of the recent UK government record on losing data it has made me thing about data encryption. Does anyone have any advice/code on encrypting data in an Access 2003 back-end that would be accessed via an Access 2003 front end and via ASP/ASP. NET? Pete -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun Jan 27 04:18:59 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 27 Jan 2008 10:18:59 -0000 Subject: [AccessD] Getting a handle to hidden word instance In-Reply-To: <00d201c85fa3$13f23ed0$0401a8c0@M90> Message-ID: <000d01c860ce$09161230$8119fea9@LTVM> John, Are you using something like this. Private objWord As Word.Application ' or dim if in procedure Set objWord = New Word.Application ' create your own application of word Your code here Set objWord = Nothing ' release the word object Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 25, 2008 10:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Getting a handle to hidden word instance I am using a mail merge system that occasionally leaves Word open but hidden. The next time the mail merge tries to run it can't since word is open and holding a file open that the mail merge function is trying to create. Thus I need to get a handle on any open word instance, and hopefully see if it is hidden. If so assume it is mine and close it. Is there any way to do such a thing in VBA code? Thanks, 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 max.wanadoo at gmail.com Sun Jan 27 04:24:37 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 27 Jan 2008 10:24:37 -0000 Subject: [AccessD] Retrieve command line arguments In-Reply-To: <002b01c85f80$494aca70$8abea8c0@XPS> Message-ID: <000e01c860ce$d266a190$8119fea9@LTVM> In my Goodie-Bag. Thanks Jim Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, January 25, 2008 6:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Retrieve command line arguments Rocky, Below is code to grab the value you pass in with /cmd on the command line. Call GetCommandLine() in your startup form. You can optionally pass an argument on the number of parameters you expect to see. If you don't, it assumes up to 10. The procedure assumes a space or tab delimits an argument unless it's within quotes. Once you've done that, then anytime in the app call GetCommandLineArg() with the argument number to get it's value. Here's an example of that: ' Main processing loop for app ' Check command line passed: ' P1 - Job/Customer: ' 'ALL' - Process all defined jobs (Customers). etc From dwaters at usinternet.com Sun Jan 27 08:35:19 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 27 Jan 2008 08:35:19 -0600 Subject: [AccessD] VB Express Compare to Access (was: Old Dog - New Tricks) In-Reply-To: <002c01c8607e$655600a0$4b3a8343@SusanOne> References: <000701c86032$805aba40$0301a8c0@HAL9005><000301c86041$b3c3bf30$6401a8c0@home6399619597><000c01c8607d$c0facea0$42f06be0$@rr.com> <002c01c8607e$655600a0$4b3a8343@SusanOne> Message-ID: <000601c860f1$d7595580$0300a8c0@danwaters> Susan, Do you know of a good VB Express vs. Access comparison? Pros & Cons? What does VB Express not do that you miss in Access? Thanks, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, January 26, 2008 6:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks >I think SQL Server or SQL 2005 Express edition (until 2008 comes out) is >the > way to go: > http://www.microsoft.com/sql/downloads/trial-software.mspx > Even if you are using an Access front-end. =======Or VB Express -- don't need Access anymore at all. VB Express is incredibly easy to use -- it does almost everything you need with just a few clicks. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Jan 27 08:52:58 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 27 Jan 2008 09:52:58 -0500 Subject: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) References: <000701c86032$805aba40$0301a8c0@HAL9005><000301c86041$b3c3bf30$6401a8c0@home6399619597><000c01c8607d$c0facea0$42f06be0$@rr.com><002c01c8607e$655600a0$4b3a8343@SusanOne> <000601c860f1$d7595580$0300a8c0@danwaters> Message-ID: <00cd01c860f4$5022e510$4b3a8343@SusanOne> > Do you know of a good VB Express vs. Access comparison? Pros & Cons? =======I use Sybex's "Mastering Visual Basic 2005 Express Edition" -- but only because they sent me a free copy because my SQL Server Express book is part of that series. Acey Bunch is one of the author's, so you know it's good. Don't know of a comparison but they're too different to truly compare. > > What does VB Express not do that you miss in Access? =======I don't do enough SQL Server development (none really) to answer that. VB Express is really just a bunch of wizards that do literally everything for you, which makes it extremely easy for the non-expert to use. You won't use it like Access, so a true comparison isn't possible, but connections are a good example -- outside the mdb, you have to jump through hoops unless you use a DSN. In VB Express, you click a few things and not only do you have a connection, but a control displaying data -- both bound or unbound -- just a click, not a major undertaking. Of course, some developers actually like the more hands-on stuff, and you can still use it that way, but don't make the mistake of thinking VB Express wizards are toys, they're much more functional than the ones in Access -- it's just a different level of service. Susan H. From dwaters at usinternet.com Sun Jan 27 09:27:48 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 27 Jan 2008 09:27:48 -0600 Subject: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) In-Reply-To: <00cd01c860f4$5022e510$4b3a8343@SusanOne> References: <000701c86032$805aba40$0301a8c0@HAL9005><000301c86041$b3c3bf30$6401a8c0@home6399619597><000c01c8607d$c0facea0$42f06be0$@rr.com><002c01c8607e$655600a0$4b3a8343@SusanOne><000601c860f1$d7595580$0300a8c0@danwaters> <00cd01c860f4$5022e510$4b3a8343@SusanOne> Message-ID: <000701c860f9$2c6949c0$0300a8c0@danwaters> Thanks - I didn't know any of that! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, January 27, 2008 8:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) > Do you know of a good VB Express vs. Access comparison? Pros & Cons? =======I use Sybex's "Mastering Visual Basic 2005 Express Edition" -- but only because they sent me a free copy because my SQL Server Express book is part of that series. Acey Bunch is one of the author's, so you know it's good. Don't know of a comparison but they're too different to truly compare. > > What does VB Express not do that you miss in Access? =======I don't do enough SQL Server development (none really) to answer that. VB Express is really just a bunch of wizards that do literally everything for you, which makes it extremely easy for the non-expert to use. You won't use it like Access, so a true comparison isn't possible, but connections are a good example -- outside the mdb, you have to jump through hoops unless you use a DSN. In VB Express, you click a few things and not only do you have a connection, but a control displaying data -- both bound or unbound -- just a click, not a major undertaking. Of course, some developers actually like the more hands-on stuff, and you can still use it that way, but don't make the mistake of thinking VB Express wizards are toys, they're much more functional than the ones in Access -- it's just a different level of service. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Jan 27 13:20:50 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 27 Jan 2008 22:20:50 +0300 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <002801c86064$441a27a0$0301a8c0@HAL9005> Message-ID: <000d01c86119$ba2c9620$6501a8c0@nant> Hi Rocky, ASP.NET is one of .NET Framework technologies. It has special HTML-based mark-up language to define Web forms. To write code processing webforms' events both VB.NET and C# can be used within ASP.NET webform's mark-up or as a separate so called codebehind code file. Yes, ASP.NET design tools are a part of Visual Studio suite. ASP.NET itself is a part of .NET Framework IOW it's installed when .NET Framework redistributables are installed... ASP.NET runtime runs on server side and generates HTML + JavaScript(if JavaScript enabled) based on Web forms' ASP.NET markup... ASP.NET has many native advanced controls: they can be design time bound (with many advanced binding options including custom classes, collections etc. declarative binding...) or unbound... In ASP.NET 2.0 and up there are advanced datasource controls as SqlDataSource, AccessDataSource, ObjectDataSource, XMLDataSource etc... There are relatively inexpensive third-party controls (e.g. Telerik), which make ASP.NET development very similar to VB6 as people say (I do not use these controls yet)... Making apps as Northwind in ASP.NET will not need almost any imperative (VB.NET or C#) coding at all: most of data binding, selection, inserting/editing/deleting, validation and navigation between webforms and reports can be expressed in ASP.NET mark-up using ASP.NET native controls... Etc. Of course making real-life apps will need imperative coding, sometimes quite a lot, especially for enterprise level applications, but for small businesses and for Intranet ASP.NET development could be IMO more RAD than MS Access, and unlike MS Access apps the potential to scale properly developed ASP.NET apps is unlimited... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 27, 2008 12:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Shamil: How does ASP.NET relate to VB.NET? Is ASP.NET a stand alone development language live VB.NET? Is ASP.NET part of the Visual Studio suite? Is it primarily a back end tool or do you create all of the forms, reports, etc. in ASP? So many questions... Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, January 26, 2008 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Hi Rocky, Go ASP.NET. Your E-Z-MRP should be relatively easy to port to ASP.NET: I mean the way you do organize your GUI in E-Z-ERP is rather similar to the pure ASP.NET apps, IOW ASP.NET apps without AJAX and all other "goodies", which you can add later, when first ASP.NET port ready and you get first experience with ASP.NET (if that port is the goal of you and your customers)... ASP.NET embraces everything in .NET technology except WinForms, which anyway are getting a kind of obsolete replaced by WPF with XAML, XBAP and SilverLight... MS SQL Server 2005 Express edition should be good enough for small businesses, when needed you can seamlessly switch to full MS SQL Server 2005 edition... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 6:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Sun Jan 27 13:28:15 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 27 Jan 2008 11:28:15 -0800 Subject: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) In-Reply-To: <000601c860f1$d7595580$0300a8c0@danwaters> Message-ID: <001901c8611a$c35264e0$0200a8c0@murphy3234aaf1> I remember seeing an article or editorial in one of the incarnations of the Access Advisor / Access VB Advisor magazine by Peter Vogel who was developing in both the Access and Visual Studio environments that said that Access was about twice as fast to develop in as VB.Net for an equivalent application. I don't have the reference and my recollection was that it was more a qualitative observation on his part as having actual metrics. In my experimenting the biggest shortcoming in VB.Net is not being able to creat the great reports that Access does so well. You can purchase separate applications to do this but that is another $500 - $1000. I am experimenting with VS 2005 but have only build small Win forms apps to date, no data connections. For web work ASP.NET is the only way to go in the Windows world. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 27, 2008 6:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) Susan, Do you know of a good VB Express vs. Access comparison? Pros & Cons? What does VB Express not do that you miss in Access? Thanks, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, January 26, 2008 6:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks >I think SQL Server or SQL 2005 Express edition (until 2008 comes out) >is the way to go: > http://www.microsoft.com/sql/downloads/trial-software.mspx > Even if you are using an Access front-end. =======Or VB Express -- don't need Access anymore at all. VB Express is incredibly easy to use -- it does almost everything you need with just a few clicks. 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 RRANTHON at sentara.com Sun Jan 27 13:37:55 2008 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Sun, 27 Jan 2008 14:37:55 -0500 Subject: [AccessD] Cannot set recordsource on Load Event (Resolved) In-Reply-To: <479BED8C.2060600@mvps.org> References: <004801c86067$54760da0$6600a8c0@DF2PJY11> <479BED8C.2060600@mvps.org> Message-ID: <200801271936.m0RJaqid025248@databaseadvisors.com> Steve (and everyone), It was very simple really, based on your proposed resolution. Since I'm resolving which query to use in form A, I just set the openargs with everything there. Works like a champ. Solution below. Thanks again! Form A If BusUnit = 1 then DoCmd.OpenForm "Audit Entry", , , , , , "Select * from Audit_Data_Med WHERE " & Criteria else DoCmd.OpenForm "Audit Entry", , , , , , "Select * from Audit_Data_Fred WHERE " & Criteria end if Form B Private Sub Form_Load() Me.RecordSource = Me.OpenArgs End Sub >>> Steve Schapel 1/26/2008 9:33 PM >>> Randall, It also could be that it is easier/better to write the criteria directly into the Audit_Data_Med query or whatever it is? Regards Steve Randall Anthony wrote: > Gotcha! I was trying to work within the bounds of the existing code and > didn't explore alternatives to that. Since I am passing the openargs, why > not include the criteria (which can be multiple coming from form A) as in > proposed solution b and c? I'm tired of looking at it today, but I think > I'll explore those ideas tomorrow and report back posthaste. Thanks Steve, > and everyone else for your help. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Sun Jan 27 14:06:28 2008 From: bheygood at abestsystems.com (Bob Heygood) Date: Sun, 27 Jan 2008 12:06:28 -0800 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000d01c86119$ba2c9620$6501a8c0@nant> References: <002801c86064$441a27a0$0301a8c0@HAL9005> <000d01c86119$ba2c9620$6501a8c0@nant> Message-ID: <002301c86120$1a394df0$800101df@speedy> I would like to thank all who have responded to this thread as I may decide to leave the safety/security/comfort factor of Access development. Just wish I had the crystal ball to see where all these new technologies are headed and which will be supported and accepted. If forced right now, ASP.NET looks like my choice. Tho, one of our local user group members maintains that anything .net is a mess..... Then there is the matter of how long my wrists will hold up.... And thanks to Rocky for bringing it up. Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, January 27, 2008 11:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Hi Rocky, ASP.NET is one of .NET Framework technologies. It has special HTML-based mark-up language to define Web forms. To write code processing webforms' events both VB.NET and C# can be used within ASP.NET webform's mark-up or as a separate so called codebehind code file. Yes, ASP.NET design tools are a part of Visual Studio suite. ASP.NET itself is a part of .NET Framework IOW it's installed when .NET Framework redistributables are installed... ASP.NET runtime runs on server side and generates HTML + JavaScript(if JavaScript enabled) based on Web forms' ASP.NET markup... ASP.NET has many native advanced controls: they can be design time bound (with many advanced binding options including custom classes, collections etc. declarative binding...) or unbound... In ASP.NET 2.0 and up there are advanced datasource controls as SqlDataSource, AccessDataSource, ObjectDataSource, XMLDataSource etc... There are relatively inexpensive third-party controls (e.g. Telerik), which make ASP.NET development very similar to VB6 as people say (I do not use these controls yet)... Making apps as Northwind in ASP.NET will not need almost any imperative (VB.NET or C#) coding at all: most of data binding, selection, inserting/editing/deleting, validation and navigation between webforms and reports can be expressed in ASP.NET mark-up using ASP.NET native controls... Etc. Of course making real-life apps will need imperative coding, sometimes quite a lot, especially for enterprise level applications, but for small businesses and for Intranet ASP.NET development could be IMO more RAD than MS Access, and unlike MS Access apps the potential to scale properly developed ASP.NET apps is unlimited... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, January 27, 2008 12:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Shamil: How does ASP.NET relate to VB.NET? Is ASP.NET a stand alone development language live VB.NET? Is ASP.NET part of the Visual Studio suite? Is it primarily a back end tool or do you create all of the forms, reports, etc. in ASP? So many questions... Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, January 26, 2008 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Hi Rocky, Go ASP.NET. Your E-Z-MRP should be relatively easy to port to ASP.NET: I mean the way you do organize your GUI in E-Z-ERP is rather similar to the pure ASP.NET apps, IOW ASP.NET apps without AJAX and all other "goodies", which you can add later, when first ASP.NET port ready and you get first experience with ASP.NET (if that port is the goal of you and your customers)... ASP.NET embraces everything in .NET technology except WinForms, which anyway are getting a kind of obsolete replaced by WPF with XAML, XBAP and SilverLight... MS SQL Server 2005 Express edition should be good enough for small businesses, when needed you can seamlessly switch to full MS SQL Server 2005 edition... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 6:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, 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.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008 7:44 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 shamil at users.mns.ru Sun Jan 27 14:13:37 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 27 Jan 2008 23:13:37 +0300 Subject: [AccessD] VB Express Compare to Access (was: Old Dog -NewTricks) In-Reply-To: <001901c8611a$c35264e0$0200a8c0@murphy3234aaf1> Message-ID: <000001c86121$19aad420$6501a8c0@nant> Peter Vogel's article could have been about VS.NET2003/.NET Framework 1.1 - I'd think that VS2005/.NET Framework 2.0 is as RAD as MS Access but much more powerful and scalable and quick and stable, when doing advanced programming... VS2005 Professional version has Crystal Reports (CR), and CR runtime is free. And CR allows making much trickier reports than MS Access Report engine does. Although CR in VS2005 professional has limited IDE design features comparing with full CR version but only design features are limited all the rest is same as in full CR version... Another MS Web technology is called ATL Server - this is for C++/ATL/COM geeks mainly... Another one is SilverLight based on WPF.... There is also XBAP... Etc. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Sunday, January 27, 2008 10:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB Express Compare to Access (was: Old Dog -NewTricks) I remember seeing an article or editorial in one of the incarnations of the Access Advisor / Access VB Advisor magazine by Peter Vogel who was developing in both the Access and Visual Studio environments that said that Access was about twice as fast to develop in as VB.Net for an equivalent application. I don't have the reference and my recollection was that it was more a qualitative observation on his part as having actual metrics. In my experimenting the biggest shortcoming in VB.Net is not being able to creat the great reports that Access does so well. You can purchase separate applications to do this but that is another $500 - $1000. I am experimenting with VS 2005 but have only build small Win forms apps to date, no data connections. For web work ASP.NET is the only way to go in the Windows world. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 27, 2008 6:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) Susan, Do you know of a good VB Express vs. Access comparison? Pros & Cons? What does VB Express not do that you miss in Access? Thanks, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, January 26, 2008 6:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks >I think SQL Server or SQL 2005 Express edition (until 2008 comes out) >is the way to go: > http://www.microsoft.com/sql/downloads/trial-software.mspx > Even if you are using an Access front-end. =======Or VB Express -- don't need Access anymore at all. VB Express is incredibly easy to use -- it does almost everything you need with just a few clicks. 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 miscellany at mvps.org Sun Jan 27 14:35:26 2008 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 28 Jan 2008 09:35:26 +1300 Subject: [AccessD] Cannot set recordsource on Load Event (Resolved) In-Reply-To: <200801271936.m0RJaqid025248@databaseadvisors.com> References: <004801c86067$54760da0$6600a8c0@DF2PJY11> <479BED8C.2060600@mvps.org> <200801271936.m0RJaqid025248@databaseadvisors.com> Message-ID: <479CEB0E.5080501@mvps.org> Randall, Sweet! That's as neat a solution as any, for sure. If it was mine, I'd still use Form B's Open event, rather than Load... but if it's working for you, no progblem! Regards Steve RANDALL R ANTHONY wrote: > Steve (and everyone), > It was very simple really, based on your proposed resolution. Since I'm resolving which query to use in form A, I just set the openargs with everything there. Works like a champ. Solution below. Thanks again! > > Form A > If BusUnit = 1 then > DoCmd.OpenForm "Audit Entry", , , , , , "Select * from Audit_Data_Med WHERE " & Criteria > else > DoCmd.OpenForm "Audit Entry", , , , , , "Select * from Audit_Data_Fred WHERE " & Criteria > end if > > Form B > Private Sub Form_Load() > Me.RecordSource = Me.OpenArgs > End Sub From jimdettman at verizon.net Sun Jan 27 16:12:22 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 27 Jan 2008 17:12:22 -0500 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000701c86032$805aba40$0301a8c0@HAL9005> References: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: <001d01c86131$b126a210$8abea8c0@XPS> Rocky, I strayed away from Access a while back and moved to VFP, which offered a lot of advantages: Faster database engine OOP Standalone EXE creation However it clearly showed it's command line roots; many of the visual designers were lacking and there was an overall lack of coherence in the product. But now Microsoft has killed that and I too am looking for the next best thing. I'd really like to leverage my VFP skills and have been looking at DABO (http://dabodev.com/), which is a framework written on top of Python, and is up and coming. It's certainly not ready for prime time IMHO, but it's actively being worked on by to ex-VFP'ers and at some point, might be a killer framework/language combination (it's cross platform). My fear though is by the time is gets to the level where I'd want to use it, the world will have passed me by, so I'm starting to explore VB.net. And once again, having to learn to do the same things (from a concept/application point of view) in a different way all over again Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky -- 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 Jan 27 18:55:25 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 28 Jan 2008 10:55:25 +1000 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <003501c86044$f9eeab70$6600a8c0@DF2PJY11> References: <000701c86032$805aba40$0301a8c0@HAL9005>, <003501c86044$f9eeab70$6600a8c0@DF2PJY11> Message-ID: <479DB49D.11970.2384CA74@stuart.lexacorp.com.pg> On 26 Jan 2008 at 12:57, Randall Anthony wrote: .. > Access is still going to be used, but maybe just as the backend for someone > who can't afford SQL. Not with SQL Server Compact being freely downloadable/distributable. In most cases, that's a much better option that Access for a local data backend. From stuart at lexacorp.com.pg Sun Jan 27 19:01:46 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 28 Jan 2008 11:01:46 +1000 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <002c01c8603b$022fe790$4b3a8343@SusanOne> References: <000701c86032$805aba40$0301a8c0@HAL9005>, <002c01c8603b$022fe790$4b3a8343@SusanOne> Message-ID: <479DB61A.23503.238A99F1@stuart.lexacorp.com.pg> I'm finally biting the bullet. I've been working in VB6 and Access FEs (with a bit of ASP) to Access and SQL Server BEs, I've had Visual Studio Pro 2005 for a year or so now and am just starting to get into it. I suspect that my next few years are going to be VB and ASP .Net with SQL Server BEs (using Compact version for local data stores) On 26 Jan 2008 at 11:46, Susan Harkins wrote: > No, definitely not alone. I think a number of folks here are now working > with .NET. Our old buddy Mike Gunderloy has totally abandoned MS > technology -- http://afreshcup.com/ > > I think I'm going to become a travel agent. :) > > Susan H. > > > > > > > Rocky, > > > > I wish I had advice for you. This response is more in the form of a > > support group. > > > > Hi, my name is Mark...MS Access saved my life...I love it...and now I > > don't know if I can still make money with it. (sob,sniff) > > > > My point is I feel I'm in the same boat...I might not be as 'seasoned' as > > some of the others...but I think I see the writing on the wall as > > well...and its well past time for the next step. > > > > You are not alone my friend. > > > > Mark A. Matte > > > > > >> From: rockysmolin at bchacc.com > >> To: accessd at databaseadvisors.com > >> Date: Sat, 26 Jan 2008 07:45:39 -0800 > >> Subject: [AccessD] Old Dog - New Tricks > >> > >> Dear List: > >> > >> I am trying to decide what to do when I grow up. Access is great but I > >> think the market for indies like myself is declining and I'm thinking > >> that I > >> need to learn some new tricks. The question is just what to learn. > >> > >> I like developing small business applications - that's my strength. So > >> that > >> would be my target market. But what platform? > >> > >> I suppose whatever it is had better be web friendly. Everyone seems to > >> want > >> their databases and applications to reside on the web. Or, if local, run > >> them in a browser. > >> > >> So what should I learn? VB.Net? ASP? > >> I already have Visual Studio 2005 Standard Edition which I got at a > >> Microsoft Launch and includes SQL Server 2005. > >> I also have VB 2008 Express Edition and Visual Web Developer. > >> I also have Front Page but that's been obsolete by Expressions which I > >> can > >> get from the Web. > >> > >> But I don't know how these different components relate. Is ASP part of > >> Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net > >> app to the web or do you use something like Expressions to do it? What > >> should I learn? > >> > >> Maybe I can combine what I need to learn with a Microsoft tutorial that > >> will > >> get me back into the Partner Program. > >> > >> I'm a bit at sea here as you can tell. But assuming that I don't lay down > >> and let the feeling pass, I think it's time to start taking a serious > >> look > >> at what I'm going to do for the next ten years. Probably a couple years > >> past > >> due, actually. > >> > >> Any advice/experience is of course, welcome. > >> > >> Regards, > >> > >> Rocky > >> > >> > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Connect and share in new ways with Windows Live. > > http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Sun Jan 27 21:25:50 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 28 Jan 2008 14:25:50 +1100 Subject: [AccessD] VB Express Compare to Access (was: Old Dog -NewTricks) References: <000001c86121$19aad420$6501a8c0@nant> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0128A2E9@ddi-01.DDI.local> I agree with Shamil with 1 exception. Complex CR reports will drive you nuts! cheers Michael M Peter Vogel's article could have been about VS.NET2003/.NET Framework 1.1 - I'd think that VS2005/.NET Framework 2.0 is as RAD as MS Access but much more powerful and scalable and quick and stable, when doing advanced programming... VS2005 Professional version has Crystal Reports (CR), and CR runtime is free. And CR allows making much trickier reports than MS Access Report engine does. Although CR in VS2005 professional has limited IDE design features comparing with full CR version but only design features are limited all the rest is same as in full CR version... Another MS Web technology is called ATL Server - this is for C++/ATL/COM geeks mainly... Another one is SilverLight based on WPF.... There is also XBAP... Etc. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Sunday, January 27, 2008 10:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB Express Compare to Access (was: Old Dog -NewTricks) I remember seeing an article or editorial in one of the incarnations of the Access Advisor / Access VB Advisor magazine by Peter Vogel who was developing in both the Access and Visual Studio environments that said that Access was about twice as fast to develop in as VB.Net for an equivalent application. I don't have the reference and my recollection was that it was more a qualitative observation on his part as having actual metrics. In my experimenting the biggest shortcoming in VB.Net is not being able to creat the great reports that Access does so well. You can purchase separate applications to do this but that is another $500 - $1000. I am experimenting with VS 2005 but have only build small Win forms apps to date, no data connections. For web work ASP.NET is the only way to go in the Windows world. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, January 27, 2008 6:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VB Express Compare to Access (was: Old Dog - NewTricks) Susan, Do you know of a good VB Express vs. Access comparison? Pros & Cons? What does VB Express not do that you miss in Access? Thanks, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, January 26, 2008 6:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks >I think SQL Server or SQL 2005 Express edition (until 2008 comes out) >is the way to go: > http://www.microsoft.com/sql/downloads/trial-software.mspx > Even if you are using an Access front-end. =======Or VB Express -- don't need Access anymore at all. VB Express is incredibly easy to use -- it does almost everything you need with just a few clicks. 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jan 28 01:55:59 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 28 Jan 2008 08:55:59 +0100 Subject: [AccessD] Data Encryption Message-ID: Hi Pete Hi Max One option is to encrypt the field content itself of those fields with sensitive data. I've used that for mdb files sent over the Internet thus eliminating the need for VPN or encrypted mail. I just zipped and attached the mdb files. Here's the header info with the description of the functions: ' PC1 Cipher 128-bit key ' (c) Alexander Pukall 1991 ' Can be used freely even for commercial applications ' ' MS Access 97 version by ' Gustav Brock, Cactus Data ApS ' gustav at cactus.dk ' ' 2002-03-09. V1.0 ' Initial port from Visual Basic. ' 2002-06-23. V1.1 ' Code clean up and constants added. ' Redundant code removed. ' Modified to fully comply with VB datatypes. ' Modified to not crash for certain passwords. ' Modified for high speed conversion of long strings ( > 32K). ' 2002-06-24. V1.2 ' Functions added for en/decrypting to/from binary strings. ' Usage: ' SetPassword(password) sets password prior to en/decryption. ' GetPassword() retrieves current password. ' StrEncrypt(DecryptedString) returns encrypted ascii string. ' StrDecrypt(EncryptedString_ascii) returns decrypted string. ' StrEncryptBin(DecryptedString) returns encrypted binary string. ' StrDecryptBin(EncryptedString_binary) returns decrypted string. ' ' Encrypted ascii string is twice the length of the decrypted string. ' Encrypted ascii string contains low ascii chars from a to p only. ' Encrypted binary string is same length as the decrypted string. ' Encrypted binary string may contain any char including Chr(0). ' Password may contain any ascii char including Chr(0). ' Password is maintained in global variable strPC1Password16. I've posted the full module previously: http://databaseadvisors.com/pipermail/dba-tech/2005-February/003711.html /gustav >>> pete.phillipps at ntlworld.com 26-01-2008 16:00:15 >>> Hi Everyone, I'm due to start work on creating a database in a couple of weeks amd in view of the recent UK government record on losing data it has made me thing about data encryption. Does anyone have any advice/code on encrypting data in an Access 2003 back-end that would be accessed via an Access 2003 front end and via ASP/ASP. NET? Pete From Gustav at cactus.dk Mon Jan 28 03:11:34 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 28 Jan 2008 10:11:34 +0100 Subject: [AccessD] Old Dog - New Tricks Message-ID: Hi Rocky, Jim, Jack, Stuart et al I had the same considerations - and went for Visual Studio 2005 Standard after good advice from several list members. One important reason was that most of these list members join the db-vb list. So do I now and we hope to build a list at the same level that the accessd list. By the way, look up the thread from April, October, and November 2007, "Dot Net, where to start?", which returned a lot of useful links to articles, books, code, and free videos including this from Arthur: Found the JumpStart code download and the book: http://examples.oreilly.com/vbjumpstart/ http://www.oreilly.com/catalog/vbjumpstart/ This - with your Access background - is highly recommended. /gustav >>> rockysmolin at bchacc.com 26-01-2008 16:45:39 >>> Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky From max.wanadoo at gmail.com Mon Jan 28 03:18:24 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 28 Jan 2008 09:18:24 -0000 Subject: [AccessD] Data Encryption In-Reply-To: Message-ID: <002c01c8618e$bcb3cf10$8119fea9@LTVM> Hi Gustav. Very good. I have a similar function that I use at record/field level but I don't put the code in the main mdb. What I have done is to create a stand alone MDB which has the password code within it. This is then converted to an MDE. >From the main MDB (FE), I set this MDE as a Reference and I then make use of the functions within from the FE MDB. (Tools/References/Browse to it). Just one more level of security. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 28, 2008 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Encryption Hi Pete Hi Max One option is to encrypt the field content itself of those fields with sensitive data. I've used that for mdb files sent over the Internet thus eliminating the need for VPN or encrypted mail. I just zipped and attached the mdb files. Here's the header info with the description of the functions: ' PC1 Cipher 128-bit key ' (c) Alexander Pukall 1991 ' Can be used freely even for commercial applications ' ' MS Access 97 version by ' Gustav Brock, Cactus Data ApS ' gustav at cactus.dk ' ' 2002-03-09. V1.0 ' Initial port from Visual Basic. ' 2002-06-23. V1.1 ' Code clean up and constants added. ' Redundant code removed. ' Modified to fully comply with VB datatypes. ' Modified to not crash for certain passwords. ' Modified for high speed conversion of long strings ( > 32K). ' 2002-06-24. V1.2 ' Functions added for en/decrypting to/from binary strings. ' Usage: ' SetPassword(password) sets password prior to en/decryption. ' GetPassword() retrieves current password. ' StrEncrypt(DecryptedString) returns encrypted ascii string. ' StrDecrypt(EncryptedString_ascii) returns decrypted string. ' StrEncryptBin(DecryptedString) returns encrypted binary string. ' StrDecryptBin(EncryptedString_binary) returns decrypted string. ' ' Encrypted ascii string is twice the length of the decrypted string. ' Encrypted ascii string contains low ascii chars from a to p only. ' Encrypted binary string is same length as the decrypted string. ' Encrypted binary string may contain any char including Chr(0). ' Password may contain any ascii char including Chr(0). ' Password is maintained in global variable strPC1Password16. I've posted the full module previously: http://databaseadvisors.com/pipermail/dba-tech/2005-February/003711.html /gustav >>> pete.phillipps at ntlworld.com 26-01-2008 16:00:15 >>> Hi Everyone, I'm due to start work on creating a database in a couple of weeks amd in view of the recent UK government record on losing data it has made me thing about data encryption. Does anyone have any advice/code on encrypting data in an Access 2003 back-end that would be accessed via an Access 2003 front end and via ASP/ASP. NET? Pete -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jan 28 03:17:47 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 28 Jan 2008 10:17:47 +0100 Subject: [AccessD] Old Dog - New Tricks Message-ID: Hi Stuart Why is it "much better"? I haven't worked with it (Access, or rather JET is always at hand) so my experience is nil. I can think of the SQL syntax - which I understand is identical to the normal SQL Server - and that it can run on PDAs, but doesn't it have pretty much the same limitations (size etc.) than Access JET? /gustav >>> stuart at lexacorp.com.pg 28-01-2008 01:55:25 >>> On 26 Jan 2008 at 12:57, Randall Anthony wrote: .. > Access is still going to be used, but maybe just as the backend for someone > who can't afford SQL. Not with SQL Server Compact being freely downloadable/distributable. In most cases, that's a much better option that Access for a local data backend. From Gustav at cactus.dk Mon Jan 28 03:30:20 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 28 Jan 2008 10:30:20 +0100 Subject: [AccessD] Data Encryption Message-ID: Hi Max Yes, you may need that kind of security. My suggestion only covers such cases where, say, the data are copied to a cd which may get lost (as we have seen!) /gustav >>> max.wanadoo at gmail.com 28-01-2008 10:18:24 >>> Hi Gustav. Very good. I have a similar function that I use at record/field level but I don't put the code in the main mdb. What I have done is to create a stand alone MDB which has the password code within it. This is then converted to an MDE. >From the main MDB (FE), I set this MDE as a Reference and I then make use of the functions within from the FE MDB. (Tools/References/Browse to it). Just one more level of security. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, January 28, 2008 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Encryption Hi Pete Hi Max One option is to encrypt the field content itself of those fields with sensitive data. I've used that for mdb files sent over the Internet thus eliminating the need for VPN or encrypted mail. I just zipped and attached the mdb files. Here's the header info with the description of the functions: ' PC1 Cipher 128-bit key ' (c) Alexander Pukall 1991 ' Can be used freely even for commercial applications ' ' MS Access 97 version by ' Gustav Brock, Cactus Data ApS ' gustav at cactus.dk ' ' 2002-03-09. V1.0 ' Initial port from Visual Basic. ' 2002-06-23. V1.1 ' Code clean up and constants added. ' Redundant code removed. ' Modified to fully comply with VB datatypes. ' Modified to not crash for certain passwords. ' Modified for high speed conversion of long strings ( > 32K). ' 2002-06-24. V1.2 ' Functions added for en/decrypting to/from binary strings. ' Usage: ' SetPassword(password) sets password prior to en/decryption. ' GetPassword() retrieves current password. ' StrEncrypt(DecryptedString) returns encrypted ascii string. ' StrDecrypt(EncryptedString_ascii) returns decrypted string. ' StrEncryptBin(DecryptedString) returns encrypted binary string. ' StrDecryptBin(EncryptedString_binary) returns decrypted string. ' ' Encrypted ascii string is twice the length of the decrypted string. ' Encrypted ascii string contains low ascii chars from a to p only. ' Encrypted binary string is same length as the decrypted string. ' Encrypted binary string may contain any char including Chr(0). ' Password may contain any ascii char including Chr(0). ' Password is maintained in global variable strPC1Password16. I've posted the full module previously: http://databaseadvisors.com/pipermail/dba-tech/2005-February/003711.html /gustav >>> pete.phillipps at ntlworld.com 26-01-2008 16:00:15 >>> Hi Everyone, I'm due to start work on creating a database in a couple of weeks amd in view of the recent UK government record on losing data it has made me thing about data encryption. Does anyone have any advice/code on encrypting data in an Access 2003 back-end that would be accessed via an Access 2003 front end and via ASP/ASP. NET? Pete From Jim.Hale at FleetPride.com Mon Jan 28 09:06:16 2008 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 28 Jan 2008 09:06:16 -0600 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000d01c86119$ba2c9620$6501a8c0@nant> References: <002801c86064$441a27a0$0301a8c0@HAL9005> <000d01c86119$ba2c9620$6501a8c0@nant> Message-ID: What is imperative coding? Jim Hale *********************************************************************** 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 shamil at users.mns.ru Mon Jan 28 09:25:11 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 28 Jan 2008 18:25:11 +0300 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: Message-ID: <000001c861c1$f9376a40$6501a8c0@nant> Jim, I meant by that VB.NET or C# programming... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, January 28, 2008 6:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks What is imperative coding? Jim Hale *********************************************************************** 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 rockysmolin at bchacc.com Mon Jan 28 09:45:38 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 28 Jan 2008 07:45:38 -0800 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000001c861c1$f9376a40$6501a8c0@nant> References: <000001c861c1$f9376a40$6501a8c0@nant> Message-ID: <003401c861c4$d6858ce0$0301a8c0@HAL9005> In getting started with VS2005 is it recommended to begin with Windows applications and forms or Web applications and forms? If you create a winders app in VS is it difficult to convert it to a web app? And back to ASP again - is the ASP part of the application the equivalent of using DAO or ADO in an Access app? That is, does it take care of moving data in and out of tables? Or does it have other functions? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 28, 2008 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Jim, I meant by that VB.NET or C# programming... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, January 28, 2008 6:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks What is imperative coding? Jim Hale *********************************************************************** 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date: 1/27/2008 6:39 PM From DWUTKA at Marlow.com Mon Jan 28 10:37:18 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 28 Jan 2008 10:37:18 -0600 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <000701c86032$805aba40$0301a8c0@HAL9005> Message-ID: Rocky, I STRONGLY recommend that you learn HTML and ASP. ASP.Net is handy, but the reason I recommend learning the older ASP is two fold. One, you need NO special tools to use it. You can write ASP with notepad. It's just a script. ASP.Net has 'events', which I could be written with Notepad, but you would need to know how to 'code' the events. The second reason, is that ASP.Net is a little misleading as to how it actually works. For example, it will give you an OnClick event for a button. It makes it appear like the user has a 'live' connection to the webserver, when they really don't. It does this using client side scripting. Learning classic ASP will help you understand web page/server interactions a lot better. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, January 26, 2008 9:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Old Dog - New Tricks Dear List: I am trying to decide what to do when I grow up. Access is great but I think the market for indies like myself is declining and I'm thinking that I need to learn some new tricks. The question is just what to learn. I like developing small business applications - that's my strength. So that would be my target market. But what platform? I suppose whatever it is had better be web friendly. Everyone seems to want their databases and applications to reside on the web. Or, if local, run them in a browser. So what should I learn? VB.Net? ASP? I already have Visual Studio 2005 Standard Edition which I got at a Microsoft Launch and includes SQL Server 2005. I also have VB 2008 Express Edition and Visual Web Developer. I also have Front Page but that's been obsolete by Expressions which I can get from the Web. But I don't know how these different components relate. Is ASP part of Visual Studio? Is ASP to .NET as DAO is to Access? Can you deploy a .Net app to the web or do you use something like Expressions to do it? What should I learn? Maybe I can combine what I need to learn with a Microsoft tutorial that will get me back into the Partner Program. I'm a bit at sea here as you can tell. But assuming that I don't lay down and let the feeling pass, I think it's time to start taking a serious look at what I'm going to do for the next ten years. Probably a couple years past due, actually. Any advice/experience is of course, welcome. Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From shamil at users.mns.ru Mon Jan 28 11:12:07 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 28 Jan 2008 20:12:07 +0300 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <003401c861c4$d6858ce0$0301a8c0@HAL9005> Message-ID: <001801c861d0$e93ed4c0$6501a8c0@nant> Hello Rocky, You can start here with ASP.NET: http://www.asp.net/get-started/ http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx http://www.asp.net/learn/ http://www.asp.net/learn/data-access/ -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, January 28, 2008 6:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks In getting started with VS2005 is it recommended to begin with Windows applications and forms or Web applications and forms? If you create a winders app in VS is it difficult to convert it to a web app? And back to ASP again - is the ASP part of the application the equivalent of using DAO or ADO in an Access app? That is, does it take care of moving data in and out of tables? Or does it have other functions? MTIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, January 28, 2008 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks Jim, I meant by that VB.NET or C# programming... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, January 28, 2008 6:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Old Dog - New Tricks What is imperative coding? Jim Hale *********************************************************************** 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date: 1/27/2008 6:39 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 28 12:10:33 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 28 Jan 2008 10:10:33 -0800 Subject: [AccessD] 2007<-->2003 Message-ID: <005401c861d9$13651bd0$0301a8c0@HAL9005> Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky From lembit.dbamail at t-online.de Mon Jan 28 12:37:57 2008 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Mon, 28 Jan 2008 19:37:57 +0100 Subject: [AccessD] 2007<-->2003 References: <005401c861d9$13651bd0$0301a8c0@HAL9005> Message-ID: <004301c861dc$e6f822a0$1800a8c0@s1800> you could put the Access2007 on a virtual machine Lembit ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Monday, January 28, 2008 7:10 PM Subject: [AccessD] 2007<-->2003 > Dear List; > > I now have Access 2007. When I run it after having run 2003, it takes > about > 2 full minutes to "configure" itself. Going back to 2003 is a bit faster > while Office 2003 reconfigures itself. I don't have this problem on the > box > which runs 2000<-->2003. > > I don't want to buy another box just for 2007. (I don't even want to use > 2007 but I'm being forced into it.) > > Is there any way to stop this time water 'reconfiguring'? > > MTIA > > Rocky > > -- > 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.516 / Virus Database: 269.19.13/1246 - Release Date: > 27.01.2008 18:39 > > From jwcolby at colbyconsulting.com Mon Jan 28 12:39:00 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 28 Jan 2008 13:39:00 -0500 Subject: [AccessD] 2007<-->2003 In-Reply-To: <005401c861d9$13651bd0$0301a8c0@HAL9005> References: <005401c861d9$13651bd0$0301a8c0@HAL9005> Message-ID: <001301c861dd$0cdaed40$0401a8c0@M90> Virtual PC? 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 Rocky Smolin at Beach Access Software Sent: Monday, January 28, 2008 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 2007<-->2003 Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Mon Jan 28 13:05:40 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 28 Jan 2008 13:05:40 -0600 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: References: Message-ID: <200801281907.m0SJ73Yr024026@databaseadvisors.com> I disagree with Drew. I stopped trying to do anything on the web until .Net came out because it was simply too difficult. I would move to VS 2008 and not go with 2005 or earlier. The reason is the ability to port between windows and browser using XAML. Rocky, you (or someone) asked about porting back and forth between the two. Simply put, you don't. They are entirely two different animals. VS 2008 and XAML will allow it to happen though. Robert At 12:00 PM 1/28/2008, you wrote: >Date: Mon, 28 Jan 2008 10:37:18 -0600 >From: "Drew Wutka" >Subject: Re: [AccessD] Old Dog - New Tricks >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Rocky, I STRONGLY recommend that you learn HTML and ASP. ASP.Net is >handy, but the reason I recommend learning the older ASP is two fold. >One, you need NO special tools to use it. You can write ASP with >notepad. It's just a script. ASP.Net has 'events', which I could be >written with Notepad, but you would need to know how to 'code' the >events. The second reason, is that ASP.Net is a little misleading as to >how it actually works. For example, it will give you an OnClick event >for a button. It makes it appear like the user has a 'live' connection >to the webserver, when they really don't. It does this using client >side scripting. Learning classic ASP will help you understand web >page/server interactions a lot better. > >Drew From DWUTKA at Marlow.com Mon Jan 28 13:11:08 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 28 Jan 2008 13:11:08 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: <001301c861dd$0cdaed40$0401a8c0@M90> Message-ID: Took the words right out of my mouth! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 28, 2008 12:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Virtual PC? 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 Rocky Smolin at Beach Access Software Sent: Monday, January 28, 2008 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 2007<-->2003 Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Jan 28 13:28:28 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 28 Jan 2008 13:28:28 -0600 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: <200801281907.m0SJ73Yr024026@databaseadvisors.com> Message-ID: I'm not sure what you find to be too difficult with ASP. Technically, ASP.Net and ASP use the same technology. The biggest difference is in how the language 'appears' to the developer. The client side events you get with ASP.Net are java scripts on the client side...same could be done with classic ASP and java script. That's why I recommend learning ASP first, kind of like learning how to work on a 57 Chevy before working on a 2008 Chevy. Sure, there are new frills, but the concepts behind a combustion engine are still the same. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Monday, January 28, 2008 1:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Old Dog - New Tricks I disagree with Drew. I stopped trying to do anything on the web until .Net came out because it was simply too difficult. I would move to VS 2008 and not go with 2005 or earlier. The reason is the ability to port between windows and browser using XAML. Rocky, you (or someone) asked about porting back and forth between the two. Simply put, you don't. They are entirely two different animals. VS 2008 and XAML will allow it to happen though. Robert At 12:00 PM 1/28/2008, you wrote: >Date: Mon, 28 Jan 2008 10:37:18 -0600 >From: "Drew Wutka" >Subject: Re: [AccessD] Old Dog - New Tricks >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Rocky, I STRONGLY recommend that you learn HTML and ASP. ASP.Net is >handy, but the reason I recommend learning the older ASP is two fold. >One, you need NO special tools to use it. You can write ASP with >notepad. It's just a script. ASP.Net has 'events', which I could be >written with Notepad, but you would need to know how to 'code' the >events. The second reason, is that ASP.Net is a little misleading as to >how it actually works. For example, it will give you an OnClick event >for a button. It makes it appear like the user has a 'live' connection >to the webserver, when they really don't. It does this using client >side scripting. Learning classic ASP will help you understand web >page/server interactions a lot better. > >Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From iggy at nanaimo.ark.com Mon Jan 28 14:17:44 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 28 Jan 2008 12:17:44 -0800 Subject: [AccessD] Old Dog New Tricks Message-ID: <479E3868.6090404@nanaimo.ark.com> Hey All Ah yes where to go next. My question is, if you can provide a client with a simple, clean, powerful and effiicient program, then really what does it matter what development language you use. I hate to say it but I have to, ACCESS has not let me down so far. Side Note: None of my clients have requested Internet availability I know, I know this old dog will probably have dinosaurs dancing on his grave. From rockysmolin at bchacc.com Mon Jan 28 14:25:13 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 28 Jan 2008 12:25:13 -0800 Subject: [AccessD] Old Dog New Tricks In-Reply-To: <479E3868.6090404@nanaimo.ark.com> References: <479E3868.6090404@nanaimo.ark.com> Message-ID: <007e01c861eb$e4723d40$0301a8c0@HAL9005> I'm finding that the opportunities for Access work are fewer than they used to be 3-5 years ago. And that more and more I'm saying 'No I don't do web work". So that's what's driving my search. I agree about the power and RAD capabilities of Access. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Monday, January 28, 2008 12:18 PM To: Access Developers discussion and problem solving Subject: [AccessD] Old Dog New Tricks Hey All Ah yes where to go next. My question is, if you can provide a client with a simple, clean, powerful and effiicient program, then really what does it matter what development language you use. I hate to say it but I have to, ACCESS has not let me down so far. Side Note: None of my clients have requested Internet availability I know, I know this old dog will probably have dinosaurs dancing on his grave. -- 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.516 / Virus Database: 269.19.13/1246 - Release Date: 1/27/2008 6:39 PM From iggy at nanaimo.ark.com Mon Jan 28 15:38:41 2008 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 28 Jan 2008 13:38:41 -0800 Subject: [AccessD] Old Dog New Tricks In-Reply-To: <007e01c861eb$e4723d40$0301a8c0@HAL9005> References: <479E3868.6090404@nanaimo.ark.com> <007e01c861eb$e4723d40$0301a8c0@HAL9005> Message-ID: <479E4B61.5020901@nanaimo.ark.com> Hey Rocky I do not know if your are replying to me. I agree the fat years have gone, I am in basically the same boat. But I had an interesting thing happen in January, I company that had bought another company phoned me to say they had found an old program I had designed in 2001 and they want to buy the my code. I nearly choked, I said that is 7 years ago. They said it is so simple and clean , just what we needed. Go figure. Rocky Smolin at Beach Access Software wrote: >I'm finding that the opportunities for Access work are fewer than they used >to be 3-5 years ago. And that more and more I'm saying 'No I don't do web >work". So that's what's driving my search. I agree about the power and RAD >capabilities of Access. > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav >Sent: Monday, January 28, 2008 12:18 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Old Dog New Tricks > >Hey All >Ah yes where to go next. >My question is, if you can provide a client with a simple, clean, powerful >and effiicient program, then really what does it matter what development >language you use. I hate to say it but I have to, ACCESS has not let me >down so far. >Side Note: None of my clients have requested Internet availability > >I know, I know this old dog will probably have dinosaurs dancing on his >grave. >-- >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.516 / Virus Database: 269.19.13/1246 - Release Date: 1/27/2008 >6:39 PM > > > > From DWUTKA at Marlow.com Mon Jan 28 15:30:16 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 28 Jan 2008 15:30:16 -0600 Subject: [AccessD] Old Dog New Tricks In-Reply-To: <479E3868.6090404@nanaimo.ark.com> Message-ID: I couldn't agree with you more Tony. A caveat to that is the longevity of a web interface. The problem with an Access interface is that Access is part of Office, so if a company upgrades their version of office, there may be conflicts with the Access databases they use. For example, we had several Access 97 databases in use when I started working here in 2000. In 2006, we finally moved from Office 97 to Office 2003 (ya, I know, took a while). When we did, every single 97 Access interface had to be upgraded, however, the many systems I built with a 97 backend and a web interface didn't have to be touched. We can thank the internet for that. There is so much on the internet, it would be nearly impossible to force the entire web to upgrade. Yes, things have changed on the web. Frames are frowned upon now, but they are still supported. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Monday, January 28, 2008 2:18 PM To: Access Developers discussion and problem solving Subject: [AccessD] Old Dog New Tricks Hey All Ah yes where to go next. My question is, if you can provide a client with a simple, clean, powerful and effiicient program, then really what does it matter what development language you use. I hate to say it but I have to, ACCESS has not let me down so far. Side Note: None of my clients have requested Internet availability I know, I know this old dog will probably have dinosaurs dancing on his grave. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From ssharkins at gmail.com Mon Jan 28 15:20:20 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 28 Jan 2008 16:20:20 -0500 Subject: [AccessD] Old Dog New Tricks References: <479E3868.6090404@nanaimo.ark.com> <007e01c861eb$e4723d40$0301a8c0@HAL9005> Message-ID: <025b01c86208$5cccdf90$4b3a8343@SusanOne> Me too -- just fewer opportunities to work with Access. Even publishers don't want to hear about it anymore. Susan H. > I'm finding that the opportunities for Access work are fewer than they > used > to be 3-5 years ago. And that more and more I'm saying 'No I don't do web > work". So that's what's driving my search. I agree about the power and > RAD > capabilities of Access. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Monday, January 28, 2008 12:18 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Old Dog New Tricks > > Hey All > Ah yes where to go next. > My question is, if you can provide a client with a simple, clean, powerful > and effiicient program, then really what does it matter what development > language you use. I hate to say it but I have to, ACCESS has not let me > down so far. > Side Note: None of my clients have requested Internet availability > > I know, I know this old dog will probably have dinosaurs dancing on his > grave. > -- > 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.516 / Virus Database: 269.19.13/1246 - Release Date: > 1/27/2008 > 6:39 PM > > > -- > 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 Jan 28 19:10:08 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 29 Jan 2008 11:10:08 +1000 Subject: [AccessD] Old Dog - New Tricks In-Reply-To: References: Message-ID: <479F0990.19261.28B8A123@stuart.lexacorp.com.pg> On 28 Jan 2008 at 10:17, Gustav Brock wrote: > Hi Stuart > > Why is it "much better"? I haven't worked with it (Access, or rather > JET is always at hand) so my experience is nil. > > I can think of the SQL syntax - which I understand is identical to the > normal SQL Server - and that it can run on PDAs, but doesn't it have > pretty much the same limitations (size etc.) than Access JET? Jet, according to MS is "depreciated technology. It is no longer part of MDAC. There don't appear be be any intentions to support it on 64bit OS. Are you sure that it will always be available on the target system? With SSCE, you distribute a few DLLs with your application and you know that the environment is exactly the same as on your development machine - no nasty surprises with different versions of DLLs on client machines. Apart from that: Data Types -- SQL Server datatypes - indexable text longer than 255 characters, dates to millisecond, BigInts... ACID (Atomicity, Consistency, Isolation, Durability) and Transactions - it's more robust and easier to recover from corruption in the event of system crach etc etc. Transactions Stronger password and encyrption From darren at activebilling.com.au Mon Jan 28 23:15:03 2008 From: darren at activebilling.com.au (Darren D) Date: Tue, 29 Jan 2008 16:15:03 +1100 Subject: [AccessD] A2003: Dragging and Dropping from outlook Message-ID: <200801290515.m0T5FCVb012175@databaseadvisors.com> Hi all >From MS Outlook (Yes it has to be Outlook) I can drag an item from say?My Inbox - to the desktop (or any folder really) and I get to see a *.msg item I can double click this dot msg item and can then view it in MS Outlook ? cool Anyone know of a control or OCX etc that I can use in MS Access where I do the same thing - Drag a Microsoft Outlook item and have it visible in my access app If not that then some kind of pointer with the Subject or such where a double click will open the item?s OutlookID property I have tried an RTF OCX (RTF2.ocx that Lebans uses in his RTF demo) I have used in other apps but when I drag inbox items to it I get some thing like? >From Subject Received Size Dave SMITH Auto Upload and Download Script 20/11/2007 1 MB If this carried with it some sort of pointer ? Even this would be enough then I could double click it Clutching at straws here Many thanks in advance DD Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM From Gustav at cactus.dk Tue Jan 29 02:38:59 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 09:38:59 +0100 Subject: [AccessD] A2003: Dragging and Dropping from outlook Message-ID: Hi Darren That straw my be thin .. .msg files are for Outlook only: http://chilkatsoft.com/faq/OutlookMsgFormat.html /gustav >>> darren at activebilling.com.au 29-01-2008 06:15:03 >>> Hi all >From MS Outlook (Yes it has to be Outlook) I can drag an item from say*My Inbox - to the desktop (or any folder really) and I get to see a *.msg item I can double click this dot msg item and can then view it in MS Outlook * cool Anyone know of a control or OCX etc that I can use in MS Access where I do the same thing - Drag a Microsoft Outlook item and have it visible in my access app If not that then some kind of pointer with the Subject or such where a double click will open the item's OutlookID property I have tried an RTF OCX (RTF2.ocx that Lebans uses in his RTF demo) I have used in other apps but when I drag inbox items to it I get some thing like* >From Subject Received Size Dave SMITH Auto Upload and Download Script 20/11/2007 1 MB If this carried with it some sort of pointer * Even this would be enough then I could double click it Clutching at straws here Many thanks in advance DD From Gustav at cactus.dk Tue Jan 29 03:15:10 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 10:15:10 +0100 Subject: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) Message-ID: Hi Stuart I don't know of the MS statement about the death of JET but since Access still uses it, it may take a while. As for distribution, isn't JET just one file only (DAO), should you need it? Don't know why you mention transactions as this is supported by JET as well. However, the 64 bit support is a good point, as is the data types which allows you to write engine specific code which allows you to move the database to the normal SQL Server version without modifying your code. To be precise, the datetime data type is not to the millisecond but only to 3,3 ms, while you - if you like and with some efforts - are able to store datetime with 1 ms precision in JET. This may have improved in SQL Server 2008 (is a Compact version out yet?) with the new and improved datetime data types. About the encryption, what does the SQL Server Compact offer? /gustav >>> stuart at lexacorp.com.pg 29-01-2008 02:10:08 >>> On 28 Jan 2008 at 10:17, Gustav Brock wrote: > Hi Stuart > > Why is it "much better"? I haven't worked with it (Access, or rather > JET is always at hand) so my experience is nil. > > I can think of the SQL syntax - which I understand is identical to the > normal SQL Server - and that it can run on PDAs, but doesn't it have > pretty much the same limitations (size etc.) than Access JET? Jet, according to MS is "depreciated technology. It is no longer part of MDAC. There don't appear be be any intentions to support it on 64bit OS. Are you sure that it will always be available on the target system? With SSCE, you distribute a few DLLs with your application and you know that the environment is exactly the same as on your development machine - no nasty surprises with different versions of DLLs on client machines. Apart from that: Data Types -- SQL Server datatypes - indexable text longer than 255 characters, dates to millisecond, BigInts... ACID (Atomicity, Consistency, Isolation, Durability) and Transactions - it's more robust and easier to recover from corruption in the event of system crach etc etc. Transactions Stronger password and encyrption From Gustav at cactus.dk Tue Jan 29 03:19:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 10:19:16 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Rocky The only "solution" I've found is to close the pop up install window/messagebox at once. Access then complains that you interrupted the process and blah-blah but appears to run without errors anyway. /gustav >>> rockysmolin at bchacc.com 28-01-2008 19:10:33 >>> Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky From Erwin.Craps at ithelps.eu Tue Jan 29 04:04:56 2008 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Tue, 29 Jan 2008 11:04:56 +0100 Subject: [AccessD] A2003: Dragging and Dropping from outlook References: Message-ID: <430E80531228BA4497C5EB1A7BA786B02770F6@stekelbes.ithelps.local> I have code that runs trough Outlooks e-mails, store a unique id (from access) in the message, marks the subject as "ARCHIVED: & original subject", archives then the message to disk in .MSG format (including attachments). The filename and location (1000 files per folder) is given by access and stored in the accessdb together with the unique id and linked with the originators company. When I look up the company in Access I can see all e-mails I received from that company and by double clicking I open the .msg file from disk into Outlook. But I always need outlook for both saving and opening the .msg file. I am considering .EML files, I think, for broader support reasons and avoid using Outlook to archive on my server, but EML is not supported in Outlook, but is with Outlook Express. The main reason I would like to change to a more supported version is that I have customers opening these .msg (daily) files over the internet and some use Mac's... I need to archive all e-mails and faxes for this project on a daily basis (about 100 emails and faxes a day, 365 days a year), I'm doing this for more than 8 years now. And this is running smoothly. I had some request to convert the .msg to PDF, but the main problem is that Excel/word attachments are lost or no longer usable in their respective apps. So for the moment I stick with .MSG Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 9:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2003: Dragging and Dropping from outlook Hi Darren That straw my be thin .. .msg files are for Outlook only: http://chilkatsoft.com/faq/OutlookMsgFormat.html /gustav >>> darren at activebilling.com.au 29-01-2008 06:15:03 >>> Hi all >From MS Outlook (Yes it has to be Outlook) I can drag an item from say*My Inbox - to the desktop (or any folder really) and I get to see a *.msg item I can double click this dot msg item and can then view it in MS Outlook * cool Anyone know of a control or OCX etc that I can use in MS Access where I do the same thing - Drag a Microsoft Outlook item and have it visible in my access app If not that then some kind of pointer with the Subject or such where a double click will open the item's OutlookID property I have tried an RTF OCX (RTF2.ocx that Lebans uses in his RTF demo) I have used in other apps but when I drag inbox items to it I get some thing like* >From Subject Received Size Dave SMITH Auto Upload and Download Script 20/11/2007 1 MB If this carried with it some sort of pointer * Even this would be enough then I could double click it Clutching at straws here Many thanks in advance DD -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.eu Tue Jan 29 04:08:02 2008 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Tue, 29 Jan 2008 11:08:02 +0100 Subject: [AccessD] 2007<-->2003 References: Message-ID: <430E80531228BA4497C5EB1A7BA786B02770F7@stekelbes.ithelps.local> Same for me. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 10:19 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky The only "solution" I've found is to close the pop up install window/messagebox at once. Access then complains that you interrupted the process and blah-blah but appears to run without errors anyway. /gustav >>> rockysmolin at bchacc.com 28-01-2008 19:10:33 >>> Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.eu Tue Jan 29 04:11:39 2008 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Tue, 29 Jan 2008 11:11:39 +0100 Subject: [AccessD] A2003: Dragging and Dropping from outlook References: <430E80531228BA4497C5EB1A7BA786B02770F6@stekelbes.ithelps.local> Message-ID: <430E80531228BA4497C5EB1A7BA786B02770F8@stekelbes.ithelps.local> You could store them in HTML format, but you will lose attachments, unless you save them separately. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Tuesday, January 29, 2008 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Dragging and Dropping from outlook I have code that runs trough Outlooks e-mails, store a unique id (from access) in the message, marks the subject as "ARCHIVED: & original subject", archives then the message to disk in .MSG format (including attachments). The filename and location (1000 files per folder) is given by access and stored in the accessdb together with the unique id and linked with the originators company. When I look up the company in Access I can see all e-mails I received from that company and by double clicking I open the .msg file from disk into Outlook. But I always need outlook for both saving and opening the .msg file. I am considering .EML files, I think, for broader support reasons and avoid using Outlook to archive on my server, but EML is not supported in Outlook, but is with Outlook Express. The main reason I would like to change to a more supported version is that I have customers opening these .msg (daily) files over the internet and some use Mac's... I need to archive all e-mails and faxes for this project on a daily basis (about 100 emails and faxes a day, 365 days a year), I'm doing this for more than 8 years now. And this is running smoothly. I had some request to convert the .msg to PDF, but the main problem is that Excel/word attachments are lost or no longer usable in their respective apps. So for the moment I stick with .MSG Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 9:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2003: Dragging and Dropping from outlook Hi Darren That straw my be thin .. .msg files are for Outlook only: http://chilkatsoft.com/faq/OutlookMsgFormat.html /gustav >>> darren at activebilling.com.au 29-01-2008 06:15:03 >>> Hi all >From MS Outlook (Yes it has to be Outlook) I can drag an item from say*My Inbox - to the desktop (or any folder really) and I get to see a *.msg item I can double click this dot msg item and can then view it in MS Outlook * cool Anyone know of a control or OCX etc that I can use in MS Access where I do the same thing - Drag a Microsoft Outlook item and have it visible in my access app If not that then some kind of pointer with the Subject or such where a double click will open the item's OutlookID property I have tried an RTF OCX (RTF2.ocx that Lebans uses in his RTF demo) I have used in other apps but when I drag inbox items to it I get some thing like* >From Subject Received Size Dave SMITH Auto Upload and Download Script 20/11/2007 1 MB If this carried with it some sort of pointer * Even this would be enough then I could double click it Clutching at straws here Many thanks in advance DD -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Tue Jan 29 04:17:14 2008 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 29 Jan 2008 10:17:14 -0000 Subject: [AccessD] email and pdf Message-ID: <200801291000.m0TA0Lf10596@smarthost.yourcomms.net> Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* From Gustav at cactus.dk Tue Jan 29 04:49:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 11:49:07 +0100 Subject: [AccessD] email and pdf Message-ID: Hi Richard We routinely install the free PDF writer (using Ghostscript) "FreePDF XP" on all client machines because everybody asks for this feature. It installs easily and uses the Apple Postscript printer driver of Windows, so no questions about the validity of the generated files. It can be found here: http://freepdfxp.de/fpxp.htm When you print, a popup lets the user select to send the pdf as an attachment via your e-mail client: http://freepdfxp.de/fpxpscreenshots2.htm It's in German but the installer allows you to select English for the user interface. /gustav >>> R.Griffiths at bury.gov.uk 29-01-2008 11:17:14 >>> Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard From andy at minstersystems.co.uk Tue Jan 29 04:22:20 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 29 Jan 2008 11:22:20 +0100 Subject: [AccessD] email and pdf Message-ID: <200801291122.m0TBMUlE028965@databaseadvisors.com> Hi Richard Well it depends where the system is now. If you're already emailing stuff then the attaching a file and sending it won't be an issue to you. If not then that's one subject on its own. As regards the PDf side you'll find different people use differnt PDF creation software. We've started using PdfCreator from http://www.pdfforge.org/products/pdfcreator andd like it very much. Lijke all of these products it installs as a printer so one issue is that you need to be able to direct your output to a specific printer. In A97 (which I'm STILL on!) that's a bit of a nightmare but I gather it's much easier with later versions. Then there's the question of the placing and naming of the file. If you want to make it seamless with no user-intervention, as I do, then what I've done is set PDFCreator to always output to a specific folder. I empty that folder, instigate the print and then poll that folder until my file appears. I then move it to a second folder (so that the first one is always just a temporary store) and do the emailing and attaching from there. Not simple but not rocket science either. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] email and pdf Date: 29/01/08 10:19 Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* -- 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 R.Griffiths at bury.gov.uk Tue Jan 29 06:21:34 2008 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 29 Jan 2008 12:21:34 -0000 Subject: [AccessD] email and pdf In-Reply-To: References: Message-ID: <200801291204.m0TC4ff03112@smarthost.yourcomms.net> Thanks Andy and gustav -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 29 January 2008 10:49 To: accessd at databaseadvisors.com Subject: Re: [AccessD] email and pdf Hi Richard We routinely install the free PDF writer (using Ghostscript) "FreePDF XP" on all client machines because everybody asks for this feature. It installs easily and uses the Apple Postscript printer driver of Windows, so no questions about the validity of the generated files. It can be found here: http://freepdfxp.de/fpxp.htm When you print, a popup lets the user select to send the pdf as an attachment via your e-mail client: http://freepdfxp.de/fpxpscreenshots2.htm It's in German but the installer allows you to select English for the user interface. /gustav >>> R.Griffiths at bury.gov.uk 29-01-2008 11:17:14 >>> Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* From rockysmolin at bchacc.com Tue Jan 29 07:49:54 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 05:49:54 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <000901c8627d$d47d13a0$0301a8c0@HAL9005> Gustav: On my Access 2007 Configuration form, there's no Cancel button! :( You have one there? The 2003 does and you're right - the cancel works fine. I wonder what all the work is about then, if nothing useful seems to be going on? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 1:19 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky The only "solution" I've found is to close the pop up install window/messagebox at once. Access then complains that you interrupted the process and blah-blah but appears to run without errors anyway. /gustav >>> rockysmolin at bchacc.com 28-01-2008 19:10:33 >>> Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From rockysmolin at bchacc.com Tue Jan 29 07:55:20 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 05:55:20 -0800 Subject: [AccessD] email and pdf In-Reply-To: <200801291000.m0TA0Lf10596@smarthost.yourcomms.net> References: <200801291000.m0TA0Lf10596@smarthost.yourcomms.net> Message-ID: <000a01c8627e$97013820$0301a8c0@HAL9005> Richard: I use PrimoPDF - a free pdf printer - installs like a printer, works real well if I just want to generate a PDF from an Access report. You can either preview the report then Ctrl-P to bring up the print dialog box and select PrimoPDF, or set PrimoPDF as the default printer. But for a more automated solution to generate a PDF and email I used Lebans' Snapview to PDF http://www.lebans.com/reporttopdf.htm and then emailed the reports that were generated right our of the module. It requires 2 dlls to be present in the same folder with the front end but you don't have to register them so it's pretty simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Tuesday, January 29, 2008 2:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] email and pdf Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard ----------------------------------------------------------------- Why not visit our website www.bury.gov.uk ----------------------------------------------------------------- The information contained in this e-mail and any files transmitted with it is for the intended recipient(s) alone. It may contain confidential information that is exempt from the disclosure under English law and may also be covered by legal,professional or other privilege. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by using the reply facility on your e-mail system. If this message is being transmitted over the Internet, be aware that it may be intercepted by third parties. As a public body, the Council may be required to disclose this e-mail or any response to it under the Freedom of Information Act 2000 unless the information in it is covered by one of the exemptions in the Act. By responding to this e-mail you accept that your response may be subject of recording/monitoring to ensure compliance with the Council's ICT Security Policy. Electronic service accepted only at legalservices at bury.gov.uk and on fax number 0161 253 5119 . ************************************************************* -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From Gustav at cactus.dk Tue Jan 29 08:12:47 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 15:12:47 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Rocky Brute force. Top, right: Close Not a Cancel button. /gustav >>> rockysmolin at bchacc.com 29-01-2008 14:49:54 >>> Gustav: On my Access 2007 Configuration form, there's no Cancel button! :( You have one there? The 2003 does and you're right - the cancel works fine. I wonder what all the work is about then, if nothing useful seems to be going on? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 1:19 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky The only "solution" I've found is to close the pop up install window/messagebox at once. Access then complains that you interrupted the process and blah-blah but appears to run without errors anyway. /gustav >>> rockysmolin at bchacc.com 28-01-2008 19:10:33 >>> Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky From robert at webedb.com Tue Jan 29 08:42:39 2008 From: robert at webedb.com (Robert L. Stewart) Date: Tue, 29 Jan 2008 08:42:39 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <200801291445.m0TEjZnW020909@databaseadvisors.com> Rocky, Use a virtual machine from VM Ware for it. The you can have a "machine" for any version you want to have. It is what I do. Robert At 08:13 AM 1/29/2008, you wrote: >Date: Mon, 28 Jan 2008 10:10:33 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] 2007<-->2003 >To: "'Access Developers discussion and problem solving'" > >Message-ID: <005401c861d9$13651bd0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Dear List; > >I now have Access 2007. When I run it after having run 2003, it takes about >2 full minutes to "configure" itself. Going back to 2003 is a bit faster >while Office 2003 reconfigures itself. I don't have this problem on the box >which runs 2000<-->2003. > >I don't want to buy another box just for 2007. (I don't even want to use >2007 but I'm being forced into it.) > >Is there any way to stop this time water 'reconfiguring'? > >MTIA > >Rocky From dwaters at usinternet.com Tue Jan 29 08:49:36 2008 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 29 Jan 2008 08:49:36 -0600 Subject: [AccessD] A2003: Dragging and Dropping from outlook In-Reply-To: <200801290515.m0T5FCVb012175@databaseadvisors.com> References: <200801290515.m0T5FCVb012175@databaseadvisors.com> Message-ID: <000c01c86286$2b0644f0$0300a8c0@danwaters> Hi Darren, In my apps I give users the ability to select from a list of emails from a folder that they select. They can then choose to save those emails in .msg format as an 'attached' file to a specific record. There is a lot of code to make this work - it's behind two forms. I can send those off-line if you'd like. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, January 28, 2008 11:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003: Dragging and Dropping from outlook Hi all >From MS Outlook (Yes it has to be Outlook) I can drag an item from say.My Inbox - to the desktop (or any folder really) and I get to see a *.msg item I can double click this dot msg item and can then view it in MS Outlook - cool Anyone know of a control or OCX etc that I can use in MS Access where I do the same thing - Drag a Microsoft Outlook item and have it visible in my access app If not that then some kind of pointer with the Subject or such where a double click will open the item's OutlookID property I have tried an RTF OCX (RTF2.ocx that Lebans uses in his RTF demo) I have used in other apps but when I drag inbox items to it I get some thing like. >From Subject Received Size Dave SMITH Auto Upload and Download Script 20/11/2007 1 MB If this carried with it some sort of pointer - Even this would be enough then I could double click it Clutching at straws here Many thanks in advance DD Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Jan 29 08:55:55 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 06:55:55 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <000b01c86287$0d585960$0301a8c0@HAL9005> Gustav: Cancelling the configuration in 2007 corrupted the VBA project. Looks like Virtual PC may be the next alternative. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 6:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Brute force. Top, right: Close Not a Cancel button. /gustav >>> rockysmolin at bchacc.com 29-01-2008 14:49:54 >>> Gustav: On my Access 2007 Configuration form, there's no Cancel button! :( You have one there? The 2003 does and you're right - the cancel works fine. I wonder what all the work is about then, if nothing useful seems to be going on? Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 1:19 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky The only "solution" I've found is to close the pop up install window/messagebox at once. Access then complains that you interrupted the process and blah-blah but appears to run without errors anyway. /gustav >>> rockysmolin at bchacc.com 28-01-2008 19:10:33 >>> Dear List; I now have Access 2007. When I run it after having run 2003, it takes about 2 full minutes to "configure" itself. Going back to 2003 is a bit faster while Office 2003 reconfigures itself. I don't have this problem on the box which runs 2000<-->2003. I don't want to buy another box just for 2007. (I don't even want to use 2007 but I'm being forced into it.) Is there any way to stop this time water 'reconfiguring'? MTIA Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From Gustav at cactus.dk Tue Jan 29 09:01:20 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 16:01:20 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Rocky Oops! /gustav >>> rockysmolin at bchacc.com 29-01-2008 15:55:55 >>> Gustav: Cancelling the configuration in 2007 corrupted the VBA project. Looks like Virtual PC may be the next alternative. Rocky From rockysmolin at bchacc.com Tue Jan 29 09:09:06 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 07:09:06 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <000d01c86288$e45eee00$0301a8c0@HAL9005> Lots of backup so no worries on that account. (I may not be too bright but I'm trainable.) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 7:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Oops! /gustav >>> rockysmolin at bchacc.com 29-01-2008 15:55:55 >>> Gustav: Cancelling the configuration in 2007 corrupted the VBA project. Looks like Virtual PC may be the next alternative. Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From max.wanadoo at gmail.com Tue Jan 29 09:32:54 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 29 Jan 2008 15:32:54 -0000 Subject: [AccessD] 2007<-->2003 In-Reply-To: <000d01c86288$e45eee00$0301a8c0@HAL9005> Message-ID: <002101c8628c$389aed40$8119fea9@LTVM> > (I may not be too bright but I'm trainable.) Let's see then. SIT! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, January 29, 2008 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Lots of backup so no worries on that account. (I may not be too bright but I'm trainable.) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 7:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Oops! /gustav >>> rockysmolin at bchacc.com 29-01-2008 15:55:55 >>> Gustav: Cancelling the configuration in 2007 corrupted the VBA project. Looks like Virtual PC may be the next alternative. Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Jan 29 09:39:18 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 07:39:18 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: <002101c8628c$389aed40$8119fea9@LTVM> References: <000d01c86288$e45eee00$0301a8c0@HAL9005> <002101c8628c$389aed40$8119fea9@LTVM> Message-ID: <001801c8628d$1c7b42d0$0301a8c0@HAL9005> Where's my biscuit? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Tuesday, January 29, 2008 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 > (I may not be too bright but I'm trainable.) Let's see then. SIT! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, January 29, 2008 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Lots of backup so no worries on that account. (I may not be too bright but I'm trainable.) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 7:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Oops! /gustav >>> rockysmolin at bchacc.com 29-01-2008 15:55:55 >>> Gustav: Cancelling the configuration in 2007 corrupted the VBA project. Looks like Virtual PC may be the next alternative. Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9: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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From max.wanadoo at gmail.com Tue Jan 29 09:50:46 2008 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 29 Jan 2008 15:50:46 -0000 Subject: [AccessD] 2007<-->2003 In-Reply-To: <001801c8628d$1c7b42d0$0301a8c0@HAL9005> Message-ID: <002801c8628e$b75f18c0$8119fea9@LTVM> Oops. I was just dunking it and it disintegrated...So I had to eat it myself.... Never mind, you are still a good boy....I'll take you for walkies later. now LIE DOWN and stop scratching!! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, January 29, 2008 3:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Where's my biscuit? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Tuesday, January 29, 2008 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 > (I may not be too bright but I'm trainable.) Let's see then. SIT! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, January 29, 2008 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Lots of backup so no worries on that account. (I may not be too bright but I'm trainable.) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 7:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Oops! /gustav >>> rockysmolin at bchacc.com 29-01-2008 15:55:55 >>> Gustav: Cancelling the configuration in 2007 corrupted the VBA project. Looks like Virtual PC may be the next alternative. Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9: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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Jan 29 10:24:53 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 08:24:53 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: <200801291445.m0TEjZnW020909@databaseadvisors.com> References: <200801291445.m0TEjZnW020909@databaseadvisors.com> Message-ID: <001e01c86293$7b00e570$0301a8c0@HAL9005> Is Microsoft Virtual PC equivalent? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, January 29, 2008 6:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Rocky, Use a virtual machine from VM Ware for it. The you can have a "machine" for any version you want to have. It is what I do. Robert At 08:13 AM 1/29/2008, you wrote: >Date: Mon, 28 Jan 2008 10:10:33 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] 2007<-->2003 >To: "'Access Developers discussion and problem solving'" > >Message-ID: <005401c861d9$13651bd0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Dear List; > >I now have Access 2007. When I run it after having run 2003, it takes >about >2 full minutes to "configure" itself. Going back to 2003 is a bit >faster while Office 2003 reconfigures itself. I don't have this >problem on the box which runs 2000<-->2003. > >I don't want to buy another box just for 2007. (I don't even want to >use >2007 but I'm being forced into it.) > >Is there any way to stop this time water 'reconfiguring'? > >MTIA > >Rocky -- 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.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From fuller.artful at gmail.com Tue Jan 29 10:28:18 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 29 Jan 2008 11:28:18 -0500 Subject: [AccessD] 2007<-->2003 In-Reply-To: <002801c8628e$b75f18c0$8119fea9@LTVM> References: <001801c8628d$1c7b42d0$0301a8c0@HAL9005> <002801c8628e$b75f18c0$8119fea9@LTVM> Message-ID: <29f585dd0801290828j68dcf778pcddd7658470c6bc3@mail.gmail.com> How much overhead does VMWare demand? What I can't seem to get my head around is how to install it as The Bottom-most OS so that it's not riding atop XP or whatever. How do you do that? A. From Gustav at cactus.dk Tue Jan 29 10:37:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 17:37:30 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Arthur That version of VMware costs money. The free versions run on top of either Linux or Windows. The server version lets you create a bunch of virtual machines: Linux, Windows, DOS, whatever. An amazing product which has turned installation, configuration and remote management (not to say backup) of servers up/down in small businesses like ours. /gustav >>> fuller.artful at gmail.com 29-01-2008 17:28:18 >>> How much overhead does VMWare demand? What I can't seem to get my head around is how to install it as The Bottom-most OS so that it's not riding atop XP or whatever. How do you do that? A. From cfoust at infostatsystems.com Tue Jan 29 10:44:59 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Jan 2008 08:44:59 -0800 Subject: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) In-Reply-To: References: Message-ID: Jet transactions are a very pale imitation of SQL Server transactions. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 1:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) Hi Stuart I don't know of the MS statement about the death of JET but since Access still uses it, it may take a while. As for distribution, isn't JET just one file only (DAO), should you need it? Don't know why you mention transactions as this is supported by JET as well. However, the 64 bit support is a good point, as is the data types which allows you to write engine specific code which allows you to move the database to the normal SQL Server version without modifying your code. To be precise, the datetime data type is not to the millisecond but only to 3,3 ms, while you - if you like and with some efforts - are able to store datetime with 1 ms precision in JET. This may have improved in SQL Server 2008 (is a Compact version out yet?) with the new and improved datetime data types. About the encryption, what does the SQL Server Compact offer? /gustav >>> stuart at lexacorp.com.pg 29-01-2008 02:10:08 >>> On 28 Jan 2008 at 10:17, Gustav Brock wrote: > Hi Stuart > > Why is it "much better"? I haven't worked with it (Access, or rather > JET is always at hand) so my experience is nil. > > I can think of the SQL syntax - which I understand is identical to the > normal SQL Server - and that it can run on PDAs, but doesn't it have > pretty much the same limitations (size etc.) than Access JET? Jet, according to MS is "depreciated technology. It is no longer part of MDAC. There don't appear be be any intentions to support it on 64bit OS. Are you sure that it will always be available on the target system? With SSCE, you distribute a few DLLs with your application and you know that the environment is exactly the same as on your development machine - no nasty surprises with different versions of DLLs on client machines. Apart from that: Data Types -- SQL Server datatypes - indexable text longer than 255 characters, dates to millisecond, BigInts... ACID (Atomicity, Consistency, Isolation, Durability) and Transactions - it's more robust and easier to recover from corruption in the event of system crach etc etc. Transactions Stronger password and encyrption -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Jan 29 10:58:41 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Jan 2008 17:58:41 +0100 Subject: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) Message-ID: Hi Charlotte How is that? What more exists than commit or rollback? Note please, not speaking of the SQL Server engine but the Compact Edition which neither can be run off a network share nor be shared as a JET database file can. /gustav >>> cfoust at infostatsystems.com 29-01-2008 17:44:59 >>> Jet transactions are a very pale imitation of SQL Server transactions. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 1:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) Hi Stuart I don't know of the MS statement about the death of JET but since Access still uses it, it may take a while. As for distribution, isn't JET just one file only (DAO), should you need it? Don't know why you mention transactions as this is supported by JET as well. However, the 64 bit support is a good point, as is the data types which allows you to write engine specific code which allows you to move the database to the normal SQL Server version without modifying your code. To be precise, the datetime data type is not to the millisecond but only to 3,3 ms, while you - if you like and with some efforts - are able to store datetime with 1 ms precision in JET. This may have improved in SQL Server 2008 (is a Compact version out yet?) with the new and improved datetime data types. About the encryption, what does the SQL Server Compact offer? /gustav >>> stuart at lexacorp.com.pg 29-01-2008 02:10:08 >>> On 28 Jan 2008 at 10:17, Gustav Brock wrote: > Hi Stuart > > Why is it "much better"? I haven't worked with it (Access, or rather > JET is always at hand) so my experience is nil. > > I can think of the SQL syntax - which I understand is identical to the > normal SQL Server - and that it can run on PDAs, but doesn't it have > pretty much the same limitations (size etc.) than Access JET? Jet, according to MS is "depreciated technology. It is no longer part of MDAC. There don't appear be be any intentions to support it on 64bit OS. Are you sure that it will always be available on the target system? With SSCE, you distribute a few DLLs with your application and you know that the environment is exactly the same as on your development machine - no nasty surprises with different versions of DLLs on client machines. Apart from that: Data Types -- SQL Server datatypes - indexable text longer than 255 characters, dates to millisecond, BigInts... ACID (Atomicity, Consistency, Isolation, Durability) and Transactions - it's more robust and easier to recover from corruption in the event of system crach etc etc. Transactions Stronger password and encyrption From cfoust at infostatsystems.com Tue Jan 29 11:50:54 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Jan 2008 09:50:54 -0800 Subject: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) In-Reply-To: References: Message-ID: I hadn't realized you were not talking about full bore SQL Server. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 29, 2008 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server Compact (was: Old Dog - New Tricks) Hi Charlotte How is that? What more exists than commit or rollback? Note please, not speaking of the SQL Server engine but the Compact Edition which neither can be run off a network share nor be shared as a JET database file can. /gustav >>> cfoust at infostatsystems.com 29-01-2008 17:44:59 >>> Jet transactions are a very pale imitation of SQL Server transactions. Charlotte Foust - From robert at webedb.com Tue Jan 29 12:22:44 2008 From: robert at webedb.com (Robert L. Stewart) Date: Tue, 29 Jan 2008 12:22:44 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <200801291825.m0TIPtu8020359@databaseadvisors.com> Not near as good. I would suggest getting VM Ware workstation. With it you can create all the VMs you want. If I remember correctly, it was about $170. It will also allow you to create Vista VMs. Robert At 12:00 PM 1/29/2008, you wrote: >Date: Tue, 29 Jan 2008 08:24:53 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] 2007<-->2003 >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001e01c86293$7b00e570$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Is Microsoft Virtual PC equivalent? > >Rocky From Patricia.O'Connor at otda.state.ny.us Tue Jan 29 12:29:47 2008 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 29 Jan 2008 13:29:47 -0500 Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important In-Reply-To: <000501c853c0$57952ec0$8119fea9@LTVM> References: <005e01c853ba$d36fc880$657aa8c0@M90> <000501c853c0$57952ec0$8119fea9@LTVM> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> HI ALL Is there a way to COMPACT / SHRINK the size of a FOXPRO database and/or table I know this is OT but I have tried google and can't seem to find specifics for FOXPRO If you have any exes, commands, macros, sites etc it would be greatly appreciated. We just inherited a FOXPRO database and are trying to do the monthly update several of the tables dbf and indexes (CDX) are very near the 2g point. In ACCESS you can compact the database and shrink the size. I have reindexed which shrunk the CDX but how can I do the table. Thanks Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From robert at webedb.com Tue Jan 29 12:25:15 2008 From: robert at webedb.com (Robert L. Stewart) Date: Tue, 29 Jan 2008 12:25:15 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <200801291830.m0TIUpmg022449@databaseadvisors.com> Each VM can be configured, number of processors, memory. And when you create it, you give it the size. Mine are generally 20 gb. You have to run it on top of an OS. It is a virtual machine and uses the base OS for things. At 12:00 PM 1/29/2008, you wrote: >From: "Gustav Brock" >Subject: Re: [AccessD] 2007<-->2003 >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Arthur > >That version of VMware costs money. >The free versions run on top of either Linux or Windows. > >The server version lets you create a bunch of virtual machines: >Linux, Windows, DOS, whatever. An amazing product which has turned >installation, configuration and remote management (not to say >backup) of servers up/down in small businesses like ours. > >/gustav > > >>> fuller.artful at gmail.com 29-01-2008 17:28:18 >>> >How much overhead does VMWare demand? What I can't seem to get my head >around is how to install it as The Bottom-most OS so that it's not riding >atop XP or whatever. How do you do that? > >A. From Gustav at cactus.dk Wed Jan 30 08:23:52 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Jan 2008 15:23:52 +0100 Subject: [AccessD] Getting started with .Net and ASP.NET (was: Old Dog - New Tricks) Message-ID: Hi Rocky et al Three Microsoft Press intro books are available for free download as pdf files if you register with your MS login: http://csna01.libredigital.com/ Introducing Microsoft LINQ Introducing Microsoft ASP.NET AJAX Introducing Microsoft Silverlight 1.0 /gustav >>> shamil at users.mns.ru 28-01-2008 18:12:07 >>> Hello Rocky, You can start here with ASP.NET: http://www.asp.net/get-started/ http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx http://www.asp.net/learn/ http://www.asp.net/learn/data-access/ -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, January 28, 2008 6:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Old Dog - New Tricks In getting started with VS2005 is it recommended to begin with Windows applications and forms or Web applications and forms? If you create a winders app in VS is it difficult to convert it to a web app? And back to ASP again - is the ASP part of the application the equivalent of using DAO or ADO in an Access app? That is, does it take care of moving data in and out of tables? Or does it have other functions? MTIA Rocky From Darryl.Collins at coles.com.au Tue Jan 29 16:13:45 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 30 Jan 2008 09:13:45 +1100 Subject: [AccessD] email and pdf Message-ID: <49DFE57FB126044B8A8B934E7AEA09ED09FD6E5A@WPEXCH05.colesmyer.ad.cmltd.net.au> also www.lebans.com has a great 'ConvertReportToPDF' function that I use a lot. The code needed some minor tweaking to suit my exact requirements but it was pretty much 'right out of the box'. See the web site for full details. regards Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, 29 January 2008 9:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] email and pdf Hi Richard We routinely install the free PDF writer (using Ghostscript) "FreePDF XP" on all client machines because everybody asks for this feature. It installs easily and uses the Apple Postscript printer driver of Windows, so no questions about the validity of the generated files. It can be found here: http://freepdfxp.de/fpxp.htm When you print, a popup lets the user select to send the pdf as an attachment via your e-mail client: http://freepdfxp.de/fpxpscreenshots2.htm It's in German but the installer allows you to select English for the user interface. /gustav >>> R.Griffiths at bury.gov.uk 29-01-2008 11:17:14 >>> Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From Patricia.O'Connor at otda.state.ny.us Tue Jan 29 16:09:24 2008 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 29 Jan 2008 17:09:24 -0500 Subject: [AccessD] TESTING - don't have to reply In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> References: <005e01c853ba$d36fc880$657aa8c0@M90><000501c853c0$57952ec0$8119fea9@LTVM> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB20A@EXCNYSM0A1AI.nysemail.nyenet> Haven't seen a post since 1:30 est ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From fuller.artful at gmail.com Tue Jan 29 13:15:03 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 29 Jan 2008 14:15:03 -0500 Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> References: <005e01c853ba$d36fc880$657aa8c0@M90> <000501c853c0$57952ec0$8119fea9@LTVM> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0801291115t538faf22i659e7e1f726f8d14@mail.gmail.com> To my knowledge there is no compaction available. best you can do is USE aTable PACK and repeat for all tables. This will help only if records have been marked for deletion and the table was not packed. As for indexes, use all the indexes related to each table (one table at a time) and issue: USE aTable INDEX idx1, idx2, etc. REINDEX hth, Arthur On 1/29/08, O'Connor, Patricia (OTDA) wrote: > > HI ALL > Is there a way to COMPACT / SHRINK the size of a FOXPRO database and/or > table > > I know this is OT but I have tried google and can't seem to find > specifics for FOXPRO > If you have any exes, commands, macros, sites etc it would be greatly > appreciated. > > We just inherited a FOXPRO database and are trying to do the monthly > update > several of the tables dbf and indexes (CDX) are very near the 2g point. > > In ACCESS you can compact the database and shrink the size. > I have reindexed which shrunk the CDX but how can I do the table. > > Thanks > Patti > > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or > otherwise legally protected. It is intended only for the addressee. If you > received this e-mail in error or from someone who was not authorized to send > it to you, do not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply e-mail and > delete the e-mail from your system. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Darryl.Collins at coles.com.au Tue Jan 29 16:09:59 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 30 Jan 2008 09:09:59 +1100 Subject: [AccessD] email and pdf Message-ID: <49DFE57FB126044B8A8B934E7AEA09ED74AB2E@WPEXCH05.colesmyer.ad.cmltd.net.au> CutePDF also does a great, reliable and free job using a print driver (also using Ghostscript). http://www.cutepdf.com/ cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, 29 January 2008 9:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] email and pdf Hi Richard We routinely install the free PDF writer (using Ghostscript) "FreePDF XP" on all client machines because everybody asks for this feature. It installs easily and uses the Apple Postscript printer driver of Windows, so no questions about the validity of the generated files. It can be found here: http://freepdfxp.de/fpxp.htm When you print, a popup lets the user select to send the pdf as an attachment via your e-mail client: http://freepdfxp.de/fpxpscreenshots2.htm It's in German but the installer allows you to select English for the user interface. /gustav >>> R.Griffiths at bury.gov.uk 29-01-2008 11:17:14 >>> Hi Not been doing a lot of MS Access recently, but have now a request to add this functionality to a A97 database......... save reports to pdf format and then email. How easy is this? Richard -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From dwaters at usinternet.com Wed Jan 30 09:31:59 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 30 Jan 2008 09:31:59 -0600 Subject: [AccessD] Quiet Test Message-ID: <000c01c86355$41635ce0$0300a8c0@danwaters> From phpons at gmail.com Wed Jan 30 05:33:23 2008 From: phpons at gmail.com (philippe pons) Date: Wed, 30 Jan 2008 12:33:23 +0100 Subject: [AccessD] Installing an A2002 application under A2003 Message-ID: <57144ced0801300333v1e5f05c0rb1829c6f2922a570@mail.gmail.com> Hello, I'm using Access 2002, with Office Developper Edition. I just packed an application with the ODE, sent it to a customer. He clicked on setup, and then has been warned that Access 2003 is needed!! He is actually using Access 2003, installed on his pc. I'm surprised that an A2002 application can't be installed with A2003. Do you know if there would be any workaround? TIA Philippe From Patricia.O'Connor at otda.state.ny.us Wed Jan 30 09:43:11 2008 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 30 Jan 2008 10:43:11 -0500 Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important In-Reply-To: <29f585dd0801291115t538faf22i659e7e1f726f8d14@mail.gmail.com> References: <005e01c853ba$d36fc880$657aa8c0@M90><000501c853c0$57952ec0$8119fea9@LTVM><01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0801291115t538faf22i659e7e1f726f8d14@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB20D@EXCNYSM0A1AI.nysemail.nyenet> Thanks Arthur I did try the REINDEX and that definitely cut the size down. I had tried the PACK but wasn't sure whether I had coded it correctly - will try again - though it could just be there is nothing to delete. It is a shame they don't have a similar compact like Access. BTW - if anyone else sent a reply from 1:30 EST yesterday to 10:30 AM est today - I did not receive it...Not sure whether it was our email or the DatabaseAdvisors who was not sending/receiving Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: Tuesday, January 29, 2008 02:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: FOXPRO compact decrease dbf size - > important > > To my knowledge there is no compaction available. best you can do is > > USE aTable > PACK > and repeat for all tables. This will help only if records > have been marked for deletion and the table was not packed. > > As for indexes, use all the indexes related to each table > (one table at a > time) and issue: > > USE aTable INDEX idx1, idx2, etc. > REINDEX > > hth, > Arthur > > On 1/29/08, O'Connor, Patricia (OTDA) > > wrote: > > > > HI ALL > > Is there a way to COMPACT / SHRINK the size of a FOXPRO database > > and/or table > > > > I know this is OT but I have tried google and can't seem to find > > specifics for FOXPRO If you have any exes, commands, macros, sites > > etc it would be greatly appreciated. > > > > We just inherited a FOXPRO database and are trying to do > the monthly > > update several of the tables dbf and indexes (CDX) are very > near the > > 2g point. > > > > In ACCESS you can compact the database and shrink the size. > > I have reindexed which shrunk the CDX but how can I do the table. > > > > Thanks > > Patti > > > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be confidential, > > privileged or otherwise legally protected. It is intended > only for the > > addressee. If you received this e-mail in error or from someone who > > was not authorized to send it to you, do not disseminate, copy or > > otherwise use this e-mail or its attachments. Please notify the > > sender immediately by reply e-mail and delete the e-mail > from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Jan 30 08:56:16 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 30 Jan 2008 15:56:16 +0100 Subject: [AccessD] TESTING - don't have to reply Message-ID: <200801301556.m0UFuPql011567@databaseadvisors.com> Yes was beginning to think we were down. Hadn't had anything for hours and hours. But here's a flurry. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: [AccessD] TESTING - don't have to reply Date: 30/01/08 15:31 Haven't seen a post since 1:30 est ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- 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 fuller.artful at gmail.com Wed Jan 30 10:08:22 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Jan 2008 11:08:22 -0500 Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB20D@EXCNYSM0A1AI.nysemail.nyenet> References: <005e01c853ba$d36fc880$657aa8c0@M90> <000501c853c0$57952ec0$8119fea9@LTVM> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> <29f585dd0801291115t538faf22i659e7e1f726f8d14@mail.gmail.com> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB20D@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <29f585dd0801300808m302bfeb2x7f2cf1dcb70f712c@mail.gmail.com> It's not a shame that FoxPro doesn't have a compact command, since its file format doesn't suffer the bloat issue. As for the data itself, when you issue a DELETE in Fox, all that actually happens is that a hidden flag column marks the record for deletion. This permits UNDELETE (known in the command language as RECALL). The PACK command forcibly deletes records marked for deletion. As for the REINDEX command, it reorganizes the pages of the index, thus returning disk space to the operating system. Index fragmentation occurs when the data is updated frequently. hth, Arthur On Jan 30, 2008 10:43 AM, O'Connor, Patricia (OTDA) wrote: > Thanks Arthur > I did try the REINDEX and that definitely cut the size down. I had tried > the PACK but wasn't sure whether I had coded it correctly - will try > again - though it could just be there is nothing to delete. > > It is a shame they don't have a similar compact like Access. > > From rockysmolin at bchacc.com Tue Jan 29 12:47:20 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 29 Jan 2008 10:47:20 -0800 Subject: [AccessD] 2007<-->2003 References: Message-ID: <006601c862a7$60fe5400$0301a8c0@HAL9005> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 program, especially when I got O2K7 for practically nothing (don't ask; it's legal). What's the freeware version give me? Rocky -----Original Message----- From: Robert L. Stewart [mailto:robert at webedb.com] Sent: Tuesday, January 29, 2008 10:23 AM To: accessd at databaseadvisors.com Cc: rockysmolin at bchacc.com Subject: Re: 2007<-->2003 Not near as good. I would suggest getting VM Ware workstation. With it you can create all the VMs you want. If I remember correctly, it was about $170. It will also allow you to create Vista VMs. Robert At 12:00 PM 1/29/2008, you wrote: >Date: Tue, 29 Jan 2008 08:24:53 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] 2007<-->2003 >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001e01c86293$7b00e570$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Is Microsoft Virtual PC equivalent? > >Rocky No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM From garykjos at gmail.com Wed Jan 30 10:47:09 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Jan 2008 10:47:09 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: <006601c862a7$60fe5400$0301a8c0@HAL9005> References: <006601c862a7$60fe5400$0301a8c0@HAL9005> Message-ID: You got several machines, just put it on a different one. Put it on your VISTA test system ;-) GK On 1/29/08, Rocky Smolin at Beach Access Software wrote: > Dang. Hate to pay $170 just so I can occasionally run an Access 2007 > program, especially when I got O2K7 for practically nothing (don't ask; it's > legal). > > What's the freeware version give me? > > > Rocky > > > > -----Original Message----- > From: Robert L. Stewart [mailto:robert at webedb.com] > Sent: Tuesday, January 29, 2008 10:23 AM > To: accessd at databaseadvisors.com > Cc: rockysmolin at bchacc.com > Subject: Re: 2007<-->2003 > > Not near as good. > > I would suggest getting VM Ware workstation. > With it you can create all the VMs you want. > If I remember correctly, it was about $170. > > It will also allow you to create Vista VMs. > > Robert > > At 12:00 PM 1/29/2008, you wrote: > >Date: Tue, 29 Jan 2008 08:24:53 -0800 > >From: "Rocky Smolin at Beach Access Software" > >Subject: Re: [AccessD] 2007<-->2003 > >To: "'Access Developers discussion and problem solving'" > > > >Message-ID: <001e01c86293$7b00e570$0301a8c0 at HAL9005> > >Content-Type: text/plain; charset="us-ascii" > > > >Is Microsoft Virtual PC equivalent? > > > >Rocky > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 > 9:32 PM > > > -- > 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 Gustav at cactus.dk Wed Jan 30 11:07:21 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Jan 2008 18:07:21 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Rocky Start with the free server version installed on some capable machine: http://www.vmware.com/products/server/ Create the virtual machines you wish on this. Any virtual machine can be copied to another VMware Server or (have not tested that) the VMware Player. On the server, don't forget to install for each virtual Windows machine the VMware tools to speed up mouse access and more. http://www.vmware.com/products/player/ /gustav >>> rockysmolin at bchacc.com 29-01-2008 19:47:20 >>> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 program, especially when I got O2K7 for practically nothing (don't ask; it's legal). What's the freeware version give me? Rocky -----Original Message----- From: Robert L. Stewart [mailto:robert at webedb.com] Sent: Tuesday, January 29, 2008 10:23 AM To: accessd at databaseadvisors.com Cc: rockysmolin at bchacc.com Subject: Re: 2007<-->2003 Not near as good. I would suggest getting VM Ware workstation. With it you can create all the VMs you want. If I remember correctly, it was about $170. It will also allow you to create Vista VMs. Robert From DWUTKA at Marlow.com Wed Jan 30 11:10:03 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 30 Jan 2008 11:10:03 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: <006601c862a7$60fe5400$0301a8c0@HAL9005> Message-ID: Just use Virtual PC 2007. Completely free. I haven't used VMWare. I've read what features it has, that are better, but so far, VPC does everything I need it to do. Can't argue with free. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, January 29, 2008 12:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Dang. Hate to pay $170 just so I can occasionally run an Access 2007 program, especially when I got O2K7 for practically nothing (don't ask; it's legal). What's the freeware version give me? Rocky -----Original Message----- From: Robert L. Stewart [mailto:robert at webedb.com] Sent: Tuesday, January 29, 2008 10:23 AM To: accessd at databaseadvisors.com Cc: rockysmolin at bchacc.com Subject: Re: 2007<-->2003 Not near as good. I would suggest getting VM Ware workstation. With it you can create all the VMs you want. If I remember correctly, it was about $170. It will also allow you to create Vista VMs. Robert At 12:00 PM 1/29/2008, you wrote: >Date: Tue, 29 Jan 2008 08:24:53 -0800 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] 2007<-->2003 >To: "'Access Developers discussion and problem solving'" > >Message-ID: <001e01c86293$7b00e570$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Is Microsoft Virtual PC equivalent? > >Rocky No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 9:32 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From markamatte at hotmail.com Wed Jan 30 11:15:36 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 30 Jan 2008 17:15:36 +0000 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: <006601c862a7$60fe5400$0301a8c0@HAL9005> Message-ID: Hey Rocky, You could just send it to me...I'll install it on my machine...then when you 'occasionally' need something tested...I'll do it...for a 'SMALL' fee, of course. Let me know. Mark :) > Date: Wed, 30 Jan 2008 10:47:09 -0600 > From: garykjos at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] 2007<-->2003 > > You got several machines, just put it on a different one. Put it on > your VISTA test system ;-) > > GK > > On 1/29/08, Rocky Smolin at Beach Access Software > wrote: >> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 >> program, especially when I got O2K7 for practically nothing (don't ask; it's >> legal). >> >> What's the freeware version give me? >> >> >> Rocky >> >> >> >> -----Original Message----- >> From: Robert L. Stewart [mailto:robert at webedb.com] >> Sent: Tuesday, January 29, 2008 10:23 AM >> To: accessd at databaseadvisors.com >> Cc: rockysmolin at bchacc.com >> Subject: Re: 2007<-->2003 >> >> Not near as good. >> >> I would suggest getting VM Ware workstation. >> With it you can create all the VMs you want. >> If I remember correctly, it was about $170. >> >> It will also allow you to create Vista VMs. >> >> Robert >> >> At 12:00 PM 1/29/2008, you wrote: >>>Date: Tue, 29 Jan 2008 08:24:53 -0800 >>>From: "Rocky Smolin at Beach Access Software" >>>Subject: Re: [AccessD] 2007<-->2003 >>>To: "'Access Developers discussion and problem solving'" >>> >>>Message-ID: >>>Content-Type: text/plain; charset="us-ascii" >>> >>>Is Microsoft Virtual PC equivalent? >>> >>>Rocky >> >> >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date: 1/28/2008 >> 9:32 PM >> >> >> -- >> 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 _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ From cjlabs at worldnet.att.net Wed Jan 30 11:38:51 2008 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Wed, 30 Jan 2008 11:38:51 -0600 Subject: [AccessD] 2007<-->2003 References: Message-ID: <003101c86366$fac3a940$6401a8c0@XPcomputer> Microsoft's website only lists the business versions of Vista as being compatible with VPC 2007. I have the home version. Does anyone know whether it will run on that version? Even more infuriating is that the business versions of Vista have downgrade rights to Windows XP, and the home version does not. Carolyn Johnson ----- Original Message ----- From: "Drew Wutka" To: "Access Developers discussion and problem solving" Sent: Wednesday, January 30, 2008 11:10 AM Subject: Re: [AccessD] 2007<-->2003 > Just use Virtual PC 2007. Completely free. I haven't used VMWare. I've > read what features it has, that are better, but so far, VPC does > everything I need it to do. Can't argue with free. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > at Beach Access Software > Sent: Tuesday, January 29, 2008 12:47 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] 2007<-->2003 > > Dang. Hate to pay $170 just so I can occasionally run an Access 2007 > program, especially when I got O2K7 for practically nothing (don't ask; > it's > legal). > > What's the freeware version give me? > > > Rocky > > > > -----Original Message----- > From: Robert L. Stewart [mailto:robert at webedb.com] > Sent: Tuesday, January 29, 2008 10:23 AM > To: accessd at databaseadvisors.com > Cc: rockysmolin at bchacc.com > Subject: Re: 2007<-->2003 > > Not near as good. > > I would suggest getting VM Ware workstation. > With it you can create all the VMs you want. > If I remember correctly, it was about $170. > > It will also allow you to create Vista VMs. > > Robert > > At 12:00 PM 1/29/2008, you wrote: >>Date: Tue, 29 Jan 2008 08:24:53 -0800 >>From: "Rocky Smolin at Beach Access Software" >>Subject: Re: [AccessD] 2007<-->2003 >>To: "'Access Developers discussion and problem solving'" >> >>Message-ID: <001e01c86293$7b00e570$0301a8c0 at HAL9005> >>Content-Type: text/plain; charset="us-ascii" >> >>Is Microsoft Virtual PC equivalent? >> >>Rocky > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date: > 1/28/2008 > 9:32 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity to which it is addressed and may contain II-VI > Proprietary and/or II-VI BusinessSensitve material. If you are not the > intended recipient, please contact the sender immediately and destroy the > material in its entirety, whether electronic or hard copy. You are > notified that any review, retransmission, copying, disclosure, > dissemination, or other use of, or taking of any action in reliance upon > this information by persons or entities other than the intended recipient > is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Jan 30 11:46:57 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 30 Jan 2008 09:46:57 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: <006601c862a7$60fe5400$0301a8c0@HAL9005> Message-ID: <006301c86368$1c607050$0301a8c0@HAL9005> Mark: Thank you. That's a great offer. But I think I should have the capability here because the problem is not with the testing it's with the failure during testing. And then I have to track down the problem. What we're seeing is incompatibilities between 2003 and 2007 - things that work in 3 and fail in 7. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 30, 2008 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 2007<-->2003 Hey Rocky, You could just send it to me...I'll install it on my machine...then when you 'occasionally' need something tested...I'll do it...for a 'SMALL' fee, of course. Let me know. Mark :) > Date: Wed, 30 Jan 2008 10:47:09 -0600 > From: garykjos at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] 2007<-->2003 > > You got several machines, just put it on a different one. Put it on > your VISTA test system ;-) > > GK > > On 1/29/08, Rocky Smolin at Beach Access Software > wrote: >> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 >> program, especially when I got O2K7 for practically nothing (don't >> ask; it's legal). >> >> What's the freeware version give me? >> >> >> Rocky >> >> >> >> -----Original Message----- >> From: Robert L. Stewart [mailto:robert at webedb.com] >> Sent: Tuesday, January 29, 2008 10:23 AM >> To: accessd at databaseadvisors.com >> Cc: rockysmolin at bchacc.com >> Subject: Re: 2007<-->2003 >> >> Not near as good. >> >> I would suggest getting VM Ware workstation. >> With it you can create all the VMs you want. >> If I remember correctly, it was about $170. >> >> It will also allow you to create Vista VMs. >> >> Robert >> >> At 12:00 PM 1/29/2008, you wrote: >>>Date: Tue, 29 Jan 2008 08:24:53 -0800 >>>From: "Rocky Smolin at Beach Access Software" >>>Subject: Re: [AccessD] 2007<-->2003 >>>To: "'Access Developers discussion and problem solving'" >>> >>>Message-ID: >>>Content-Type: text/plain; charset="us-ascii" >>> >>>Is Microsoft Virtual PC equivalent? >>> >>>Rocky >> >> >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date: >> 1/28/2008 >> 9:32 PM >> >> >> -- >> 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 _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.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.516 / Virus Database: 269.19.16/1250 - Release Date: 1/29/2008 10:20 PM From jwcolby at colbyconsulting.com Wed Jan 30 12:07:26 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 30 Jan 2008 13:07:26 -0500 Subject: [AccessD] 2007<-->2003 In-Reply-To: <006301c86368$1c607050$0301a8c0@HAL9005> References: <006601c862a7$60fe5400$0301a8c0@HAL9005> <006301c86368$1c607050$0301a8c0@HAL9005> Message-ID: <006301c8636a$f8d745c0$0401a8c0@M90> Rocky, I would suggest that you set up virtual machines. Each machine can be set up as having its own network interface card and to appear on your network as a real machine with an IP address. Once you do that then you work on some machine, such as your laptop, with the virtual machines running on some other machine. You set up remote desktop so that you can RD into the alternate machine. It is quite possible to do this across the web, i.e. on Mark's system, though I would only recommend that on an emergency basis if you need to get something working "right now" and didn't have the expertise to do so. I RD into all of my clients and it is quite functional as long as they have a high speed internet, and SUCKS if they don't have enough bandwidth. Once you get virtual machines set up (at your office), you can "turn them on and off" just like real machines. They are usually largish files, 10g to 20 gig each. You could set up virtual machines with "scenarios" if you needed to. XP with Office 2003, XP with Office 2007, Vista with Office 2003, Vista with 2007 etc. Each one is just a file sitting on a large hard drive and "turned on" when you need to test on that scenario. RD in and go to town. With machines like this you should be able to share directories and the whole nine yards, so you could transfer large files (databases) by just dragging and dropping into the RD shared directory. Let us know if you do this and how it works for you. 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 Rocky Smolin at Beach Access Software Sent: Wednesday, January 30, 2008 12:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Mark: Thank you. That's a great offer. But I think I should have the capability here because the problem is not with the testing it's with the failure during testing. And then I have to track down the problem. What we're seeing is incompatibilities between 2003 and 2007 - things that work in 3 and fail in 7. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 30, 2008 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 2007<-->2003 Hey Rocky, You could just send it to me...I'll install it on my machine...then when you 'occasionally' need something tested...I'll do it...for a 'SMALL' fee, of course. Let me know. Mark :) > Date: Wed, 30 Jan 2008 10:47:09 -0600 > From: garykjos at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] 2007<-->2003 > > You got several machines, just put it on a different one. Put it on > your VISTA test system ;-) > > GK > > On 1/29/08, Rocky Smolin at Beach Access Software > wrote: >> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 >> program, especially when I got O2K7 for practically nothing (don't >> ask; it's legal). >> >> What's the freeware version give me? >> >> >> Rocky From robert at webedb.com Wed Jan 30 12:43:45 2008 From: robert at webedb.com (Robert L. Stewart) Date: Wed, 30 Jan 2008 12:43:45 -0600 Subject: [AccessD] 2007<-->2003 In-Reply-To: References: Message-ID: <200801301845.m0UIivvW015224@databaseadvisors.com> The VM Player allows you to play/run an existing VM. It does not allow you to create any. At 12:00 PM 1/30/2008, you wrote: >Date: Wed, 30 Jan 2008 10:47:09 -0600 >From: "Gary Kjos" >Subject: Re: [AccessD] 2007<-->2003 >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset=ISO-8859-1 > >You got several machines, just put it on a different one. Put it on >your VISTA test system ;-) > >GK > >On 1/29/08, Rocky Smolin at Beach Access Software > wrote: > > Dang. Hate to pay $170 just so I can occasionally run an Access 2007 > > program, especially when I got O2K7 for practically nothing > (don't ask; it's > > legal). > > > > What's the freeware version give me? > > > > > > Rocky From rockysmolin at bchacc.com Wed Jan 30 13:15:08 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 30 Jan 2008 11:15:08 -0800 Subject: [AccessD] 2007<-->2003 In-Reply-To: <006301c8636a$f8d745c0$0401a8c0@M90> References: <006601c862a7$60fe5400$0301a8c0@HAL9005><006301c86368$1c607050$0301a8c0@HAL9005> <006301c8636a$f8d745c0$0401a8c0@M90> Message-ID: <007f01c86374$6e8a1b40$0301a8c0@HAL9005> Set up virtual machines using VM Ware then? Or can I use Virtual PC 2007? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 30, 2008 10:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Rocky, I would suggest that you set up virtual machines. Each machine can be set up as having its own network interface card and to appear on your network as a real machine with an IP address. Once you do that then you work on some machine, such as your laptop, with the virtual machines running on some other machine. You set up remote desktop so that you can RD into the alternate machine. It is quite possible to do this across the web, i.e. on Mark's system, though I would only recommend that on an emergency basis if you need to get something working "right now" and didn't have the expertise to do so. I RD into all of my clients and it is quite functional as long as they have a high speed internet, and SUCKS if they don't have enough bandwidth. Once you get virtual machines set up (at your office), you can "turn them on and off" just like real machines. They are usually largish files, 10g to 20 gig each. You could set up virtual machines with "scenarios" if you needed to. XP with Office 2003, XP with Office 2007, Vista with Office 2003, Vista with 2007 etc. Each one is just a file sitting on a large hard drive and "turned on" when you need to test on that scenario. RD in and go to town. With machines like this you should be able to share directories and the whole nine yards, so you could transfer large files (databases) by just dragging and dropping into the RD shared directory. Let us know if you do this and how it works for you. 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 Rocky Smolin at Beach Access Software Sent: Wednesday, January 30, 2008 12:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2007<-->2003 Mark: Thank you. That's a great offer. But I think I should have the capability here because the problem is not with the testing it's with the failure during testing. And then I have to track down the problem. What we're seeing is incompatibilities between 2003 and 2007 - things that work in 3 and fail in 7. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, January 30, 2008 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 2007<-->2003 Hey Rocky, You could just send it to me...I'll install it on my machine...then when you 'occasionally' need something tested...I'll do it...for a 'SMALL' fee, of course. Let me know. Mark :) > Date: Wed, 30 Jan 2008 10:47:09 -0600 > From: garykjos at gmail.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] 2007<-->2003 > > You got several machines, just put it on a different one. Put it on > your VISTA test system ;-) > > GK > > On 1/29/08, Rocky Smolin at Beach Access Software > wrote: >> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 >> program, especially when I got O2K7 for practically nothing (don't >> ask; it's legal). >> >> What's the freeware version give me? >> >> >> Rocky -- 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.516 / Virus Database: 269.19.16/1250 - Release Date: 1/29/2008 10:20 PM From shamil at users.mns.ru Wed Jan 30 13:32:38 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 30 Jan 2008 22:32:38 +0300 Subject: [AccessD] 2007<-->2003 In-Reply-To: Message-ID: <000701c86376$df2761d0$6501a8c0@nant> Hi Gustav, Are there somewhere on VMWare site some instructions how to set-up/tune VMWare server for its VMs to be available on a Host PC and via network?: I have installed/generated several VMs but they are not available even on a host PC - I mean they are not available in local network neighborhood on PC where VMWare server is running - LAN is just workgroup, no domain server. Of course VMs are running :) I recall I had VMWare Workstation in the past, and when VM were generated on it then they became immediately available on a host PC. It's somehow not like that simple with VMWare Sever. I'm probably missing something very simple. Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, January 30, 2008 8:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Start with the free server version installed on some capable machine: http://www.vmware.com/products/server/ Create the virtual machines you wish on this. Any virtual machine can be copied to another VMware Server or (have not tested that) the VMware Player. On the server, don't forget to install for each virtual Windows machine the VMware tools to speed up mouse access and more. http://www.vmware.com/products/player/ /gustav >>> rockysmolin at bchacc.com 29-01-2008 19:47:20 >>> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 program, especially when I got O2K7 for practically nothing (don't ask; it's legal). What's the freeware version give me? Rocky From darren at activebilling.com.au Tue Jan 29 22:00:12 2008 From: darren at activebilling.com.au (Darren D) Date: Wed, 30 Jan 2008 15:00:12 +1100 Subject: [AccessD] A2003: Dragging and Dropping from outlook In-Reply-To: <000c01c86286$2b0644f0$0300a8c0@danwaters> Message-ID: <200801302102.m0UL2NB3007935@databaseadvisors.com> Thanks to all who replied Mmm looks like it may be tricky - I will gratefully try Dan's method and see how I go Darren ----------------- T: 1300 301 731 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, 30 January 2008 1:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Dragging and Dropping from outlook Hi Darren, In my apps I give users the ability to select from a list of emails from a folder that they select. They can then choose to save those emails in .msg format as an 'attached' file to a specific record. There is a lot of code to make this work - it's behind two forms. I can send those off-line if you'd like. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, January 28, 2008 11:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003: Dragging and Dropping from outlook Hi all >From MS Outlook (Yes it has to be Outlook) I can drag an item from say.My Inbox - to the desktop (or any folder really) and I get to see a *.msg item I can double click this dot msg item and can then view it in MS Outlook - cool Anyone know of a control or OCX etc that I can use in MS Access where I do the same thing - Drag a Microsoft Outlook item and have it visible in my access app If not that then some kind of pointer with the Subject or such where a double click will open the item's OutlookID property I have tried an RTF OCX (RTF2.ocx that Lebans uses in his RTF demo) I have used in other apps but when I drag inbox items to it I get some thing like. >From Subject Received Size Dave SMITH Auto Upload and Download Script 20/11/2007 1 MB If this carried with it some sort of pointer - Even this would be enough then I could double click it Clutching at straws here Many thanks in advance DD Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 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 Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21/01/2008 8:23 PM From jimdettman at verizon.net Tue Jan 29 14:24:28 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 29 Jan 2008 15:24:28 -0500 Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> References: <005e01c853ba$d36fc880$657aa8c0@M90> <000501c853c0$57952ec0$8119fea9@LTVM> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <005601c862b4$f3781e30$8abea8c0@XPS> Patti, You want to use the PACK or PACK DATABASE command. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, January 29, 2008 1:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important HI ALL Is there a way to COMPACT / SHRINK the size of a FOXPRO database and/or table I know this is OT but I have tried google and can't seem to find specifics for FOXPRO If you have any exes, commands, macros, sites etc it would be greatly appreciated. We just inherited a FOXPRO database and are trying to do the monthly update several of the tables dbf and indexes (CDX) are very near the 2g point. In ACCESS you can compact the database and shrink the size. I have reindexed which shrunk the CDX but how can I do the table. Thanks Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Thu Jan 31 01:34:43 2008 From: adtp at airtelbroadband.in (A.D.Tejpal) Date: Thu, 31 Jan 2008 13:04:43 +0530 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne><001601c85e1b$1f3a1fd0$0202a8c0@La ptop><03a401c85e1f$092e5e50$4b3a8343@SusanOne> <004201c85e20$7c03d710$0202a8c0@Laptop> Message-ID: <021701c863db$dbc88b80$7e57a27a@personald6374f> Appending form / subform values to destination table (Use of SELECT instead of VALUES clause) =================================== In general, while building the append SQL, there is a distinct advantage in using SELECT instead of VALUES clause, wherever feasible. Some advantages of doing so are mentioned below: (a) No need to worry about specific enclosing characters while concatenating values for various data types (e.g. ' for text type and # for date type data). Moreover, there is no problem if the value held by any of the controls happens to be Null (provided destination table is in a position to accept Null value in the field concerned). (b) No need to fix any embedded quotes, whether single or double. (c) No risk of dates getting mis-interpreted (in the process of concatenation into SQL string) when local system settings for short date are not as per US settings (mm/dd/yyyy). Following three styles of SQL for append action can be considered for values held by controls on an independent form as well as those on a subform: (a) Use form/subform values directly. This is preferred, being the most straight forward. (b) Use form/subform values via recordset. (c) Use form/subform values via array. A dummy table named T_Dummy with single field single record is used for facilitating adoption of SELECT clause instead of VALUES clause. Actual contents of this table are of no significance. My sample db named Query_AppendValuesViaSelectClause demonstrates the above approach. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. It covers main as well as subform, each with controls having different types of data (i.e. text with embedded quotes, date & number). Pertinent controls (on form or subform) along with freshly appended record in destination table get highlighted in special color. Simultaneously, the SQL actually used for the selected append action is displayed in a text box on the main form - for ready reference. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, January 24, 2008 06:01 Subject: Re: [AccessD] SQL INSERT Question Hi Susan, Uh, well ... I was wrong ... just one rs Anyway ... enjoy your evening :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, January 23, 2008 7:21 PM Subject: Re: [AccessD] SQL INSERT Question > I've never tried a JOIN without VALUES, but theoretically, I guess it > could > work if all the fields are covered -- but I've never tried. Honestly, I > missed that they were coming from different recordsets. > > Susan H. > > >> http://www.w3schools.com/sql/sql_insert.asp >> >> Since the values were coming from 2 recordsets, >> the VALUES statement made sense given the >> lack of FROM
in the SQL string. >> >> As the saying goes, "There's more than one way to skin a cat" >> >> Michael R. Mattys >> MapPoint & Access Dev >> www.mattysconsulting.com From Gustav at cactus.dk Thu Jan 31 04:25:41 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 31 Jan 2008 11:25:41 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Shamil That sounds strange. Are you using the console version 1.xx? That is a Windows app. using port 902: http://www.vmware.com/support/gsx3/doc/manage_portnum_gsx.html When you launch it, a login window pops up asking if you wish to use localhost - a VMware Server on that machine - or a remote server. We use quite a lot the remote access but you normally have to have either a VPN connection or to adjust the firewalls at both ends. Version 2 which still is in beta uses a completely different console which is browser based. I'm not so familiar with it but as it has the same features and purpose, the port and/or firewall setup is probably identical. I'll leave a note for my colleague who installs these servers asking for any tips. Let me know how you proceed. /gustav >>> shamil at users.mns.ru 30-01-2008 20:32:38 >>> Hi Gustav, Are there somewhere on VMWare site some instructions how to set-up/tune VMWare server for its VMs to be available on a Host PC and via network?: I have installed/generated several VMs but they are not available even on a host PC - I mean they are not available in local network neighborhood on PC where VMWare server is running - LAN is just workgroup, no domain server. Of course VMs are running :) I recall I had VMWare Workstation in the past, and when VM were generated on it then they became immediately available on a host PC. It's somehow not like that simple with VMWare Sever. I'm probably missing something very simple. Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, January 30, 2008 8:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Rocky Start with the free server version installed on some capable machine: http://www.vmware.com/products/server/ Create the virtual machines you wish on this. Any virtual machine can be copied to another VMware Server or (have not tested that) the VMware Player. On the server, don't forget to install for each virtual Windows machine the VMware tools to speed up mouse access and more. http://www.vmware.com/products/player/ /gustav >>> rockysmolin at bchacc.com 29-01-2008 19:47:20 >>> Dang. Hate to pay $170 just so I can occasionally run an Access 2007 program, especially when I got O2K7 for practically nothing (don't ask; it's legal). What's the freeware version give me? Rocky From Gustav at cactus.dk Thu Jan 31 05:09:46 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 31 Jan 2008 12:09:46 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Shamil He just noted, that the default installation sets up a "bridged network". You may need to double-check the network settings. /gustav From shamil at users.mns.ru Thu Jan 31 07:27:19 2008 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 31 Jan 2008 16:27:19 +0300 Subject: [AccessD] 2007<-->2003 In-Reply-To: Message-ID: <002201c8640d$0265fd50$6501a8c0@nant> Hi Gustav, Thank you for your info: I did change automatic network card selection to preset one and it works well now. I cannot say how and why it produced that a good for me result - I do have just one network card on my PC and bridged network VMWare mode should have worked well with it by default AFAIU... Anyway it works now :) Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 31, 2008 2:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Shamil He just noted, that the default installation sets up a "bridged network". You may need to double-check the network settings. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Jan 31 07:34:32 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 31 Jan 2008 14:34:32 +0100 Subject: [AccessD] 2007<-->2003 Message-ID: Hi Shamil Great! /gustav >>> shamil at users.mns.ru 31-01-2008 14:27 >>> Hi Gustav, Thank you for your info: I did change automatic network card selection to preset one and it works well now. I cannot say how and why it produced that a good for me result - I do have just one network card on my PC and bridged network VMWare mode should have worked well with it by default AFAIU... Anyway it works now :) Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, January 31, 2008 2:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] 2007<-->2003 Hi Shamil He just noted, that the default installation sets up a "bridged network". You may need to double-check the network settings. /gustav From paul.hartland at fsmail.net Thu Jan 31 09:16:16 2008 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 31 Jan 2008 16:16:16 +0100 (CET) Subject: [AccessD] Custom Menu In Access - Which One Was Selected Message-ID: <7008854.292141201792576448.JavaMail.www@wwinf3001> To all, I have a custom menu in Access which allows a user to archive data greater than three months old if not invited for an interview, or greater than six months old if they were invited for an interview. Basically what I want is both menus to call the same archive function, but pass either the number 3 or number 6 respectively to my archive function. Could someone point me in the right direction to do this please ? Thanks in advance for any help on this. Paul Hartland paul.hartland at fsmail.net 07730 523179 From Patricia.O'Connor at otda.state.ny.us Thu Jan 31 09:41:50 2008 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 31 Jan 2008 10:41:50 -0500 Subject: [AccessD] Custom Menu In Access - Which One Was Selected In-Reply-To: <7008854.292141201792576448.JavaMail.www@wwinf3001> References: <7008854.292141201792576448.JavaMail.www@wwinf3001> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB216@EXCNYSM0A1AI.nysemail.nyenet> Depends do you want to return a date or run entire archive Below is a rough draft HTH Function ArchiveData( Mnth_nbr as integer) Dim ArchMth_nbr as integer ArchMth_nbr = 3 If (Mnth_nbr is NULL) Then Error Exit function or make it 3 months ArchMth_nbr = 3 elseif mnth_nbr = 3 or Mnth_nbr = 6 Then Archmth_nbr = mnth_nbr Else error exit function or make it 3 months ArchMth_nbr = 3 then if using DateAdd("M",ArchMth_nbr, NOW()) do your thing or return the actual date ArchiveData_Exit: EXIT End function ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > paul.hartland at fsmail.net > Sent: Thursday, January 31, 2008 10:16 AM > To: accessd > Subject: [AccessD] Custom Menu In Access - Which One Was Selected > Importance: High > > To all, > > I have a custom menu in Access which allows a user to archive > data greater than three months old if not invited for an > interview, or greater than six months old if they were > invited for an interview. Basically what I want is both > menus to call the same archive function, but pass either the > number 3 or number 6 respectively to my archive function. > Could someone point me in the right direction to do this please ? > > Thanks in advance for any help on this. > > > Paul Hartland > paul.hartland at fsmail.net > 07730 523179 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mmattys at rochester.rr.com Thu Jan 31 09:49:25 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 31 Jan 2008 10:49:25 -0500 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne> <03a401c85e1f$092e5e50$4b3a8343@SusanOne> <004201c85e20$7c03d710$0202a8c0@Laptop> <021701c863db$dbc88b80$7e57a27a@personald6374f> Message-ID: <007701c86420$dc0b0560$0202a8c0@Laptop> Hi A.D., I'm sure everyone will benefit from your diligent watch for explaining difficult or rarely used concepts. Thanks for that excellent research and sharing results for all visitors to Roger's Access Library. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Cc: "A.D.Tejpal" Sent: Thursday, January 31, 2008 2:34 AM Subject: Re: [AccessD] SQL INSERT Question > Appending form / subform values to destination table > (Use of SELECT instead of VALUES clause) > =================================== > > In general, while building the append SQL, there is a distinct > advantage in using SELECT instead of VALUES clause, wherever feasible. > Some advantages of doing so are mentioned below: > (a) No need to worry about specific enclosing characters while > concatenating values for various data types (e.g. ' for text type and # > for date type data). Moreover, there is no problem if the value held by > any of the controls happens to be Null (provided destination table is in a > position to accept Null value in the field concerned). > (b) No need to fix any embedded quotes, whether single or double. > (c) No risk of dates getting mis-interpreted (in the process of > concatenation into SQL string) when local system settings for short date > are not as per US settings (mm/dd/yyyy). > > Following three styles of SQL for append action can be considered for > values held by controls on an independent form as well as those on a > subform: > (a) Use form/subform values directly. This is preferred, being the most > straight forward. > (b) Use form/subform values via recordset. > (c) Use form/subform values via array. > > A dummy table named T_Dummy with single field single record is used for > facilitating adoption of SELECT clause instead of VALUES clause. Actual > contents of this table are of no significance. > > My sample db named Query_AppendValuesViaSelectClause demonstrates the > above approach. It is available at Rogers Access Library (other developers > library). Link - > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > It covers main as well as subform, each with controls having different > types of data (i.e. text with embedded quotes, date & number). Pertinent > controls (on form or subform) along with freshly appended record in > destination table get highlighted in special color. Simultaneously, the > SQL actually used for the selected append action is displayed in a text > box on the main form - for ready reference. > > Best wishes, > A.D.Tejpal > ------------ > > ----- Original Message ----- > From: Michael R Mattys > To: Access Developers discussion and problem solving > Sent: Thursday, January 24, 2008 06:01 > Subject: Re: [AccessD] SQL INSERT Question > > > Hi Susan, > > Uh, well ... I was wrong ... just one rs > Anyway ... enjoy your evening :) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, January 23, 2008 7:21 PM > Subject: Re: [AccessD] SQL INSERT Question > > > > I've never tried a JOIN without VALUES, but theoretically, I guess it > > could > > work if all the fields are covered -- but I've never tried. Honestly, I > > missed that they were coming from different recordsets. > > > > Susan H. > > > > > >> http://www.w3schools.com/sql/sql_insert.asp > >> > >> Since the values were coming from 2 recordsets, > >> the VALUES statement made sense given the > >> lack of FROM
in the SQL string. > >> > >> As the saying goes, "There's more than one way to skin a cat" > >> > >> Michael R. Mattys > >> MapPoint & Access Dev > >> www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 31 10:48:09 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 31 Jan 2008 11:48:09 -0500 Subject: [AccessD] Same FE open twice (or more) Message-ID: <00c501c86429$0fb499f0$0401a8c0@M90> Is there any way to discover that a user has opened the database more than one time? I have users who do this, and while I don't care, I think that it might be causing issues. I have built a rather elaborate error logging system to log error number, error message, code module, function, line number, workstation, user, time and date. I have the majority of errors coming from specific users and am trying to discover why. Some of them have mentioned that they do use the FE opened more than once at a time so I want to check if these specific users are doing that at the instance that the error occurs. John W. Colby Colby Consulting www.ColbyConsulting.com From john at winhaven.net Thu Jan 31 11:05:42 2008 From: john at winhaven.net (John Bartow) Date: Thu, 31 Jan 2008 11:05:42 -0600 Subject: [AccessD] Same FE open twice (or more) In-Reply-To: <00c501c86429$0fb499f0$0401a8c0@M90> Message-ID: <200801311705.m0VH5bVH001879@databaseadvisors.com> Yes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby From Gustav at cactus.dk Thu Jan 31 11:06:58 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 31 Jan 2008 18:06:58 +0100 Subject: [AccessD] Same FE open twice (or more) Message-ID: Hi John That is quite easy if you can persuade the users to launch your app via a shortcut (and if you read the command line when launching the app, you can quit if no params exists - see recent thread on this) which forces the frontend to be opened exclusively. If opened already, catch that error and display a message. /gustav >>> jwcolby at colbyconsulting.com 31-01-2008 17:48 >>> Is there any way to discover that a user has opened the database more than one time? I have users who do this, and while I don't care, I think that it might be causing issues. I have built a rather elaborate error logging system to log error number, error message, code module, function, line number, workstation, user, time and date. I have the majority of errors coming from specific users and am trying to discover why. Some of them have mentioned that they do use the FE opened more than once at a time so I want to check if these specific users are doing that at the instance that the error occurs. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Jan 31 11:19:55 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 31 Jan 2008 12:19:55 -0500 Subject: [AccessD] Same FE open twice (or more) In-Reply-To: References: Message-ID: <00ce01c8642d$802937f0$0401a8c0@M90> In fact I do not want to prevent the user from opening it twice, unless it is causing a problem which I haven't determined yet. I just want to see the count of a user in a database or something like 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 Gustav Brock Sent: Thursday, January 31, 2008 12:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Same FE open twice (or more) Hi John That is quite easy if you can persuade the users to launch your app via a shortcut (and if you read the command line when launching the app, you can quit if no params exists - see recent thread on this) which forces the frontend to be opened exclusively. If opened already, catch that error and display a message. /gustav >>> jwcolby at colbyconsulting.com 31-01-2008 17:48 >>> Is there any way to discover that a user has opened the database more than one time? I have users who do this, and while I don't care, I think that it might be causing issues. I have built a rather elaborate error logging system to log error number, error message, code module, function, line number, workstation, user, time and date. I have the majority of errors coming from specific users and am trying to discover why. Some of them have mentioned that they do use the FE opened more than once at a time so I want to check if these specific users are doing that at the instance that the error occurs. 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 John.Clark at niagaracounty.com Thu Jan 31 12:41:41 2008 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 31 Jan 2008 13:41:41 -0500 Subject: [AccessD] Editing default field content In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB216@EXCNYSM0A1AI.nysemail.nyenet> References: <7008854.292141201792576448.JavaMail.www@wwinf3001> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB216@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <47A1D012.167F.006B.0@niagaracounty.com> I think this is a simple question, and I could swear I've done it before, but I am totally blank and can't get it myself...in my defense, I have been home w/my sick daughter all week, and I'm coming in today, to a pile of backed up voice mails and Email. I have a field that will...almost always...be in the format of AB00### When I enter the field, I want to avoid editing the whole field and be able to just pick up at the tail end of the default text of "AB00" I also want to be able to alter this text, in the event of a uncommon, but not totally rare, occurrence of a different structure. I seem to remember putting in some code for the OnGotFocus event, involving the length of the existing text, but I don't remember what I did, and I can't find it...it is probably in a long-since-replaced program, of old days. If it matters, I am using A2K3, but I originally did this...I do know...in A97. Thanks in advance. I haven't asked a question out here is a really long time, and now I am lowered to asking something simple...or should be as simple...as this ;o) John W. Clark Computer Programmer Niagara County Central Data Processing From Patricia.O'Connor at otda.state.ny.us Thu Jan 31 12:41:20 2008 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 31 Jan 2008 13:41:20 -0500 Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important In-Reply-To: <005601c862b4$f3781e30$8abea8c0@XPS> References: <005e01c853ba$d36fc880$657aa8c0@M90><000501c853c0$57952ec0$8119fea9@LTVM><01DBAB52E30A9A4AB3D94EF8029EDBE8021BB207@EXCNYSM0A1AI.nysemail.nyenet> <005601c862b4$f3781e30$8abea8c0@XPS> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BB220@EXCNYSM0A1AI.nysemail.nyenet> Thanks for your help!! ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Tuesday, January 29, 2008 03:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: FOXPRO compact decrease dbf size - > important > > Patti, > > You want to use the PACK or PACK DATABASE command. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > O'Connor, Patricia (OTDA) > Sent: Tuesday, January 29, 2008 1:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: FOXPRO compact decrease dbf size - important > > HI ALL > Is there a way to COMPACT / SHRINK the size of a FOXPRO > database and/or table > > I know this is OT but I have tried google and can't seem to > find specifics for FOXPRO If you have any exes, commands, > macros, sites etc it would be greatly appreciated. > > We just inherited a FOXPRO database and are trying to do the > monthly update several of the tables dbf and indexes (CDX) > are very near the 2g point. > > In ACCESS you can compact the database and shrink the size. > I have reindexed which shrunk the CDX but how can I do the table. > > Thanks > Patti > > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, > privileged or otherwise legally protected. It is intended > only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do > not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply > e-mail and delete the e-mail from your system. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Jan 31 13:02:19 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 31 Jan 2008 19:02:19 +0000 Subject: [AccessD] Same FE open twice (or more) In-Reply-To: <00ce01c8642d$802937f0$0401a8c0@M90> References: <00ce01c8642d$802937f0$0401a8c0@M90> Message-ID: John, Several years ago I needed to limit how many times a user could open the front end at the same time. I used a call to count the windows open everytime the app was launched. I believe you could do the same...but instead of not allowing...just logging it. Below is copied from A97. fyi...in the example below the app name started with 'MANCR'(need to know what you're counting and why I used "StrAppCaption = left(StrAppCaption, 5)" to limit to 5 char...) Let me know, Thanks, Mark A. Matte ********************START************* Private Sub Form_Open(Cancel As Integer) If GetCountOfWindows(hWndAccessApp, "MANCR")> 1 Then Cancel = True msgbox "Please use the instance of MANCR that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) StrAppCaption = left(StrAppCaption, 5) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function ********************END************* > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Thu, 31 Jan 2008 12:19:55 -0500 > Subject: Re: [AccessD] Same FE open twice (or more) > > In fact I do not want to prevent the user from opening it twice, unless it > is causing a problem which I haven't determined yet. I just want to see the > count of a user in a database or something like 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 Gustav Brock > Sent: Thursday, January 31, 2008 12:07 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Same FE open twice (or more) > > Hi John > > That is quite easy if you can persuade the users to launch your app via a > shortcut (and if you read the command line when launching the app, you can > quit if no params exists - see recent thread on this) which forces the > frontend to be opened exclusively. If opened already, catch that error and > display a message. > > /gustav > >>>> jwcolby at colbyconsulting.com 31-01-2008 17:48>>> > Is there any way to discover that a user has opened the database more than > one time? I have users who do this, and while I don't care, I think that it > might be causing issues. I have built a rather elaborate error logging > system to log error number, error message, code module, function, line > number, workstation, user, time and date. I have the majority of errors > coming from specific users and am trying to discover why. Some of them have > mentioned that they do use the FE opened more than once at a time so I want > to check if these specific users are doing that at the instance that the > error occurs. > > 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 _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From ssharkins at gmail.com Thu Jan 31 13:08:21 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 31 Jan 2008 14:08:21 -0500 Subject: [AccessD] Editing default field content References: <7008854.292141201792576448.JavaMail.www@wwinf3001><01DBAB52E30A9A4AB3D94EF8029EDBE8021BB216@EXCNYSM0A1AI.nysemail.nyenet> <47A1D012.167F.006B.0@niagaracounty.com> Message-ID: <00d701c8643c$a7ca5690$4b3a8343@SusanOne> > When I enter the field, I want to avoid editing the whole field and be > able to just pick up at the tail end of the default text of "AB00" ======You can add AB00 to the format. Susan H. From jwcolby at colbyconsulting.com Thu Jan 31 13:31:14 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 31 Jan 2008 14:31:14 -0500 Subject: [AccessD] Same FE open twice (or more) In-Reply-To: References: <00ce01c8642d$802937f0$0401a8c0@M90> Message-ID: <00e701c8643f$d834b7f0$0401a8c0@M90> Thanks, I'll give it a try. 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: Thursday, January 31, 2008 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Same FE open twice (or more) John, Several years ago I needed to limit how many times a user could open the front end at the same time. I used a call to count the windows open everytime the app was launched. I believe you could do the same...but instead of not allowing...just logging it. Below is copied from A97. fyi...in the example below the app name started with 'MANCR'(need to know what you're counting and why I used "StrAppCaption = left(StrAppCaption, 5)" to limit to 5 char...) Let me know, Thanks, Mark A. Matte ********************START************* Private Sub Form_Open(Cancel As Integer) If GetCountOfWindows(hWndAccessApp, "MANCR")> 1 Then Cancel = True msgbox "Please use the instance of MANCR that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) StrAppCaption = left(StrAppCaption, 5) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function ********************END************* > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Thu, 31 Jan 2008 12:19:55 -0500 > Subject: Re: [AccessD] Same FE open twice (or more) > > In fact I do not want to prevent the user from opening it twice, > unless it is causing a problem which I haven't determined yet. I just > want to see the count of a user in a database or something like 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 Gustav > Brock > Sent: Thursday, January 31, 2008 12:07 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Same FE open twice (or more) > > Hi John > > That is quite easy if you can persuade the users to launch your app > via a shortcut (and if you read the command line when launching the > app, you can quit if no params exists - see recent thread on this) > which forces the frontend to be opened exclusively. If opened already, > catch that error and display a message. > > /gustav > >>>> jwcolby at colbyconsulting.com 31-01-2008 17:48>>> > Is there any way to discover that a user has opened the database more > than one time? I have users who do this, and while I don't care, I > think that it might be causing issues. I have built a rather elaborate > error logging system to log error number, error message, code module, > function, line number, workstation, user, time and date. I have the > majority of errors coming from specific users and am trying to > discover why. Some of them have mentioned that they do use the FE > opened more than once at a time so I want to check if these specific > users are doing that at the instance that the error occurs. > > 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 _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 31 13:43:35 2008 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 31 Jan 2008 14:43:35 -0500 Subject: [AccessD] Same FE open twice (or more) In-Reply-To: References: <00ce01c8642d$802937f0$0401a8c0@M90> Message-ID: <00eb01c86441$921264f0$0401a8c0@M90> Mark, There are constants in there that need to be supplied (I don't have them) GW_HWNDFIRST GW_HWNDNEXT 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: Thursday, January 31, 2008 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Same FE open twice (or more) John, Several years ago I needed to limit how many times a user could open the front end at the same time. I used a call to count the windows open everytime the app was launched. I believe you could do the same...but instead of not allowing...just logging it. Below is copied from A97. fyi...in the example below the app name started with 'MANCR'(need to know what you're counting and why I used "StrAppCaption = left(StrAppCaption, 5)" to limit to 5 char...) Let me know, Thanks, Mark A. Matte ********************START************* Private Sub Form_Open(Cancel As Integer) If GetCountOfWindows(hWndAccessApp, "MANCR")> 1 Then Cancel = True msgbox "Please use the instance of MANCR that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) StrAppCaption = left(StrAppCaption, 5) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function ********************END************* > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Thu, 31 Jan 2008 12:19:55 -0500 > Subject: Re: [AccessD] Same FE open twice (or more) > > In fact I do not want to prevent the user from opening it twice, > unless it is causing a problem which I haven't determined yet. I just > want to see the count of a user in a database or something like 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 Gustav > Brock > Sent: Thursday, January 31, 2008 12:07 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Same FE open twice (or more) > > Hi John > > That is quite easy if you can persuade the users to launch your app > via a shortcut (and if you read the command line when launching the > app, you can quit if no params exists - see recent thread on this) > which forces the frontend to be opened exclusively. If opened already, > catch that error and display a message. > > /gustav > >>>> jwcolby at colbyconsulting.com 31-01-2008 17:48>>> > Is there any way to discover that a user has opened the database more > than one time? I have users who do this, and while I don't care, I > think that it might be causing issues. I have built a rather elaborate > error logging system to log error number, error message, code module, > function, line number, workstation, user, time and date. I have the > majority of errors coming from specific users and am trying to > discover why. Some of them have mentioned that they do use the FE > opened more than once at a time so I want to check if these specific > users are doing that at the instance that the error occurs. > > 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 _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kens.programming at verizon.net Thu Jan 31 13:44:39 2008 From: kens.programming at verizon.net (kens.programming) Date: Thu, 31 Jan 2008 11:44:39 -0800 Subject: [AccessD] Client cannot view reports in Citrix environment from Access 2003 In-Reply-To: References: <00ce01c8642d$802937f0$0401a8c0@M90> Message-ID: <000001c86441$b947c740$6b01a8c0@Stoker.com> Hi, I hope someone can help out here. I have a client who runs our application in a citrix environment. MS Access 2003 is just the reporting mechanism for our application. They load share across 13 citrix servers, but the reporter mdb is located on a separate network share that all users can access regardless of which server they are logged in to. Recently, 3 of the citrix servers were unable to run reports, it displays the "No Data" error. Upon looking at the mdb file from one of these three servers, I cannot even open one of the reports in design view. My first thoughts are that MS Access must not recognize a printer is installed, the only reason I can think of as to why a report cannot even be viewed in design view. They looked at their printers and everything appeared to be fine. Personally, I still think that is the problem, and that they should reinstall the printer drivers. Can anyone think of anything else or corroborate my thoughts? Thanks Ken No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.17/1253 - Release Date: 1/31/2008 9:09 AM From garykjos at gmail.com Thu Jan 31 14:12:34 2008 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 31 Jan 2008 14:12:34 -0600 Subject: [AccessD] Client cannot view reports in Citrix environment from Access 2003 In-Reply-To: <000001c86441$b947c740$6b01a8c0@Stoker.com> References: <00ce01c8642d$802937f0$0401a8c0@M90> <000001c86441$b947c740$6b01a8c0@Stoker.com> Message-ID: I have this very problem on Access databases if I have a combination printer/scanner/copier set as the default printer. If I have a standard printer as my default printer then I can open and design reports. I wonder if the same issue would apply in the Citrix environment? I first had users have this problem and it was driving us crazy. We had computer support reinstall Office and that did nothing. Everything else on the system worked fine. When I moved to a different area and changed my own default printer to a combo device all of a sudden it happened to MY system too. So I now have my default printer set for a plain old laserjet down the hall. I can still print to the combo device, it just can't be the default printer. Weird but true. GK On Jan 31, 2008 1:44 PM, kens.programming wrote: > Hi, I hope someone can help out here. I have a client who runs our > application in a citrix environment. MS Access 2003 is just the reporting > mechanism for our application. They load share across 13 citrix servers, > but the reporter mdb is located on a separate network share that all users > can access regardless of which server they are logged in to. Recently, 3 of > the citrix servers were unable to run reports, it displays the "No Data" > error. Upon looking at the mdb file from one of these three servers, I > cannot even open one of the reports in design view. My first thoughts are > that MS Access must not recognize a printer is installed, the only reason I > can think of as to why a report cannot even be viewed in design view. They > looked at their printers and everything appeared to be fine. Personally, I > still think that is the problem, and that they should reinstall the printer > drivers. Can anyone think of anything else or corroborate my thoughts? > > Thanks > > Ken > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.17/1253 - Release Date: 1/31/2008 > 9:09 AM > > > -- > 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 Thu Jan 31 14:21:59 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 31 Jan 2008 20:21:59 +0000 Subject: [AccessD] Same FE open twice (or more) In-Reply-To: <00eb01c86441$921264f0$0401a8c0@M90> References: <00ce01c8642d$802937f0$0401a8c0@M90> <00eb01c86441$921264f0$0401a8c0@M90> Message-ID: Sorry John, Forgot to include all of the API stuff... Mark A. Matte ****************START FROM MODULE********************** Option Compare Database Option Explicit Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, _ ByVal wCmd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, ByVal CCh As Long) _ As Long Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) _ As Long Public Const GW_HWNDFIRST = 0 Public Const GW_HWNDLAST = 1 Public Const GW_HWNDNEXT = 2 Public Const GW_HWNDPREV = 3 ' This function returns the Caption Text of each window passed to ' it. If a window does not have a Caption bar, then this function ' returns a zero-length string ("") Function GetAppName(Lnghwnd As Long) Dim LngResult As Long Dim StrWinText As String * 255 Dim LngCCh As Long LngResult = GetWindowText(Lnghwnd, StrWinText, 255) GetAppName = left(StrWinText, LngResult) GetAppName = left(GetAppName, 5) End Function ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) StrAppCaption = left(StrAppCaption, 5) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function ****************END FROM MODULE********************** > From: jwcolby at colbyconsulting.com > To: accessd at databaseadvisors.com > Date: Thu, 31 Jan 2008 14:43:35 -0500 > Subject: Re: [AccessD] Same FE open twice (or more) > > Mark, > > There are constants in there that need to be supplied (I don't have them) > > GW_HWNDFIRST > GW_HWNDNEXT > > > > 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: Thursday, January 31, 2008 2:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Same FE open twice (or more) > > > > John, > > Several years ago I needed to limit how many times a user could open the > front end at the same time. I used a call to count the windows open > everytime the app was launched. I believe you could do the same...but > instead of not allowing...just logging it. Below is copied from A97. > fyi...in the example below the app name started with 'MANCR'(need to know > what you're counting and why I used "StrAppCaption = left(StrAppCaption, 5)" > to limit to 5 char...) > > Let me know, > > Thanks, > > Mark A. Matte > > ********************START************* > Private Sub Form_Open(Cancel As Integer) > If GetCountOfWindows(hWndAccessApp, "MANCR")> 1 Then > Cancel = True > msgbox "Please use the instance of MANCR that is " _ > & "already open." > DoCmd.Quit acQuitSaveNone > End If > End Sub > > ' This function counts all instances of an application that are open, > ' including any windows that are not visible. > ' Arguments: LngHwnd = Any valid window handle. > ' StrAppCaption = The window caption to search for. > ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") > Function GetCountOfWindows(Lnghwnd, StrAppCaption) > Dim LngResult As Long > Dim LngICount As Long > Dim StrAppName As String > > LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) > Do Until LngResult = 0 > If IsWindowVisible(LngResult) Then > StrAppName = GetAppName(LngResult) > StrAppCaption = left(StrAppCaption, 5) > If InStr(1, StrAppName, StrAppCaption) Then > LngICount = LngICount + 1 > End If > End If > LngResult = GetWindow(LngResult, GW_HWNDNEXT) > Loop > GetCountOfWindows = LngICount > End Function > > ********************END************* > >> From: jwcolby at colbyconsulting.com >> To: accessd at databaseadvisors.com >> Date: Thu, 31 Jan 2008 12:19:55 -0500 >> Subject: Re: [AccessD] Same FE open twice (or more) >> >> In fact I do not want to prevent the user from opening it twice, >> unless it is causing a problem which I haven't determined yet. I just >> want to see the count of a user in a database or something like 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 Gustav >> Brock >> Sent: Thursday, January 31, 2008 12:07 PM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Same FE open twice (or more) >> >> Hi John >> >> That is quite easy if you can persuade the users to launch your app >> via a shortcut (and if you read the command line when launching the >> app, you can quit if no params exists - see recent thread on this) >> which forces the frontend to be opened exclusively. If opened already, >> catch that error and display a message. >> >> /gustav >> >>>>> jwcolby at colbyconsulting.com 31-01-2008 17:48>>> >> Is there any way to discover that a user has opened the database more >> than one time? I have users who do this, and while I don't care, I >> think that it might be causing issues. I have built a rather elaborate >> error logging system to log error number, error message, code module, >> function, line number, workstation, user, time and date. I have the >> majority of errors coming from specific users and am trying to >> discover why. Some of them have mentioned that they do use the FE >> opened more than once at a time so I want to check if these specific >> users are doing that at the instance that the error occurs. >> >> 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 > > _________________________________________________________________ > Connect and share in new ways with Windows Live. > http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join From fuller.artful at gmail.com Thu Jan 31 14:56:57 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 31 Jan 2008 15:56:57 -0500 Subject: [AccessD] RunTime packaging Message-ID: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> I want to package an A2K7 app with the RunTime, using the "assume nothing" option that adds the RunTime to the package as well as the app. My question: do I point the wizard to the RunTime.exe or to the directory where it was installed on my development box. If the latter, I'm not even sure where it was installed. I didn't get any options dialog when I ran the EXE so I'm not sure where the files got placed. thx, Arthur From robert at servicexp.com Thu Jan 31 16:35:08 2008 From: robert at servicexp.com (Robert) Date: Thu, 31 Jan 2008 17:35:08 -0500 Subject: [AccessD] RunTime packaging In-Reply-To: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> References: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> Message-ID: <47A24D1C.1000409@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I asked the same question a few weeks back, still no answer. I can't find where the 07 runtime gets installed. WBR Robert Arthur Fuller wrote: | I want to package an A2K7 app with the RunTime, using the "assume nothing" | option that adds the RunTime to the package as well as the app. My question: | do I point the wizard to the RunTime.exe or to the directory where it was | installed on my development box. If the latter, I'm not even sure where it | was installed. I didn't get any options dialog when I ran the EXE so I'm not | sure where the files got placed. | | thx, | Arthur -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHok0c72dSYCwH8FQRAikrAKCWZ/rLhbyc7gwSRUAJ+TQtYu6cFQCggISf 21LmcQJC97IQDvltzke3Atk= =1Dp2 -----END PGP SIGNATURE----- From fuller.artful at gmail.com Thu Jan 31 16:42:06 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 31 Jan 2008 17:42:06 -0500 Subject: [AccessD] RunTime packaging In-Reply-To: <47A24D1C.1000409@servicexp.com> References: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> <47A24D1C.1000409@servicexp.com> Message-ID: <29f585dd0801311442j18ef66f9w80b4632bbe4a3a1d@mail.gmail.com> I read through some docs, and it appears that you just point to the AccessRunTime.exe. A. On Thu, Jan 31, 2008 at 5:35 PM, Robert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I asked the same question a few weeks back, still no answer. I can't > find where the 07 runtime gets installed. > > WBR > Robert > From robert at servicexp.com Thu Jan 31 17:14:01 2008 From: robert at servicexp.com (Robert) Date: Thu, 31 Jan 2008 18:14:01 -0500 Subject: [AccessD] RunTime packaging In-Reply-To: <29f585dd0801311442j18ef66f9w80b4632bbe4a3a1d@mail.gmail.com> References: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> <47A24D1C.1000409@servicexp.com> <29f585dd0801311442j18ef66f9w80b4632bbe4a3a1d@mail.gmail.com> Message-ID: <47A25639.8070906@servicexp.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you using a desktop shortcut to launch your application? How will you ensure the 07 runtime engine gets used for your application and not some other version of Access? WBR Robert Arthur Fuller wrote: | I read through some docs, and it appears that you just point to the | AccessRunTime.exe. | | A. | | On Thu, Jan 31, 2008 at 5:35 PM, Robert wrote: | |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA1 |> |> I asked the same question a few weeks back, still no answer. I can't |> find where the 07 runtime gets installed. |> |> WBR |> Robert |> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHolY572dSYCwH8FQRAsb3AKC+7QlSBO83ry80/CTR/JdrbE53kACfYn3X LHmwwDFSgzKyaHodrOapFVI= =dnaJ -----END PGP SIGNATURE----- From cjlabs at worldnet.att.net Thu Jan 31 17:34:15 2008 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Thu, 31 Jan 2008 17:34:15 -0600 Subject: [AccessD] Split database and VISTA References: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> <47A24D1C.1000409@servicexp.com> Message-ID: <003e01c86461$cae63930$6401a8c0@XPcomputer> I have an Access2002 database that is used for event management. It's split, and under pre-Vista OS, would go in it's own folder in the C:\Program Files folder. The database is often moved from one computer to another, during the event. With Vista, the security is different and putting the database folder in the C:\Program Files folder doesn't work. However, I don't want to put it in a Users folder, since the database will be moved to other computers and the links will be screwed up. Does anyone know the best way to handle this situation? TIA, Carolyn Johnson From fuller.artful at gmail.com Thu Jan 31 18:03:13 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 31 Jan 2008 19:03:13 -0500 Subject: [AccessD] RunTime packaging In-Reply-To: <47A25639.8070906@servicexp.com> References: <29f585dd0801311256q6905d248le5a1de9a880d7794@mail.gmail.com> <47A24D1C.1000409@servicexp.com> <29f585dd0801311442j18ef66f9w80b4632bbe4a3a1d@mail.gmail.com> <47A25639.8070906@servicexp.com> Message-ID: <29f585dd0801311603n170f0e6bta4b6d0f1f720c2d@mail.gmail.com> According to the docs, the wizard renames the file extension from accdb to accdbr, preventing it from opening with anything but the RunTime. Arthur On Thu, Jan 31, 2008 at 6:14 PM, Robert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Are you using a desktop shortcut to launch your application? How will > you ensure the 07 runtime engine gets used for your application and not > some other version of Access? > > > WBR > Robert > > From fuller.artful at gmail.com Thu Jan 31 20:49:20 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 31 Jan 2008 21:49:20 -0500 Subject: [AccessD] Access 2007 Startup form Message-ID: <29f585dd0801311849p7c5a8c59la937da24b93e2fe0@mail.gmail.com> Where in Access 2007 is the property sheet that lets me specify the startup form, etc.? I've searched for a while now and cannot locate it. TIA, Arthur From mmattys at rochester.rr.com Thu Jan 31 21:04:34 2008 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 31 Jan 2008 22:04:34 -0500 Subject: [AccessD] Access 2007 Startup form References: <29f585dd0801311849p7c5a8c59la937da24b93e2fe0@mail.gmail.com> Message-ID: <019a01c8647f$2e868090$0202a8c0@Laptop> Hi Arthur, Right-click on menubar Customize Quick Toolbar ... Current Database Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Thursday, January 31, 2008 9:49 PM Subject: [AccessD] Access 2007 Startup form > Where in Access 2007 is the property sheet that lets me specify the > startup > form, etc.? I've searched for a while now and cannot locate it. > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Jan 31 22:31:52 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 31 Jan 2008 20:31:52 -0800 Subject: [AccessD] Access 2007 Startup form In-Reply-To: <019a01c8647f$2e868090$0202a8c0@Laptop> References: <29f585dd0801311849p7c5a8c59la937da24b93e2fe0@mail.gmail.com> <019a01c8647f$2e868090$0202a8c0@Laptop> Message-ID: <00a001c8648b$5ea65550$0301a8c0@HAL9005> Or Office button in the upper left, the Access Options at the bottom, Current Database, display form. I think. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Thursday, January 31, 2008 7:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 Startup form Hi Arthur, Right-click on menubar Customize Quick Toolbar ... Current Database Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Thursday, January 31, 2008 9:49 PM Subject: [AccessD] Access 2007 Startup form > Where in Access 2007 is the property sheet that lets me specify the > startup > form, etc.? I've searched for a while now and cannot locate it. > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.516 / Virus Database: 269.19.18/1254 - Release Date: 1/31/2008 8:30 PM From adtp at airtelbroadband.in Thu Jan 31 23:58:05 2008 From: adtp at airtelbroadband.in (A.D.Tejpal) Date: Fri, 1 Feb 2008 11:28:05 +0530 Subject: [AccessD] SQL INSERT Question References: <02f001c85e0b$f4cdd340$4b3a8343@SusanOne><03a401c85e1f$092e5e50$4b3a8343@Su sanOne><004201c85e20$7c03d710$0202a8c0@Laptop><021701c863db$dbc88b80$7e57a2 7a@personald6374f> <007701c86420$dc0b0560$0202a8c0@Laptop> Message-ID: <01aa01c86497$851e3d90$3158a27a@personald6374f> You are most welcome Michael! I am thankful for your kind words. So nice of you. A.D.Tejpal ------------ ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, January 31, 2008 21:19 Subject: Re: [AccessD] SQL INSERT Question Hi A.D., I'm sure everyone will benefit from your diligent watch for explaining difficult or rarely used concepts. Thanks for that excellent research and sharing results for all visitors to Roger's Access Library. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com <>